---------------------------------------------------------------------------
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
---------------------------------------------------------------------------
----- Original Message ----- From: "tolina" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, February 20, 2008 1:09 AM
Subject: Re: 2 Webapps sharing classloader ?



tolina I used axix a million years ago and have forgotten it...
but I think you reading the application server installation stuff... not the servlet stuff.

If I remember its just a war, or a few classes in your webapp, and each webapp does its own axis, but when its an application server, because of class conflicts one has to do special stuff to make sure the axis classes are used and not the app servers classes... something like that.

Just put it in each webapp and see what happens... in theory it cant break that way... maybe?


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]




---------------------------------------------------------------------
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