tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Re: "Threads problem" with Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2 on a Solaris x86 2.8 box (with Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunwjit))
Date Wed, 16 Jan 2002 21:46:49 GMT
Without going into this lengthy stack trace and knowing Solaris, here a 
a few suggestions:

- try the latest stable JDK, something like 1.3.x
- it helps when error report contains: "I think the error is here" etc., 
rather then just leave it to people to read a mile long log file.

Bojan

Roman Medina wrote:

>   Hi ppl:
> 
>  I'm running Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2 on a Solaris
> x86 2.8 box (with Sun JDK 1.2), and I'm in trouble. When I thought all
> was working ok I realized that with some applications my Tomcat
> crashes!! This happens after receiving several errors (see attached
> log). Any help would be greatly appreciated. I'm in a hurry... :-(
> 
> -------------------
> "Thread-34" (TID:0x8bed968, sys_thread_t:0x8bed8b0, state:CW,
> thread_t: t@82, threadID:0xd9560d74, stack_bottom:0xd9561000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Thread.sleep(Native Method)
> [2] batmap.map.MapCheckConnection.run(MapCheckConnection.java:24)
> -------------------
> "Thread-33" (TID:0x8cbf030, sys_thread_t:0x8cbef78, state:CW,
> thread_t: t@81, threadID:0xd95b0d74, stack_bottom:0xd95b1000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Thread.sleep(Native Method)
> [2] batmap.map.MapCheckConnection.run(MapCheckConnection.java:24)
> -------------------
> "SeedGenerator Thread" (TID:0x877c258, sys_thread_t:0x877c1a0,
> state:CW, thread_t: t@26, threadID:0xd9610d74,
> stack_bottom:0xd9611000, stack_size:0x20000) prio=1
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
> [3] java.lang.Thread.run(Thread.java:478)
> -------------------
> "Thread-18" (TID:0x8181940, sys_thread_t:0x8181888, state:MW,
> thread_t: t@1, threadID:0x804c058, stack_bottom:0x8048000,
> stack_size:0x848000) prio=5
> 
> -------------------
> "MonitorRunnable" (TID:0x868c0f0, sys_thread_t:0x868c038, state:CW,
> thread_t: t@25, threadID:0xd9aa0d74, stack_bottom:0xd9aa1000,
> stack_size:0x20000) prio=5
> 
> [1]
> org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
> Source)
> [2] java.lang.Thread.run(Thread.java:478)
> -------------------
> "Thread-16" (TID:0x867e328, sys_thread_t:0x867e270, state:R, thread_t:
> t@24, threadID:0xd9ae0d74, stack_bottom:0xd9ae1000,
> stack_size:0x20000) prio=5
> 
> [1] java.net.SocketInputStream.socketRead(Native Method)
> [2] java.net.SocketInputStream.read(SocketInputStream.java:85)
> [3] org.apache.tomcat.modules.server.Ajp13.readN(Unknown Source)
> [4] org.apache.tomcat.modules.server.Ajp13.receive(Unknown Source)
> [5] org.apache.tomcat.modules.server.Ajp13.receiveNextRequest(Unknown
> Source)
> [6]
> org.apache.tomcat.modules.server.Ajp13Request.receiveNextRequest(Unknown
> Source)
> [7]
> org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
> Source)
> [8] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> [9]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [10] java.lang.Thread.run(Thread.java:478)
> -------------------
> "Thread-15" (TID:0x86592a0, sys_thread_t:0x86591e8, state:R, thread_t:
> t@23, threadID:0xd9b20d74, stack_bottom:0xd9b21000,
> stack_size:0x20000) prio=5 *current thread*
> 
> [1] com.coolservlets.util.StringUtils.hash(StringUtils.java:224)
> [2]
> com.coolservlets.forum.database.DbAuthorizationFactory.getAuthorization(DbAuthorizationFactory.java:84)
> [3] UserLogin.doGet(UserLogin.java)
> [4] javax.servlet.http.HttpServlet.service(HttpServlet.java)
> [5] javax.servlet.http.HttpServlet.service(HttpServlet.java)
> [6] org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> [7] org.apache.tomcat.core.Handler.invoke(Unknown Source)
> [8] org.apache.tomcat.core.Handler.service(Unknown Source)
> [9] org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> [10] org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
> [11] org.apache.tomcat.core.ContextManager.service(Unknown Source)
> [12]
> org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
> Source)
> [13] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> [14]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [15] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-14" (TID:0x868eee8, sys_thread_t:0x868ee30, state:R, thread_t:
> t@22, threadID:0xd9b60d74, stack_bottom:0xd9b61000,
> stack_size:0x20000) prio=5
> 
> [1] java.net.PlainSocketImpl.socketAccept(Native Method)
> [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
> [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
> [4] java.net.ServerSocket.accept(ServerSocket.java:223)
> [5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
> Source)
> [6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> [7]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [8] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-13" (TID:0x8685840, sys_thread_t:0x8685788, state:CW,
> thread_t: t@21, threadID:0xd9ba0d74, stack_bottom:0xd9ba1000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "MonitorRunnable" (TID:0x8689c98, sys_thread_t:0x8689be0, state:CW,
> thread_t: t@20, threadID:0xd9be0d74, stack_bottom:0xd9be1000,
> stack_size:0x20000) prio=5
> 
> [1]
> org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
> Source)
> [2] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-11" (TID:0x868ece0, sys_thread_t:0x868ec28, state:R, thread_t:
> t@19, threadID:0xd9c20d74, stack_bottom:0xd9c21000,
> stack_size:0x20000) prio=5
> 
> [1] java.net.PlainSocketImpl.socketAccept(Native Method)
> [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
> [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
> [4] java.net.ServerSocket.accept(ServerSocket.java:223)
> [5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
> Source)
> [6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> [7]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [8] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-10" (TID:0x8683ed8, sys_thread_t:0x8683e20, state:CW,
> thread_t: t@18, threadID:0xd9c70d74, stack_bottom:0xd9c71000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-9" (TID:0x86570e8, sys_thread_t:0x8657030, state:CW, thread_t:
> t@17, threadID:0xd9cb0d74, stack_bottom:0xd9cb1000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-8" (TID:0x8698b88, sys_thread_t:0x8698ad0, state:CW, thread_t:
> t@16, threadID:0xd9cf0d74, stack_bottom:0xd9cf1000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "MonitorRunnable" (TID:0x8681128, sys_thread_t:0x8681070, state:CW,
> thread_t: t@15, threadID:0xd9d30d74, stack_bottom:0xd9d31000,
> stack_size:0x20000) prio=5
> 
> [1]
> org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
> Source)
> [2] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-6" (TID:0x865a4f0, sys_thread_t:0x865a438, state:R, thread_t:
> t@14, threadID:0xd9d70d74, stack_bottom:0xd9d71000,
> stack_size:0x20000) prio=5
> 
> [1] java.net.PlainSocketImpl.socketAccept(Native Method)
> [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
> [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
> [4] java.net.ServerSocket.accept(ServerSocket.java:223)
> [5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
> Source)
> [6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> [7]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [8] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-5" (TID:0x867da58, sys_thread_t:0x867d9a0, state:CW, thread_t:
> t@13, threadID:0xd9db0d74, stack_bottom:0xd9db1000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-4" (TID:0x86725c0, sys_thread_t:0x8672508, state:CW, thread_t:
> t@12, threadID:0xd9e00d74, stack_bottom:0xd9e01000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Thread-3" (TID:0x8677dc0, sys_thread_t:0x8677d08, state:CW, thread_t:
> t@11, threadID:0xd9e30d74, stack_bottom:0xd9e31000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2]
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> [3] java.lang.Thread.run(Thread.java:479)
> -------------------
> "Expirer" (TID:0x866ce28, sys_thread_t:0x866cd70, state:CW, thread_t:
> t@10, threadID:0xd9e90d74, stack_bottom:0xd9e91000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Thread.sleep(Native Method)
> [2] org.apache.tomcat.util.threads.Reaper.run(Unknown Source)
> -------------------
> "QueueLogDaemon" (TID:0x841ad28, sys_thread_t:0x841ac70, state:CW,
> thread_t: t@9, threadID:0xdeb60d74, stack_bottom:0xdeb61000,
> stack_size:0x20000) prio=5
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2] org.apache.tomcat.util.collections.Queue.pull(Unknown Source)
> [3] org.apache.tomcat.util.qlog.LogDaemon.run(Unknown Source)
> [4] java.lang.Thread.run(Thread.java:479)
> -------------------
> 
> Exiting Thread (sys_thread_t:0xdfb7d294) : no stack
> 
> Exiting Thread (sys_thread_t:0x83f4978) : no stack
> "Finalizer" (TID:0x816faa8, sys_thread_t:0x816f9f0, state:CW,
> thread_t: t@6, threadID:0xdf660d74, stack_bottom:0xdf661000,
> stack_size:0x20000) prio=8
> 
> [1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
> [2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
> [3]
> java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
> -------------------
> "Reference Handler" (TID:0x816d288, sys_thread_t:0x816d1d0, state:CW,
> thread_t: t@5, threadID:0xdf690d74, stack_bottom:0xdf691000,
> stack_size:0x20000) prio=10
> 
> [1] java.lang.Object.wait(Object.java:424)
> [2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
> -------------------
> "Signal dispatcher" (TID:0x814f970, sys_thread_t:0x814f8b8, state:MW,
> thread_t: t@4, threadID:0xdf6d0d74, stack_bottom:0xdf6d1000,
> stack_size:0x20000) prio=10
> 
> -------------------
> 
> --
> Román Medina-Heigl Hernández
> Sysadmin & Security Officer
> @ BatMap S.A.
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message