You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/19 21:48:00 UTC

DO NOT REPLY [Bug 25665] New: - JSP example raises JasperException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25665

JSP example raises JasperException

           Summary: JSP example raises JasperException
           Product: Tomcat 5
           Version: 5.0.16
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: lorenrosen@email.com


This is on MacOS X 10.1.5, JDK 1.3.1. 

To reproduce, start tomcat, and go to the JSP Samples page off of the default
tomcat home page. click on the JSP configuration example
(http://localhost:8080/jsp-examples/jsp2/misc/config.jsp).

This gives an error page:

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 initialize TldLocationsCache: zip
file closed
	at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:210)
	at
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:181)
	at
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:516)
	at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:457)
	at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:171)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

note The full stack trace of the root cause is available in the Tomcat logs.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org