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





[EMAIL PROTECTED] on 03/11/2002 07:53:01 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
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:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to