IBM Worklight - 无法在WebSphere Application Server上运行应用程序
我的应用程序在Worklight Development Server上运行良好,但在WebSphere Application Server V8.5 Liberty Profile上运行不正确。
My app runs well on Worklight Development Server, but not on WebSphere Application Server V8.5 Liberty Profile.
我尝试了Oracle JDK和IBM JDK,有没有不同。
使用jconsole连接到服务器没有问题,虽然我必须在没有ssl的情况下连接。
I tried both Oracle JDK and IBM JDK, there was no difference. There was no problem connecting to the server with jconsole, although I had to connect without ssl.
在Eclipse控制台上,
On Eclipse Console,
[2014-07-11 17:18:10] Starting build process: application 'U1', all environments
[2014-07-11 17:18:12] Application 'U1' with all environments build finished.
[2014-07-11 17:18:12] Deploying application 'U1' with all environments to Worklight Server...
[2014-07-11 17:19:02] Failed to deploy the application to Worklight server: : JMX configuration error. Unable to obtain MBeans. Reason: "FWLSE3012E: JMX configuration
error. Unable to obtain MBeans. Reason: "Connection refused".".
谢谢。
我不知道Studio如何部署到外部Liberty服务器。
I do not know how the Studio deploys to an external Liberty server.
您还可以:
安装Worklight Server并使用部署
- 服务器配置工具
- 或ant任务(由Worklight Server安装程序提供)
- 或 https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6 .2.0 / com.ibm.worklight.installconfig.doc / install_config / t_wlconsole_install.html
手动程序可能会为您提供有关您的遗失内容的提示外部Liberty服务器。
它可能是:
- 休息连接器及其配置 https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_optional_config_app_server_liberty.html
- JNDI属性,以便Liberty可以使用REST连接器(步骤3 https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/ admin / t_configuring_liberty_profile_for_wladmin_manually.html )
The manual procedure may give you hints about what is missing in your External Liberty Server. It could be: - rest connector and it's configuration https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_optional_config_app_server_liberty.html - JNDI properties so that Liberty can use the REST connector (step 3 at https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_configuring_liberty_profile_for_wladmin_manually.html )