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/07 21:33:34 UTC

DO NOT REPLY [Bug 25273] New: - Exception processing TLD at resource path - say where it is really looking for this file

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

Exception processing TLD at resource path - say where it is really looking for this file

           Summary: Exception processing TLD at resource path - say where it
                    is really looking for this file
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


2003-12-07 19:07:08 ContextConfig[/myApp] Exception processing TLD at resource
path /WEB-INF/lib/struts-html.tld
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-I
NF/lib/struts-html.tld
        at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.ja
va:1010)
        at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:
870)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64
7)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3

in my web.xml, I have:
<!-- Struts Tag Library Descriptors -->
  <taglib>
    <taglib-uri>/WEB-INF/lib/struts-html.tld</taglib-uri>
    <taglib-location>lib/struts-html.tld</taglib-location>
  </taglib>

I get the same error message, if I have 
    <taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>

If I have 
    <taglib-location>WEB-INF/lib/struts-html.tld</taglib-location>
it appears to look in /WEB-INF/WEB-INF/lib/struts-html.tld

But most likely, even that is in reality rather something like 
$CATALINA_HOME/work/SERVICENAME/HOSTNAME/myApp/WEB-INF/lib/struts-html.tld

or is it
$CATALINA_HOME/myAppbase/SERVICENAME/HOSTNAME/myApp/WEB-INF/lib/struts-html.tld

Background info:
- myAppbase!="webapps"  <!-- as long as I deployed out of webapps, it worked -->
- unpackWar="false"

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