Error after update java 1.6.0_14: _jspx_page_context.handleP
fabriciorsf Jul 17, 2009 5:01 PMAfter that I updated the my java version 1.6.0_13 to version 1.6.0_14 using apt-get at ubuntu, my web application stated displaying the follow error at the browser:
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: /opt/programs/servers/jboss-3.2.8.SP1/server/default/work/jboss.web/localhost/xxx/org/apache/jsp/principal_jsp.java:142: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable) if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); ^ 1 error org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437) org.apache.jasper.compiler.Compiler.compile(Compiler.java:497) org.apache.jasper.compiler.Compiler.compile(Compiler.java:476) org.apache.jasper.compiler.Compiler.compile(Compiler.java:464) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs. Apache Tomcat/5.0.30
Observations:
1) Jboss 3.2.8
2) I need to compile to jre1.4.
So, to compile to jre1.4, using the compiler java 1.6, I configured at the build.xml so:
<target name="compile" depends="init,parser"> <javac source="1.4" srcdir="${src.dir}" destdir="${classes.dir}" debug="on" optimize="off" deprecation="off" encoding="ISO-8859-1"> <classpath refid="class.path" /> </javac> </target>
Before the update this error didn't occur!
And I do nothing change at application!
Any informations about this error?
now, thanks!