For me, the TDK Tomcat still won't run. I don't believe it is anything I'm doing.

My setup:
NT4.0 sp6a / JDK1.3 / TDK1.1a2 / Tomcat 3.2b4

In troubleshooting, I've done the following:

1) Install fresh JDK1.3 from Sun.
2) I stripped EVERY possible Classpath reference that could cause an out of date
jar file to be seen.
3) Removed all Turbine, TDK, ect local builds so that the TDK 1.1a2 won't get confused.
4) Downloaded and installed fresh TDK1.1a2
5) Set TDK1.1a2 as TOMCAT_HOME
6) execute: .\bin\startup
7) Tomcat seems to initialize properly
8) JDK-Tomcat won't serve any page (gives server contacted message waiting for 
response)

alternatively:

9) Download fresh Tomcat 3.2b4
10) Set TOMCAT_HOME to it (reset environment)
11) execute .\bin\startup
12) Tomcat initializes
13) Serves pages nicely

In both scenarios I did the stack trace Gunnar suggested. The traces for each case 
(TDK-Tomcat vs.
Regular-Tomcat)
are similar but had one noticable difference. Below is the trace for the TDK-Tomcat 
case. Notice prior
to Thread-1
there are two "Standard Manager" daemons, each with separate task IDs.

The non-tdk Tomcat (which works properly) has FOUR of the StandardManagers daemons, 
while the TDK
Tomcat has TWO. Is this significant ?
Why would they behave differently if they are from the same version of Tomcat. Was 
Tomcat recompiled
specifically for
the TDK ?

Thanks for everyone's attention.

Randy

-------------------------------------------------------------------------
Full thread dump:

"Thread-23" prio=5 tid=0x78a060 nid=0xf4 waiting on monitor [0..0x6fb38]

"Thread-22" prio=5 tid=0x78a690 nid=0x4f waiting on monitor [0x95af000..0x95afdc8]
        at java.lang.Object.wait(Native Method)
        at org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(ThreadPool.java:390)
        at java.lang.Thread.run(Thread.java:484)

"Thread-21" prio=5 tid=0x789110 nid=0xfd runnable [0x956f000..0x956fdc8]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
        at java.net.ServerSocket.implAccept(ServerSocket.java:241)
        at java.net.ServerSocket.accept(ServerSocket.java:222)
        at 
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:282)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:389)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

"Thread-20" prio=5 tid=0x789b20 nid=0xab waiting on monitor [0x952f000..0x952fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-19" prio=5 tid=0x7885d0 nid=0x134 waiting on monitor [0x94ef000..0x94efdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-18" prio=5 tid=0x787290 nid=0xde waiting on monitor [0x94af000..0x94afdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-17" prio=5 tid=0x786130 nid=0xed waiting on monitor [0x946f000..0x946fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-16" prio=5 tid=0x786720 nid=0x119 waiting on monitor [0x942f000..0x942fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-15" prio=5 tid=0x7851f0 nid=0xf5 waiting on monitor [0x93ef000..0x93efdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-14" prio=5 tid=0x784060 nid=0xa4 waiting on monitor [0x93af000..0x93afdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-13" prio=5 tid=0x784690 nid=0x105 waiting on monitor [0x936f000..0x936fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-12" prio=5 tid=0x783090 nid=0x130 waiting on monitor [0x932f000..0x932fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-11" prio=5 tid=0x783b20 nid=0x13a waiting on monitor [0x92ef000..0x92efdc8]
        at java.lang.Object.wait(Native Method)
        at org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(ThreadPool.java:390)
        at java.lang.Thread.run(Thread.java:484)

"Thread-10" prio=5 tid=0x782690 nid=0xf8 runnable [0x92af000..0x92afdc8]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
        at java.net.ServerSocket.implAccept(ServerSocket.java:241)
        at java.net.ServerSocket.accept(ServerSocket.java:222)
        at 
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:282)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:389)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

"Thread-9" prio=5 tid=0x781110 nid=0x50 waiting on monitor [0x926f000..0x926fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-8" prio=5 tid=0x781b20 nid=0xcb waiting on monitor [0x922f000..0x922fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-7" prio=5 tid=0x7805d0 nid=0x127 waiting on monitor [0x91ef000..0x91efdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-6" prio=5 tid=0x7770d0 nid=0x72 waiting on monitor [0x91af000..0x91afdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-5" prio=5 tid=0x77f530 nid=0x11e waiting on monitor [0x916f000..0x916fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-4" prio=5 tid=0x77ff20 nid=0x10f waiting on monitor [0x912f000..0x912fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-3" prio=5 tid=0x77e9f0 nid=0x9a waiting on monitor [0x90ef000..0x90efdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-2" prio=5 tid=0x77d460 nid=0x116 waiting on monitor [0x90af000..0x90afdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"Thread-1" prio=5 tid=0x77deb0 nid=0x137 waiting on monitor [0x906f000..0x906fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
        at java.lang.Thread.run(Thread.java:484)

"StandardManager" daemon prio=5 tid=0x77b920 nid=0x11a waiting on monitor 
[0x902f000..0x902fdc8]
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:484)

"StandardManager" daemon prio=5 tid=0x77ba00 nid=0x13b waiting on monitor 
[0x8fef000..0x8fefdc8]
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:489)
        at org.apache.tomcat.session.StandardManager.run(StandardManager.java:546)
        at java.lang.Thread.run(Thread.java:484)

"Thread-0" daemon prio=5 tid=0x773940 nid=0x103 waiting on monitor 
[0x8faf000..0x8fafdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.apache.tomcat.util.Queue.pull(Queue.java:89)
        at org.apache.tomcat.logging.LogDaemon$1.run(TomcatLogger.java:238)
        at org.apache.tomcat.logging.LogDaemon.run(TomcatLogger.java:254)

"Signal Dispatcher" daemon prio=10 tid=0x768140 nid=0x125 waiting on monitor [0..0]

"Finalizer" daemon prio=9 tid=0x766c10 nid=0xd0 waiting on monitor 
[0x8d8f000..0x8d8fdc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)

"Reference Handler" daemon prio=10 tid=0x7658e0 nid=0x13c waiting on monitor 
[0x8d4f000..0x8d4f
dc8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)

"VM Thread" prio=5 tid=0x764bb0 nid=0x114 runnable

"VM Periodic Task Thread" prio=10 tid=0x768b40 nid=0x7f waiting on monitor


Gunnar R|nning wrote:

> Stefan Haubold <[EMAIL PROTECTED]> writes:
>
> >
> > My "normal" tomcat is version 3.1 from jakarta.apache.org.
> > I couldn't reproduce this 99% CPU utilization with latest tdk from 
>java.apache.org/turbine/tdk or
> > scarab sandbox from yesterdays CVS. I don't know what changed, but all seems to 
>work fine now.
>
> Do you have "Command Prompt" console on the process ? If so hit Ctrl-Break
> in the console and examine the resulting stack trace to find the
> culprit. This assumes you are using the Sun JDK.
>
> PS. Can you force the Java process to do this on Windows by sending a
> signal like "kill -s QUIT <pid>" on Unix ?
>
> Regards,
>
>         Gunnar
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to