Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: How to get the Context lists when the server is started

arunkumar

2003-12-24

Replies:

I am using Tomcat 4.0.6 and JMX is not available in this version.
Sorry i did not mentioned the Tomcat version earlier..
Thanks ,
Arun kumar

Bill Barker wrote:

>With TC 5, using JMX Listeners using a is probably the best bet.
>
>"arunkumar" <arunkumar@(protected)
>news:3FE917C9.1070400@(protected)...
>
>
>>Hi,
>>I want to get the details of the Context [Web Applications] initialized
>>when the Tomcat is started.I tried implementing the LifecycleListener
>>interface and it returns only Engine Startup Event.Is there is any
>>Listeners available when the Context is initialized or any other ways to
>>find the available Contexts.
>>Is it possible to register Valves for a particular context.I tried
>>writing a class which extends ValveBase and gave an entry for the Valve
>>in the server.xml after the Context tag.But all the requests are coming
>>through this Valve.
>>
>>Thanks,
>>Arun kumar
>>  
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>

©2008 junlu.com - Jax Systems, LLC, U.S.A.