1 Reply Latest reply on May 12, 2006 5:43 PM by atulksh

    weblogic db-is-shared equivalent in jboss for BMP beans

    atulksh

      Hi,
      I have a BMP bean which is deployed in a clustered environment. How can I specify that the BMP will be sharing the database with other BMP instances and state should be appropriately synchronized at each call by calling the ejbStore and ejbLoad methods? In weblogic I could do that using the "db-is-shared" flag in the persistence descriptor in the weblogic-ejb-jar.xml file. How can I do a similar thing in JBoss?

      Please help.

      Thanks a lot.

      Atul.

        • 1. Re: weblogic db-is-shared equivalent in jboss for BMP beans
          atulksh

          It looks like the Commit B option which is the default in JBoss is the one that is needed in my case, where data can be modified external to the bean. But then I am seeing that my ejbLoad method is not getting called when a transactional method (method for which the transaction attribute defined is Required) is called.

          Why isn't JBoss calling ejbLoad method in the above case? Can anybody throw some light here?

          Just to summarize here is some information -

          I have a BMP Bean (EJb 2.1). For all methods of the bean the transactional attribute is "Required". I have a cluster of 2 machines. The BMP is specified as clustered in the jboss.xml.

          I have even tried to specify container configuration in the jboss.xml but to no avail.

          Please help.

          Thanks.

          Atul.