1) thanks for the very quick response!

2) I get the static page, because it is still in the brower cache, browser
is loading, but never actually displays anything; after a very long time, a
timeout. How do you describe that?

3) yes stout goes to console, see attachment

4) here is the output of jstack.

It doesn't tell me much. Thanks in advance!
Maurice

2010-03-11 22:24:34
Full thread dump Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing):

"http-8080-1" daemon prio=6 tid=0x0344b000 nid=0x180c in Object.wait()
[0x03adf000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x077d0068> (a
org.apache.tomcat.util.net.JIoEndpoint$Worker)
    at java.lang.Object.wait(Object.java:485)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)
    - locked <0x077d0068> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)
    at java.lang.Thread.run(Thread.java:619)

"TP-Monitor" daemon prio=6 tid=0x03449800 nid=0x1e40 in Object.wait()
[0x03a7f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x077d00e8> (a
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
    at
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:565)
    - locked <0x077d00e8> (a
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
    at java.lang.Thread.run(Thread.java:619)

"TP-Processor4" daemon prio=6 tid=0x031afc00 nid=0x13b0 runnable
[0x03a2f000]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    - locked <0x077d01c8> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:307)
    at
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:661)
    at
org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:872)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:619)

"TP-Processor3" daemon prio=6 tid=0x03441400 nid=0x1dec in Object.wait()
[0x039df000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x077d0470> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Object.wait(Object.java:485)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)
    - locked <0x077d0470> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Thread.run(Thread.java:619)

"TP-Processor2" daemon prio=6 tid=0x03466400 nid=0x1db8 in Object.wait()
[0x0398f000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x077d0510> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Object.wait(Object.java:485)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)
    - locked <0x077d0510> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Thread.run(Thread.java:619)

"TP-Processor1" daemon prio=6 tid=0x03448400 nid=0x1f60 in Object.wait()
[0x0393f000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x077d05b0> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Object.wait(Object.java:485)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)
    - locked <0x077d05b0> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
    at java.lang.Thread.run(Thread.java:619)

"http-8080-Acceptor-0" daemon prio=6 tid=0x031b4c00 nid=0x173c runnable
[0x038ef000]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    - locked <0x092697e0> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
    at
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
    at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon prio=6
tid=0x0345d400 nid=0x18dc waiting on condition [0x0389f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1579)
    at java.lang.Thread.run(Thread.java:619)

"GC Daemon" daemon prio=2 tid=0x03194c00 nid=0x18f4 in Object.wait()
[0x0320f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x092690e8> (a sun.misc.GC$LatencyLock)
    at sun.misc.GC$Daemon.run(GC.java:100)
    - locked <0x092690e8> (a sun.misc.GC$LatencyLock)

"Low Memory Detector" daemon prio=6 tid=0x02ca6800 nid=0x1e00 runnable
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x02ca3800 nid=0x1c6c waiting on
condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02ca2000 nid=0x1774 waiting on
condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x02ca0c00 nid=0x1a34 runnable
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02c62000 nid=0x1ea0 in Object.wait()
[0x02e2f000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x09120a20> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    - locked <0x09120a20> (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=0x02c5d400 nid=0x19c0 in
Object.wait() [0x02ddf000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x09120948> (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 <0x09120948> (a java.lang.ref.Reference$Lock)

"main" prio=6 tid=0x002a7400 nid=0x1528 runnable [0x0038f000]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
    - locked <0x077d19c8> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at
org.apache.catalina.core.StandardServer.await(StandardServer.java:389)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

"VM Thread" prio=10 tid=0x02c5bc00 nid=0x1c2c runnable

"VM Periodic Task Thread" prio=10 tid=0x02cab800 nid=0x1db4 waiting on
condition

JNI global references: 1100


On Thu, Mar 11, 2010 at 9:52 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Maurice,
>
> On 3/11/2010 3:42 PM, Maurice Mengel wrote:
> > Hi!
> >
> > I am new to tomcat. It try to use it with some servlet (oaicat). It seems
> to
> > run well on my pc at work, but I cannot run it on my laptop on which I
> would
> > like to develop.
> >
> > I start it, it looks fine. And after a few seconds or minutes, I doesn't
> > answer any response.
>
> Do you mean that it refuses HTTP requests, or you get a connection but
> nothing ever displays?
>
> > I uninstalled already all unnecessary versions of java, tried with
> different
> > version. Installed a new tomcat.
> >
> >
> >    - windows xp
> >    - I start tomcat with bin\startup.bat
>
> Can you post everything that shows up on the console during Tomcat
> startup? IIRC, bin\startup.bat leaves the window open and stdout just
> goes to the terminal.
>
> >    - jdk 1.6.0_14
>
> Since you have the JDK, you should have a program called "jstack.exe":
> you can run that with the pid of the running JVM to see what all the JVM
> threads are doing. Post the output of jstack.exe and we'll take a look.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkuZV/QACgkQ9CaO5/Lv0PD4lwCeL4GM/6fSmNkbjrnOQ4ZocZgn
> X1wAoKHRhGsPaZg9+TfZWdWY9jBxYY3A
> =xuug
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to