Re: [Asterisk-java-users] Monitor AGIServer using Tomcat
Brought to you by:
srt
From: Brett S. <bs...@no...> - 2006-07-16 10:20:01
|
Just put a catch (Throwable) at the very top of your thread and log the output. Stefan Reuter wrote: > Thameem Ansari wrote: > >> I am running the DefaultAGIServer as separate deamon thread with tomcat. >> Sometimes this thread dies after 3-4 days for some reasons. I would like >> to monitor this thread using Tomcat JMX feature. Does anybody know how >> to do this? >> > > You can probably build an MBean around AgiServerThread but I don't know > exactly how to do that. > But another question: Why is your thread dying in the first place? > > =Stefan > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |