DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43578>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43578 ------- Additional Comments From [EMAIL PROTECTED] 2007-11-29 04:53 ------- I encountered a similar problem this morning, with CATALINA_BASE containing a space. Here's what I have found: 1. The problem seems to be in the setting of JAVA_OPTS in the following: # Set juli LogManager if it is present if [ -r "$CATALINA_HOME"/bin/tomcat-juli.jar ]; then JAVA_OPTS="$JAVA_OPTS "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "- Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties" fi If CATALINA_BASE has spaces, the shell splits JAVA_OPTS on the spaces when running the Java command line, causing the NCDFE. 2. I confirmed this by removing tomcat-juli.jar from bin, and tomcat started fine. This changed logging, so it wasn't a proper fix. 3. I was able to get things running, including logging, by making the following changes to catalina.sh # Set juli LogManager if it is present if [ -r "$CATALINA_HOME"/bin/tomcat-juli.jar ]; 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" fi and then adding "$LOGGING_CONFIG" (note the quotes) to all places where JAVA_OPTS is passed to the java command line. For example: exec "$_RUNJDB" $JAVA_OPTS "$LOGGING_CONFIG" $CATALINA_OPTS \ I'm not sure if this is the best way to fix this, but it works by keeping the spaces inside CATALINA_BASE within quotes when passing the arguments to the java command line. 4. The problem exists in the latest 5.5 (5.5.25) and 6.0 (6.0.14), but not in 5.0.x. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]