tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29333] New: - Unable to read TLD
Date Tue, 01 Jun 2004 21:30:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29333>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29333

Unable to read TLD

           Summary: Unable to read TLD
           Product: Tomcat 5
           Version: 5.0.24
          Platform: PC
               URL: http://localhost:8180/jsfbook/newsservice/subscribe.face
                    s
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: spartz@us.ibm.com


Getting "summary" msg when accessing page. I've installed tomcat 5.024, 
downloaded JSF examples from http://www.hansbergsten.com/downloadjsf.jsp. When 
I click the link to the Chapter 2 example, the following error is logged. The 
indicated jar exists and it contains the TLD file:

dspartz@vmware_guest lib $ pwd
/usr/local/jakarta-tomcat5.0/webapps/jsfbook/WEB-INF/lib
dspartz@vmware_guest lib $ ls
commons-beanutils.jar    custom_jsf_lib_1_0_1.jar sample_app_1_0_1.jar
commons-collections.jar  jsf-api.jar              standard.jar
commons-digester.jar     jsf-impl.jar             struts.jar
commons-logging.jar      jstl.jar

and the jar does indicate the TLD

dspartz@vmware_guest lib $ jar tvf jsf-impl.jar
     0 Tue Mar 02 00:17:32 PST 2004 META-INF/
   319 Tue Mar 02 00:17:32 PST 2004 META-INF/MANIFEST.MF
     0 Tue Mar 02 00:17:04 PST 2004 com/
     0 Tue Mar 02 00:17:04 PST 2004 com/sun/
     0 Tue Mar 02 00:17:32 PST 2004 com/sun/faces/
     0 Tue Mar 02 00:17:08 PST 2004 com/sun/faces/application/
     0 Tue Mar 02 00:17:26 PST 2004 com/sun/faces/config/
     0 Tue Mar 02 00:17:26 PST 2004 com/sun/faces/config/beans/
     0 Tue Mar 02 00:17:28 PST 2004 com/sun/faces/config/rules/
     0 Tue Mar 02 00:17:28 PST 2004 com/sun/faces/util/
     0 Tue Mar 02 00:17:16 PST 2004 com/sun/faces/el/
     0 Tue Mar 02 00:17:28 PST 2004 com/sun/faces/el/impl/
     0 Tue Mar 02 00:17:16 PST 2004 com/sun/faces/el/impl/parser/
     0 Tue Mar 02 00:17:18 PST 2004 com/sun/faces/context/
     0 Tue Mar 02 00:17:18 PST 2004 com/sun/faces/lifecycle/
...
     0 Tue Mar 02 00:17:28 PST 2004 javax/
     0 Tue Mar 02 00:17:28 PST 2004 javax/faces/
239573 Tue Mar 02 00:17:32 PST 2004 META-INF/html_basic.tld
 24137 Tue Mar 02 00:17:32 PST 2004 META-INF/jsf_core.tld
  2350 Tue Mar 02 00:17:04 PST 2004 
com/sun/faces/application/ApplicationFactoryImpl.class
  3578 Tue Mar 02 00:17:06 PST 2004 
com/sun/faces/application/ActionListenerImpl.class

...

Tomcat log:

2004-06-01 10:10:58 StandardWrapperValve[FacesServlet]: Servlet.service() for se
rvlet FacesServlet threw exception
org.apache.jasper.JasperException: Unable to read TLD "META-INF/html_basic.tld"
from JAR file "file:/usr/local/jakarta-tomcat5.0/webapps/jsfbook/WEB-INF/lib/jsf
-impl.jar": java.lang.IllegalStateException: zip file closed
        at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
andler.java:50)
        at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
ava:359)
        at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
ava:174)
        at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoIm
pl.java:181)
        at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:41
8)
        at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
        at org.apache.jasper.compiler.ParserController.doParse(ParserController.
java:220)
        at org.apache.jasper.compiler.ParserController.parse(ParserController.ja
va:101)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:507)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:274)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:703)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:312)
        at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImp
l.java:322)
        at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.
java:142)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
se.java:87)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:462)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:793)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:702)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
        at java.lang.Thread.run(Thread.java:484)

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


Mime
View raw message