Jboss 适配器线程池错误
我正在尝试使用 VisualVM 分析我的应用程序。当我为远程JMX 连接添加参数时,出现以下错误。 我正在使用远程 JMX 进行身份验证。
Caused by: java.lang.RuntimeException: Error creating MBeanProxy: jboss.jca:service=AdapterThreadPool
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:415)
at org.jboss.mx.util.MBeanProxyExt.<init>(MBeanProxyExt.java:99)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:394)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:349)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:324)
at com.pscufs.datagateway.base.assist.WorkflowBatchManager.<init>(Unknown Source)
at com.pscufs.datagateway.DataGatewayRequest.execute(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getNonCAPProperties(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getAccountPropertiesFdrCard(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getAccountProperties(Unknown Source)
at com.pscufs.enterprise.service.ejb3.session.propertycache.PropertyCacheBean.getPropValuesFromLocal(PropertyCacheBean.java:713)
... 77 more
引起原因:javax.management.InstanceNotFoundException:jboss.jca:service = AdapterThreadPool
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBeanInfo(DefaultMBeanServerInterceptor.java:1372)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getMBeanInfo(JmxMBeanServer.java:880)
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407)
... 87 more
请帮助!
干杯, 德瓦拉克
I am trying to profile my application with VisualVM.When I add parameters for remoteJMX connection,I am getting the below error.
I am using remote JMX with authentication.
Caused by: java.lang.RuntimeException: Error creating MBeanProxy: jboss.jca:service=AdapterThreadPool
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:415)
at org.jboss.mx.util.MBeanProxyExt.<init>(MBeanProxyExt.java:99)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:394)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:349)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:324)
at com.pscufs.datagateway.base.assist.WorkflowBatchManager.<init>(Unknown Source)
at com.pscufs.datagateway.DataGatewayRequest.execute(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getNonCAPProperties(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getAccountPropertiesFdrCard(Unknown Source)
at com.pscufs.host.properties.LocalProperties.getAccountProperties(Unknown Source)
at com.pscufs.enterprise.service.ejb3.session.propertycache.PropertyCacheBean.getPropValuesFromLocal(PropertyCacheBean.java:713)
... 77 more
Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=AdapterThreadPool
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBeanInfo(DefaultMBeanServerInterceptor.java:1372)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getMBeanInfo(JmxMBeanServer.java:880)
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407)
... 87 more
Please Help!
Cheers,
Dwarak
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为,通过启用 jmx 身份验证,您会导致 mbean 实例的实例化和注册在服务器启动时失败。坦率地说,我不确定 JBoss 容器是否支持使用此 JVM 参数启动。如果它适合您和您在防火墙后面,那么最好将 jmx 身份验证设置为 false。
Methinks by enabling jmx authentication you are causing the instantiation and registration of your mbean instances to fail as the server starts. To be frank I'm not sure that the JBoss container supports being started with this JVM argument. If it works for you and your behind a firewall it might just be better to set jmx authentication to false.