Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

hyperic 4.6.6 failed to discover jboss AS 7 (EAP 6)

$
0
0

Hi,

 

The failure error is reported when I run this cmd to discover all the plugins:

    java -jar /opt/hyperic/hyperic-hqee-agent/bundles/agent-4.6.6/pdk/lib/hq-pdk-4.6.6.jar -m discover >/tmp/MN.discover.plugins.2

 

And in the file /tmp/MN.discover.plugins.2

The JBoss 7 failed to load, with the error msg below:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 

Server: MN-1 JBoss 7 localhost:9990 [/home/jboss/inventory_deployment1_mn1_jee1_instance/standalone]

AIID...../home/jboss/inventory_deployment1_mn1_jee1_instance/standalone/configuration/standalone.xml

config...

product..jboss7.user=guest,jboss7.addr=localhost,jboss7.port=9990,jboss7.https=false,

metric...null

control..null

ERROR [main] [JBossStandaloneDetector] org.hyperic.hq.product.PluginException: [http://localhost:9990/management/subsystem/datasources] http error code: '401' msg='Unauthorized'

org.hyperic.hq.product.PluginException: [http://localhost:9990/management/subsystem/datasources] http error code: '401' msg='Unauthorized'

        at org.hyperic.hq.plugin.jboss7.JBossAdminHttp.get(JBossAdminHttp.java:128)

        at org.hyperic.hq.plugin.jboss7.JBossAdminHttp.getDatasources(JBossAdminHttp.java:197)

        at org.hyperic.hq.plugin.jboss7.JBossDetectorBase.discoverServices(JBossDetectorBase.java:114)

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

        at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:604)

        at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:321)

        at org.hyperic.hq.product.util.PluginDumper.testDiscovery(PluginDumper.java:1153)

        at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:462)

        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:321)

ERROR [main] [JBossStandaloneDetector] org.hyperic.hq.product.PluginException: [http://localhost:9990/management/subsystem/web?recursive=true] http error code: '401' msg='Unauthorized'

org.hyperic.hq.product.PluginException: [http://localhost:9990/management/subsystem/web?recursive=true] http error code: '401' msg='Unauthorized'

        at org.hyperic.hq.plugin.jboss7.JBossAdminHttp.get(JBossAdminHttp.java:128)

 

So I thought this is caused by jboss user/passwd, and then created jboss user "guest" with password "guestguest".

Then I updated the lines

       <option name="jboss7.user" description="Username" default="guest"/>
        <option name="jboss7.pass" description="Password" default="guestguest" type="secret"/>

 

 

 

But it didn't appear to fix the issue, and now I am confused what else could be related ?

Thanks

QL


Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>