2 Replies Latest reply on Feb 25, 2015 2:11 AM by Boris_Erblat

    unable to discover Jboss 6.0 in Hyperic 4.6

    akshay_vm111 Lurker

      Hi,

      I am unable to discover Jboss in Hyperic 4.6 server which is running on windows.

      Exception is shown below. Can someone help me out ?

       

      2015-02-25 15:09:46,549 ERROR [Thread-3] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: JBoss 6.0: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

      org.hyperic.hq.product.PluginException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

        at org.hyperic.hq.plugin.jboss.JBossDetector.discoverServiceTypes(JBossDetector.java:355)

        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:209)

        at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)

        at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)

        at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)

        at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)

        at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

      Caused by: 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(Unknown Source)

        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

        at javax.naming.InitialContext.init(Unknown Source)

        at javax.naming.InitialContext.<init>(Unknown Source)

        at org.hyperic.hq.plugin.jboss.JBossUtil.getMBeanServerConnection(JBossUtil.java:138)

        at org.hyperic.hq.plugin.jboss.JBossDetector.discoverServiceTypes(JBossDetector.java:353)

        ... 6 more

      Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)

        ... 12 more