I just started to see strange behaviour in which our server seems to
kill itself without no apparent reason.

Logs:

jvm-default.log

[23:01:53.413] {main} WebApp[http://localhost:8080] active
[23:01:53.514] {main} WebApp[http://localhost:8080/resin-admin] active
[23:01:53.514] {main} Host[] active
[23:01:53.517] {main} hmux listening to localhost.localdomain:6800
[23:01:53.520] {main} http listening to *:8080
[23:01:53.521] {main} Server[id=,cluster=app-tier] active
[23:01:53.522] {main} Resin started in 8448ms
[2009-03-05 00:01:41] closing server
[00:01:41.550] {resin-destroy} Server[id=,cluster=app-tier] stopping
[00:01:41.561] {resin-destroy} Host[] stopping
[00:01:41.580] {resin-destroy}
WebApp[http://localhost:8080/resin-admin] stopping
[00:01:41.583] {resin-destroy} WebApp[http://localhost:8080] stopping
[00:01:41.583] {resin-destroy} WebApp[http://localhost:8080] Shutting down log4j
[00:01:41.586] {resin-destroy} WebApp[http://localhost:8080] Closing
Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger
(org.springframework.web.context.support.XmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.



in Watchdog-manager.log

[2009/03/04 22:01:45.064] Server[id=,cluster=] active
[2009/03/04 22:01:45.099] WebApp[http://resin-admin] active
[2009/03/04 22:01:45.137] WatchdogProcess[Watchdog[],1] starting Resin
[2009/03/04 23:01:41.857] Watchdog stop:
[2009/03/04 23:01:41.861] WatchdogProcess[Watchdog[],1] stopping Resin
[2009/03/04 23:01:44.365] 'select-manager' requires Resin
Professional.  See http://www.caucho.com for information and
licensing.
[2009/03/04 23:01:44.366] 'select-manager' requires Resin
Professional.  See http://www.caucho.com for information and
licensing.
[2009/03/04 23:01:44.366]
[2009/03/04 23:01:44.366] Linux 2.6.18-92.1.13.el5xen amd64
[2009/03/04 23:01:44.366] Java(TM) SE Runtime Environment
1.6.0_10-beta-b25, UTF-8, en
[2009/03/04 23:01:44.366] Java HotSpot(TM) 64-Bit Server VM 11.0-b12,
64, mixed mode, Sun Microsystems Inc.
[2009/03/04 23:01:44.366] user.name: onedidit
[2009/03/04 23:01:44.369] resin.home = /opt/resin/resin-3.1.7a/
[2009/03/04 23:01:44.369]
[2009/03/04 23:01:44.380] Host[resin-admin] active
[2009/03/04 23:01:44.382] hmux listening to localhost.localdomain:6600
[2009/03/04 23:01:44.387] Server[id=,cluster=] active
[2009/03/04 23:01:44.416] WebApp[http://resin-admin] active
[2009/03/04 23:01:44.454] WatchdogProcess[Watchdog[],1] starting Resin
[2009/03/05 00:01:41.540] Watchdog stop:
[2009/03/05 00:01:41.541] WatchdogProcess[Watchdog[],1] stopping Resin
[2009/03/05 00:01:43.290] java.lang.IllegalStateException: Can't start
new task because of old task 'WatchdogTask[Watchdog[]]'
[2009/03/05 00:01:43.290]       at
com.caucho.boot.Watchdog.start(Watchdog.java:296)
[2009/03/05 00:01:43.290]       at
com.caucho.boot.WatchdogManager.startServer(WatchdogManager.java:295)
[2009/03/05 00:01:43.290]       at
com.caucho.boot.WatchdogServlet.start(WatchdogServlet.java:75)
[2009/03/05 00:01:43.290]       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2009/03/05 00:01:43.290]       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2009/03/05 00:01:43.290]       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2009/03/05 00:01:43.290]       at
java.lang.reflect.Method.invoke(Method.java:597)
[2009/03/05 00:01:43.290]       at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:180)
[2009/03/05 00:01:43.290]       at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:109)
[2009/03/05 00:01:43.290]       at
com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:396)
[2009/03/05 00:01:43.290]       at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[2009/03/05 00:01:43.290]       at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
[2009/03/05 00:01:43.290]       at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
[2009/03/05 00:01:43.290]       at
com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435)
[2009/03/05 00:01:43.290]       at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
[2009/03/05 00:01:43.290]       at
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[2009/03/05 00:01:43.290]       at
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[2009/03/05 00:01:43.290]       at java.lang.Thread.run(Thread.java:619)


It seems that 00:01:41.540 watchdog process has decided to stop the
resin. I don't know why as no-one was online on the machine on that
time.

Any help or thoughts how to debug what could be going on?

-huima


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to