Created attachment 584735 [details] JBoss ESB service error Description of problem: JBoss ESB service does not start for SOA-P 5.3.0.ER2 and JON 3.1.0.GA-3 Version-Release number of selected component (if applicable): Fedora 13 jon-server-3.1.0.GA-3 https://brewweb.devel.redhat.com/buildinfo?buildID=212937 soa-5.3.0.ER2 http://jawa05.englab.brq.redhat.com/candidate/soa-5.3.0.ER2/ PostgreSQL 8.4.8 FF 3.6.17 How reproducible: Always Steps to Reproduce: 1. Instal SOA-P 5.3.0.ER2 2. Start JON Server 3.1.0 3. Inventory the SOA-P server into the JON, update connection properties and go JBossESB service to Inventory > Connection Settings tab. Actual results: The following connection settings have invalid values: [JBoss Home Directory, Configuration Path]. The values must be corrected before the settings can be saved. Expected results: JBoss ESB service in active mode. Additional info: http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com:7080/
Are there any stack traces in the agent log?
Created attachment 585017 [details] JON 3.1.0 Server/Agent logs
There is a machine with reproduced bug at: http://hp-sl2x170zg6-02.rhts.eng.bos.redhat.com:7080/
Was FileContentDelegate removed? org.rhq.core.clientapi.agent.PluginContainerException: Failed to start component for resource Resource[id=10047, uuid=58630ae5-eac5-43a8-a386-6be846e87f6c, type={JBossESB5}ESB, key=jboss.esb:service=MessageCounter, name=JBoss ESB, parent=SOA kapr.brq.redhat.com:1099 production, version=5.3.0.ER2]. at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1697) at org.rhq.core.pc.inventory.InventoryManager.refreshResourceComponentState(InventoryManager.java:2906) at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2657) at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2663) at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2663) at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1084) at org.rhq.core.pc.inventory.InventoryManager.handleReport(InventoryManager.java:1058) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:121) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:56) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) 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) Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/util/FileContentDelegate at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:637) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) ... 3 more Caused by: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/util/FileContentDelegate at org.jbosson.plugins.jbossesb.ESB5Component.start(ESB5Component.java:62) at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) 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:632) ... 5 more Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jbossas5.util.FileContentDelegate at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at org.rhq.core.pc.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:63)
grep -r FileContentDelegate brms-p-5.3.0.BRMS-ER7-rhq-plugin.jar eds-p-5.3.0.ER2-rhq-modeshape-plugin.jar soa-p-5.3.0.ER2-rhq-jbossesb-plugin-as4.jar soa-p-5.3.0.ER2-rhq-jbossesb-plugin-as5.jar (null)
Added the two missing classes back to the JBossAS5 plugin for backwards compatibility with embedded versions of the plugin container. The code of the plugin was not updated to use these classes. The two classes are self contained and do not depend on any other plugin components. Also visually inspected the SOA-P plugin code to make sure there are no breaking changes in the API of FileContentDelegate and JarContentDelegate. No problems discovered.
master branch commit: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=a0ecbf2e462645a8774cafd69259085a0bee1d0d
release/jon3.1.x branch commit: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=7eab8c4b2aeeef1256a343b90d8424314234b722
*** Bug 822264 has been marked as a duplicate of this bug. ***
JON-3.1.0.ER4 fix the bug. https://brewweb.devel.redhat.com/buildinfo?buildID=214923 SOA-P 5.30.ER2
JON-3.1.0.ER4 fix the bug. https://brewweb.devel.redhat.com/buildinfo?buildID=214923 SOA-P 5.30.ER3