Bruce, these dependencies are already added and deployed but they
conflict with the existing ones shipped with JBoss.
I have already seen that problem but had no time to understand
how to tweak the JBoss classloader to workaround that.

Jboss ships commons-http v2.x and ServiceMix uses v3.0.
Unfortunately, these versions are slightly incompatible...

On 9/18/06, Bruce Snyder <[EMAIL PROTECTED]> wrote:
On 9/18/06, Eric Dofonsou <[EMAIL PROTECTED]> wrote:
>
>
>
> I've found the following issue with the way servicemix works in JBOS.
>
> I'am building endpoints that use the ervicemix-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.
>
> Can this be done ?  Ican includ an extract of the jboss-web.xml file justin
> case.

Can these additional dependencies be added to the service assembly to
be deployed with it?

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/



--
Cheers,
Guillaume Nodet

Reply via email to