Jboss 适配器线程池错误

发布于 2024-12-02 07:58:46 字数 1835 浏览 2 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

徒留西风 2024-12-09 07:58:46

我认为,通过启用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文