Hi!

I think, there's something wrong with your context-definition or server.xml. Make sure each of your hosts have a webapplication base directory for their own!!! Do not use one single webapps-directory for all of your hosts!

My directory structure looks as follows:
<somewhere>/Tomcat/hosts/<host>/<web-application>

Inside server.xml, where the hosts are defined, each host's appBase-attribute points to the correspoding host-directory.

Apart from that: If your tomcat's auto-deploy feature is activated, you can deploy a web-application by simply copying the war file into your webapps-directory (or any other directory that you specified in server.xml).

Best regards,
 Tex


Carlos Gabriel Arce wrote:

But when I deploy a local .war in the administration page www.domain1.com/manager/html

this war gets replicated in other virtualhosts.



Mario Winterer escribi�:

Of course!
That's Tomcat's default behaviour - and in fact, it is difficult to make it behave different!
Have a look at server.xml of your tomcat's default installation (you need a host-element for each virtual host). More information can be found at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html.


Best regards,
 Tex

Carlos Gabriel Arce schrieb:

 Good Day

I have a question. Is possible deploy an application per virtualhost, where the deployed applications per virtualhost could'nt see them each other?


Thanks in advance.



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





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



Reply via email to