Topic
  • 1 reply
  • Latest Post - ‏2013-03-12T16:08:32Z by SystemAdmin
SystemAdmin
SystemAdmin
5507 Posts

Pinned topic RPT 8.3.0.2 - JBoss App Server Monitoring Issues

‏2013-03-12T00:30:59Z |
Has anyone been able to successfully monitor JBoss AS w/RPT? I've configured a JBoss monitor with the correct SOAP port and added our jbossall-client.jar to the JBoss Client Preferences within the RPT project, but I continually fail to connect. Any suggestions are welcome as documentation on JBoss monitoring with RPT is scarce. Thank you!
//Here's the error stack thrown while attempting to connect:
Unable to connect to server on specified host and port number
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:685)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:318)
at javax.naming.InitialContext.init(InitialContext.java:253)
at javax.naming.InitialContext.<init>(InitialContext.java:227)
at com.ibm.rpa.rm.jboss.apiwrapper.JbossMBeanServerConnectionFactory.getInitialContext(JbossMBeanServerConnectionFactory.java:76)
at com.ibm.rpa.rm.jboss.apiwrapper.JbossMBeanServerConnectionFactory.getMBeanServerConnection(JbossMBeanServerConnectionFactory.java:40)
at com.ibm.rpa.rm.jboss.runtime.impl.JbossClient.getMBeanServerConnection(JbossClient.java:153)
at com.ibm.rpa.rm.jboss.runtime.impl.JbossClient.getRootStats(JbossClient.java:219)
at com.ibm.rpa.rm.jboss.ui.elements.JbossRootUIElement.getRootDescriptors(JbossRootUIElement.java:164)
at com.ibm.rpa.rm.jboss.ui.elements.JbossRootUIElement.performFetchDeferredChildren(JbossRootUIElement.java:147)
at com.ibm.rpa.internal.ui.model.statistical.AbstractTreeUIElement.fetchDeferredChildren(AbstractTreeUIElement.java:300)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:176)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:75)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:682)
... 12 more
Updated on 2013-03-12T16:08:32Z at 2013-03-12T16:08:32Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    5507 Posts

    Re: RPT 8.3.0.2 - JBoss App Server Monitoring Issues

    ‏2013-03-12T16:08:32Z  
    It appears we need to download all jars in the jboss/client folder, then specify the path to jbossall-client.jar. It will call all classes we need.

    Now, we hit another issue - could not obtain connection to any of these urls: appserver.swg.usma.ibm.com:1090 and discovery failed with error: javax.naming.CommunicationException: Receive timed out Root exception is java.net.SocketTimeoutException: Receive timed out