Multiple webapps under tomcat 5

W

WD

Hi,

I'm trying to run multiple webapps under tomcat but I can't seem to get
more than 1 to work. This is an overview of my tomcat structure


tomcat -- webapps -- app1 -- META-INF (context.xml)
-- WEB-INF (contains com.customapp.* class)
-- app2 -- META-INF (context.xml)
-- WEB-INF (contains com.customapp.* class)

Both the webapps uses similar named classes but the files are
physically separated into their respective webapps directories. Is
there a way to totally isolate the webapps so that they do not
interfere with each other?

Any help is appreciated.



WD
 
R

Raymond DeCampo

WD said:
Hi,

I'm trying to run multiple webapps under tomcat but I can't seem to get
more than 1 to work. This is an overview of my tomcat structure


tomcat -- webapps -- app1 -- META-INF (context.xml)
-- WEB-INF (contains com.customapp.* class)
-- app2 -- META-INF (context.xml)
-- WEB-INF (contains com.customapp.* class)

Both the webapps uses similar named classes but the files are
physically separated into their respective webapps directories. Is
there a way to totally isolate the webapps so that they do not
interfere with each other?

The servlet specification says that each web application should get its
own classloading space. It appears that you have done this correctly.

You do not provide us with any error messages or indicate exactly how
this is failing for you. It will be difficult to help you in this case.

Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top