tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Temko <bte...@cxri.net>
Subject Tomcat under UML
Date Fri, 30 May 2003 14:26:42 GMT
Greetings, all -

I have searched many different sources for information about Tomcat running in 
a UML server, and the only things I can find are documents protesting that 
it's possible.  It certainly seems as if it ought to be, since Apache runs 
right out of the box, and java applications compile and execute with no 
difficulties.  I myself have not been so lucky.  I have been running Tomcat 
for several months now under "normal" linux, happily building projects - this 
has surpassed my capacity for googling the answers.  I apologize in advance 
if this topic has been covered before - with the mail-archive server down 
it's not possible for me to check historical records.

The pertinents:

Tomcat 4.x, 5.x
Debian Linux 4.2.18 UML
JDK 1.3, 1.4.x

I have tried all combinations of Tomcat and JDKs, but no matter what I do, 
Tomcat barfs upon startup with this message (4.x version, jdk 4.1.2beta):

===============================
May 29, 2003 6:08:06 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
May 29, 2003 6:08:06 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
May 29, 2003 6:08:09 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
May 29, 2003 6:08:11 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 82
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
May 29, 2003 6:08:38 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 82
May 29, 2003 6:08:38 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x89000000
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:

Dynamic libraries:
08048000-0804e000 r-xp 00000000 62:00 131035     
/usr/local/j2sdk1.4.2/bin/java
0804e000-0804f000 rw-p 00005000 62:00 131035     
/usr/local/j2sdk1.4.2/bin/java
40000000-40013000 r-xp 00000000 62:00 96489      /lib/ld-2.2.5.so
40013000-40014000 rw-p 00013000 62:00 96489      /lib/ld-2.2.5.so
40014000-40018000 rw-s 00000000 62:00 115096     /tmp/hsperfdata_root/2909
40018000-40025000 r-xp 00000000 62:00 96525      /lib/libpthread-0.9.so
40025000-4002c000 rw-p 0000d000 62:00 96525      /lib/libpthread-0.9.so
4002d000-4002f000 r-xp 00000000 62:00 96505      /lib/libdl-2.2.5.so
4002f000-40030000 rw-p 00001000 62:00 96505      /lib/libdl-2.2.5.so
40030000-40143000 r-xp 00000000 62:00 96495      /lib/libc-2.2.5.so
40143000-40149000 rw-p 00113000 62:00 96495      /lib/libc-2.2.5.so
4014d000-40542000 r-xp 00000000 62:00 82880      
/usr/local/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
40542000-4055e000 rw-p 003f4000 62:00 82880      
/usr/local/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
40570000-40581000 r-xp 00000000 62:00 96513      /lib/libnsl-2.2.5.so
40581000-40582000 rw-p 00010000 62:00 96513      /lib/libnsl-2.2.5.so
40584000-405a4000 r-xp 00000000 62:00 96510      /lib/libm-2.2.5.so
40584000-405a4000 r-xp 00000000 62:00 96510      /lib/libm-2.2.5.so
405a4000-405a5000 rw-p 0001f000 62:00 96510      /lib/libm-2.2.5.so
405a5000-405ad000 r-xp 00000000 62:00 82874      
/usr/local/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
405ad000-405ae000 rw-p 00007000 62:00 82874      
/usr/local/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
405ae000-405b8000 r-xp 00000000 62:00 96514      /lib/libnss_compat-2.2.5.so
405b8000-405b9000 rw-p 00009000 62:00 96514      /lib/libnss_compat-2.2.5.so
405b9000-405c9000 r-xp 00000000 62:00 82885      
/usr/local/j2sdk1.4.2/jre/lib/i386/libverify.so
405c9000-405cb000 rw-p 0000f000 62:00 82885      
/usr/local/j2sdk1.4.2/jre/lib/i386/libverify.so
405cb000-405eb000 r-xp 00000000 62:00 82886      
/usr/local/j2sdk1.4.2/jre/lib/i386/libjava.so
405eb000-405ed000 rw-p 0001f000 62:00 82886      
/usr/local/j2sdk1.4.2/jre/lib/i386/libjava.so
405ed000-40601000 r-xp 00000000 62:00 82888      
/usr/local/j2sdk1.4.2/jre/lib/i386/libzip.so
40601000-40604000 rw-p 00013000 62:00 82888      
/usr/local/j2sdk1.4.2/jre/lib/i386/libzip.so
40604000-406dd000 r--s 00000000 62:00 163037     
/usr/local/tomcat4/common/endorsed/xercesImpl.jar
406dd000-406fc000 r--s 00000000 62:00 163038     
/usr/local/tomcat4/common/endorsed/xmlParserAPIs.jar
406fc000-4207f000 r--s 00000000 62:00 83033      
/usr/local/j2sdk1.4.2/jre/lib/rt.jar
420c9000-420df000 r--s 00000000 62:00 82910      
/usr/local/j2sdk1.4.2/jre/lib/sunrsasign.jar
420df000-421b9000 r--s 00000000 62:00 82980      
/usr/local/j2sdk1.4.2/jre/lib/jsse.jar
421b9000-421ca000 r--s 00000000 62:00 82911      
/usr/local/j2sdk1.4.2/jre/lib/jce.jar
421ca000-42723000 r--s 00000000 62:00 82981      
/usr/local/j2sdk1.4.2/jre/lib/charsets.jar
447cb000-447ce000 r--s 00000000 62:00 98856      
/usr/local/j2sdk1.4.2/jre/lib/ext/dnsns.jar
447ce000-447d0000 r--s 00000000 62:00 146942     
/usr/local/tomcat4/server/lib/servlets-invoker.jar
4c850000-4c86c000 r--s 00000000 62:00 98855      
/usr/local/j2sdk1.4.2/jre/lib/ext/sunjce_provider.jar
4c86c000-4c879000 r--s 00000000 62:00 98858      
/usr/local/j2sdk1.4.2/jre/lib/ext/ldapsec.jar
4c879000-4c935000 r--s 00000000 62:00 98972      
/usr/local/j2sdk1.4.2/jre/lib/ext/localedata.jar
4c935000-4ce11000 r--s 00000000 62:00 99079      
/usr/local/j2sdk1.4.2/lib/tools.jar
4ce11000-4ce18000 r--s 00000000 62:00 98828      
/usr/local/tomcat4/bin/bootstrap.jar
4ce18000-4ce1b000 r--s 00000000 62:00 98827      
/usr/local/tomcat4/bin/commons-daemon.jar
4ce1b000-4ce2f000 r--s 00000000 62:00 98838      
/usr/local/tomcat4/common/lib/servlet.jar
4ce2f000-4ce74000 r--s 00000000 62:00 98839      
/usr/local/tomcat4/common/lib/mail.jar
4ce74000-4ce79000 r--s 00000000 62:00 98840      
/usr/local/tomcat4/common/lib/commons-logging-api.jar
4ce79000-4cea2000 r--s 00000000 62:00 98841      
/usr/local/tomcat4/common/lib/commons-collections.jar
4cea2000-4ceb7000 r--s 00000000 62:00 98842      
/usr/local/tomcat4/common/lib/jdbc2_0-stdext.jar
4ceb7000-4cebf000 r--s 00000000 62:00 98843      
/usr/local/tomcat4/common/lib/commons-pool.jar
4cebf000-4ceec000 r--s 00000000 62:00 98844      
/usr/local/tomcat4/common/lib/jasper-compiler.jar
4ceec000-4cef1000 r--s 00000000 62:00 98845      
/usr/local/tomcat4/common/lib/naming-factory.jar
4cef1000-4cf0a000 r--s 00000000 62:00 98846      
/usr/local/tomcat4/common/lib/jndi.jar
4cf0a000-4cf16000 r--s 00000000 62:00 98847      
/usr/local/tomcat4/common/lib/activation.jar
4cf16000-4cf28000 r--s 00000000 62:00 98848      
/usr/local/tomcat4/common/lib/jasper-runtime.jar
4cf28000-4cf32000 r--s 00000000 62:00 98849      
/usr/local/tomcat4/common/lib/naming-resources.jar 
4cf32000-4cf39000 r--s 00000000 62:00 98850      
/usr/local/tomcat4/common/lib/naming-common.jar
4cf39000-4cf49000 r--s 00000000 62:00 98851      
/usr/local/tomcat4/common/lib/commons-dbcp.jar
4cf49000-4cff9000 r--s 00000000 62:00 98852      
/usr/local/tomcat4/common/lib/ant.jar
4cff9000-4cffc000 r--s 00000000 62:00 98853      
/usr/local/tomcat4/common/lib/jta.jar
4cff9000-4cffc000 r--s 00000000 62:00 98853      
/usr/local/tomcat4/common/lib/jta.jar
4cffc000-4d050000 r--s 00000000 62:00 146938     
/usr/local/tomcat4/server/lib/mx4j-jmx.jar
4d050000-4d057000 r--s 00000000 62:00 146939     
/usr/local/tomcat4/server/lib/commons-logging.jar
4d057000-4d070000 r--s 00000000 62:00 146940     
/usr/local/tomcat4/server/lib/commons-digester.jar
4d070000-4d075000 r--s 00000000 62:00 146943     
/usr/local/tomcat4/server/lib/servlets-manager.jar
4d075000-4d07d000 r--s 00000000 62:00 146944     
/usr/local/tomcat4/server/lib/commons-modeler.jar
4d07d000-4d082000 r--s 00000000 62:00 146945     
/usr/local/tomcat4/server/lib/servlets-default.jar
4d082000-4d08c000 r--s 00000000 62:00 146946     
/usr/local/tomcat4/server/lib/tomcat-http11.jar
4d08c000-4d090000 r--s 00000000 62:00 146948     
/usr/local/tomcat4/server/lib/commons-fileupload-1.0-beta-1.jar
4d090000-4d0b7000 r--s 00000000 62:00 146949     
/usr/local/tomcat4/server/lib/tomcat-util.jar
4d0b7000-4d16d000 r--s 00000000 62:00 146950     
/usr/local/tomcat4/server/lib/catalina.jar  
4d16d000-4d18a000 r--s 00000000 62:00 146951     
/usr/local/tomcat4/server/lib/commons-beanutils.jar
4d18a000-4d19a000 r--s 00000000 62:00 146952     
/usr/local/tomcat4/server/lib/tomcat-coyote.jar
4d19a000-4d1b4000 r--s 00000000 62:00 146953     
/usr/local/tomcat4/server/lib/jaas.jar
4d1b4000-4d1b6000 r--s 00000000 62:00 146955     
/usr/local/tomcat4/server/lib/servlets-common.jar
4d1b6000-4d1bc000 r--s 00000000 62:00 146956     
/usr/local/tomcat4/server/lib/servlets-webdav.jar
4d1bc000-4d1c2000 r--s 00000000 62:00 146957     
/usr/local/tomcat4/server/lib/tomcat-warp.jar
4d1c2000-4d1c6000 r--s 00000000 62:00 146958     
/usr/local/tomcat4/server/lib/catalina-ant.jar
4d1c6000-4d1da000 r--s 00000000 62:00 146959     
/usr/local/tomcat4/server/lib/tomcat-jk2.jar
4d1da000-4d1e2000 r--s 00000000 62:00 146960     
/usr/local/tomcat4/server/lib/jakarta-regexp-1.2.jar
4d1e2000-4d1f2000 r--s 00000000 62:00 146961     
/usr/local/tomcat4/server/lib/tomcat-jk.jar
4d1f2000-4d202000 r-xp 00000000 62:00 82891      
/usr/local/j2sdk1.4.2/jre/lib/i386/libnet.so
4d202000-4d203000 rw-p 0000f000 62:00 82891      
/usr/local/j2sdk1.4.2/jre/lib/i386/libnet.so 
4d207000-4d20f000 r-xp 00000000 62:00 96516      /lib/libnss_files-2.2.5.so
4d20f000-4d210000 rw-p 00007000 62:00 96516      /lib/libnss_files-2.2.5.so
4d210000-4d261000 r--s 00000000 62:00 66854      
/usr/local/tomcat4/server/webapps/admin/WEB-INF/lib/struts.jar
4d2b2000-4d303000 r--s 00000000 62:00 66854      
/usr/local/tomcat4/server/webapps/admin/WEB-INF/lib/struts.jar

