tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Calbazana" <acalbaz...@rcn.com>
Subject Segmentation Fault when modifying classpath?!
Date Sat, 01 Sep 2001 19:56:04 GMT
Ok...

All this surrounds modifying tomcat.sh per install instructions found in
apache-soap.

Per Apache-Soap's "Getting Tomcat Ready", I have changed my classpath to put
xerces.jar at the beginning of my classpath as follows:
....
unset CLASSPATH

CLASSPATH=/usr/local/java/lib/xerces.jar

for i in ${TOMCAT_HOME}/lib/* ; do
  if [ "$CLASSPATH" != "" ]; then
    CLASSPATH=${CLASSPATH}:$i
  else
    CLASSPATH=$i
  fi
done
...

When starting tomcat I get the following:

Using classpath:
/usr/local/java/lib/xerces.jar:
/opt/jakarta-tomcat-3.2.3/lib/activation.jar:
/opt/jakarta-tomcat-3.2.3/lib/ant.jar:
/opt/jakarta-tomcat-3.2.3/lib/jasper.jar:
/opt/jakarta-tomcat-3.2.3/lib/LICENSE:
/opt/jakarta-tomcat-3.2.3/lib/mail.jar:
/opt/jakarta-tomcat-3.2.3/lib/servlet.jar:
/opt/jakarta-tomcat-3.2.3/lib/soap.jar:
/opt/jakarta-tomcat-3.2.3/lib/test:
/opt/jakarta-tomcat-3.2.3/lib/webserver.jar:
/opt/jakarta-tomcat-3.2.3/lib/xerces.jar:
/usr/local/java/jdk1.3.1/lib/tools.jar

/opt/jakarta-tomcat-3.2.3/bin/tomcat.sh: line 181: 12681 Segmentation fault
$JAVACMD $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat "$@"

I can not figure out for the life of me why this is happening.  I've also
tried setting the classpath from the shell with the exact same results.  Any
hints appreciated.

Thanks,

Al Calbazana


Mime
View raw message