Re: Applying transactions over session/entity EJB in websphere
Saturday, May 31, 2003 12:49 PM
One of the causes you're getting this 1PC error is because you are using JDBC from within session bean, in addition to using Entity Beans(this is presuming you have a Non-XA datasource). This is because the session bean erraneously obtains a different datasource instance than the CMP bean. This is a bug and a patch for it can be obtained from IBM (please visit http://www-1.ibm.com/support/docview.wss?rs=0&org=SW&doc=4000986). Putting this patch will obviate the need of using an XA datasource.