tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: different urls to open up same tomcat instance
Date Fri, 01 Apr 2011 19:52:49 GMT
Hash: SHA1


On 4/1/2011 1:02 PM, peter sze wrote:
> I'm a beginner to apache tomcat, but I've been tasked with solving a problem
> with our tomcat servers.  Our tomcat instance is started up with one URL:
> which brings up our dashboard with our server's performance.
> A second URL was created to bring up the same dashboard.
> but unfortunately, each url starts up a different instance of the server
> with different stats.
> Is there anyway to make both URLs point to the same instance?

As Chuck says, you are saying "starts up" when you really mean "accesses".

How are you deploying your webapps? If you have more than one WAR file
in the webapps/ directory, then you are deploying two separate webapps.
If you have more than one .xml file in conf/Catalina/localhost/ then you
are deploying two separate webapps.

If you just want two URLs to point to the same servlet, it's a simple
matter of using the proper <url-pattern> in a <servlet-mapping> element
in WEB-INF/web.xml to do that.

If you are using .../servlet/Controller, I suspect you are using the
"invoker" servlet which is a really, really bad idea.

Tell us more about your configuration/setup and we can help you get what
you want.

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message