tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43578] New: - Tomcat fails to start on linux if CATALINA_HOME contains a space
Date Tue, 09 Oct 2007 14:35:48 GMT
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

           Summary: Tomcat fails to start on linux if CATALINA_HOME contains
                    a space
           Product: Tomcat 6
           Version: 6.0.14
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: basil@existanze.com


I've managed to reproduce this on Fedora core 6 and Ubuntu Feisty using the
binary distribution tarballs of tomcat 6.0.14 and 5.5.25.

export JAVA_HOME=<path to java>
tar xzf <path to tarball>/apache-tomcat-*.tar.gz
mv apache-tomcat* "my tomcat directory"
bash "my tomcat directory/bin/catalina.sh" run

result:
Using CATALINA_BASE:   /home/basil/test/my tomcat directory
Using CATALINA_HOME:   /home/basil/test/my tomcat directory
Using CATALINA_TMPDIR: /home/basil/test/my tomcat directory/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun
Exception in thread "main" java.lang.NoClassDefFoundError: tomcat

if "my tomcat directory" is replaced with, for example, "mytomcatdirectory",
tomcat starts with no error. This error will also occur if a parent directory
contains a space and CATALINA_HOME itself doesn't.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message