Re: Getting list of all deployed web applications

2005-12-30 Thread Martin Gainty
t;Martin Gainty" > <[EMAIL PROTECTED]> > Sent: Wednesday, December 28, 2005 5:21 PM > Subject: Re: Getting list of all deployed web applications > > >> Hi Martin, >> >> Thanks for reply but I am looking at something different. >> System.getEnv(...)

Re: Getting list of all deployed web applications

2005-12-29 Thread Bill Barker
)it.next(); ObjectName cname = oi.getObjectName(); // Do something with it here } > Martin- > -- Original Message - > From: "Dhaval Patel" <[EMAIL PROTECTED]> > To: "Tomcat Users List" ; "Martin Gainty" > <[EMAIL PROTECTED

Re: Getting list of all deployed web applications

2005-12-28 Thread Martin Gainty
Hello Dhaval Did you try Host myHost = (Host)context.getParent()? Anyone else? Martin- -- Original Message - From: "Dhaval Patel" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Wednesday, December 28, 200

Re: Getting list of all deployed web applications

2005-12-28 Thread Dhaval Patel
Hi Martin, Thanks for reply but I am looking at something different. System.getEnv(...) returns string which it supposed to. The method is for retriving environment variables (which are loaded from properties file, etc. while starting an application-tomcat) The "host" that I am talking abou

Re: Getting list of all deployed web applications

2005-12-28 Thread Martin Gainty
If I'm not mistaken its an environment variable which can be obtained via java.lang.System.getEnv("HTTP_HOST"); Take a look at http://java.sun.com/j2se/1.5.0/docs/api/ Martin- - Original Message - From: "Dhaval Patel" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 28, 2005 3:11 PM Su