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

*** shadow/109  Thu Mar  1 11:27:33 2001
--- shadow/109.tmp.14226        Thu Mar  1 11:27:33 2001
***************
*** 0 ****
--- 1,73 ----
+ +============================================================================+
+ | Not able to run demo JSP pages BugRat Report#115                           |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 109                         Product: Tomcat 3                |
+ |       Status: RESOLVED                    Version: 3.2.1 Final             |
+ |   Resolution: INVALID                    Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Jasper                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                |
+ |  Reported By: [EMAIL PROTECTED]                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ 
+ 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: -encoding
+ use: jsp->javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath 
+path][-nowrite][-d dir] file.java...
+ 
+         at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
+         at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java, Compiled 
+Code)
+         at 
+org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java,
+ Compiled Code)
+         at 
+org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java, 
+Compiled Code)
+         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, 
+Compiled Code)
+         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled 
+Code)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
+         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, 
+Compiled Code)
+         at org.apache.tomcat.core.ContextManager.service(ContextManager.java, 
+Compiled Code)
+         at 
+org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
+ Compiled Code)
+         at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, 
+Compiled Code)
+         at java.lang.Thread.run(Thread.java, 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.
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-03-01 11:27 -------
+ Looks like Jasper was seeing an old JDK.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to