You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by robert lazarski <ro...@gmail.com> on 2007/01/11 20:47:57 UTC

Re: problem with 3rd party jar in service lib

Keep in mind that putting jars in an aar lib is not usually mandatory
- if all aar's use the same one, it can perhaps be placed in
WEB-INF/lib . Beyond that, jgroups is open source so why not look and
see what its doing ?

HTH,
Robert

On 1/11/07, David Dwin <Da...@sas.com> wrote:
>
> > Hello,
> >
> > I'm using axis2 under jboss.
> > I need to deploy my service with a 3rd party jar jgroups.jar along with a few others.
> > When I deploy the jars in the /lib directory in the .aar, most of the classes are loaded ok, but it seems that one of the jgroups class looks up an xml file contained in its jar (using classloader I assume) and this file is not found.
> > Does anyone understand why this is not working as it does in non-axis environments?
> > Modifying 3rd party code to get the serviceClassLoader is not an option....
> >
> > Thank you,
> >
> > -- David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: problem with 3rd party jar in service lib

Posted by David Dwin <Da...@sas.com>.
Thanks for your suggestion Robert.
That did remove the problem, but I don't feel that is an adequate solution from a software deployment scenario.
Deployment modularity is critical and I should be able to put the jars I need, at the version I need, in my own deployment module (.aar).

Do the folks on the axis team see this problem being resolved sometime soon? (3rd party class using java classloader to load files), or are there other ways to make this work within the .aar?  

-- David

-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com] 
Sent: Thursday, January 11, 2007 2:48 PM
To: axis-user@ws.apache.org
Subject: Re: problem with 3rd party jar in service lib

Keep in mind that putting jars in an aar lib is not usually mandatory
- if all aar's use the same one, it can perhaps be placed in WEB-INF/lib . Beyond that, jgroups is open source so why not look and see what its doing ?

HTH,
Robert

On 1/11/07, David Dwin <Da...@sas.com> wrote:
>
> > Hello,
> >
> > I'm using axis2 under jboss.
> > I need to deploy my service with a 3rd party jar jgroups.jar along with a few others.
> > When I deploy the jars in the /lib directory in the .aar, most of the classes are loaded ok, but it seems that one of the jgroups class looks up an xml file contained in its jar (using classloader I assume) and this file is not found.
> > Does anyone understand why this is not working as it does in non-axis environments?
> > Modifying 3rd party code to get the serviceClassLoader is not an option....
> >
> > Thank you,
> >
> > -- David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org