Walter Brameld wrote:

> I'm running Tomcat on a Redhat 7.0 box.  I downloaded the Jetspeed 1.3a1
> binaries and put the jetspeed.war file in the webapps directory.  When I
> try to start Tomcat, it seg faults.  Tomcat was working fine before I
> installed Jetspeed, and it works fine again if I remove the
> jetspeed.war and the jetspeed subdirectory.  Here is the output from the
> startup:
> 
> [root@jacob bin]# ./tomcat.sh run
> Using 
> classpath: 
>/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jdk/lib/tools.jar
> 2001-05-24 01:38:41 - ContextManager: Adding context Ctx( /examples )
> 2001-05-24 01:38:41 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages 
> 2001-05-24 01:38:41 - ContextManager: Adding context Ctx(  )
> 2001-05-24 01:38:41 - ContextManager: Adding context Ctx( /test )
> 2001-05-24 01:38:41 - ContextManager: Adding context Ctx( /jetspeed )
> initializing all services using org.apache.tomcat.facade.ServletConfigImpl
> initializing service: ResourcesService
> ./tomcat.sh: line 178:  9252 Segmentation fault      $JAVACMD $TOMCAT_OPTS
> -Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat "$@"
> 
> There is nothing in the Tomcat logs to indicate any kind of error.  Any
> idea why it's crashing?
> 


We could, if you reported the jdk version you are using. A SEG_FAULT 
indicates a bug in the java virtual machine. The Hotspot machines have 
shown several of those. In multiprocessor machines, there is a 
workaround for some of these. Another possibility is to upgrade to a 
final release. 1.3.0_02 seems to work fine.

Other reason for having SEG_FAULTS is when the JVM gets out of memory, 
since not all of the native code mallocs,... are checked. So, you can 
also try to increase process memory limits for the JVM.

The fact that it happens only with "big" wars, like jetspeed, has little 
to no relation with the problem, only that you are stressing more the 
JVM, both memory and threading. Jetspeed is pure java, so any 
segmentation fault is a jdk/jre problem.


> Walter Brameld
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to