我已经建立了一个基本的应用程序。我也更新connectOnStartup
为 true,添加WL.Client.connect()
并wlCommonInit()
更新worklight.properties
:
publicWorkLightHostname=92.1.52.17
publicWorkLightProtocol=http
publicWorkLightPort=9080
构建成功,除了开发控制台中的这些错误:
[err] 0 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/C:
/Documents%20and%20Settings/wl/Bureau/workspaces/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] 94 WorklightPU INFO [Scheduled Executor-thread-1] openjpa.Runtime - Starting OpenJPA 1.2.2
[err] 94 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:/Documents%20and%20Settings/wl/Bureau/workspaces/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.
我已将应用程序手动部署到自由配置文件,并将 .wlapp 添加到控制台。
从控制台共同启动应用程序时,我收到一条错误消息,指出服务器“无法处理请求”。
javascript控制台显示:
加载资源失败:服务器响应状态为 404(未找到)