Mark Thomas schrieb:
[EMAIL PROTECTED] wrote:
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?
Maybe this change:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.sh?r1=600664&r2=652629&diff_format=h
Rainer found this during his testing of 6.0.17 and it wasn't fixed
before 6.0.18 was tagged.
It is worth adding this to Bugzilla so it doesn't get lost.
I just tested 6.0.18 with separate BASE and HOME using defaults (moving
conf, temp, work, webapps to BASE and setting the CATALINA_BASE env var
befoe starting). That works.
If the erro is only
Exception in thread "main" java.lang.NoClassDefFoundError:
without any more information, I would say it's the same problem Mark
mentions. You don't have a conf/logging.properties in CATALINA_BASE,
therefore LOGGING_CONFIG is empty and prduces an empty argument to the
Java command, which gives this error message.
You can either provide logging.properties, or if you don't want to use
JULI logging, you can use the following patch to catalina.sh, which is
not brilliant, but a workaround:
--- catalina.sh.orig 2008-07-22 02:01:12.000000000 +0200
+++ catalina.sh 2008-08-06 17:08:16.394941000 +0200
@@ -183,6 +183,8 @@
if [ -r "$CATALINA_BASE"/conf/logging.properties ]; then
JAVA_OPTS="$JAVA_OPTS
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
+else
+ LOGGING_CONFIG="-Dnop"
fi
c
# ----- Execute The Requested Command
-----------------------------------------
It adds the lines
else
LOGGING_CONFIG="-Dnop"
after line 185.
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]