You will also need a context entry for the manager app.
I just did it by putting a copy of manager.xml in the
TOMCAT_HOME/conf/Catalina/NEW_HOST_NAME.  I could get see the manager
app from both hosts but they both had the app listing from localhost.
So, you need to fiddle with it a bit.

I'm not a guru with this stuff.  I've never needed a second host.
If you search the archives, I'm sure you'll find plenty of examples.
I've seen this issue discussed on several occasions.

Another option, of course, is to give each client a separate instance of
Tomcat.  Then each client will be running in their own JVM which makes
it a lot easier to protect one client from the stupidity of another ;)

You can instanciate them all from the same code base by setting up
different CATALINA_HOME and CATALINA_BASE environment variables.



On Fri, 2004-12-31 at 05:45, Lukas Pataki wrote:
> hi 
> 
> thanx for the _really_ Quick answers :)
> 
> 
> On Thu, 30 Dec 2004 14:33:30 -0500
> Ben Souther <[EMAIL PROTECTED]> wrote:
> > >Each webapps would need to be under it's own virtual Host.
> > 
> > Sorry, each context would need to be under it's own virtual host.
> 
> 
> but what do you mean?
> is enough to define a virt. Host in the Server.xml like this ?
> 
>       <Host name="www.customer1.it" debug="0"
> appBase="/opt/jakarta-tomcat-4.1.12-LE-jdk14/webapps/struts-blank" 
>        unpackWARs="true" autoDeploy="true">
> 
>               <Context path="" docBase="" debug="1"/>
> 
>               <Valve className="org.apache.catalina.valves.AccessLogValve"
>                  directory="logs"  prefix="cust1_access_log." suffix=".txt"
>                  pattern="common" resolveHosts="false"/>
>       </Host>
> 
> thanx a lot 
> luke
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to