tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maya Muchnik <mmuch...@pumatech.com>
Subject Re: can't deploy taglibs to jakarta/tomcat
Date Thu, 08 Mar 2001 16:14:07 GMT
Check names of *tld file under <taglib-location>. For example,
<taglib-location>/WEB-INF/lib/ietags.jar</taglib-location>
maybe it must be ietags.tld?

Egger Lothar wrote:

> hello everybody
>
> i can't deploy my jsp/taglibs to jakarta/tomcat, but it works fine in sun's
> forte ie2.
> all other things servlet/jsp or cocoon xml to wml.... works fine
>
> some general questions.
> can i use the taglibs from sun's forte in jakarta/tomcat?
> there are no .tld files for the ietags and dbtags ?
>
> what is wrong in my config ?
>
> thx in advance
> lothar
>
> ################
> web.xml:
>
> <taglib>
>      <taglib-uri>/WEB-INF/lib/dbtags.jar</taglib-uri>
>      <taglib-location>/WEB-INF/lib/dbtags.jar</taglib-location>
> </taglib>
> <taglib>
>      <taglib-uri>/WEB-INF/lib/ietags.jar</taglib-uri>
>      <taglib-location>/WEB-INF/lib/ietags.jar</taglib-location>
> </taglib>
> <taglib>
>      <taglib-uri>/WEB-INF/lib/regexp.jar</taglib-uri>
>      <taglib-location>/WEB-INF/lib/regexp.tld</taglib-location>
> </taglib>
>
> ################
> taglibs:
> regexp
> ietags from sun's forte
> dbtags from sun's forte
>
> #################
> my install:
> linux 2.2.16
>
> apache 1.3.14
> tomcat 3.2.1
> cocoon 1.8.2
> jdk 1.3 sun
> ################
> java error:
>  javax.servlet.ServletException
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>         at org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at
> org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
> (Ajp13ConnectionHandler.java:160)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:484)
> Root cause:
> java.lang.NoSuchMethodError
>         at
> org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfo
> Impl.java:524)
>         at
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm
> pl.java:432)
>         at
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
> va:385)
>         at
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java
> :311)
>         at
> org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
> ntListener.java:706)
>         at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
> ener.java:116)
>         at
> org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
>         at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
>         at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
>         at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:152)
>         at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:164)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>         at org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at
> org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
> (Ajp13ConnectionHandler.java:160)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:484)


Mime
View raw message