You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rs...@transentric.com on 2002/03/11 15:59:35 UTC

Re: Deploy app to more than one path without creating multiple instan ces. (How?)

AFAIK, you'll always end up have three different web applications despite
the fact that they have the same docBase attribute. So if you have a
servlet in that web app, it will be initialized three times - once for
every context. I'm not sure if apache redirects will work. try it out. :-)

RS





scott.merritt@e-peopleserve.com on 03/11/2002 07:53:01 AM

Please respond to "Tomcat Users List" <to...@jakarta.apache.org>

To:   tomcat-user@jakarta.apache.org
cc:

Subject:  Deploy app to more than one path without creating multiple instan
      ces.  (How?)

I have an app that I'd like to deploy as more than one path:

http://host.com/path1
http://host.com/path2
http://host.com/path3
etc.

But I want them all pointing to the same web app.  When I use web app
deploy:

WebAppConnection conn warp localhost:port
WebAppDeploy path/appdirectory conn /path1
WebAppDeploy path/appdirectory conn /path2
WebAppDeploy path/appdirectory conn /path3

I always end up launching 3 seperate apps.  Is there a way to get it so the
3 paths end up sharing the same app?

Thanks...

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>









--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>