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 2002/02/20 23:21:37 UTC

DO NOT REPLY [Bug 6598] New: - The Implicate mapping of TLDs in packaged libraries no longer works

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=6598>.
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=6598

The Implicate mapping of TLDs in packaged libraries no longer works

           Summary: The Implicate mapping of TLDs in packaged libraries no
                    longer works
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: robert@orangefood.com


In a packages library (jar file) a .tld file in included in the META-INF 
directory.  The contents of this file are to be used to create implicate 
<taglib> elements.  This does not appear to be happening.  Version 4.0.1 
functioned correctly.

Details from error page:
Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) 
that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: File "/util" not found
	at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:214)
	at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:174)
	at 
org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective
(JspParseEventListener.java:1162)
	at org.apache.jasper.compiler.JspParseEventListener.handleDirective
(JspParseEventListener.java:758)
	at org.apache.jasper.compiler.DelegatingListener.handleDirective
(DelegatingListener.java:121)
	at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
	at org.apache.jasper.compiler.ParserController.parse
(ParserController.java:213)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
	at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary
(JspServlet.java:177)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
(JspServlet.java:189)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:382)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2343)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:468)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1012)
	at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1107)
	at java.lang.Thread.run(Thread.java:484)


--------------------------------------------------------------------------------
Contents of the TLD file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC
        "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
        "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

<!-- a tag library descriptor -->

<taglib>
        <!-- after this the default space is
        "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd"
        -->

        <tlibversion>1.0</tlibversion>
        <jspversion>1.1</jspversion>
        <shortname>util</shortname>
        <uri>/util</uri>
        <info>
                A utility tag library for orangefood.com
        </info>

        <tag>
                <name>get</name>
                <tagclass>com.orangefood.java.servlet.jsp.tagext.Get</tagclass>
                <info>Gets text, attribute, properties or parameters and 
renders them.</info>
                <attribute>
                        <name>value</name>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
                <attribute>
                        <name>parameter</name>
                </attribute>
                <attribute>
                        <name>attribute</name>
                </attribute>
                <attribute>
                        <name>cookie</name>
                </attribute>
                <attribute>
                        <name>escape</name>
                </attribute>
        </tag>

        <tag>
                <name>if</name>
                <tagclass>com.orangefood.java.servlet.jsp.tagext.If</tagclass>
                <info>Compares to values and renders body based on a specified 
operation.</info>
                <attribute>
                        <name>lvalue</name>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
                <attribute>
                        <name>lattribute</name>
                </attribute>
                <attribute>
                        <name>lparameter</name>
                </attribute>

                <attribute>
                        <name>rvalue</name>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
                <attribute>
                        <name>rattribute</name>
                </attribute>
                <attribute>
                        <name>rparameter</name>
                </attribute>

                <attribute>
                        <name>operator</name>
                </attribute>
        </tag>

        <tag>
                <name>forEach</name>
                
<tagclass>com.orangefood.java.servlet.jsp.tagext.ForEach</tagclass>
                <info>Accepts an indexed property and loops and renders for 
each value</info>
                <attribute>
                        <name>value</name>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
                <attribute>
                        <name>parameter</name>
                </attribute>
                <attribute>
                        <name>attribute</name>
                </attribute>
                <attribute>
                        <name>begin</name>
                </attribute>
                <attribute>
                  <name>size</name>
                </attribute>
        </tag>

        <tag>
                <name>switch</name>
                
<tagclass>com.orangefood.java.servlet.jsp.tagext.Switch</tagclass>
                <info>Compares the provied string against the id of various 
case tags.</info>
                <attribute>
                        <name>value</name>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
                <attribute>
                        <name>parameter</name>
                </attribute>
                <attribute>
                        <name>attribute</name>
                </attribute>
                <attribute>
                        <name>cookie</name>
                </attribute>
        </tag>

        <tag>
                <name>case</name>
                <tagclass>com.orangefood.java.servlet.jsp.tagext.Case</tagclass>
                <info>Within the body of a switch tag, case tags hold 
content</info>
                <attribute>
                        <name>id</name>
                        <required>true</required>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
        </tag>

        <tag>
          <name>now</name>
          <tagclass>com.orangefood.java.servlet.jsp.tagext.Now</tagclass>
          <info>Returns the current date/time</info>
          <attribute>
            <name>format</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
        </tag>

        <tag>
          <name>time</name>
          <tagclass>com.orangefood.java.servlet.jsp.tagext.Time</tagclass>
          <info>Returns a formated date/time</info>
          <attribute>
            <name>format</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>time</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
        </tag>

        <tag>
          <name>lastUpdated</name>
          
<tagclass>com.orangefood.java.servlet.jsp.tagext.LastUpdated</tagclass>
          <info>Returns the last modified date for the current page</info>
          <attribute>
            <name>format</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
        </tag>

        <tag>
          <name>request</name>
          <tagclass>com.orangefood.java.servlet.jsp.tagext.Request</tagclass>
          <info>Places the ServletRequest object in the pageContext attribute 
space</info>
        </tag>

        <tag>
          <name>url</name>
          <tagclass>com.orangefood.java.servlet.jsp.tagext.URLTag</tagclass>
          <info>Places the ServletRequest object in the pageContext attribute 
space</info>
          <attribute>
            <name>url</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>protocol</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>host</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>port</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>file</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>ref</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>queryString</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
        </tag>
        <tag>
          <name>setCookie</name>
          <tagclass></tagclass>
          <info>Places a cookie on the client with the specified 
attributes</info>
          <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>value</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>comment</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>domain</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>maxAge</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>path</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>secure</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
            <name>version</name>
            <rtexprvalue>true</rtexprvalue>
          </attribute>
        </tag>
</taglib>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>