Bug 778746 (SOA-1203)

Summary: ESB JON plugin not compiling against Jopr/RHQ trunk
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: tbf
Component: Monitoring and ManagementAssignee: tcunning
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ian.springer
Target Milestone: ---   
Target Release: 5.0.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1203
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Solaris/Windows XP
Last Closed: 2010-02-08 21:12:15 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:
Attachments:
Description Flags
jbossesb.zip none

Description tbf 2009-03-03 14:22:45 UTC
Date of First Response: 2009-03-03 10:07:34
project_key: SOA

When compiling the ESB plugin:

cd to RHQ trunk dir
svn co http://svn.rhq-project.org/repos/rhq/trunk/
mvn install -Pojdbc-driver,enterprise,dist -Dmaven.test.skip=true -Ddbsetup-do-not-check-schema

cd to Jopr trunk dir
svn co http://anonsvn.jboss.org/repos/jopr/trunk/
mvn install -Pojdbc-driver,enterprise,dist -Dmaven.test.skip=true -Ddbsetup-do-not-check-schema

cd to Jon plugin dir
svn co http://anonsvn.jboss.org/repos/labs/labs/jbossesb/tags/JBESB_4_5_GA/product/tools/jonplugin/
mvn -Dmaven.test.skip=true clean install

A number of exceptions occur. Some of these are due to http://jira.rhq-project.org/browse/RHQ-1603 and som are due to class cast exceptions in the ActionComponent.java class (function: public void getValues).

The issue is also described here: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214280#4214280

If there is an option to upload files later in the jira creation process i will Attached the versions of the source files that can compile with the trunk versions of Jopr and RHQ. I have also tested that the ESB shows up in the new console and that all services, listeners and actions are discovered.

Comment 2 tbf 2009-03-03 14:25:27 UTC
Attachment: Added: jbossesb.zip


Comment 3 Kevin Conner 2009-03-03 15:07:34 UTC
Just added the following to the forum posting.

"We compile against the version specified in the SOA release. The plugin will be updated, as appropriate, when the SOA platform moves forward.

The pom.xml is not used to build that plugin however, as we had a requirement to build against a specific release of JON. As such, the platform build contains an ant script which downloads the release from an internal server, compiles the plugin, then repackages the JON release."

Comment 4 Kevin Conner 2009-03-03 15:10:41 UTC
Tom, please leave this alone for now.  We can address this during the next SOA platform release, as appropriate.

Comment 5 tcunning 2009-12-05 14:33:43 UTC
This has been resolved in JBESB-2907, the ESB plugin compiles against embedded JOPR as part of the ESB project build.     The branches specified in the bug description are out of date though.

Comment 6 tcunning 2010-02-08 21:12:15 UTC
Len wanted me to close this one - the plugin is now installed as part of the build.