當我嘗試通過右鍵單擊應用程序名稱 - >運行方式 - >構建所有和部署來構建和部署我的應用程序時...我在控制檯中收到失敗通知:IBM Worklight 6.0 - 無法訪問Worklight Server
無法將應用程序部署到Worklight服務器:請驗證 Worklight服務器已啓動且可訪問。
我首先安裝了Eclipse Juno,然後在其中安裝了Worklight V6的插件。是否需要通過其他方式安裝Worklight服務器?
這是整個日誌:
[2013年7月21日9時55分04秒] FWLPL0001W:尚未啓動服務器。建造可能 初審失敗。 [2013-07-21 09:55:13]開始構建 進程:應用程序'HelloWorklightApp',所有環境[2013-07-21 09:55:14] FWLPL0010W:從目標服務器檢測到「localhost」 配置。使用主機的主IP地址 101.218.109.86構建Worklight應用程序。考慮使用完全限定的主機名(避免使用「localhost」)或有效的IP地址。可以通過從 「服務器」視圖打開Worklight Development Server的 配置編輯器來修改該值。 [2013-07-21 09:55:16]應用程序 'HelloWorklightApp'的所有環境構建完成。 [2013-07-21 09:55:16]部署應用程序'HelloWorklightApp'與 所有環境到Worklight Server ... [2013-07-21 09:55:38]
無法將應用程序部署到Worklight服務器:請驗證 Worklight服務器已啓動且可以訪問。
這裏是整個日誌開始theserver-
[審計] CWWKE0001I當我得到:服務器工作燈已經啓動。 [錯誤 ] CWWKO0030E:TCP頻道::起始鏈 CHAIN-defaultHttpEndpoint當因爲異常 com.ibm.wsspi.channelfw.exception.ChannelException的生成了異常而開始信道發生 defaultHttpEndpoint-問題:無法 建立迴環連接[審覈] CWWKZ0058I:監控 應用程序的下載。 [審覈] CWWKF0011I:服務器工作燈 已準備好運行更智能的星球。 [審覈] CWWKZ0022W:應用程序 _MobileBrowserSimulator尚未在30.002秒內啓動。 [審覈] CWWKZ0022W:應用程序HelloWorklightProject未在 30.001秒內啓動。 [審覈] CWWKG0016I:啓動服務器配置更新。 [審覈] CWWKG0018I:服務器配置不是 已更新。未檢測到功能改變。 [審覈] CWWKG0016I: 正在啓動服務器配置更新。 [審覈] CWWKG0017I: 服務器配置在0.043秒內成功更新。 [審計 ] CWWKZ0022W:應用程序TestWorklightProject未啓動 30.002秒。改變PRT和IP後
登錄地址等
Launching worklight (WebSphere Application Server 8.5.5.0/wlp-1.0.3.20130524-0951) on Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_45-b06 (en_IN)
[AUDIT ] CWWKE0001I: The server worklight has been launched.
[ERROR ] CWWKO0221E: TCP Channel defaultHttpEndpoint initialization did not succeed. The socket bind did not succeed for host 10.0.0.1 and port 8080. The port might already be in use.
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[err] 255 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[err] 2256 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 2850 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[err] 1 WorklightReportsPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[AUDIT ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[err] 1 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[err] 214 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 216 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary".
[err] 0 WorklightReportsPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightReportsPU', root URL [file:/C:/Users/Anil%20kumar/workspace/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
[AUDIT ] CWWKZ0022W: Application _MobileBrowserSimulator has not started in 33.066 seconds.
[AUDIT ] CWWKZ0022W: Application TestWorklightProject has not started in 31.548 seconds.
[AUDIT ] CWWKZ0022W: Application HelloWorklightProject has not started in 30.002 seconds.
從哪裏獲得worklight的zip文件,請提供它的鏈接。 – Harish