IBM Worklight v5.0.6 Application Center - apk文件上传失败 [英] IBM Worklight v5.0.6 Application Center - apk file upload fails

查看:136
本文介绍了IBM Worklight v5.0.6 Application Center - apk文件上传失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试上传我们的apk文件时,服务器只回复

When attempting to upload our apk file, the server responds back with simply

文件HelloWorld.apk文件未上传

"File HelloWorld.apk file not uploaded"

trace.log中没有记录与此上载相关的内容,因此无法查看任何类型的日志消息以进一步诊断。你如何为此启用日志记录?

Nothing is logged in trace.log in relation to this upload, so not able to see any type of log message to diagnose further. How do you enable logging for this?

是否有超时或文件上传大小限制?如果是这样,你如何/在哪里改变它? HelloWorld.apk文件大小为5.6MB

Is there a timeout, or file upload size limit? If so, how/where do you change that? The HelloWorld.apk file size is 5.6MB

推荐答案

确实存在文件大小限制,但默认情况下由MySQL强加( 1MB)。如果您使用的是MySQL 5.1或5.5(Worklight 5.0.x不支持5.6)。请按照下列步骤操作:

There is indeed a filesize limit, but it is imposed by MySQL by default (1MB). If you are using MySQL 5.1 or 5.5 (5.6 is not supported in Worklight 5.0.x). follow these steps:


  1. 找到属于MySQL安装的文件 my.ini

  2. 在其中,找到 [mysqld]

  3. 部分名称下方,粘贴这: max_allowed_pa​​cket = 1000M

  4. 重新启动MySQL服务

  5. 重新部署.apk文件

  1. Locate the file my.ini belonging to your MySQL installation
  2. In it, find the section [mysqld]
  3. Underneath the section name, paste this: max_allowed_packet=1000M
  4. Re-start the MySQL service
  5. Re-deploy the .apk file

您可能还需要重新启动运行Application Center的应用程序服务器。

You may need to re-start the application server running Application Center as well.

这篇关于IBM Worklight v5.0.6 Application Center - apk文件上传失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