IBM Worklight - Can't run an app on WebSphere Application Server

岁酱吖の 提交于 2019-12-13 08:09:15

问题


My app runs well on Worklight Development Server, but not on WebSphere Application Server V8.5 Liberty Profile.

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.

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".". 

Thank you.


回答1:


I do not know how the Studio deploys to an external Liberty server.

You could also: Install Worklight Server and deploy using - the Server Configuration Tool - or the ant tasks (provided by the Worklight Server installer) - or manual procedure documented at https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_wlconsole_install.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 )



来源:https://stackoverflow.com/questions/24694418/ibm-worklight-cant-run-an-app-on-websphere-application-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!