3 Replies Latest reply on Sep 14, 2002 9:31 AM by Martin Vilcans

    BMP and option D not working

    Tjodolf Newbie

      Can anyone tell me if option D works with BMP entities. I managed to get the CMP working after setting the timeout and readonly values in the jaws.xml as well, but I can't get it working with BMP (it is reloading every time and does not cache at all).
      Any ideas?

        • 1. Re: BMP and option D not working
          Dain Sundstrom Master

          Hardly anyone uses BMP anymore, so you are unlikely to get a much help. CMP and BMP use the same interceptor that manages the commit options, so it should work exactally the same way.

          If you are interested in lookin at the code, it is in org.jboss.ejb.plugins.EntitySynchronizationInterceptor (I think). Basically, the code marks the context as invalid which causes ejbLoad to be called when a new tx starts.

          • 2. Re: BMP and option D not working
            Martin Vilcans Newbie

            OK, I and Tjodolf have found the problem now. It was because of one documentation error and one bug: optiond-refresh-rate is in milliseconds while the documentation says it is in seconds and commit-option D does not work at all on <read-only> beans.

            These errors are reported as bugs #609246 and #609247.

            • 3. Re: BMP and option D not working
              Martin Vilcans Newbie

              OK, I and Tjodolf have found the problem now. It was because of one documentation error and one bug: optiond-refresh-rate is in milliseconds while the documentation says it is in seconds and commit-option D does not work at all on <read-only> beans.

              These errors are reported as bugs #609246 and #609247.