----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Dear All,

every so often I find that a 'thread dump' gets written my errors.log file
(see below). This cryptic message seems to detail the various threads
running  on my JVM and seems fairly self-explanatory. What I want to know
is, why is it being written? Is this some sort of response to an internal
error or does JServ automatically generate these every so often? Can I
switch them off or should I be rewriting my code to avoid them.

-- ERRORS.LOG BEGIN --
GNUJSP: Detected JSDK version 2.0

Full thread dump Classic VM (JDK-1.2.2-001, native threads):
    "Thread-6" (TID:0x18ed840, sys_thread_t:0x8fc450, state:CW, native
ID:0xe2) prio=5
        at java.lang.Object.wait(Native Method)
        at demon.dorking.util.ObjectPoolCleaner.run(ObjectPoolCleaner.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-2" (TID:0x18f0700, sys_thread_t:0x8e5970, state:CW, native
ID:0xe6) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.jserv.JServServletManager.run(JServServletManager.java, Compiled
Code)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-1" (TID:0x18f2bb8, sys_thread_t:0x8e49e0, state:CW, native
ID:0xd1) prio=5
        at java.lang.Thread.sleep(Native Method)
        at
org.apache.jserv.JServServletManager.run(JServServletManager.java, Compiled
Code)
        at java.lang.Thread.run(Thread.java:479)
    "Thread-0" (TID:0x18f5f18, sys_thread_t:0x8ddd10, state:CW, native
ID:0x99) prio=1
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at org.apache.java.util.SimpleQueue.waitObject(SimpleQueue.java,
Compiled Code)
        at org.apache.java.io.LogWriter$Agent.run(LogWriter.java, Compiled
Code)
    "SymcJIT-LazyCompilation-0" (TID:0x18ee350, sys_thread_t:0x8253e0,
state:CW, native ID:0x4f) prio=1
        at SymantecJITCompilationThread.DoCompileMethod(Native Method)
        at SymantecJITCompilationThread.run(JITcompilationthread.java,
Compiled Code)
    "SymcJIT-LazyCompilation-PA" (TID:0x18ee5c8, sys_thread_t:0x825c00,
state:CW, native ID:0x48) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at SymantecJITCompilationThread.run(JITcompilationthread.java,
Compiled Code)
    "Finalizer" (TID:0x18e9320, sys_thread_t:0x811f40, state:CW, native
ID:0x65) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x18e93b0, sys_thread_t:0x8103f0, state:CW,
native ID:0xb0) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x18e93e0, sys_thread_t:0x80b830, state:R,
native ID:0x54) prio=5
    "main" (TID:0x18e91e0, sys_thread_t:0x7c0b60, state:R, native ID:0x8a)
prio=5
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
        at java.net.ServerSocket.implAccept(ServerSocket.java:240)
        at
org.apache.java.net.AuthenticatedServerSocket.accept(AuthenticatedServerSock
et.java, Compiled Code)
        at org.apache.jserv.JServ.main(JServ.java, Compiled Code)
Monitor Cache Dump:
    SymantecJITCompilationThread@18EE350/1945390: <unowned>
        Waiting to be notified:
            "SymcJIT-LazyCompilation-PA" (0x825c00)
    java.lang.ref.ReferenceQueue$Lock@18E9338/191ED60: <unowned>
        Waiting to be notified:
            "Finalizer" (0x811f40)
    java.lang.ref.Reference$Lock@18E93C0/191E890: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x8103f0)
    demon.dorking.sql.ConnectionPool@18EDDD8/198F5F8: <unowned>
        Waiting to be notified:
            "Thread-6" (0x8fc450)
    java.net.PlainSocketImpl@18F5588/195F610: owner "main" (0x7c0b60) 1
entry
    org.apache.java.util.SimpleQueue@18F9BA0/196EC38: <unowned>
        Waiting to be notified:
            "Thread-0" (0x8ddd10)
Registered Monitor Dump:
    SymcJIT Method Monitor: <unowned>
    SymcJIT Method Monitor: <unowned>
    SymcJIT Lazy Queue Lock: <unowned>
        Waiting to be notified:
            "SymcJIT-LazyCompilation-0" (0x8253e0)
    SymcJIT Method Monitor: <unowned>
    SymcJIT Method List Monitor: <unowned>
    SymcJIT Lock: <unowned>
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "Signal dispatch
-- ERRORS.LOG END --

Yours confused...

-- 
Ricardo Gladwell, Web Developer
Demon Internet, Westhumble House,
Dorking Business Park, Dorking. RH4 1HJ
Tel: +44 (0)1306 732 356


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to