Description of problem: Autodiscovery fail to detect multiple instances of JBossAS running on the single server. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Configure Agent on a Linux box. Ensure that the JBossAS5 plugin is present. 2. Install JBoss AS 5.1 on the agent box and check the dashboard to see if this is autodiscovered. 3. Install JBoss AS 5.0 on the same agent box on a different port. Check the autodiscovery queue for this newly installed JBoss AS 5.0. Actual results: The second instance is not auto discovered. Expected results: Second instance should be auto disovered. Additional info: Manual addition of JBoss get added however, the service does not report up. When I try to start, I get the java home exception, where as Java Home is mentioned in the Connections properties. java.lang.IllegalStateException: The 'javaHome' connection property must be set in order to start the application server or to stop it via script. at org.rhq.plugins.jbossas5.ApplicationServerOperationsDelegate.initProcessExecution(ApplicationServerOperationsDelegate.java:284) at org.rhq.plugins.jbossas5.ApplicationServerOperationsDelegate.start(ApplicationServerOperationsDelegate.java:230) at org.rhq.plugins.jbossas5.ApplicationServerOperationsDelegate.invoke(ApplicationServerOperationsDelegate.java:142) at org.rhq.plugins.jbossas5.ApplicationServerComponent.invokeOperation(ApplicationServerComponent.java:495) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)
Verified on JON 2.4 GA_QA (tag-jon-release build #46) Revision: 10759 Steps 1) Configured Agent on a Linux box. Ensure that the JBossAS5 plugin is present. 2) Installed JBoss AS 5.1 on the agent box. 3. Installed JBoss AS 5.0 on the same agent box on a different port. JBossAS 5.0 and JBossAS 5.1 both are auto discovered.
Mass-closure of verified bugs against JON.