Check WEB-INF directory to see if its name is in the same way as
web.xml, because its case-sensitive.

        Regards,
        Edson

> ----------
> De:   Wade Chandler[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      sexta-feira, 3 de outubro de 2003 16:29
> Para:         'Tomcat Users List'; [EMAIL PROTECTED]
> Assunto:      RE: Tag Libraries in host other than the main server.
> 
> I thought I would give a run down of my setup.
> 
> I have my web.xml file.  I am not using long URIs.  I am using URIs of
> the form apache_taglibname in my web.xml file, but don't assume this is
> the problem.  The URIs are definitely unique in the host or context.
> The host I am running has it's files out side of the application
> directory.  They reside in a folder
> /usr/servers/tomcat/server/cltractor/ROOT.  I have my context setup
> correctly.  I can run an jsp pages I want as long as I don't need to
> have any tag libraries installed as well.  I have this web page running
> and it runs fine: www.cltractor.com.  This is the host I am trying to
> run under.  Again, thanks for any help and it is appreciated.
> 
> This is my web.xml file:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> <web-app>
> 
>     <display-name>www.cltractor.com</display-name>
>     <description>
>       New and Used Tractor Parts.
>    </description>
>       <welcome-file-list>
>               <welcome-file>index.jsp</welcome-file>
>               <welcome-file>index.html</welcome-file>
>               <welcome-file>index.htm</welcome-file>
>       </welcome-file-list>
>       <taglib>
>               <taglib-uri>apache_mailer</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-mailer.tld</taglib-location>
>       </taglib>
>       <taglib>
>               <taglib-uri>apache_request</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-request.tld</taglib-location>
>       </taglib>
>       <taglib>
>               <taglib-uri>apache_response</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-response.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_session</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-session.tld</taglib-location>
>       </taglib>
>       <taglib>
>               <taglib-uri>apache_page</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-page.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_application</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-application.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_string</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-string.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_log</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-log.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_datetime</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-datetime.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_regexp</taglib-uri>
>       
> <taglib-location>/WEB-INF/taglibs-regexp.tld</taglib-location>
>       </taglib>       
>       <taglib>
>               <taglib-uri>apache_dbtags</taglib-uri>
>               <taglib-location>/WEB-INF/dbtags.tld</taglib-location>
>       </taglib>       
>       
>       
> </web-app>
> 
> Maybe I'm missing an attribute in my Context or Host tag in my ROOT.xml
> or server.xml file?
> 
> Thanks again,
> 
> 
> Wade
> 
> -----Original Message-----
> From: Wade Chandler [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 03, 2003 3:20 PM
> To: Tomcat User List
> Subject: Tag Libraries in host other than the main server.
> 
> 
> Hello,
> 
>      I'm using the Tomcat 5.x branch.  I'm having an issue with Tag libs
> apparently.  I downloaded an installed the mailer tag libraries.  The
> examples with installed from a WAR file to the main server run fine, but
> when I take the libs and move them into another host I get this error
> message:
> org.apache.jasper.JasperException: Unable to initialize
> TldLocationsCache: null
>       at
> org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java
> :218)
>       at
> org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCac
> he.java:188)
>       at
> org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationCon
> text.java:557)
>       at
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:452)
>       at
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:514)
>       at
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1562)
>       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:
> 150)
>       at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:
> 137)
>       at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:250)
>       at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
>       at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
>       at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
> va:593)
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:300)
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:288)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:263)
> 
> There is more to the trace, but I didn't assume I would need to include
> it.  Anyways, I would like to be able to use tag libraries from my other
> hosts, and appreciate any help.
> 
> Wade Chandler
> Software Engineer
> Red-e Set Grow, LLC
> Email: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to