This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

JMX Monitoring

I am trying to monitor JBOSS via JMX. I am able to connect to the JBOSS server with Jconsole from the polling server, so am pretty sure this is not a network connectivity issue. I cannot seem to find a clear doc on how to get this working. The server that has jboss on it has the SW agent installed, but I am aware that JMX does not use the agent.

Any direction is MUCH appreciated!

Parents
  • Has anybody had any luck with this issue? I am setting up SAM 6.9 trying to connect to Jboss EAP 7.2 and EAP 6.4.I can use the jconsole.bat to connect to both EAP 7.2 and 6.4.

    Any feedback would be much appreciated. Connot connect to JMX server.

    From the application log-

    2019-12-05 14:43:23,025 [STP SmartThreadPool Thread #2] [C163] ERROR SolarWinds.APM.Probes.JMX.JmxCommunicationManager - Cannot connect to the server [bridgeUrl=http://localhost:9191/jmxbridge, serverUri=service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:] Exception:System.Web.Services.Protocols.SoapException: For input string: "9999service:jmx:remoting-jmx:"

       at SolarWinds.JMX.QueryServiceClient.JmxBridgeSession.ConvertConnectionException(SoapException ex)

       at SolarWinds.JMX.QueryServiceClient.JmxBridgeSession.Connect(String serviceAddr, String username, String password)

       at SolarWinds.APM.Probes.JMX.JmxSessionCache.GetConnection(String bridgeUrl, String serverUri, String userName, String password)

       at SolarWinds.APM.Probes.JMX.JmxCommunicationManager.Connect(String bridgeUrl, String serverUri, UserNamePasswordCredential credential, IJobResultStatus resultStatus)

    2019-12-05 14:43:23,026 [STP SmartThreadPool Thread #2] [C163] DEBUG SolarWinds.APM.Probes.MonitorJob - Monitor test finished - ComponentId: 163; NodeId: 3; NodeName: hostname; ApplicationId: 6; ComponentName: Classes Loaded Count; ComponentType: SolarWinds.APM.Probes.JmxProbe, SolarWinds.APM.Probes, Version=2019.4.0.12548, Culture=neutral, PublicKeyToken=null; CustomLogEnabled: True; TestSessionId: bf1ebfe4-0740-4c83-b836-758e9a90d972;

    From the jmx bridge log

    2019-12-05 14:16:51,841 [pool-1-thread-33hread] INFO  com.solarwinds.jmxbridge.JMXSessionCache - Connecting to 'service:jmx:rmi:///jndi/rmi://111.111.111.111:8080/jmxrmi'...

    2019-12-05 14:16:55,959 [pool-1-thread-32hread] INFO  com.solarwinds.jmxbridge.JMXSessionCache - Connecting to 'service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:9999'...

    2019-12-05 14:16:55,961 [pool-1-thread-32hread] ERROR com.solarwinds.jmxbridge.JMXQueryService - Connect to service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:9999 failed.

    java.lang.NumberFormatException: For input string: "9999service:jmx:remoting-jmx:"

    at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)

    at java.base/java.lang.Integer.parseInt(Integer.java:658)

    at java.base/java.lang.Integer.parseInt(Integer.java:776)

    at jdk.naming.rmi/com.sun.jndi.url.rmi.rmiURLContext.getRootURLContext(rmiURLContext.java:102)

    at java.naming/com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:204)

    at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1839)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1813)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:302)

    at com.solarwinds.jmxbridge.JMXSessionCache.connect(JMXSessionCache.java:47)

    at com.solarwinds.jmxbridge.JMXQueryService.connect(JMXQueryService.java:46)

    at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:567)

    at com.sun.xml.ws.util.Trampoline.invoke(MethodUtil.java:82)

    at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:567)

    at com.sun.xml.ws.util.MethodUtil.invoke(MethodUtil.java:107)

    at com.sun.xml.ws.api.server.MethodUtil.invoke(MethodUtil.java:64)

    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250)

    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:149)

    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:88)

    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)

    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)

    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)

    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)

    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:419)

    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:868)

    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)

    at com.sun.xml.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:113)

    at com.sun.xml.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:97)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)

    at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)

    at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:692)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)

    at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:664)

    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

    at java.base/java.lang.Thread.run(Thread.java:830)

  • alex123  wrote:

    Has anybody had any luck with this issue? I am setting up SAM 6.9 trying to connect to Jboss EAP 7.2 and EAP 6.4.I can use the jconsole.bat to connect to both EAP 7.2 and 6.4.

    Any feedback would be much appreciated. Connot connect to JMX server.

    From the application log-

    2019-12-05 14:43:23,025 [STP SmartThreadPool Thread #2] [C163] ERROR SolarWinds.APM.Probes.JMX.JmxCommunicationManager - Cannot connect to the server [bridgeUrl=http://localhost:9191/jmxbridge, serverUri=service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:] Exception:System.Web.Services.Protocols.SoapException: For input string: "9999service:jmx:remoting-jmx:"

       at SolarWinds.JMX.QueryServiceClient.JmxBridgeSession.ConvertConnectionException(SoapException ex)

       at SolarWinds.JMX.QueryServiceClient.JmxBridgeSession.Connect(String serviceAddr, String username, String password)

       at SolarWinds.APM.Probes.JMX.JmxSessionCache.GetConnection(String bridgeUrl, String serverUri, String userName, String password)

       at SolarWinds.APM.Probes.JMX.JmxCommunicationManager.Connect(String bridgeUrl, String serverUri, UserNamePasswordCredential credential, IJobResultStatus resultStatus)

    2019-12-05 14:43:23,026 [STP SmartThreadPool Thread #2] [C163] DEBUG SolarWinds.APM.Probes.MonitorJob - Monitor test finished - ComponentId: 163; NodeId: 3; NodeName: hostname; ApplicationId: 6; ComponentName: Classes Loaded Count; ComponentType: SolarWinds.APM.Probes.JmxProbe, SolarWinds.APM.Probes, Version=2019.4.0.12548, Culture=neutral, PublicKeyToken=null; CustomLogEnabled: True; TestSessionId: bf1ebfe4-0740-4c83-b836-758e9a90d972;

    From the jmx bridge log

    2019-12-05 14:16:51,841 [pool-1-thread-33hread] INFO  com.solarwinds.jmxbridge.JMXSessionCache - Connecting to 'service:jmx:rmi:///jndi/rmi://111.111.111.111:8080/jmxrmi'...

    2019-12-05 14:16:55,959 [pool-1-thread-32hread] INFO  com.solarwinds.jmxbridge.JMXSessionCache - Connecting to 'service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:9999'...

    2019-12-05 14:16:55,961 [pool-1-thread-32hread] ERROR com.solarwinds.jmxbridge.JMXQueryService - Connect to service:jmx:rmi:///jndi/rmi://111.111.111.111:9999service:jmx:remoting-jmx://hostname:9999 failed.

    java.lang.NumberFormatException: For input string: "9999service:jmx:remoting-jmx:"

    at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)

    at java.base/java.lang.Integer.parseInt(Integer.java:658)

    at java.base/java.lang.Integer.parseInt(Integer.java:776)

    at jdk.naming.rmi/com.sun.jndi.url.rmi.rmiURLContext.getRootURLContext(rmiURLContext.java:102)

    at java.naming/com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:204)

    at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1839)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1813)

    at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:302)

    at com.solarwinds.jmxbridge.JMXSessionCache.connect(JMXSessionCache.java:47)

    at com.solarwinds.jmxbridge.JMXQueryService.connect(JMXQueryService.java:46)

    at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:567)

    at com.sun.xml.ws.util.Trampoline.invoke(MethodUtil.java:82)

    at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:567)

    at com.sun.xml.ws.util.MethodUtil.invoke(MethodUtil.java:107)

    at com.sun.xml.ws.api.server.MethodUtil.invoke(MethodUtil.java:64)

    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250)

    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:149)

    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:88)

    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)

    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)

    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)

    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)

    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:419)

    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:868)

    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)

    at com.sun.xml.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:113)

    at com.sun.xml.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:97)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)

    at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)

    at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:692)

    at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)

    at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:664)

    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

    at java.base/java.lang.Thread.run(Thread.java:830)

    Hi Nicholas, have you opened up a support case with us yet? Submit a Ticket | SolarWinds Customer Portal

  • Serena,

    Thanks for responding so quickly. I have not opened a ticket yet. I have the trial version of SAM installed. I am currently testing this out to see if it works to replace our current JBoss Operational Network monitoring that RedHat currently has.

    After further research, I can't find anything that says SAM will work the JBoss EAP 7.2. If I can open a ticket I will get that done.

    Thank you,

    Nicholas

  • alex123  wrote:

    Serena,

    Thanks for responding so quickly. I have not opened a ticket yet. I have the trial version of SAM installed. I am currently testing this out to see if it works to replace our current JBoss Operational Network monitoring that RedHat currently has.

    After further research, I can't find anything that says SAM will work the JBoss EAP 7.2. If I can open a ticket I will get that done.

    Thank you,

    Nicholas

    Nicholas,

    If you're not a current customer, then submitting a support request via the link that I provided wouldn't work out. Have you been working with a sales rep? If so, you can send your diagnostics to that rep, and they can escalate to us to get those diagnostics to us. We have a hypothesis on an issue with JBoss EAP, which we're tracking internally via SAM-10103 but it would be great to get your diagnostics to confirm.

  • Serena,

    I have a support ticket created for troubleshooting this issue. The ticket is support case #00444627

    Thank you,

    Nick

Reply Children
No Data