Re: Exception thrown by BMP not being caught by Session

2001-07-06 Thread aby
Hi Jeff, Thanks very much for the reply. I am not using the resource-ref thing but I tried using the xa-location and the ejb-location (two different programs), in both the cases the output is as you say it is. But the problem I have now is that in my code, it's only by the time the whole transac

Re: Exception thrown by BMP not being caught by Session

2001-07-06 Thread Jeff Hubbach
ejbStore is called at the end of a transaction, which is why you're seeing the output you are. I would verify that the datasource you're looking up in your session bean is through a resource-ref in that bean's deployment descriptor, as well as pointing to an xa-datasource. The fact that you're

Exception thrown by BMP not being caught by Session

2001-07-06 Thread aby
Hello everyone, I have an entity bean(Account) which is throwing an exception and this is not being caught by the session bean. The sequence is that one insert entity update another insert. all should go as one unit of transaction or not at all. We try to update the entity bean with an illegal