2 Replies Latest reply on Sep 13, 2001 7:41 AM by mrenner

    commit-option

    mrenner

      Hi.

      I want to set the commit-option of a single EJB to "B" (so I cannot change standardjboss.xml).

      Is it possible to declare a container-configuration and just override the commit-option, i.e. "Use Standard CMP EntityBean from standardjboss.xml + commit-option B"? I don't want to copy&paste the whole container-configuration just to toggle one single flag.

      Martin

        • 1. Re: commit-option
          p_d_austin

          In jboss.xml or jaws.xml it always uses one of the standard configurations whether you specify one or not and then for the values you specify these overide the default values for that bean. So you don't have to cut and paste everything just put the bits you want to change in.

          • 2. Re: commit-option
            mrenner

            Hi.

            And how is the syntax for this?


            <ejb-name>CommitB</ejb-name>
            <commit-option>B</commit-option>


            is not working.

            So it seems that I have to specify a container-configuration. But just supplying parts of a container-configuration (container-name, commit-option) results in Exceptions during deployment.

            Martin


            > In jboss.xml or jaws.xml it always uses one of the
            > standard configurations whether you specify one or
            > not and then for the values you specify these overide
            > the default values for that bean. So you don't have
            > to cut and paste everything just put the bits you
            > want to change in.