1 Reply Latest reply on Aug 23, 2002 4:43 AM by Martin Vilcans

    jboss.xml and standardjboss.xml

    Jim Newbie

      Hi,

      Tomcat3.2.3+Jboss2.4.1 on SuSE Linux 7.2 against PostgreSQL 7.

      In jboss.xml, can I choose to override a particular setting in standardjboss.xml while having all the others still apply - without having to duplicate the 'others'?

      i.e. given the following jboss.xml file:
      [pre]

      false
      <container-configuration>
      <commit-option>C</commit-option>
      </container-configuration>

      <resource-managers />

      <enterprise-beans>

      <ejb-name>TestSessionBean</ejb-name>
      <jndi-name>test/TestSession</jndi-name>
      <configuration-name></configuration-name>


      <ejb-name>TestBean</ejb-name>
      <jndi-name>test/Test</jndi-name>
      <configuration-name></configuration-name>

      </enterprise-beans>
      [/pre]

      ... can I safely assume that the standardjboss.xml's Standard CMP EntityBean

        • 1. Re: jboss.xml and standardjboss.xml
          Martin Vilcans Newbie

          I'm replying to an old post here, but I just got the same problem.

          I thought standardjboss.xml was supposed to contain the defaults, so jboss.xml just has to override the settings that you want to change, but it doesn't work that way as far as I can see.

          Is this a bug or are you supposed to write a complete <container-configuration> for each configuration?