On Mon, May 3, 2010 at 11:39 AM, Scott Battaglia
<[email protected]>wrote:

> We should be clear that that logger is not intended for production usage.
> Its more for testing (though we never documented that explicitly).  The
> reason its multiple lines is so that you can easily tell what's going on
> during your development phase.
>
> At Rutgers, we had written a one-liner that made it easy for us to use grep
> to find  anything we needed ;-)  Most people store it in a database.
>
>
Okay, I did some more digging on the tomcat shutdown problem I was having
with configuring a datasource for auditing.  Any insights on this?

Full thread dump Java HotSpot(TM) 64-Bit Server VM (14.3-b01-101 mixed
mode):

"Attach Listener" daemon prio=9 tid=0x0000000102d5c800 nid=0x114629000
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"DestroyJavaVM" prio=5 tid=0x000000010255f800 nid=0x100501000 waiting on
condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon
prio=5 tid=0x0000000102472000 nid=0x11b495000 in Object.wait()
[0x000000011b494000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
- waiting on <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)
 at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
- locked <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon
prio=5 tid=0x0000000102334000 nid=0x11b392000 in Object.wait()
[0x000000011b391000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
- waiting on <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)
 at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
- locked <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon
prio=5 tid=0x00000001021bc000 nid=0x11b19a000 in Object.wait()
[0x000000011b199000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
- waiting on <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)
 at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)
- locked <0x00000001091069d8> (a
com.mchange.v2.async.ThreadPoolAsynchronousRunner)

"Timer-0" daemon prio=5 tid=0x00000001021bb800 nid=0x1159ac000 in
Object.wait() [0x00000001159ab000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
 - waiting on <0x00000001091768f8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
 - locked <0x00000001091768f8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"pool-3-thread-1" prio=5 tid=0x000000010221b800 nid=0x115772000 waiting on
condition [0x0000000115771000]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
 - parking to wait for  <0x0000000108600dd0> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
 at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
 at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
 at java.lang.Thread.run(Thread.java:637)

"TP-Processor4" daemon prio=5 tid=0x0000000102d5d800 nid=0x11956d000 in
Object.wait() [0x000000011956c000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000001077f56b8> (a org.apache.jk.common.ChannelSocket)
 at java.lang.Object.wait(Object.java:485)
at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:307)
 - locked <0x00000001077f56b8> (a org.apache.jk.common.ChannelSocket)
at
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:667)
 at
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:878)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:637)

"http-8443-Processor24" daemon prio=5 tid=0x0000000102206800 nid=0x118f5b000
waiting on condition [0x0000000118f5a000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:62)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:637)

"http-8080-Processor24" daemon prio=5 tid=0x0000000102d57800 nid=0x11750d000
waiting on condition [0x000000011750c000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
 at java.lang.Thread.sleep(Native Method)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:62)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:637)

"Low Memory Detector" daemon prio=5 tid=0x0000000102877000 nid=0x11420d000
runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=9 tid=0x000000010203d800 nid=0x11410a000
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=9 tid=0x000000010203c800 nid=0x114007000
waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=9 tid=0x000000010203c000 nid=0x113f04000
runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Surrogate Locker Thread (CMS)" daemon prio=5 tid=0x000000010203b000
nid=0x113e01000 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x0000000102028800 nid=0x113b5c000 in
Object.wait() [0x0000000113b5b000]
   java.lang.Thread.State: WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
- waiting on <0x00000001077d4ec0> (a java.lang.ref.ReferenceQueue$Lock)
 at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x00000001077d4ec0> (a java.lang.ref.ReferenceQueue$Lock)
 at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x0000000102027800 nid=0x113a59000 in
Object.wait() [0x0000000113a58000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
 - waiting on <0x00000001077d0018> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
 at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x00000001077d0018> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=9 tid=0x0000000102020800 nid=0x113956000 runnable

"Gang worker#0 (Parallel GC Threads)" prio=9 tid=0x0000000102802000
nid=0x106205000 runnable

"Gang worker#1 (Parallel GC Threads)" prio=9 tid=0x0000000102802800
nid=0x106308000 runnable

"Concurrent Mark-Sweep GC Thread" prio=9 tid=0x0000000102842000
nid=0x11365f000 runnable
"VM Periodic Task Thread" prio=10 tid=0x0000000102878000 nid=0x114310000
waiting on condition

"Exception Catcher Thread" prio=10 tid=0x0000000102801800 nid=0x103101000
runnable
JNI global references: 1242

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to