tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Invalid flag error when the tomcat installation path contains blank spaces.
Date Tue, 30 Sep 2003 19:41:10 GMT

The bug you quote was marked as invalid because it's fixed already.  The
stable release following yours is 4.1.27 and contains the fix.  Use it
instead of 4.1.24.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Paulo Gustavo Veiga []
>Sent: Tuesday, September 30, 2003 2:48 PM
>Subject: Invalid flag error when the tomcat installation path contains
>blank spaces.
>Hi, I' m using the tomcat 4.24 and I detect a problem if install it  in
>path that contains blank spaces. I always receive the error detailed
>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
>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
>blank spaces in the path.
>Some person opens the bug
>( that is
>However, it was closed like invalid. L
>In windows, locations like (<drive>:\Program Files and
>and Settings) are very common.  I could not prohibit the user install
>application in paths that contains spaces.
>I really appreciate some solution or a workaround that help me to
>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
>    [javac]   -nowarn                   Generate no warnings
>    [javac]   -verbose                  Output messages about what the
>is doing
>    [javac]   -deprecation              Output source locations where
>deprecated APIs are used
>    [javac]   -classpath          Specify where to find user class
>    [javac]   -sourcepath         Specify where to find input source
>    [javac]   -bootclasspath      Override location of bootstrap class
>    [javac]   -extdirs            Override location of installed
>    [javac]   -d             Specify where to place generated class
>    [javac]   -encoding       Specify character encoding used by source
>    [javac]   -source          Provide source compatibility with
>    [javac]   -target          Generate class files for specific VM
>    [javac]   -help                     Print a synopsis of standard
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

View raw message