tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Gustavo Veiga" <pa...@fuegolabs.com>
Subject Invalid flag error when the tomcat installation path contains blank spaces.
Date Tue, 30 Sep 2003 18:48:08 GMT
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. L

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





Mime
View raw message