2 Replies Latest reply on Nov 24, 2004 2:01 PM by genman

    JBoss Hang

    citystory

      hi all,

      We find our jboss-3.2.6 or jboss-4.0.0 sometimes will hang out to serve web requests. Restart jboss will be ok.

      There are no any error apparently. The process is running, the threadump is normal, no exception and error or even any message in log file.
      Yet browser request timeout.

      Suspect system/network problem, but restart jboss will work back.

      ps. in thread dump, the 25 HTTP processor threads are in object.wait(),
      there are no loading at all.

      Anyone can help?

        • 1. Re: JBoss Hang
          alany

          Not sure if this is related to your problem ... but we too have had JBoss hanging during web requests and also other servlet related activities.

          Had to use JProfiler to help us work out what was going on. It revealed that log4j (yes amazing as it seems) is causing blocked threads.

          You can refer to http://issues.apache.org/bugzilla/show_bug.cgi?id=24159 in bugzilla for a rundown on the problem.

          Whilst we are not 100% positive that this is our problem I am in the process of turning off the logging to see if the problem still occurs. Unfortunately this can take anywhere from 10 minutes to 8 hours of testing as the deadlock is difficult to isolate in such a big system as ours.

          Anyhow - hope this helps and let us know how you get on.


          Regards


          Alan.

          • 2. Re: JBoss Hang
            genman


            The log4j folk don't want to fix this. Could you post a thread dump and explanation of your problem to the bug. Thanks.