Bug 779040 (SOA-1451)

Summary: Exception when deploying esb archives through JON
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: Monitoring and ManagementAssignee: tcunning
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP02   
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1451
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
4.3.CP02_CR2 JON-2.2.0.GA
Last Closed: 2011-03-08 17:06:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslaw Kijanowski 2009-08-18 11:49:24 UTC
Date of First Response: 2009-08-21 12:35:15
project_key: SOA

There's a failure when deploying an esb archive (zipped and exploded) through the JON console:

2009-08-18 07:56:27,169 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=JBoss ESB Deployment, plugin=JBossESB]], ResourceKey=[null]
2009-08-18 07:56:27,228 ERROR [ResourceContainer.invoker.nonDaemon-4] (org.rhq.plugins.jmx.MBeanResourceComponent)- Error deploying application for report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=JBoss ESB Deployment, plugin=JBossESB]], ResourceKey=[null]
java.lang.NoSuchMethodError: org.rhq.plugins.jbossas.util.FileContentDelegate.createContent(Lorg/rhq/core/domain/content/PackageDetails;Ljava/io/InputStream;Z)V
	at org.jbosson.plugins.jbossesb.ESBComponent.esbCreate(Unknown Source)
	at org.jbosson.plugins.jbossesb.ESBComponent.createResource(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:484)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
2009-08-18 07:56:32,234 WARN  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Throwable was found in creation report for request [500051]: java.lang.NoSuchMethodError: org.rhq.plugins.jbossas.util.FileContentDelegate.createContent(Lorg/rhq/core/domain/content/PackageDetails;Ljava/io/InputStream;Z)V - Enable DEBUG logging to see the stack trace.
2009-08-18 07:56:32,235 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=500051, Status=Failure]

Comment 1 Jaroslaw Kijanowski 2009-08-18 12:01:51 UTC
Link: Added: This issue is a dependency of JBESB-2789


Comment 2 tcunning 2009-08-21 16:35:15 UTC
Between 2.1.2 and 2.2 the createContent method in FileContentDelegate gained another boolean argument.     If we add another argument, we cannot build against 2.1.2, so leaving this unfixed for now with the workaround that users manually deploy probably would be the better option.     We should not fix until we are willing to build w/2.2 and remove 2.1.2 from the matrix.

Fixed the problems with deleting esb archives though.

Comment 3 Jaroslaw Kijanowski 2009-09-04 14:49:36 UTC
Just want to confirm Tom's comment and provide a status for CR3:

It is an issue in JON-2.3.0-8299.

Works fine with JON-2.1
md5sum rhq-jbossesb-plugin-SOA.4.3.0.GA_CP02.jar 0d881ee81fdc9083ca9fc482140d29b1

Comment 4 Jaroslaw Kijanowski 2009-11-16 17:27:38 UTC
Link: Added: This issue related SOA-764


Comment 5 Jaroslaw Kijanowski 2009-11-21 08:22:38 UTC
Link: Added: This issue is a dependency of SOA-1626


Comment 6 tcunning 2009-12-05 14:10:58 UTC
This should be fixed in the work for JBESB-3025.

Comment 7 tcunning 2009-12-05 14:11:27 UTC
Link: Added: This issue is related to JBESB-3025


Comment 8 Kevin Conner 2009-12-06 04:41:31 UTC
Wrong branch, not fixed yet

Comment 9 Kevin Conner 2009-12-06 04:42:40 UTC
Link: Removed: This issue is related to JBESB-3025 


Comment 10 Kevin Conner 2009-12-07 11:30:36 UTC
Link: Removed: This issue is a dependency of SOA-1626 


Comment 11 Len DiMaggio 2010-04-30 19:38:24 UTC
With SOA-P 4.3 CP04 CR1 and JON 2.3.1 (version: 2.3.1.CR1, build number: 10561)

I'm seeing this error in the console, but no error written to the log:

java.lang.NoSuchMethodError:org.rhq.plugins.jbossas.util.FileContentDelegate.createContent(Lorg/rhq/core/domain/content/PackageDetails;Ljava/io/InputStream;Z)V


Comment 12 tcunning 2011-03-08 16:58:25 UTC
Link: Added: This issue Cloned to SOA-2970


Comment 13 tcunning 2011-03-08 17:06:09 UTC
This bug was considered for SOA-P 4.3.CP05, but required a JON plugin pack update to deliver.    This issue was cloned (SOA-2970) and will be fixed in SOA-P 5.2.0.