[ https://issues.apache.org/activemq/browse/SM-584?page=all ]
Guillaume Nodet resolved SM-584. -------------------------------- Fix Version/s: 3.1 Resolution: Fixed Assignee: Guillaume Nodet Author: gnodet Date: Fri Dec 29 02:51:07 2006 New Revision: 490978 URL: http://svn.apache.org/viewvc?view=rev&rev=490978 Log: SM-584: classloader problem when deploying servicemix-http under JBoss Added: incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/jbi/META-INF/jboss-web.xml (with props) > Servicemix archive for Jboss > ---------------------------- > > Key: SM-584 > URL: https://issues.apache.org/activemq/browse/SM-584 > Project: ServiceMix > Issue Type: Bug > Components: servicemix-core, servicemix-http > Affects Versions: 3.0 > Environment: All environement > Reporter: Eric Dofonsou > Assigned To: Guillaume Nodet > Fix For: 3.1 > > Original Estimate: 3 minutes > Remaining Estimate: 3 minutes > > I've found the following issue with the way servicemix works in JBOSS. > I'am building endpoints that uses the servicemix-http component. > For this to work I need to add these two files to the > $JBOSS_HOME/server/default/lib folder : > 1- geronimo-j2ee-management_1.0_spec-1.0.1.jar > 2- commons-httpclient-3.0.jar > The geronimo-j2ee-management jar is required by the .sar file (Should this > not be included in the sar archive ?) > The Common-httpclient is required by the servicemix-http module (however > there is an older version of this lib included with JBoss). So for this too > work we have to delete the old version and replace it with this version. The > ideal work around would be to include a jboss-web.xml file that specifies to > jboss that we want to use our versino of common-httpclient for this > application. > Here is the content of the jboss-web.xml file that should be included in the > servicemix-http-*-zip service assembly file (should be in the META-INF > folder) : > --------- > <jboss-web> > <class-loading> > <loader-repository> > org.apache.commons.httpclient:loader=commons-httpclient-3.0.jar > </loader-repository> > </class-loading> > </jboss-web> > ----------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira