1 Reply Latest reply on Mar 12, 2004 2:37 AM by Chris Lamprecht

    JBoss 3.2.3/Catalina 4.1.29 issue with multiple web containe

    Andrew Tyson Newbie


      I am running JBoss 3.2.3 with Catalina 4.1.29 embedded as the JSP/Servlet conatiner. We deploy an EAR file that contains a number WAR files, amongst other EJB content.

      The WAR files contain Jakarta Struts based content, and each WAR file contains properties in a WEB-INF/classes/Application.properties resources file.

      I notice that when each of the different WARs is accessed over the web that the properties are only loaded once for the first WAR that is accessed.

      This causes problems because some propeties only appear in certain web archives.

      It appears that there is a shared classloader being used across all web applications. This problem does not occur when deploying content to a standalone instance of Catalina (albeit in the latter case WAR files are deployed separately).

      Thanks and regards,