Bug 781038 (SOA-3524) - NoClassDefFoundError when deploying ESB archives through JON
Summary: NoClassDefFoundError when deploying ESB archives through JON
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3524
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JON
Version: 5.2.0.ER5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0.ER6
Assignee: tcunning
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 14:19 UTC by Pavel Kralik
Modified: 2013-04-30 23:33 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
JON 2.4.1.GA, PostgreSQL 8.4.8, OpenJDK 1.6.0, SOA-P/EDS 5.2.0 ER5 JON plugin pack: https://brewweb.devel.redhat.com//buildinfo?buildID=184426
Last Closed: 2011-11-11 12:05:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3703 0 Major Closed Patch around the removal of RemoteDeployer 2014-02-18 11:27:08 UTC
Red Hat Issue Tracker SOA-3524 0 Blocker Closed NoClassDefFoundError when deploying ESB archives through JON 2014-02-18 11:27:07 UTC

Description Pavel Kralik 2011-10-25 14:19:13 UTC
Steps to Reproduce: 1. Go to JBoss ESB tab in the SOA-P 5.2 server
2. Click Inventory > Overview
3. Click Create New: Deployment and OK
4. Upload file (eg. Quickstart_helloworld_failing.esb) and click CREATE
5. Go to the History of create child resource requests and see the Request Status: Failure
project_key: SOA

There's a NoClassDefFoundError when deploying an ESB archive (zipped and exploded) through the JON console in Request Status: Failure link:

java.lang.reflect.UndeclaredThrowableException
	at $Proxy83.createResource(Unknown Source)
	at org.rhq.core.pc.inventory.CreateResourceRunner.call(CreateResourceRunner.java:114)
	at org.rhq.core.pc.inventory.CreateResourceRunner.run(CreateResourceRunner.java:95)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	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)
Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/deploy/RemoteDeployer
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:530)
	... 5 more
Caused by: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/deploy/RemoteDeployer
	at org.jbosson.plugins.jbossesb.ESB5Component.getDeployer(ESB5Component.java:240)
	at org.jbosson.plugins.jbossesb.ESB5Component.createResource(ESB5Component.java:226)
	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)
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jbossas5.deploy.RemoteDeployer
	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)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
	... 12 more

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=727976

Comment 1 RH Bugzilla Integration 2011-10-25 14:20:42 UTC
Bugzilla References: Added: https://bugzilla.redhat.com/show_bug.cgi?id=727976


Comment 2 Len DiMaggio 2011-10-25 15:13:14 UTC
Moved to blocker status as this is a regression from 5.1.0

Comment 3 Len DiMaggio 2011-10-25 15:13:14 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=727976 Added: https://bugzilla.redhat.com/show_bug.cgi?id=727976
Affects Testing: Added: Regression


Comment 4 RH Bugzilla Integration 2011-10-25 18:21:15 UTC
Charles Crouch <ccrouch> made a comment on [bug 727976|https://bugzilla.redhat.com/show_bug.cgi?id=727976]

We believe this original issue is fixed, and requesting that Tom confirm.
SOA-3524 is hitting a different issue, which will be addressed separately.

Comment 6 tcunning 2011-10-26 03:30:15 UTC
Link: Added: This issue relates to JBESB-3703


Comment 7 tcunning 2011-10-26 03:30:42 UTC
Patched around the missing class.

Comment 8 tcunning 2011-10-26 05:13:55 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=727976 Added: https://bugzilla.redhat.com/show_bug.cgi?id=727976


Comment 9 Pavel Kralik 2011-10-26 19:05:27 UTC
JON 2.4.1.GA, PostgreSQL 8.4.8, OpenJDK 1.6.0, SOA-P/EDS 5.1.0.GA

Deploying the ESB archive has the same result with SOA-P 5.1.0: 

java.lang.reflect.UndeclaredThrowableException
	at $Proxy93.createResource(Unknown Source)
	at org.rhq.core.pc.inventory.CreateResourceRunner.call(CreateResourceRunner.java:114)
	at org.rhq.core.pc.inventory.CreateResourceRunner.run(CreateResourceRunner.java:95)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	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)
Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/deploy/RemoteDeployer
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:530)
	... 5 more
Caused by: java.lang.NoClassDefFoundError: org/rhq/plugins/jbossas5/deploy/RemoteDeployer
	at org.jbosson.plugins.jbossesb.ESB5Component.getDeployer(ESB5Component.java:216)
	at org.jbosson.plugins.jbossesb.ESB5Component.createResource(ESB5Component.java:202)
	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)
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jbossas5.deploy.RemoteDeployer
	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)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
	... 12 more


Comment 10 Pavel Kralik 2011-11-03 12:41:03 UTC
Fixed.

Comment 11 David Tucker 2011-11-10 20:02:03 UTC
That link doesn't work anymore.  Is there somewhere I can get this patch?  Is it in the customer portal.

Comment 12 Kevin Conner 2011-11-10 20:09:53 UTC
The link works, you need to log on to the RH VPN to access it.

Comment 14 Robson Watt 2011-12-12 18:46:49 UTC
Hi all, 

  I have this problem on a production enviroment.. Please tell me how I can resolve this issue!!! Thank you.

Regards, 

Rob

Comment 15 Pavel Kralik 2011-12-13 09:46:11 UTC
Hi Robson,

the problem is solved with the latest jon-plugin-pack-soa-2.4.1.GA.zip and jon-plugin-pack-dataservices-2.4.1.GA.zip plugin packs.


Note You need to log in before you can comment on or make changes to this bug.