tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <dcker...@verizon.net>
Subject Re: Monitoring multiple tomcat instances from single app
Date Wed, 10 Apr 2013 16:40:08 GMT
On 4/9/2013 9:59 PM, Neven Cvetkovic wrote:
> On Tue, Apr 9, 2013 at 3:46 PM, David kerber<dckerber@verizon.net>  wrote:
>
>>
>> Is there a "restart" command available?  Obviously I need to do some more
>> research now that you've gotten me started.
>>
>>
> David,
>
> I don't think you can "restart" Tomcat JVM process. Why do you want to do
> that? What are you trying to do? Maybe you could reload the application
> instead or reset certain components (Service, Engine, Host, etc...)?

Just in case it's needed, basically, or if I need to change some 
settings.  A reload would likely do what I need, though.

>
> That you can do, using JMX, e.g.

Thanks.

>
> Catalina:type=Service -->  stop() and start() operations
> Catalina:type=Engine -->  stop() and start() operations
> Catalina:type=Host,host=localhost -->  stop() and start() operations
> Catalina:j2eeType=WebModule,name=//localhost/JmxExample,J2EEApplication=none,J2EEServer=none
>   -->  reload() operation (JmxExample is my test application)
>
>
> As far, as an example of MBean  - I will see if I can come up with an
> example MBean application.
>
> You can see JMX tutorial here:
> http://docs.oracle.com/javase/tutorial/jmx/index.html
>
> Hope that helps!

It does; thanks!


>


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


Mime
View raw message