As far as i know this is the way to do axis2 webservices.
I happily would create a WS from my class and let that live inside of my
webapp. 
I cannot think of away to do that with axis2.

I actually did the classloaderthing before.. with an embedded tomcat5.5. 
I just set the rootClassloader to my own classloader programmatically.

Now i have to use tomcat6 which is not embedded. I dont know where to set
the rootclassloader in configs.
So its still the question:

How can I tell tomcat to use the same classloader for both webapps ?
Can I put a single *.class inside of catalina.properties?  E.g.
   shared.loader=my.special.Clazz.class 



David Delbecq-2 wrote:
> 
> Is there any special reason you would need to put that in 2 separate 
> webapps? I would suggest to stuff all in one webapp and be happy with 
> it. Crossing boundaries of webapp sandbox might prove cumbersome, prone 
> to errors and over engineering....
> 

-- 
View this message in context: 
http://www.nabble.com/2-Webapps-sharing-classloader---tp15571888p15578421.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to