tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AFal...@excelsior.edu
Subject issues starting Tomcat 6.0.18 when CATALINA_BASE does not match CATALINA_HOME
Date Wed, 06 Aug 2008 13:59:06 GMT
Hi All -

I have a very basic tomcat setup that generally worked right out of the 
"box".  To make upgrades simplier, I move my webapps and conf files out of 
CATALINE_BASE and specifically set my own CATALINA_HOME env variable.  In 
the past, to upgrade tomcat, I simply changed my CATALINA_HOME variable 
and restarted.  Now, when attempting to start tomcat using 6.0.18, all I 
get is the following in my log:

Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

And thats it.  I have confirmed tomcat starts just fine when BASE matches 
HOME.   I experimented with copying catalina.sh from 6.0.16 into 6.0.18's 
bin directory, and the server then starts as expected.  However, I can't 
seem to find what in catalina.sh is causing this issue.  Can anyone help?

Thanks in advance,

Al Faller
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message