Heap at VM Abort:
Heap
 def new generation   total 576K, used 523K [0x447d0000, 0x44870000, 
0x44cb0000)
  eden space 512K,  99% used [0x447d0000, 0x4484ffa8, 0x44850000)
  from space 64K,  18% used [0x44850000, 0x44852ff8, 0x44860000)
  to   space 64K,   0% used [0x44860000, 0x44860000, 0x44870000)
 tenured generation   total 4576K, used 3722K [0x44cb0000, 0x45128000, 
0x487d0000)
   the space 4576K,  81% used [0x44cb0000, 0x45052a78, 0x45052c00, 0x45128000)
 compacting perm gen  total 6400K, used 6232K [0x487d0000, 0x48e10000, 
0x4c7d0000)
   the space 6400K,  97% used [0x487d0000, 0x48de6218, 0x48de6400, 0x48e10000)

Local Time = Thu May 29 18:08:39 2003
Elapsed Time = 36
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-beta-b19 mixed mode)
#
# An error report file has been saved as hs_err_pid2909.log.
# Please refer to the file for further information.
#
========================================================

It's not a very helpful message, as you can see - something outside of the JVM 
SEGVd, which makes sense given that I get this message no matter what JDK I 
use.  I suspect an important thread is getting inadvertantly killed somewhere 
if only because I've seen SEGV messages when killing some java applications 
which are multi-threaded (in the sense that I multi-threaded it myself).  
This is actually a little further than it usually gets, too.  Typically it 
barfs right after the line near the very top that says:

Apache Tomcat/4.1.24

The interesting thing is that all of the versions of the libraries in this UML 
server (I do not know why it lists each library twice in this core-dump sort 
of listing) are the same versions as the libraries on the machine hosting the 
UML server, and tomcat runs perfectly well on that machine (also debian 
4.2.18) *outside* of the UML server.  It doesn't matter what version of 
tomcat or the JVM I use, I always get this message immediately after startup 
- I don't even get a chance to make any requests to the tomcat before it 
barfs.  It starts up, it dies.  It's always PC=0x89000000, and it never knows 
where it's happening.  

I've tried using Debian's apt-get to let it install everything it thinks it 
needs to run Tomcat, and it doesn't work.  I've tried installing the packages 
myself, and it doesn't work.  Has anyone else out there gotten Tomcat to run 
under UML?  What's the secret?

Best regards,

Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message