Hi Angel I have a similar need and I put the axis2 jars in the application classloader path which is parent to the war classloader. In my case my EJBs need to access the axis2 class files [like ServiceClient]. So I have them refed in the manifest file for my EJB and I dont keep them in web-inf/lib. I am using EAR deployment in both Weblogic and Websphere.
On 2/16/07, Angel Todorov <[EMAIL PROTECTED]> wrote:
Hi Dims, I had a different thing in mind: I want to move the whole axis2-kernel-<ver>.jar into a shared lib (either shared/lib in the case of tomcat, or an EAR archive in the case of any other application server). Would that work for any call (i.e. would some classloading problem arise) ? Regards, Angel On 2/16/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > "It doesn't work" is not really a bug report is it? :) Yes, you can do > this, then don't package your service classes into AAR's. just drop > the classes in WEB-INF/classes for the respective WAR's and in the > repo for each one just have a directory with services.xml for each > service in that WAR. > > thanks, > dims > > On 2/16/07, Angel Todorov <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I am also encountering problems with the Axis2 classloading. I would > > like to move axis2-kernel jar to shared/lib. All other axis2 jars stay > > in its own lib dir. I would like to use classes from the axis2-kernel > > jar in two web apps, not only in axis2.war. It doesn't work - my > > opinion is because Axis2 has probably some custom classloading, > > instead of using the classloading infrastructure of the Application > > Server. > > > > does this mean that if i want to deploy axis2 on some app. server > > which supports the EAR specification, i won't be able to share axis2 > > jars between two webapps in the same EAR ? > > > > Thanks. > > > > Best, > > Angel > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- thanks Rishi
