Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Multiple webapps under tomcat 5

Reply
Thread Tools

Multiple webapps under tomcat 5

 
 
WD
Guest
Posts: n/a
 
      08-19-2005
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

 
Reply With Quote
 
 
 
 
Raymond DeCampo
Guest
Posts: n/a
 
      08-19-2005
WD wrote:
> 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

--
XML is the programmer's duct tape.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
profiling webapps under tomcat - threads and samples? bugbear Java 0 06-12-2007 04:25 PM
log4j, tomcat and multiple webapps PeterH Java 2 10-09-2005 07:42 AM
Tomcat 4.1.31 - huge count of webapps, Tomcat hangs up Martin Eberle Java 2 12-03-2004 07:10 PM
Configuring Tomcat to NOT use webapps directory Dean Rettig Java 2 12-29-2003 01:09 PM
tomcat cannot refresh my webapps charly Java 5 12-10-2003 05:55 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57