A 500 error is presented in JBoss AS, when I access to my application, this error is : org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: java.util.zip.ZipException: invalid entry size (expected 2173829128 but got 830 bytes) org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:106) org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83) org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:530) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426) org.apache.jasper.compiler.Parser.parse(Parser.java:133) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216) org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167) org.apache.jasper.compiler.Compiler.compile(Compiler.java:306) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) This error is because I have defined jasper compiler as false, "jboss/server/default/deploy/jboss-web.deployer/conf/web.xml"
The JSP should be precompiled, i don't undestand very well but this is the solution or change the value to true, but in production environments, this should be false
"Unable to initialize TldLocationsCache"
Todavía no hay comentarios. -