tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skoneru <sagarkon...@yahoo.com>
Subject PrintStackTrace Locking of Threads and Container
Date Tue, 14 Apr 2009 16:06:11 GMT

When I was running active mq client connection code inside the container, it
runs fine for a few hundred threads of functionality. After that, it locks
on the logging file ( at java.io.PrintStream.write(PrintStream.java:414)
)when it openejb container tries to print the stack trace.

Please let us know if any one else ran into this issue. If you did and found
a workaround, it 'll be great. I was unable to determine the rootcause of
this problem. If anyone knows it, please help me.


---------------------Start StackTrace of Blocking Thread
Info-----------------------
21:44:02.890 - [ INFO] - [ConsoleLogHandler.run] - java.lang.Throwable
21:44:02.890 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.FileOutputStream.writeBytes(Native Method)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.FileOutputStream.write(FileOutputStream.java:260)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.PrintStream.write(PrintStream.java:414)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
21:44:02.891 - [ INFO] - [ConsoleLogHandler.run] -      at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
21:44:02.892 - [ INFO] - [ConsoleLogHandler.run] -      at
sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
21:44:02.892 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
21:44:02.892 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.PrintStream.write(PrintStream.java:459)
21:44:02.892 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.PrintStream.print(PrintStream.java:602)
21:44:02.892 - [ INFO] - [ConsoleLogHandler.run] -      at
java.io.PrintStream.println(PrintStream.java:739)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
java.lang.Throwable.printStackTrace(Throwable.java:465)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
java.lang.Throwable.printStackTrace(Throwable.java:452)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.openejb.core.mdb.EndpointHandler.afterDelivery(EndpointHandler.java:279)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.openejb.core.mdb.EndpointHandler.invoke(EndpointHandler.java:164)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
$Proxy60.afterDelivery(Unknown Source)
21:44:02.893 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:126)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:65)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:216)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:751)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:165)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
21:44:02.894 - [ INFO] - [ConsoleLogHandler.run] -      at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
21:44:02.895 - [ INFO] - [ConsoleLogHandler.run] -      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
21:44:02.895 - [ INFO] - [ConsoleLogHandler.run] -      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
21:44:02.895 - [ INFO] - [ConsoleLogHandler.run] -      at
java.lang.Thread.run(Thread.java:595)
21:44:02.895 - [ INFO] - [ConsoleLogHandler.run] -
21:44:02.895 - [ INFO] - [ConsoleLogHandler.run] - ---------------------End
StackTrace of Blocking Thread Info-----------------------

-- 
View this message in context: http://www.nabble.com/PrintStackTrace-Locking-of-Threads-and-Container-tp23042476p23042476.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message