You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Eric Dofonsou <ew...@yahoo.com> on 2006/09/18 20:28:32 UTC
Jboss and servicemix.
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.
--
View this message in context: http://www.nabble.com/Jboss-and-servicemix.-tf2293019.html#a6369481
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Jboss and servicemix.
Posted by Ramon Buckland <no...@thebuckland.com>.
We have been running JBoss on the cms-http 3.0 for quite some time
(almost 12 monbths) and of course, whatever does use it in JBoss
land either
(a) doesn't care; or
(b) we haven't used that piece of functionality to see it break.
r.
On Mon, 2006-09-18 at 23:07 +0200, Guillaume Nodet wrote:
> 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 <br...@gmail.com> wrote:
> > On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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)U8V4\@4VYY9&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/
> >
>
>
Re: Jboss and servicemix.
Posted by Eric Dofonsou <ew...@yahoo.com>.
To fix this you just have to include a jboss-web.xml (in thte META-INF
fodler) file like the one below,
---------
<jboss-web>
<class-loading>
<loader-repository>
org.apache.commons.httpclient:loader=commons-httpclient-3.0.jar
</loader-repository>
</class-loading>
</jboss-web>
-----------
The j2ee management dependy was not added in my .sar file however.
I've created and tested the two archives and they work well
I will open a JIRA. and the solution.
gnodet wrote:
>
> 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 <br...@gmail.com> wrote:
>> On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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)U8V4\@4VYY9&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
>
>
--
View this message in context: http://www.nabble.com/Jboss-and-servicemix.-tf2293019.html#a6388262
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Jboss and servicemix.
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <br...@gmail.com> wrote:
> On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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)U8V4\@4VYY9&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
Re: Jboss and servicemix.
Posted by Bruce Snyder <br...@gmail.com>.
On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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)U8V4\@4VYY9&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/
Re: Jboss and servicemix.
Posted by Eric Dofonsou <ew...@yahoo.com>.
DONE with a description for the solution :
https://issues.apache.org/activemq/browse/SM-584
gnodet wrote:
>
> Please raise a JIRA and attach your patch.
> Thanks for looking at this issue.
>
> On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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.
>> --
>> View this message in context:
>> http://www.nabble.com/Jboss-and-servicemix.-tf2293019.html#a6369481
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context: http://www.nabble.com/Jboss-and-servicemix.-tf2293019.html#a6388532
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Jboss and servicemix.
Posted by Guillaume Nodet <gn...@gmail.com>.
Please raise a JIRA and attach your patch.
Thanks for looking at this issue.
On 9/18/06, Eric Dofonsou <ew...@yahoo.com> 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.
> --
> View this message in context: http://www.nabble.com/Jboss-and-servicemix.-tf2293019.html#a6369481
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet