I have an application which is deployed in Jboss-as 4.2 application server. We have apache as the web server and the webserver communicates to the application server using the mod-jk via the AJP protocol.
We have been having issues,where the embedded tomcat server in hte Jboss becomes inactive and all the request from the apache instance does not seem to communicate with the application server. We encounter this issue very often. As a workaround, we restart jboss and this resolves the communication issues between the web & application server. Can you please let us know if there is a better way to handle this? Also is there any way, we can avoid this issue?
Thanks in advance
What you mean by 'very often'? How long you stay before restart?
Do you check the behaviour? Is the standard page reachable (host:8080).
Have you EJB's and is there a communication possible.
How the CPU load for the JVM process?
Do you check the JVM GarbageCollector?