0 Replies Latest reply on Oct 5, 2005 8:29 AM by David Visicchio

    Sharing Libraries on Tomcat embedded

    David Visicchio Newbie

      I am using JBoss 3.2.3 AS with Tomcat embedded version.
      Because I have many Web Applications to deploy and all of them use Struts,
      I would like to place struts jar files in a single location.

      So I read the Struts User's Guide


      As it's described in section I configured my Web Applications to use
      tag libraries as for Servlet 2.3/2.4, referencing in my code only the full uri.

      <%@ taglib
      prefix="html" %>

      Then, following 5.5 section, I tried to place struts.jar in a shared place (removing it from WEB-INF/lib directory). On that section it's described the way for Tomcat standalone, but not for embedded version.
      So I tried putting struts.jar into jbossweb-tomcat41.sar directory, then into default/lib, and finally into deploy.
      In all cases, when I access to the Web Application I get this exception:

      This absolute uri (http://struts.apache.org/tags-tiles) cannot be resolved in either web.xml or the jar files deployed with this application

      Have you some idea ?

      Thanks in advance

      P.S. In jboss-service.xml I have this cfg:

      Java2ClassLoadingCompliance = true
      UseJBossWebLoader = true