Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 11:24:02 +0100
From:      "Olivier Vautrin" <ovautrin@chez.com>
To:        <freebsd-java@freebsd.org>
Subject:   Tomcat 5.0 and diablo-jdk-1.3.1 crash
Message-ID:  <ALPHAyt3cew8k69RKLp000158e5@alpha.jnpr.net>

next in thread | raw e-mail | index | archive | help

Hello,

I am getting a problem with the installation of a Tomcat on a FreeBSD 4.9

I installed the following port:
diablo-jdk-1.3.1.0_1 Java Development Kit 1.3.1
jakarta-tomcat-5.0.19 Open-source Java web server by Apache, 5.0.x branch

And when I try to start the tomcat server, java crash after a few seconds
with these errors in the Tomcat logs:

SIGILL    4*   illegal instruction

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
    "Finalizer" (TID:0x28e9e528, sys_thread_t:0x80d4080, state:CW) prio=8
        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" (TID:0x28e9e300, sys_thread_t:0x8096480, state:CW)
prio=10
        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)
    "Signal dispatcher" (TID:0x28e9e330, sys_thread_t:0x8096280, state:CW)
prio=5
    "main" (TID:0x28e9e1b0, sys_thread_t:0x8053080, state:R) prio=5
        at java.lang.Long.toString(Long.java:91)
        at java.lang.String.valueOf(String.java:2071)
        at java.lang.StringBuffer.append(StringBuffer.java:532)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:397)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:495)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E9E310/28ED3F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x8096480)
    java.lang.ref.ReferenceQueue$Lock@28E9E540/28ED4478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d4080)
Registered Monitor Dump:
    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 "main" (0x8053080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8053280)
    Thread queue lock: owner "main" (0x8053080) 1 entry
    Monitor registry: owner "main" (0x8053080) 1 entry

SIGABRT   6*   abort (generated by abort(3) routine)

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
    "Finalizer" (TID:0x28e9e528, sys_thread_t:0x80d4080, state:CW) prio=8
        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" (TID:0x28e9e300, sys_thread_t:0x8096480, state:CW)
prio=10
        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)
    "Signal dispatcher" (TID:0x28e9e330, sys_thread_t:0x8096280, state:CW)
prio=5
    "main" (TID:0x28e9e1b0, sys_thread_t:0x8053080, state:R) prio=5
        at java.lang.Long.toString(Long.java:91)
        at java.lang.String.valueOf(String.java:2071)
        at java.lang.StringBuffer.append(StringBuffer.java:532)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:397)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:495)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E9E310/28ED3F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x8096480)
    java.lang.ref.ReferenceQueue$Lock@28E9E540/28ED4478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d4080)
Registered Monitor Dump:
    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 "main" (0x8053080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8053280)
    Thread queue lock: owner "main" (0x8053080) 1 entry
    Monitor registry: owner "main" (0x8053080) 1 entry

SIGILL    4*   illegal instruction

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
    "Finalizer" (TID:0x28e9e528, sys_thread_t:0x80d4080, state:CW) prio=8
        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" (TID:0x28e9e300, sys_thread_t:0x8096480, state:CW)
prio=10
        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)
    "Signal dispatcher" (TID:0x28e9e330, sys_thread_t:0x8096280, state:CW)
prio=5
    "main" (TID:0x28e9e1b0, sys_thread_t:0x8053080, state:R) prio=5
        at java.lang.Long.toString(Long.java:91)
        at java.lang.String.valueOf(String.java:2071)
        at java.lang.StringBuffer.append(StringBuffer.java:532)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:397)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:495)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E9E310/28ED3F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x8096480)
    java.lang.ref.ReferenceQueue$Lock@28E9E540/28ED4478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d4080)
Registered Monitor Dump:
    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 "main" (0x8053080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8053280)
    Thread queue lock: owner "main" (0x8053080) 1 entry
    Monitor registry: owner "main" (0x8053080) 1 entry

SIGABRT   6*   abort (generated by abort(3) routine)

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
    "Finalizer" (TID:0x28e9e528, sys_thread_t:0x80d4080, state:CW) prio=8
        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" (TID:0x28e9e300, sys_thread_t:0x8096480, state:CW)
prio=10
        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)
    "Signal dispatcher" (TID:0x28e9e330, sys_thread_t:0x8096280, state:CW)
prio=5
    "main" (TID:0x28e9e1b0, sys_thread_t:0x8053080, state:R) prio=5
        at java.lang.Long.toString(Long.java:91)
        at java.lang.String.valueOf(String.java:2071)
        at java.lang.StringBuffer.append(StringBuffer.java:532)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:397)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:495)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E9E310/28ED3F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x8096480)
    java.lang.ref.ReferenceQueue$Lock@28E9E540/28ED4478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d4080)
Registered Monitor Dump:
    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 "main" (0x8053080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8053280)
    Thread queue lock: owner "main" (0x8053080) 1 entry
    Monitor registry: owner "main" (0x8053080) 1 entry

Any clue?

Cheers,
/Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ALPHAyt3cew8k69RKLp000158e5>