tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #115 has been filed.
Date Thu, 14 Sep 2000 09:20:00 GMT
Bug report #115 has just been filed.

You can view the report at the following URL:


REPORT #115 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
   Release: Tomcat 3.1
   JVM Release: 1.2.2
   Operating System: Linux
   OS Release: Caldera 2.4
   Platform: Linux

Not able to run demo JSP pages


I get the following error:

Error: 500

Location: /examples/jsp/sessions/carts.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPjsp->javac: invalid flag:
use: jsp->javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-nowrite][-d

        at org.apache.jasper.compiler.Compiler.compile(, Compiled Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(, Compiled Code)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(,
Compiled Code)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(,
Compiled Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(, Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(, Compiled Code)
        at javax.servlet.http.HttpServlet.service(, Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(, Compiled
        at org.apache.tomcat.core.ContextManager.service(, Compiled Code)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(,
Compiled Code)
        at, Compiled
        at, Compiled Code)

javac --help  output is:

/usr/local/jakarta-tomcat/doc:javac --help
--help is an invalid option or argument.
Usage: javac <options> <source files>

where <options> includes:
  -g                     Generate all debugging info
  -g:none                Generate no debugging info
  -g:{lines,vars,source} Generate only some debugging info
  -O                     Optimize; may hinder debugging or enlarge class files
  -nowarn                Generate no warnings
  -verbose               Output messages about what the compiler is doing
  -deprecation           Output source locations where deprecated APIs are used
  -classpath <path>      Specify where to find user class files
  -sourcepath <path>     Specify where to find input source files
  -bootclasspath <path>  Override location of bootstrap class files
  -extdirs <dirs>        Override location of installed extensions
  -d <directory>         Specify where to place generated class files
  -encoding <encoding>   Specify character encoding used by source files
  -target <release>      Generate class files for specific VM version

So "javac" does support "-encoding".

Not sure why this is happenning -

ANy help appreciated.

View raw message