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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to