我使用的是Worklight 6.2服务器版,无法在我的服务器上部署(其他环境的)运行时。
我正在使用webpshere for profile v8.5.5,当我通过图形用户界面部署运行时时,它会显示成功,而在server.xml上,我可以看到应用程序的新配置。
然而,当我转到worklightconsole时,我看不到上传应用程序的运行时。
在messages.log上,有一个关于JMX连接的错误。引用的错误是
Failed to obtain JMX connection to access an MBean. There might be a JMX configuration error: No JMX connector is configured我之所以提到这一点,是因为我在网上看到一些帖子,说这些问题可能是有联系的。但是,我在WLP特性上使用了restConnector-1.0。参考:No runtime on my Worklight 6.2 Console after installing analytics
在messages.log上,我还发现了一些其他有趣的事情,比如我部署的运行时的正确启动
[11/12/14 5:50:45:177 CST] 00000012 com.worklight.server.bundle.project.JeeProjectActivator I FWLST0002I: ========= Project /HelloWorld started. The project WAR file version is 6.2.0.00.20140922-2259,running on server version 6.2.0.00.20140613-0730. [project HelloWorld]在启动我的服务器时出现两个错误
[11/12/14 5:50:49:911 CST] 00000012 SystemErr R 24 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight/lib/worklight-jee-library.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.第二个错误:
java.lang.RuntimeException: Timeout while waiting for the management service to start up我不知道这些是什么,但我认为这可能与我的问题有关,当我启动服务器时,这些错误最终会出现。
有没有人有解决这个问题的建议?提前谢谢。
发布于 2014-11-12 23:42:02
这是Websphere的一个已知问题。
有一个APAR可以解决这个问题,一个变通方法是使用--clean选项重新启动服务器,强制刷新共享库。
http://www-01.ibm.com/support/docview.wss?uid=swg1PI17830
https://stackoverflow.com/questions/26886894
复制相似问题