1 Reply Latest reply on Apr 3, 2003 4:54 AM by matthiask

    Override <Manager> attribute in embedded Tomcat

    Filip Hanik Newbie

      I'm trying to use the Tomcat persistence manager for sessions with embedded
      JBoss 3.0.6

      <Manager className="org.apache.catalina.session.PersistentManager"
      all other attributes here/>

      I'm changing this in the file /default/deploy/tomcat41-service.xml

      but the wars still get deployed with the StandardManager,

      any thoughts?

        • 1. Re: Override <Manager> attribute in embedded Tomcat
          matthiask Newbie

          I have just encountered the same problem. I even stepped through the JBoss and Tomcat code and it doesn't look like DefaultContext is honored at all if EmbeddedCatalinaService41 is used. Just in case, I'm deploying my app in an .ear.

          As far as I can tell, the StandardManager is created in org.apache.catalina.startup.Embedded.createContext no matter what. Not sure where DefaultContext should be considered, maybe in Tomcats Embedded or in org.jboss.web.catalina.EmbeddedCatalina?

          Am I missing something?