aspose file tools*
The moose likes Tomcat and the fly likes hosting the same app in two contexts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "hosting the same app in two contexts" Watch "hosting the same app in two contexts" New topic
Author

hosting the same app in two contexts

Kyle Willkomm
Ranch Hand

Joined: Sep 10, 2001
Posts: 44
Hello, really I am trying to host one web application in a context "/lnie". But I also want the Root context to resolve to /lnie.
If I put in the "" empty string context (default) context as the documentation says to solve this problem I end up with two applications with the same docbase.
I tries to run my bootstrap clases twice and doesn't recognize them as the same application. Which I suppose is normal.
But how do I do this. I still want to run the manager context and maybe other contexts but I want root to resolve to the /lnie web application.
I can't make the /lnie appication simply refer to itself as the "/" application because what if I decide to make a different application the root one and move that one back to lnie? The links won't work.
In Tomcat 3.2 this didn't happen. It only loaded one instance. I don't know what the difference is though.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hosting the same app in two contexts