我试图在我的WL 6.1项目中使用Direct Update,但我没有做任何事情。
我尝试过Eclipse Kepler和Juno。 我尝试了几个WL 6.1版本(补丁),没有。
以下是症状 - 并且没有错误日志或类似内容。我看到的唯一一件事就是99%的下载消息。
我怀疑配置问题,因为我的团队的一名成员可以执行直接更新。我们俩都在使用Mac进行开发和使用相同的服务器。
我的另一个相关信息是我无法使用,我在开发环境中直接更新,我的意思是,在我的Eclipse WL Studio插件/服务器中。应用程序启动后,它会立即显示有关新更新的消息,但只要我点击更新,就会收到消息:更新失败:处理应用程序更新文件失败。
(我正在使用iOS环境)。
也许,一个可能有用的信息是:我在反向代理后面访问WL服务器。一旦我尝试使用WL.Client.Connect或调用适配器连接到WL,服务器就会告诉我有更新。但是在完成99%之后,它就被卡住了。
我真的不知道我可以在这里发布哪种信息,所以,请问你想要什么,我会更新帖子。
请帮忙。
[增订]
以下是设备尝试更新应用时的日志。此日志就在WL.Client.Connect:
之后<Warning>: [INFO] [wl.client] WL.Client.connect onConnectSuccess ENTERING
<Warning>: [DEBUG] [NONE] wlclient connect success
<Error>: HID: The 'Rate Controlled' connection 'PUSHTest' access to protected services is denied.
<Warning>: THREAD WARNING: ['Notification'] took '102.169922' ms. Plugin should use a background thread.
<Warning>: [ERROR] [NONE] Update checksum is 3449626805
<Warning>: [ERROR] [NONE] In Progress checksum is 0
<Warning>: [DEBUG] [NONE] Request [https://.../apps/services/api/PUSHTest/iphone/setup]
<Warning>: Requesting bytes starting from 0 to 8388608
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: THREAD WARNING: ['WebResourcesDownloader'] took '18.403076' ms. Plugin should use a background thread.
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: [DEBUG] [NONE] response [https://.../apps/services/api/PUSHTest/iphone/setup] success:
<Warning>: [DEBUG] [NONE] defaultOptions:onSuccess
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 0
<Warning>: Length of update file is: 15891
<Warning>: Length of update file is: 15891
...
<Warning>: Length of update file is: 1390960
<Warning>: Length of update file is: 1455656
<Warning>: Requesting bytes starting from 1466344 to 9854952
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
...
<Warning>: Length of update file is: 1466344
<Warning>: Length of update file is: 1466344
<Warning>: Requesting bytes starting from 1485118 to 9873726
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485118
<Warning>: Length of update file is: 1485118
<Warning>: Length of update file is: 1485118
<Warning>: Length of update file is: 1485118
<Warning>: Requesting bytes starting from 1485358 to 9873966
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485358
<Warning>: Length of update file is: 1485358
...
<Warning>: Length of update file is: 1485358
<Warning>: Length of update file is: 1485358
<Warning>: Requesting bytes starting from 1485362 to 9873970
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
...
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
<Warning>: Requesting bytes starting from 1485362 to 9873970
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
...
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
<Warning>: Requesting bytes starting from 1485362 to 9873970
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
...
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
<Warning>: Requesting bytes starting from 1485362 to 9873970
<Warning>: Releasing downloadUpdateFileUiWebView
<Warning>: Start downloading update file.
<Warning>: Length of update file is: 1485362
<Warning>: Length of update file is: 1485362
...
然后继续使用相同的日志。
答案 0 :(得分:1)
我完成了测试,问题是WL版本。我把相同版本的服务器做了一个,只有一个修复,问题就消失了。 修复是因为Worklight的服务器版本不支持iOS 7。