2014-08-28 61 views
0

我想在我的WL 6.1項目上使用直接更新,但沒有任何工作。Worklight 6.1直接更新卡在99%

我試過Eclipse開普勒和朱諾。 我試了幾個WL 6.1版本(補丁),沒有任何東西。

這是症狀 - 沒有錯誤日誌或類似的東西。我看到的唯一一件事就是99%下載消息。

我懷疑配置問題,因爲我的團隊的一個成員可以進行直接更新。我們兩個人都在使用Mac進行開發並使用同一臺服務器。

我的另一個相關信息是,我不能使用這兩種方法中的任何一種,即我在開發環境中的直接更新,也就是說,在我的Eclipse WL Studio插件/服務器中。一旦應用程序啓動,它會顯示有關新更新的消息,但只要單擊更新,我會收到消息:已更新失敗:處理失敗的應用程序更新文件。

(我正在使用iOS環境)。

也許,一個可能有幫助的信息是:我支持一個反向代理來訪問WL服務器。只要我嘗試連接到WL,使用WL.Client.Connect或調用適配器,服務器就會告訴我有更新。但是在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

如果您使用新的工作區並將項目導入到該工作區並重試,會發生什麼情況? – 2014-08-28 02:37:54

+0

我嘗試了一個新項目,一個新的Eclipse安裝,幾個WL版本,Eclipse Juno和Kepler,然後所有這些都具有相同的效果。 – 2014-08-28 10:43:56

+0

奇怪。也許問題在另一端。嘗試重新啓動設備?重置iOS模擬器? – 2014-08-28 10:45:59

回答

1

我做完了測試,問題是WL版本。我把相同版本的服務器做了一次,只做了一次修復,問題就沒有了。 修復是因爲Worklight的服務器版本不支持iOS 7.

相關問題