You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raghunandan <sr...@huawei.com> on 2008/10/07 05:08:30 UTC

Monitoring of services deployed in tomcat

Dear All,

 

 Is it required to monitor the deployed services in tomcat? Is there option
for auto restart if the service goes down?

 

If it is necessary to monitor the deployed services, what are the different
ways of monitoring.

 

 

 

Regards

 

Raghu


Re: Monitoring of services deployed in tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nikola,

Nikola Bozadziev wrote:
> the lambdaprobe site doesn't seem to be online since september or like.
> Softpedia (
> http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml)
> could help.

Wow, that's no good!

> did it ever happen to you to get an exception like this (lower) after
> logging into lambdaprobe? (Or at least don't you know a place to ask, since
> the pages are down?) Seems to me like comming on all our servers upgraded to
> tomcat 6. I use the lambdaprobe 1.7.

I've lost me LambdaProbe credentials and have no idea what file to look
in, and the WAR file I have doesn't seem to advertise its version
number, so I have no idea what version I'm (not) running. I've never
seen any exceptions when running lambdaprobe, though.

> For me it looked similat to an exception i used to get by spring with bad
> dependencies, but here i don't think so.

StackOverflowError is probably not a deployment issue (unless you have
circular Spring deps, which is certainly possible).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjvZDYACgkQ9CaO5/Lv0PCVywCZAYS2IcM5TAg5hS9EAwn9KBIo
yIoAniDajdO+afQGebyrKpZxspswyyti
=hDlb
-----END PGP SIGNATURE-----

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


Re: Monitoring of services deployed in tomcat

Posted by Nikola Bozadziev <ni...@bozadziev.net>.
Hi,

the lambdaprobe site doesn't seem to be online since september or like.
Softpedia (
http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml)
could help.

Chris,

did it ever happen to you to get an exception like this (lower) after
logging into lambdaprobe? (Or at least don't you know a place to ask, since
the pages are down?) Seems to me like comming on all our servers upgraded to
tomcat 6. I use the lambdaprobe 1.7.

For me it looked similat to an exception i used to get by spring with bad
dependencies, but here i don't think so.

EXCEPTION:

java.lang.StackOverflowError javax.servlet.ServletException:
java.lang.StackOverflowError at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:64) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:120)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Unknown Source) Caused by:
java.lang.StackOverflowError at
javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at
org.springframework.web.util.NestedServletException.getCause(NestedServletException.java:69)
at javax.servlet.ServletException.getRootCause(ServletException.java:96) at

AND SO ON AND SO ON, until the stack is full...

Nikola

2008/10/7 Christopher Schultz <ch...@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Raghu,
>
> Raghunandan wrote:
> > Is it required to monitor the deployed services in tomcat?
>
> No. You can ignore Tomcat after it's been started if you want.
>
> > Is there option for auto restart if the service goes down?
>
> Tomcat does not include any such functionality. You will need to set up
> this capability on your own.
>
> > If it is necessary to monitor the deployed services, what are the
> different
> > ways of monitoring.
>
> google tomcat monitoring
>
> Many folks have had good results using LambdaProbe
> (http://www.lambdaprobe.org/), but this does not include any
> auto-restart features: it's mainly reporting on Tomcat and the JVM from
> a running instance.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjrseMACgkQ9CaO5/Lv0PD3OwCgsi2GyfzR0nzZX6FXwUR+sC7T
> frYAoLZHimLILRJVcIqk/Tk8nM/uFcp6
> =4/ru
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Monitoring of services deployed in tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raghu,

Raghunandan wrote:
> Is it required to monitor the deployed services in tomcat?

No. You can ignore Tomcat after it's been started if you want.

> Is there option for auto restart if the service goes down?

Tomcat does not include any such functionality. You will need to set up
this capability on your own.

> If it is necessary to monitor the deployed services, what are the different
> ways of monitoring.

google tomcat monitoring

Many folks have had good results using LambdaProbe
(http://www.lambdaprobe.org/), but this does not include any
auto-restart features: it's mainly reporting on Tomcat and the JVM from
a running instance.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjrseMACgkQ9CaO5/Lv0PD3OwCgsi2GyfzR0nzZX6FXwUR+sC7T
frYAoLZHimLILRJVcIqk/Tk8nM/uFcp6
=4/ru
-----END PGP SIGNATURE-----

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