【发布时间】:2013-07-21 04:47:45
【问题描述】:
当我尝试通过右键单击应用程序名称来构建和部署我的应用程序时 -> 运行方式 -> 构建全部并部署...我在控制台中收到一条失败通知:
未能将应用程序部署到 Worklight 服务器:请验证 Worklight 服务器已启动且可访问。
我先安装了Eclipse Juno,然后在里面安装了Worklight V6的插件。是否需要通过其他方式安装 Worklight 服务器?
这是整个日志:
[2013-07-21 09: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 服务器已启动且可访问。
这是我启动服务器时得到的整个日志-
[AUDIT ] CWWKE0001I: 服务器工作灯已启动。 [错误 ] CWWKO0030E: 启动链时产生异常 CHAIN-defaultHttpEndpoint 因为异常 com.ibm.wsspi.channelfw.exception.ChannelException:TCP 通道: defaultHttpEndpoint- 启动频道时出现问题:无法 建立环回连接 [AUDIT] CWWKZ0058I: 监控 应用程序的dropins。 [AUDIT] CWWKF0011I:服务器工作灯 已准备好运行一个更智能的星球。 [审核] CWWKZ0022W:应用程序 _MobileBrowserSimulator 未在 30.002 秒内启动。 [AUDIT ] CWWKZ0022W: 应用程序 HelloWorklightProject 尚未启动 30.001 秒。 [AUDIT] CWWKG0016I: 正在启动服务器配置更新。 [AUDIT ] 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.
【问题讨论】:
标签: ibm-mobilefirst worklight-studio worklight-server