Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 80269 invoked from network); 1 Mar 2001 19:29:33 -0000 Received: from msp-65-25-234-159.mn.rr.com (HELO localhost.localdomain) (65.25.234.159) by h31.sny.collab.net with SMTP; 1 Mar 2001 19:29:33 -0000 Received: from betaversion.org (dnai-216-15-97-206.cust.dnai.com [216.15.97.206]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id NAA15219 for ; Thu, 1 Mar 2001 13:26:01 -0600 Received: from nagoya-a.betaversion.org (nagoya-a.javasoft.com [204.160.241.225]) by betaversion.org (8.9.3+Sun/8.9.3) with ESMTP id LAA27434 for ; Thu, 1 Mar 2001 11:32:58 -0800 (PST) Received: (from nobody@localhost) by nagoya-a.betaversion.org (8.9.3+Sun/8.9.3) id LAA14229; Thu, 1 Mar 2001 11:27:33 -0800 (PST) Date: Thu, 1 Mar 2001 11:27:33 -0800 (PST) Message-Id: <200103011927.LAA14229@nagoya-a.betaversion.org> From: bugzilla@apache.org To: tomcat-bugs@cortexity.com Cc: Subject: [Bug 109] New - Not able to run demo JSP pages BugRat Report#115 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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: tomcat-dev@jakarta.apache.org | + | Reported By: tomcat-bugs@cortexity.com | + | 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 + + where 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 Specify where to find user class files + -sourcepath Specify where to find input source files + -bootclasspath Override location of bootstrap class files + -extdirs Override location of installed extensions + -d Specify where to place generated class files + -encoding Specify character encoding used by source files + -target Generate class files for specific VM version + + + So "javac" does support "-encoding". + + Not sure why this is happenning - + + ANy help appreciated. + + ------- Additional Comments From marc.saegesser@apropos.com 2001-03-01 11:27 ------- + Looks like Jasper was seeing an old JDK.