Vidya Bala's Blog

Search My Blog

Add RSS Feed

Thursday, September 20, 2007

OC4J ping timeout issues

We recently went with a Jdev Application using Oacle Application Server 10.1.3. While the deployment went fine, a few days after the deployment we started noticing oc4j ping timeout issues in the opmn.log. After the OC4J ping timeout OC4J tries to restart itself. We checked the max heap size - the max heap size looks good. There is not much activity on the server so we feel the default ping timeout of 20 seconds should be sufficient. I don't believe it can be a JDK version issue either - since out dev/test environment does not have this issue and is on the same version. will be great to know if anybody has run into a similar issue and know of any possible solutions.

2 Comments:

  • I have the same issue now with 10.1.3.0 and an internal application that we have. We didn't deploy it with Jdev, just used the EM Console, and we've been seeing ping timeouts and force restarts in the opmn.log. Its been very difficult to troubleshoot, and Oracle has only said to make sure to test your application with JProbe and other testing methods. Logs give really know clue on what is happening, and I can only hope that as time goes on this can be improved to be equal with the database side of things that can manage the entire database and give you reports about virtually anything. Not so much at the moment with the JVM. Grid control can tell you about Memory, CPU, # of sessions, # of active requests, # of jdbc connections and such, but can't even get close to helping you identify poorly coded jsps, ejbs, servlets, etc. or tell you more specifically when a particular jsp was looping forever, ramped up in memory and crashed the jvm. I can only hope the management of the JVM improves to at some point give you these types of reports making it easier to find and fix the problem faster.

    By Blogger davikes, at 7:44 PM  

  • We have had similar problems on our live envrionemnt, usually caused by a Full Garbage collection running on the OC4J affected. We have allievated the problem somewhat by having more smaller OC4Js but we still haven't got rid of the problem completely.

    By Blogger Mezza, at 5:02 AM  

Post a Comment

<< Home