How about Setting up jndi variables ? Regards Guru ------------------------------------------------------------------------ ----------- Gurumoorthy Raghupathy Email : [EMAIL PROTECTED] Internal Extn : 2337 External Phone : 01483712337 Nielsen Book 3rd Floor Midas House 62 Goldsworth Road Woking Surrey GU21 6LQ Visit us at : http://www.nielsenbookdata.co.uk/ ------------------------------------------------------------------------ -----------
-----Original Message----- From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 15:05 To: Tomcat Users List Subject: Re: can a web app discover its Service? 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? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]