We plan to deploy app in a farm with apache as a front using mod_jk. At the moment we test
using apache2, mod_jk 1.2.18-3, and jboss 4.0.4. Just One instance of apache and jboss on
the same machine.
We configured mod_jk so request are sent to jboss. It works for few requests then we get
an error, mod_jk on apache gives the following message:
[Fri May 18 09:25:38 2007] [10792:19376] [error] ajp_service::jk_ajp_common.c (1794):
Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong
port. worker=ajp13w failed
using netstat -a we see that all jboss services (8009, 1098, ..) are closed, all
connection to mysql are established instead of listen. Trying to connect to jboss using
twiddle gives a not connected error. All this make us think that JBoss has just shut
down.
We set the log of org.jboss and org.apache to DEBUG, the last log are:
2007-05-18 10:15:12,881 DEBUG [org.apache.jk.common.HandlerRequest] Invoke returned 0
2007-05-18 10:15:12,881 DEBUG [org.apache.jk.common.ChannelSocket] receive()
2007-05-18 10:15:14,879 DEBUG [org.apache.catalina.session.ManagerBase] Start expire
sessions StandardManager at 1179476114878 sessioncount 0
2007-05-18 10:15:14,879 DEBUG [org.apache.catalina.session.ManagerBase] End expire
sessions StandardManager processingTime 1 expired sessions: 0
2007-05-18 10:15:14,879 DEBUG [org.apache.catalina.session.ManagerBase] Start expire
sessions StandardManager at 1179476114879 sessioncount 0
2007-05-18 10:15:14,879 DEBUG [org.apache.catalina.session.ManagerBase] End expire
sessions StandardManager processingTime 0 expired sessions: 0
we can't find a single message telling us that jboss has shut down.
It just look that jboss has shutdown, cleanly and very suddenly.
Does anyone has an idea on where to look for clues ?
thanks
alex
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046729#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...