https://issues.apache.org/bugzilla/show_bug.cgi?id=55620

            Bug ID: 55620
           Summary: When using startup.bat if apache-tomcat-7.0.xx is in
                    directory with "," (comma) or ";" (semi-colon) Tomcat
                    fails to start
           Product: Tomcat 7
           Version: 7.0.42
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: business2008+issues.apache....@rodneybeede.com

When using startup.bat if apache-tomcat-7.0.xx is in directory with "," (comma)
or ";" (semi-colon) Tomcat fails to start correctly

Example:

C:\Users\username\Desktop\Some Parent\Another parent with, a
comma\apache-tomcat-7.0.42\

cd "C:\Users\username\Desktop\Some Parent\Another parent with, a
comma\apache-tomcat-7.0.42"

cd bin

set java_home=c:\Program Files\java\jre7

startup.bat


You get the catalina log attached at the end.

If there is a semi-colon then you get no log at all.


Most likely the Windows batch scripts for startup need to better handle
escaping directory paths.  The error isn't clear as to the cause.  A
work-around is to move the apache-tomcat-7.0.xx to a full pathname with NO
commas or semi-colons.



catalina log:

Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with], exists: [false], isDirectory: [false], canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with, a comma\apache-tomcat-7.0.42\bin\a
comma\apache-tomcat-7.0.42\lib], exists: [false], isDirectory: [false],
canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with], exists: [false], isDirectory: [false], canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with, a comma\apache-tomcat-7.0.42\bin\a
comma\apache-tomcat-7.0.42\lib], exists: [false], isDirectory: [false],
canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with], exists: [false], isDirectory: [false], canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with, a comma\apache-tomcat-7.0.42\bin\a
comma\apache-tomcat-7.0.42\lib], exists: [false], isDirectory: [false],
canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with], exists: [false], isDirectory: [false], canRead: [false]
Oct 02, 2013 11:34:31 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [C:\Users\username\Desktop\Some Parent\Another
parent with, a comma\apache-tomcat-7.0.42\bin\a
comma\apache-tomcat-7.0.42\lib], exists: [false], isDirectory: [false],
canRead: [false]

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to