[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Error in reloading jsp with taglib directive

Grexe do-not-reply at jboss.com
Wed Sep 5 05:25:39 EDT 2007


Glad I am not alone with this... I get the same error here, with the following taglibs (as you can see this is a Struts-webapp):
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
  | <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
I am on Java 1.4.2 and JBoss 4.0.4.GA_p1 (also tried 4.0.4.GA and 4.0.3SP1):
org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: Unexpected end of ZLIB input stream
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:105)
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
  | 	org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
  | 	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
  | 	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
  | 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
  | 	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  | ...
Root cause:
org.apache.jasper.JasperException: Unexpected end of ZLIB input stream
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:338)
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:263)
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:256)
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
  | 	org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
  | 	org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
  | 	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
  | 	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
  | 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
  | 	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  | ...
This has to be a configuration/installation-issue as my colleague could not reproduce this error yet on his (similar) setup. I will post any helpful input here, in the meantime I am grateful for any inspiration...

PS: The files are perfectly readable and I doublechecked the jsf-jars in \jbossweb-tomcat55.sar\jsf-libs

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081215#4081215

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081215



More information about the jboss-user mailing list