I have Tomcat (4.1.9) setup to use multiple virtual
hosts. I have the setup working with the following
type of directory structure:
webserverroot/webapps_1/
company_1_app1/
company_1_app2/
webapps_2/
company_2_app1/
company_2_app2/
What I would like to do is to setup the directory
structure as follows:
webserverroot/webapps/
company_1_app1/
company_1_app2/
company_2_app1/
company_2_app2/
Each companys app1 is the default app with context
"".
The problem with the second scenario is that when I
startup Tomcat I receive "Severe END exception" caused
by: "Context is already in use".
Tomcat should be able to discern that these two
default contexts are referring to two completely
different domains but it doesn't appear to be working
that way.
Is there anyway around this that would still allow
me to have each companys app1 as the default for their
domain?
Here are the <Host> entries (with fictitious
company names) for scenario 2:
<Host name="www.company_1.com" debug="0"
appBase="{webserverroot}\webapps"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="company_1_app1"
debug="9" reloadable="true"
crossContext="true">
...
</Context>
<Context path="company_1_app2"
docBase="company_1_app2"
debug="9" reloadable="true"
crossContext="true">
...
</Context>
...
</Host>
<Host name="www.company_2.com" debug="0"
appBase="{webserverroot}\webapps"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="company_2_app1"
debug="9" reloadable="true"
crossContext="true">
...
</Context>
<Context path="company_2_app2"
docBase="company_2_app2"
debug="9" reloadable="true"
crossContext="true">
...
</Context>
...
</Host>
Any suggestions or comments would be appreciated.
-G.Reno
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>