0 Replies Latest reply on Nov 27, 2003 9:27 AM by Giovanni Formenti

    TLD in JBoss4DR2

    Giovanni Formenti Newbie

      Hallo!

      I put a war that i used in tomcat under the deploy directory of tomcat and i
      get an error:
      "Exception initializing TldLocationsCache: Illegal class loader binding"
      (I use the taglib of WebWork1.3)

      And then:

      12:01:20,484 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for
      servlet jsp threw exception
      javax.servlet.ServletException
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
      FilterChain.java:247)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
      ain.java:193)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
      va:256)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:643)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
      va:191)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:643)
      at
      org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMg
      rRealm.java:236)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
      46)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.jboss.web.catalina.statistics.ContainerStatsValve.invoke(ContainerStatsV
      alve.java:75)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at
      org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
      )
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:643)
      at
      org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
      java:171)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
      )
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:641)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
      :174)
      at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
      eNext(StandardPipeline.java:643)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at
      org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
      at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
      ction(Http11Protocol.java:392)
      at
      org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
      at
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
      a:619)
      at java.lang.Thread.run(Thread.java:536)
      12:01:20,484 ERROR [Engine] ----- Root Cause -----
      java.lang.OutOfMemoryError

      I try also with the application-example of Apache JSTL but it happens the
      same!!

      How can I use taglibs under JBoss? Where I mistake?

      Thanx for any help!
      Giovanni