|
Description
|
Tomcat fails to start on linux with tiger b29 if sharing is turned on.
Test machine: jtg-linux7.sfbay (Linux jtg-linux7 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux)
How to reproduce the problem:
1. cp
/net/animorphic.sfbay/export/kbr/tmp/sharing_test_classlists/classlist.linux
/usr/j2se/jre/lib/classlist
2. generated the shared archive
/usr/j2se/bin/java -Xshare:dump
3. export JAVA_HOME=/usr/j2se
4. execute the tomcat test script /net/jtgb4u4c.sfbay/export/sail8/bigapps/tests/runtomcat.ksh -client
Tomcat server can not start at all. (SEG fault and core dump, the server log
file "catalina.out" under /bt/Tomcat*/tomcat4.1.24 is empty)
By comparion, with sharing off, tomcat server starts successfuly with tiger b29.
The heap setting of Tomcat test script is -Xmx512m -Xmx1024m
jtg-linux7 has 512M memory.
If the heap is set to less than 280M, the problem goes away.
xxxxx@xxxxx 2003-11-25
----------------------------------------------------------------------------
xxxxx@xxxxx 2003-12-10
J2SE Version (please include all output from java -version flag):
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)
Does this problem occur on J2SE 1.4 or 1.4.1 or 1.4.2? Yes / No (pick one)
No, just related to class sharing
Operating System Configuration Information (be specific):
Linux dhcp-196.pirobase.de 2.6.0-test6 #1 SMP Mon Sep 29 12:12:55 CEST 2003 i686 unknown unknown GNU/Linux
Hardware Configuration Information (be specific):
Dual customer P4 Xeon @1.8GHz using Hyperthreading (-> 4 virtual CPUs)
Bug Description:
Eclipse installation (3.0M4) does not start up, when class sharing is
not explicitly turned off. A core dump occurs.
Attached the core file.
Steps to Reproduce (be specific):
- Install Eclipse 3.0M4
- Install J2SDK 1.5.0-b30
- Just start Eclipse either using the provided shell script or:
/usr/java/j2sdk1.5.0/bin/java -Xms256m -Xmx512m -cp /usr/local/eclipse/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /usr/local/eclipse/eclipse -showsplash 600
If -Xshare:off is added to the JVM options, eclipse starts without a core dump.
|