Unable to monitor JBoss EAP 5 in JON 2.4 due to "IllegalStateException: 'Implementation-Version' MANIFEST.MF attribute not found"
Issue
Unable to monitor JBoss EAP 5.1 in JON 2.4 due to the following errors in agent.log:
ERROR [ResourceDiscoveryComponent.invoker.daemon-3] (org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent)- Failed to process JBoss AS command line: [/opt/java/jdk6/bin/java, -Dprogram.name=run.sh, -server, -Xss512k, -Xms2048m, -Xmx6144m, -XX:MaxPermSize=512m, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -Dorg.jboss.resolver.warning=true, -Dsun.rmi.dgc.client.gcInterval=3600000, -Dsun.rmi.dgc.server.gcInterval=3600000, -Dsun.lang.ClassLoader.allowArraySyntax=true, -Djava.awt.headless=true, ...]
java.lang.NullPointerException
at org.rhq.plugins.jbossas5.helper.JBossInstallationInfo.getVersion(JBossInstallationInfo.java:120)
at org.rhq.plugins.jbossas5.helper.JBossInstallationInfo.<init>(JBossInstallationInfo.java:61)
at org.rhq.plugins.jbossas5.helper.JBossInstanceInfo.finalizeSysProps(JBossInstanceInfo.java:287)
at org.rhq.plugins.jbossas5.helper.JBossInstanceInfo.<init>(JBossInstanceInfo.java:90)
at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverExternalJBossAsProcesses(ApplicationServerDiscoveryComponent.java:267)
at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverResources(ApplicationServerDiscoveryComponent.java:170)
...
ERROR [ResourceDiscoveryComponent.invoker.daemon-3] (org.rhq.plugins.jbossas.JBossASDiscoveryComponent)- Failed to process JBoss AS command line: [/opt/java/jdk6/bin/java, -Dprogram.name=run.sh, -server, -Xss512k, -Xms2048m, -Xmx6144m, -XX:MaxPermSize=512m, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -Dorg.jboss.resolver.warning=true, -Dsun.rmi.dgc.client.gcInterval=3600000, -Dsun.rmi.dgc.server.gcInterval=3600000, -Dsun.lang.ClassLoader.allowArraySyntax=true, -Djava.awt.headless=true, ...]
java.lang.IllegalStateException: 'Implementation-Version' MANIFEST.MF attribute not found.
at org.rhq.plugins.jbossas.helper.JBossInstallationInfo.getVersion(JBossInstallationInfo.java:108)
at org.rhq.plugins.jbossas.helper.JBossInstallationInfo.<init>(JBossInstallationInfo.java:59)
at org.rhq.plugins.jbossas.helper.JBossInstanceInfo.finalizeSysProps(JBossInstanceInfo.java:281)
at org.rhq.plugins.jbossas.helper.JBossInstanceInfo.<init>(JBossInstanceInfo.java:86)
...
Environment
- Red Hat JBoss Operations Network (JON) 2.4.x
- Red Hat JBoss Enterprise Application Platform (EAP) 5.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
