11 Replies Latest reply on Feb 29, 2008 1:54 PM by 666705

    BEA-000337 StuckThreadMaxTime elapsed error

    666705
      Hi,

      This is a question about WL81SP5, Oracle 10g, ojdbc14 driver shipped with Oracle.

      My managed server instance settings for weblogic.kernel.Default is Thread Count=15, Thread Increase=0, StuckThreadMaxCount=600.

      Every now and then we get the BEA-000337 error that a thread has been busy with a particualr request for more than 600 seconds. The name of this request is always connection82.sessionXXX, where XXX is any integer. We have 50 connections in the pool, and most of them are unsued.

      Below is an output from log:
      __________________________________________________________
      BEA-000337 Jan 24, 2007 11:01:05 AM EST Error WebLogicServer ExecuteThread: '14' for queue: 'weblogic.kernel.Default' has
      been busy for "669" seconds working on the request "connect
      ion82.session95", which is more than the configured time (St
      uckThreadMaxTime) of "600" seconds.
      __________________________________________________________


      Can anyone please help me figure out what the problem could be?

      Thanks in advance!
        • 1. Re: BEA-000337 StuckThreadMaxTime elapsed error
          3004
          Sledge Hammer wrote:
          Hi,

          This is a question about WL81SP5, Oracle 10g, ojdbc14 driver shipped with Oracle.

          My managed server instance settings for weblogic.kernel.Default is Thread Count=15, Thread Increase=0, StuckThreadMaxCount=600.

          Every now and then we get the BEA-000337 error that a thread has been busy with a particualr request for more than 600 seconds. The name of this request is always connection82.sessionXXX, where XXX is any integer. We have 50 connections in the pool, and most of them are unsued.

          Below is an output from log:
          __________________________________________________________
          BEA-000337 Jan 24, 2007 11:01:05 AM EST Error WebLogicServer ExecuteThread: '14' for queue: 'weblogic.kernel.Default' has
          been busy for "669" seconds working on the request "connect
          ion82.session95", which is more than the configured time (St
          uckThreadMaxTime) of "600" seconds.
          __________________________________________________________


          Can anyone please help me figure out what the problem could be?

          Thanks in advance!
          Hi. I'm not sure there's any direct evidence that JDBC or pools
          are involved, but it's possible. I would like to see a thread
          dump of the server, at least the stack trace of that thread,
          when it's stuck. We can diagnose from there.
          Joe
          • 2. Re: BEA-000337 StuckThreadMaxTime elapsed error
            666705
            Thanks!

            I do not know how to do a "kill -3 <pid>" at the instance when the StuckThreadMaxTime error occurs. Its not practical for me to watch nohup.out constantly and do kill -3 manually.

            Could you please help me with a script that does that?
            • 3. Re: BEA-000337 StuckThreadMaxTime elapsed error
              3004
              Vinay Vittal wrote:
              Thanks!

              I do not know how to do a "kill -3 <pid>" at the instance when the StuckThreadMaxTime error occurs. Its not practical for me to watch nohup.out constantly and do kill -3 manually.

              Could you please help me with a script that does that?
              I don't know what OS/shell languages you have, but it should be easy to
              write/run a script/program which wakes up ever few minutes, and greps for
              BEA-000337 in nohup.out, and if it finds it, does the kill -3 and then
              exits.
              Joe
              • 4. Re: BEA-000337 StuckThreadMaxTime elapsed error
                666705
                Joe,

                I finally got a thread dump when the error occurs. I was able to see that line number 333-359 (if line numbers go bersek then you may want to scroll towards the end of the thread dump and look for ExecuteThread-4) is where the problem occurs.

                Both com.sun.mail.smtp.SMTPTransport and java.io.BufferedInputStream are locked. Can you please shed some light on this?

                Thanks!

                ____________________________________________________________________________________________________________________
                "ExecuteThread: '2' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x095e5c60 nid=0x11f in Object.wait() [6b3e9000..6b3e9d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x827d1700> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '1' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x095e5b00 nid=0x11e in Object.wait() [6b46d000..6b46dd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x827d1780> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x087d9b98 nid=0x11d in Object.wait() [6d6bb000..6d6bbd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x827d1800> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ListenThread.Default" prio=5 tid=0x090fbba0 nid=0x3e runnable [6b4cf000..6b4cfd98]
                     at java.net.PlainSocketImpl.socketAccept(Native Method)
                     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                     - locked <0x81668c90> (a java.net.PlainSocketImpl)
                     at java.net.ServerSocket.implAccept(ServerSocket.java:448)
                     at java.net.ServerSocket.accept(ServerSocket.java:419)
                     at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
                     at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:735)
                     at weblogic.t3.srvr.ListenThread.run(ListenThread.java:301)

                "DefaultQuartzScheduler_QuartzSchedulerThread" prio=5 tid=0x097dfd60 nid=0x3d waiting on condition [6b511000..6b511d98]
                     at java.lang.Thread.sleep(Native Method)
                     at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:394)

                "DefaultQuartzScheduler_Worker-9" prio=5 tid=0x09486300 nid=0x3c in Object.wait() [6b553000..6b553d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-8" prio=5 tid=0x08f0d8f8 nid=0x3b in Object.wait() [6b595000..6b595d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-7" prio=5 tid=0x09058eb0 nid=0x3a in Object.wait() [6b5d7000..6b5d7d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-6" prio=5 tid=0x08b78b70 nid=0x39 in Object.wait() [6b619000..6b619d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-5" prio=5 tid=0x087ed0c0 nid=0x38 in Object.wait() [6b65b000..6b65bd98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-4" prio=5 tid=0x09799878 nid=0x37 in Object.wait() [6b69d000..6b69dd98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-3" prio=5 tid=0x082fe708 nid=0x36 in Object.wait() [6b6df000..6b6dfd98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-2" prio=5 tid=0x087eeb08 nid=0x35 in Object.wait() [6b721000..6b721d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-1" prio=5 tid=0x0927e2c0 nid=0x34 in Object.wait() [6b763000..6b763d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "DefaultQuartzScheduler_Worker-0" prio=5 tid=0x087ed3a0 nid=0x33 in Object.wait() [6b7a5000..6b7a5d98]
                     at java.lang.Object.wait(Native Method)
                     at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:428)
                     - locked <0x8164ca98> (a java.lang.Object)
                     at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:47)
                     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:518)

                "ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x0831b9f0 nid=0x32 in Object.wait() [6b7e7000..6b7e7d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x80e0e8d0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x087d9f20 nid=0x31 in Object.wait() [6b829000..6b829d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x80e0e3c0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x08f41c38 nid=0x30 in Object.wait() [6b86b000..6b86bd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x80e0deb0> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x80e0deb0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x08fa4960 nid=0x2f in Object.wait() [6b8ad000..6b8add98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x80e0d980> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x80e0d980> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5 tid=0x088bc868 nid=0x2e in Object.wait() [6d22f000..6d22fd98]
                     at java.lang.Object.wait(Native Method)
                     at weblogic.jms.backend.BETimerTree.execute(BETimerTree.java:146)
                     - locked <0x80b97138> (a weblogic.jms.backend.BETimerTree)
                     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                "Thread-6" prio=5 tid=0x09925c00 nid=0x2d in Object.wait() [6d44d000..6d44dd98]
                     at java.lang.Object.wait(Native Method)
                     at java.util.TimerThread.mainLoop(Timer.java:429)
                     - locked <0x80a4b9c8> (a java.util.TaskQueue)
                     at java.util.TimerThread.run(Timer.java:382)

                "weblogic.health.CoreHealthMonitor" daemon prio=5 tid=0x09975f18 nid=0x2c waiting on condition [6d61d000..6d61dd98]
                     at java.lang.Thread.sleep(Native Method)
                     at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:163)

                "Thread-5" prio=5 tid=0x08c5f400 nid=0x2b in Object.wait() [6d679000..6d679d98]
                     at java.lang.Object.wait(Native Method)
                     at java.util.TimerThread.mainLoop(Timer.java:429)
                     - locked <0x808b9c08> (a java.util.TaskQueue)
                     at java.util.TimerThread.run(Timer.java:382)

                "VDE Transaction Processor Thread" prio=2 tid=0x08fb1998 nid=0x28 in Object.wait() [6d6fd000..6d6fdd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x807f4ea0> (a com.octetstring.vde.backend.standard.TransactionProcessor)
                     at java.lang.Object.wait(Object.java:429)
                     at com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:365)
                     - locked <0x807f4ea0> (a com.octetstring.vde.backend.standard.TransactionProcessor)
                     at com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:212)

                "ExecuteThread: '2' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x0897a628 nid=0x27 in Object.wait() [6d7c8000..6d7c8d98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8077c918> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8077c918> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '1' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x08ad7600 nid=0x26 in Object.wait() [6d80a000..6d80ad98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8077c400> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x0891fa28 nid=0x25 in Object.wait() [6d84c000..6d84cd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8077bec8> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x089b2c98 nid=0x24 in Object.wait() [6d8f9000..6d8f9d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:95)
                     - locked <0x801c9de8> (a [Lweblogic.socket.PosixSocketInfo$FdStruct;)
                     - locked <0x801c4df8> (a java.lang.String)
                     at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
                     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x089b2b38 nid=0x23 waiting for monitor entry [6d93b000..6d93bd98]
                     at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:91)
                     - waiting to lock <0x801c4df8> (a java.lang.String)
                     at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
                     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x085a64d8 nid=0x22 waiting for monitor entry [6d97d000..6d97dd98]
                     at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:91)
                     - waiting to lock <0x801c4df8> (a java.lang.String)
                     at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
                     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                "weblogic.security.SpinnerRandomSource" daemon prio=5 tid=0x08218518 nid=0x21 in Object.wait() [6d9dd000..6d9ddd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x801ae3c8> (a java.lang.Object)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:60)
                     - locked <0x801ae3c8> (a java.lang.Object)
                     at java.lang.Thread.run(Thread.java:534)

                "weblogic.time.TimeEventGenerator" daemon prio=9 tid=0x085a6740 nid=0x20 in Object.wait() [6da1f000..6da1fd98]
                     at java.lang.Object.wait(Native Method)
                     at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:285)
                     - locked <0x801a3020> (a weblogic.time.common.internal.TimeTable)
                     at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:118)
                     at java.lang.Thread.run(Thread.java:534)

                "ExecuteThread: '4' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x08a48b00 nid=0x1f in Object.wait() [6da61000..6da61d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a27d0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '3' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x08708768 nid=0x1e in Object.wait() [6daa3000..6daa3d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a2338> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '2' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x08707be8 nid=0x1d in Object.wait() [6dae5000..6dae5d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a1ea0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '1' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x08706a90 nid=0x1c in Object.wait() [6db27000..6db27d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a1a08> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x0867a1d8 nid=0x1b in Object.wait() [6db69000..6db69d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a1570> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '14' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08679658 nid=0x1a in Object.wait() [6dbab000..6dbabd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a0580> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '13' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08994930 nid=0x19 in Object.wait() [6dbed000..6dbedd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x801a0110> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '12' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08993db0 nid=0x18 in Object.wait() [6dc2f000..6dc2fd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019fca0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '11' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08993310 nid=0x17 in Object.wait() [6dc71000..6dc71d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019f830> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '10' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08827168 nid=0x16 in Object.wait() [6dcb3000..6dcb3d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019f3c0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '9' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x089a5e30 nid=0x15 in Object.wait() [6dcf5000..6dcf5d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019ef20> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '8' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08c9faf0 nid=0x14 in Object.wait() [6dd37000..6dd37d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019ea80> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '7' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08c9f3a0 nid=0x13 in Object.wait() [6dd79000..6dd79d98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019e5e0> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '6' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x090c9f30 nid=0x12 in Object.wait() [6ddbb000..6ddbbd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019e140> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '5' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083a8bf0 nid=0x11 in Object.wait() [6ddfd000..6ddfdd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019dc88> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '4' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083edc48 nid=0x10 runnable [6fec5000..6fec5d98]
                     at java.net.SocketInputStream.socketRead0(Native Method)
                     at java.net.SocketInputStream.read(SocketInputStream.java:129)
                     at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                     at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                     - locked <0x7816ea50> (a java.io.BufferedInputStream)
                     at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:56)
                     at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:929)
                     at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:660)
                     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
                     - locked <0x7816e160> (a com.sun.mail.smtp.SMTPTransport)
                     at javax.mail.Transport.send0(Transport.java:164)
                     at javax.mail.Transport.send(Transport.java:81)
                     at com.blah.system.util.Mailer.sendMail(Mailer.java:83)
                     at com.blah1.blah2.notificationservices.builders.messages.CreateBuySellerMessageBuilder.processSellerMailNotification(CreateBuySellerMessageBuilder.java:64)
                     at com.blah1.blah2.notificationservices.builders.messages.CreateBuySellerMessageBuilder.buildMessage(CreateBuySellerMessageBuilder.java:47)
                     at com.blah1.blah2.notificationservices.NotificationMessageProcessor.executeRule(NotificationMessageProcessor.java:77)
                     at com.blah1.blah2.notificationservices.NotificationMessageProcessor.processMessage(NotificationMessageProcessor.java:46)
                     at com.blah1.blah2.notificationservices.CreateBuyNoticePOJO.processMailNotification(CreateBuyNoticePOJO.java:55)
                     at com.blah1.blah2.notificationservices.ejb.CreateExtendAuctionMessageBean.onMessage(CreateExtendAuctionMessageBean.java:103)
                     at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
                     at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
                     at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
                     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
                     at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
                     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                "ExecuteThread: '3' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083edae8 nid=0xf in Object.wait() [6ff07000..6ff07d98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8019d318> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019d318> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '2' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x088b0ed8 nid=0xe in Object.wait() [6ff49000..6ff49d98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8019ce60> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019ce60> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '1' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083a9410 nid=0xd in Object.wait() [6ff8b000..6ff8bd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8019c9a8> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019c9a8> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "ExecuteThread: '0' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x08cd7eb8 nid=0xc in Object.wait() [6ffcd000..6ffcdd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8019c3e8> (a weblogic.kernel.ExecuteThread)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:154)
                     - locked <0x8019c3e8> (a weblogic.kernel.ExecuteThread)
                     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:174)

                "Thread-1" daemon prio=5 tid=0x08897d68 nid=0xb in Object.wait() [7052d000..7052dd98]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x8009cff8> (a java.util.TaskQueue)
                     at java.lang.Object.wait(Object.java:429)
                     at java.util.TimerThread.mainLoop(Timer.java:403)
                     - locked <0x8009cff8> (a java.util.TaskQueue)
                     at java.util.TimerThread.run(Timer.java:382)

                "Signal Dispatcher" daemon prio=10 tid=0x081367b8 nid=0x6 waiting on condition [0..0]

                "Finalizer" daemon prio=8 tid=0x081317a8 nid=0x4 in Object.wait() [fbffd000..fbffdd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
                     - locked <0x7ff80378> (a java.lang.ref.ReferenceQueue$Lock)
                     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
                     at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

                "Reference Handler" daemon prio=10 tid=0x08131598 nid=0x3 in Object.wait() [fc5fd000..fc5fdd98]
                     at java.lang.Object.wait(Native Method)
                     at java.lang.Object.wait(Object.java:429)
                     at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
                     - locked <0x7ff802a0> (a java.lang.ref.Reference$Lock)

                "main" prio=5 tid=0x08073cc8 nid=0x1 in Object.wait() [8046000..8046a40]
                     at java.lang.Object.wait(Native Method)
                     - waiting on <0x7ff9b530> (a weblogic.t3.srvr.T3Srvr)
                     at java.lang.Object.wait(Object.java:429)
                     at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1207)
                     - locked <0x7ff9b530> (a weblogic.t3.srvr.T3Srvr)
                     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:389)
                     at weblogic.Server.main(Server.java:32)

                "VM Thread" prio=5 tid=0x08130f50 nid=0x2 runnable
                ____________________________________________________________________________________________________________________
                • 5. Re: BEA-000337 StuckThreadMaxTime elapsed error
                  3004
                  Sledge Hammer wrote:
                  Joe,

                  I finally got a thread dump when the error occurs. I was able to see
                  that line number 333-359 (if line numbers go bersek then you may want
                  to scroll towards the end of the thread dump and look for ExecuteThread-4)
                  is where the problem occurs.

                  Both com.sun.mail.smtp.SMTPTransport and java.io.BufferedInputStream are
                  locked. Can you please shed some light on this?

                  Thanks!
                  Well, Ok... The thread dump you provided, shows that there is
                  nothing in WebLogic, nothing to do with JDBC or Oracle hanging
                  in the server or waiting. There is simply one thread waiting for
                  a call the application code is making to send email out from the
                  server to the mail server you have selected.
                  Joe

                  "ExecuteThread: '4' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083edc48 nid=0x10
                  runnable [6fec5000..6fec5d98]
                  at java.net.SocketInputStream.socketRead0(Native Method)
                  at java.net.SocketInputStream.read(SocketInputStream.java:129)
                  at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                  at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                  - locked <0x7816ea50> (a java.io.BufferedInputStream)
                  at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:56)
                  at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:929)
                  at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:660)
                  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
                  - locked <0x7816e160> (a com.sun.mail.smtp.SMTPTransport)
                  at javax.mail.Transport.send0(Transport.java:164)
                  at javax.mail.Transport.send(Transport.java:81)
                  at com.blah.system.util.Mailer.sendMail(Mailer.java:83)
                  at com.blah1.blah2.notificationservices.builders.messages.CreateBuySellerMessageBuilder
                  .processSellerMailNotification(CreateBuySellerMessageBuilder.java:64)
                  at com.blah1.blah2.notificationservices.builders.messages.CreateBuySellerMessageBuilder
                  .buildMessage(CreateBuySellerMessageBuilder.java:47)
                  at com.blah1.blah2.notificationservices.NotificationMessageProcessor.executeRule(Notifi
                  cationMessageProcessor.java:77)
                  at com.blah1.blah2.notificationservices.NotificationMessageProcessor.processMessage(Not
                  ificationMessageProcessor.java:46)
                  at com.blah1.blah2.notificationservices.CreateBuyNoticePOJO.processMailNotification(Cre
                  ateBuyNoticePOJO.java:55)
                  at com.blah1.blah2.notificationservices.ejb.CreateExtendAuctionMessageBean.onMessage(Cr
                  eateExtendAuctionMessageBean.java:103)
                  at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
                  at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
                  at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
                  at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
                  at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
                  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
                  • 6. Re: BEA-000337 StuckThreadMaxTime elapsed error
                    666705
                    Thanks Joe!

                    My application only builds an email message and hands it over to javax.mail.Transport as seen in the thread dump below. The send() API in Transport is then connecting to the our mail server and doing its thing. If you notice, com.sun.mail.smtp.SMTPTransport.sendMessage() is locked and so is java.io.BufferedInputStream.read(). I checked with our network admin to find out if the mail server is slow. Apparantly it is not. Also this error sometimes happens in the night, when our site has extremely low traffic.

                    What could be the reason that SMTPTransport.sendMessage() or BufferedInputStream.read() are locked?

                    I appreciate your response.

                    __________________________________________________________
                    "ExecuteThread: '4' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083edc48 nid=0x10 runnable [6fec5000..6fec5d98]
                         at java.net.SocketInputStream.socketRead0(Native Method)
                         at java.net.SocketInputStream.read(SocketInputStream.java:129)
                         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                         - locked <0x7816ea50> (a java.io.BufferedInputStream)
                         at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:56)
                         at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:929)
                         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:660)
                         at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
                         - locked <0x7816e160> (a com.sun.mail.smtp.SMTPTransport)
                         at javax.mail.Transport.send0(Transport.java:164)
                         at javax.mail.Transport.send(Transport.java:81)
                    at com.blah.system.util.Mailer.sendMail(Mailer.java:83)
                    __________________________________________________________
                    • 7. Re: BEA-000337 StuckThreadMaxTime elapsed error
                      3004
                      Sledge Hammer wrote:
                      Thanks Joe!

                      My application only builds an email message and hands it over to javax.mail.Transport
                      as seen in the thread dump below. The send() API in Transport is then connecting to
                      the our mail server and doing its thing. If you notice, com.sun.mail.smtp.SMTPTransport.sendMessage()
                      is locked and so is java.io.BufferedInputStream.read(). I checked with our network admin to find
                      out if the mail server is slow. Apparantly it is not. Also this error sometimes happens in the
                      night, when our site has extremely low traffic.

                      What could be the reason that SMTPTransport.sendMessage() or BufferedInputStream.read() are locked?

                      I appreciate your response.

                      __________________________________________________________
                      "ExecuteThread: '4' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x083edc48 nid=0x10 runnable [6fec5000..6fec5d98]
                           at java.net.SocketInputStream.socketRead0(Native Method)
                           at java.net.SocketInputStream.read(SocketInputStream.java:129)
                           at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                           at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                           - locked <0x7816ea50> (a java.io.BufferedInputStream)
                           at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:56)
                           at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:929)
                           at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:660)
                           at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
                           - locked <0x7816e160> (a com.sun.mail.smtp.SMTPTransport)
                           at javax.mail.Transport.send0(Transport.java:164)
                           at javax.mail.Transport.send(Transport.java:81)
                      at com.blah.system.util.Mailer.sendMail(Mailer.java:83)
                      __________________________________________________________
                      I have no clue, but you could probably duplicate this in a 15-line standalone
                      Java program.. The fact is that the com.sun.mail package is waiting for the
                      mail server to send it's response to your send. You need to find out what
                      your mail server is doing with this send operation when this stack is taken.

                      If there is a way to offload this emailing process to a standalone JVM,
                      it might be good for the health of the WebLogic JVM, eg: having your WebLogic
                      code generate a file which your other Java process monitors and reads and
                      sends the email and then truncates the file... That way if your standalone
                      JVM hangs due to your mail server not responding, WebLogic will just continue
                      adding entries/files so when your mail JVM unblocks or is killed to retry,
                      it can catch up...
                      • 8. Re: BEA-000337 StuckThreadMaxTime elapsed error
                        666705
                        Hi Joe,

                        I'm getting this error in the log file am pasting the dump below.

                        ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '19' for queue: 'weblogic.kernel.Default' has been busy for "962" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                        ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '22' for queue: 'weblogic.kernel.Default' has been busy for "706" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                        ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '25' for queue: 'weblogic.kernel.Default' has been busy for "796" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                        ####<Feb 12, 2007 12:16:39 PM EST> <Error> <HTTP> <gesmbzlap01.gesm.ge.com> <managedServer1> <ExecuteThread: '10' for queue: 'CriticalAppsQueue'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=174464266,name=portalWebApp,context-path=/portalWebApp)] Servlet failed with Exception
                        java.lang.IllegalStateException: response already committed
                             at weblogic/servlet/internal/ServletResponseImpl.sendRedirect(Ljava/lang/String;)V(ServletResponseImpl.java:604)
                             at com/gewt/portalloginframework/GEWTPortalLoginFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(GEWTPortalLoginFilter.java:455)
                             at weblogic/servlet/internal/FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
                             at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6724)
                             at weblogic/security/acl/internal/AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
                             at weblogic/security/service/SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
                             at weblogic/servlet/internal/WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3764)
                             at weblogic/servlet/internal/ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2644)
                             at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:219)
                             at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:178)
                             at java/lang/Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)



                        Thanks in Advance
                        Jenishton
                        • 9. Re: BEA-000337 StuckThreadMaxTime elapsed error
                          3004
                          Jenishton Fernando wrote:
                          Hi Joe,

                          I'm getting this error in the log file am pasting the dump below.

                          ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '19' for queue: 'weblogic.kernel.Default' has been busy for "962" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                          ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '22' for queue: 'weblogic.kernel.Default' has been busy for "706" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                          ####<Feb 12, 2007 12:16:21 PM EST> <Error> <WebLogicServer> <gesmbzlap01.gesm.ge.com> <managedServer1> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '25' for queue: 'weblogic.kernel.Default' has been busy for "796" seconds working on the request "Http Request: /rmdportal/ui/generatewsr.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
                          ####<Feb 12, 2007 12:16:39 PM EST> <Error> <HTTP> <gesmbzlap01.gesm.ge.com> <managedServer1> <ExecuteThread: '10' for queue: 'CriticalAppsQueue'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=174464266,name=portalWebApp,context-path=/portalWebApp)] Servlet failed with Exception
                          java.lang.IllegalStateException: response already committed
                               at weblogic/servlet/internal/ServletResponseImpl.sendRedirect(Ljava/lang/String;)V(ServletResponseImpl.java:604)
                               at com/gewt/portalloginframework/GEWTPortalLoginFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(GEWTPortalLoginFilter.java:455)
                               at weblogic/servlet/internal/FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
                               at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6724)
                               at weblogic/security/acl/internal/AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
                               at weblogic/security/service/SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
                               at weblogic/servlet/internal/WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3764)
                               at weblogic/servlet/internal/ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2644)
                               at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:219)
                               at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:178)
                               at java/lang/Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)



                          Thanks in Advance
                          Jenishton
                          If we could get a thread dump when those messages are printed it would be good.
                          None of those messages have anything to do with JDBC, so I suggest you approach
                          official BEA support for help.
                          Joe
                          • 10. Re: BEA-000337 StuckThreadMaxTime elapsed error
                            666705
                            Thanks Joe
                            Will try to get the thread dump and approach the official BEA support for help
                            • 11. Re: BEA-000337 StuckThreadMaxTime elapsed error
                              666705
                              Has anyone gotten an answer from BEA on this? Is this in fact a defect or a problem with the JVM? Thanks in advance.

                              RESOLUTION TO STUCK SMTP
                              we were able to resolve by adding the following to the end of our startup args in weblogic console:
                              "-Dmail.smtp.connectiontimeout=60000" "-Dmail.smtp.timeout=60000"

                              --
                              Edited by iroberts4ariba at 02/05/2008 1:03 PM

                              --
                              Edited by iroberts4ariba at 02/29/2008 5:54 AM