Hi,
 
I've just installed tomcat 3.2.1 with apache 1.3.12, windows 98.
I checked my installation with the examples supplied with tomcat.
Concerning servlets, it works but when I try with a .jsp I always get the following message in the browser:

Error: 500

Location: /test/realPath.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:254)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)
And in the DOS window of tomcat I get:
2001-04-10 06:07:00 - Ctx( /test ): JasperException: R( /test + /realPath.jsp +
null) Unable to compile class for JSPjsp->javac: invalid flag: -encoding
use: jsp->javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path][-n
owrite][-d dir] file.java...
I can't understand this message because -encoding is a correct option of javac
Could someone help me
 
Many thanks,
 
Pascal

Reply via email to