I create one stateless Session Bean with transaction-type Bean. In my business method i am calling one helper class method where i am using UserTransaction. But container is throwing exception that current thread is already associated with some transaction whose name is my EJB business method name. Where might be the mistake?
Application server is weblogic 6.1
Any help is appriciated.
-
UserTransaction (3 messages)
- Posted by: Surya Kiran
- Posted on: August 08 2002 05:49 EDT
Threaded Messages (3)
- UserTransaction by basavaraju banakar on August 09 2002 04:47 EDT
- UserTransaction by Surya Kiran on August 30 2002 08:30 EDT
- UserTransaction by Atit Patel on August 10 2002 20:42 EDT
-
UserTransaction[ Go to top ]
- Posted by: basavaraju banakar
- Posted on: August 09 2002 04:47 EDT
- in response to Surya Kiran
I think u r trying to define new tranaction(in the helper class) on a thread that is alreading participating a transation(that is container managed) May this is the problem.. I am not sure abt this -
UserTransaction[ Go to top ]
- Posted by: Surya Kiran
- Posted on: August 30 2002 08:30 EDT
- in response to basavaraju banakar
But my EJB has transaction-type 'bean'. so it should'nt start any transaction. -
UserTransaction[ Go to top ]
- Posted by: Atit Patel
- Posted on: August 10 2002 20:42 EDT
- in response to Surya Kiran
HI,
Check for your transactin ISOLATION level. I think, if its a mendetory then the container will use the same trans. context. So, keep it with REQUIRED and try again.
thanks,