Mikolaj Rydzewski wrote:
Paul Singleton wrote:
I want to deploy the same war into different (5.5)
Services (e.g. "test" and "live"), and want it to
discover where it is and behave differently.

Is there a Tomcat-specific way to do this?
JMX and MBeans come to mind.
Is there a container-independent way of discovering
container-specific info like this?

Check port server listens on?

Well the port numbers are the same but the IP
addresses differ, so if I can discover these,
that's good enough for me.  But how?  I can't
find anything in the Servlet API...

Paul Singleton

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to