You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by JWM <te...@malcolms.com> on 2005/11/19 18:24:09 UTC

Accessing context info for other running apps?

>From one webapp, I need to find out if another webapp is installed, and if
so, what its context root is.  I know the Tomcat manager app has access to
info on all running apps.  Is that info accessible by other apps.  If so,
where would I find the documentation on classes, etc.?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Accessing context info for other running apps?

Posted by andy gordon <ef...@yahoo.com>.
Good Response! I add to that, that if its needed programmatically, you  do this programmatically using JMX. The JMXPROXY servlet could be your guide.  

Martin Gainty <mg...@hotmail.com> wrote:  Good Afternoon
check out
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#List%20OS%20and%20JVM%20Properties
You can use the JMX Query Command from the JMX Proxy Servlet to acquire
RequestProcessor
return all loaded servlets
look for specific Mbean given name=MBeanName
Anyone else ?
Martin-
You can
----- Original Message ----- 
From: "JWM" 
To: "'Tomcat Users List'" 
Sent: Saturday, November 19, 2005 12:24 PM
Subject: Accessing context info for other running apps?


> From one webapp, I need to find out if another webapp is installed, and if
> so, what its context root is. I know the Tomcat manager app has access to
> info on all running apps. Is that info accessible by other apps. If so,
> where would I find the documentation on classes, etc.?
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: Accessing context info for other running apps?

Posted by Martin Gainty <mg...@hotmail.com>.
Good Afternoon
check out
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#List%20OS%20and%20JVM%20Properties
You can use the JMX Query Command from the JMX Proxy Servlet to acquire
RequestProcessor
return all loaded servlets
look for specific Mbean given name=MBeanName
Anyone else ?
Martin-
You can
----- Original Message ----- 
From: "JWM" <te...@malcolms.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Saturday, November 19, 2005 12:24 PM
Subject: Accessing context info for other running apps?


> From one webapp, I need to find out if another webapp is installed, and if
> so, what its context root is.  I know the Tomcat manager app has access to
> info on all running apps.  Is that info accessible by other apps.  If so,
> where would I find the documentation on classes, etc.?
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org