IBM Worklight 6.2:JMX配置错误。无法获得MBean [英] IBM Worklight 6.2: JMX configuration error. Unable to obtain MBeans
问题描述
我有IBM Worklight 6.2开发环境,具有以下设置。
I have IBM Worklight 6.2 development environment with the following setup.
-
Oracle Java 1.7
Oracle Java 1.7
Eclipse 4.3
Eclipse 4.3
IBM Worklight 6.2开发人员版
IBM Worklight 6.2 Developer Edition
在Worklight开发服务器中创建并部署了示例混合项目,并且应用程序在移动浏览器模拟器中工作正常。
A sample Hybrid project had been created and deployed in the Worklight development server and app works fine in the Mobile Browser Simulator.
我在Eclipse的Worklight Server控制台中收到以下错误:
I am getting the following error in Worklight Server console in Eclipse:
[错误]无法获取JMX连接以访问MBean。
可能存在JMX配置错误:读取超时
[错误] FWLSE3000E:检测到服务器错误。
FWLSE3012E:JMX配置错误。无法获得MBean。原因:读取超时。
此外,我在Worklight Console [Web控制台]中收到以下错误。
And also I am getting the following error in Worklight Console[Web Console].
FWLSE3012E:JMX配置错误。无法获得MBean。原因:读取超时。
注意:
我已阅读以下问题但没有运气。
Note: I have read the following questions but no luck.
其他信息:
我曾经得到以下错误每当Worklight开发服务器从eclipse启动时。
I used to get the following error whenever the Worklight development server is started from eclipse.
* [警告] CWNEN0070W:javax.ws.rs.QueryParam注释类将无法识别,因为它是从null位置而不是产品类加载器。
*[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[警告] CWNEN0070W:javax.ws.rs.PathParam注释类不会被识别,因为它是从null位置而不是从产品类加载器加载的。
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[警告] CWNEN0070W:javax.ws.rs.HeaderParam注释类不会被识别,因为它是从null位置而不是从产品类加载器加载的。
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[警告] CWNEN0070W:javax.ws.rs.CookieParam注释类不会被识别,因为它是从null位置而不是从产品类加载器加载的。
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[警告] CWNEN0070W:javax.ws.rs.core.Context注释类将无法识别,因为它是从null位置而不是从产品类加载器加载的。
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[警告] CWNEN0070W:javax.ws.rs.MatrixParam注释类将无法识别,因为它是从null位置而不是从产品类加载器加载的。*
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.*
我希望我提供了必要的信息。如果你还需要,请告诉我。
I hope necessary information's I have provided. Let me know if u still need.
推荐答案
Worklight 6.2中的JMX超时错误是一个已知问题。
The JMX timeout error in Worklight 6.2 is a known issue.
通常当我发生这个错误时,解决问题的方法是等待一段时间然后停止&重新启动Worklight Server(在Eclipse> Servers视图>'play'按钮中)。另一种选择是重新启动Eclipse。
Typically when this error occurs to me, a way to resolve it is to either 'wait' a while and then to stop & restart the Worklight Server (in Eclipse > Servers view > 'play' button). Another option is to restart Eclipse.
您还可以尝试评论中的建议:
You can also try the suggestions from the comments:
尝试在Eclipse
工作空间中编辑文件
WorklightServerConfig / servers / worklight / jvm.options,添加行
-Dcom.ibm.ws.jmx.connector。 client.rest.readTimeout = 180000\" 。然后停止并重新启动Worklight Development Server。
Try to edit the file WorklightServerConfig/servers/worklight/jvm.options in your Eclipse workspace, adding the line "-Dcom.ibm.ws.jmx.connector.client.rest.readTimeout=180000". Then stop and restart the Worklight Development Server.
和
尝试编辑文件
WorklightServerConfig / servers / worklight / server.xml并在
部分添加以下行,然后重新启动并再试一次:
Try to edit the file WorklightServerConfig/servers/worklight/server.xml and add in the section the following line, then restart and try again:
< executor name =LargeThreadPoolid =defaultcoreThreads =40
maxThreads =80keepAlive =60sstealPolicy =STRICT
rejectedWorkPolicy =CALLER_RUNS/>
最好是打开PMR (支持票证)并请求iFix,因为这是要修复的。
Best is to open a PMR (support ticket) and request an iFix as this is due to be fixed.
这篇关于IBM Worklight 6.2:JMX配置错误。无法获得MBean的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!