You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/09/30 21:15:40 UTC

DO NOT REPLY [Bug 23529] New: - Tomcat doen't support installation paths that contains blank spaces.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23529

Tomcat doen't support installation paths that contains blank spaces.

           Summary: Tomcat doen't support installation paths that contains
                    blank spaces.
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: paulo@fuegolabs.com


Hi, I’ m using the tomcat 4.24 and I detect a problem if install it  in a path 
that contains blank spaces. I always receive the error detailed bellow when I 
try to compiles a JSP.

I see in the Mailing Lists some workaround like install Tomcat in a directory 
that not contains blank spaces, etc.

However, my situation is little different. I have an application that uses 
Tomcat’s API to start a Web Application inside the same Virtual Machine. In 
this case, none of the suggested workarounds could be applied.

I read in the Tomcat Mailing Lists that previous version as 4.18 supports 
blank spaces in the path. 
Some person opens the bug (http://issues.apache.org/bugzilla/show_bug.cgi?
id=21252) that is similar. However, it was closed like invalid. 

In windows, locations like (<drive>:\Program Files and <drive>:\Documents and 
Settings) are very common.  I could not prohibit the user install my 
application in paths that contains spaces.

I really appreciate some solution or a workaround that help me to continue 
working.

Thanks in advance for your help.

------------------------------------------------------
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] javac: invalid flag: C:\Program
    [javac] Usage: javac  
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the 
compiler 
is doing
    [javac]   -deprecation              Output source locations where 
deprecated APIs are used
    [javac]   -classpath          Specify where to find user class files
    [javac]   -sourcepath         Specify where to find input source files
    [javac]   -bootclasspath      Override location of bootstrap class files
    [javac]   -extdirs            Override location of installed extensions
    [javac]   -d             Specify where to place generated class files
    [javac]   -encoding       Specify character encoding used by source files
    [javac]   -source          Provide source compatibility with specified 
release
    [javac]   -target          Generate class files for specific VM version
    [javac]   -help                     Print a synopsis of standard options