tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egger Lothar <Lothar.Eg...@Cardsys.at>
Subject need HELP can't deploy taglibs to jakarta/tomcat ... NoSuchMethod Error TagLibraryInfoImpl
Date Tue, 13 Mar 2001 07:15:25 GMT
hello everybody

sorry 
i'm posting this to develop because i got no anwers in the user group.

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 ? 
so i extracted them from the .jar files and renamed them ietags.tld and
dbtags.tld

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/dbtags.tld</taglib-location> 
</taglib> 
<taglib> 
     <taglib-uri>/WEB-INF/lib/ietags.jar</taglib-uri> 
     <taglib-location>/WEB-INF/ietags.tld</taglib-location>   
</taglib>   
<taglib> 
     <taglib-uri>/WEB-INF/lib/regexp.jar</taglib-uri> 
     <taglib-location>/WEB-INF/regexp.tld</taglib-location>   
</taglib> 

################ 
taglibs: 
regexp 
ietags from sun's forte ie2 
dbtags from sun's forte ie2



################# 
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.serviceJspServlet.java:399) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) 
at org.apache.tomcat.core.ServletWrapper.doServiceServletWrapper.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.runItPoolTcpEndpoint.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.
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) 

  

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


Mime
View raw message