> From: Elliot Huntington [mailto:[EMAIL PROTECTED]
> Subject: How to configure multiple web applications in a single host
>
> If I only put one of the web applications in the webapps
> folder (either of them) then that single web application
> will work properly.

What exactly do you mean by "put one of the web applications in the webapps 
folder"?

> $CATALINA_HOME/webapps/
> $CATALINA_HOME/webapps/A/
> $CATALINA_HOME/webapps/A/...
> $CATALINA_HOME/webapps/B/
> $CATALINA_HOME/webapps/B/...

The above is correct, as far as it goes.  You would reference each webapp with 
the URLs:
http://localhost:8080/A
http://localhost:8080/B

Is that what you're trying?

Do you have a META-INF/context.xml file under either the A or B directories?  
If so, what's in it?

Do you have a WEB-INF/web.xml file under either the A or B directories?  If so, 
what's in it?

Have you changed the conf/context.xml file?  (Usually a bad idea.)

Do you have a context.xml file anywhere else?  (You shouldn't.)

Do you have any .xml files in conf/Catalina/localhost?  If so, what are their 
names, and what's in them?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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