atom feed21 messages in net.java.dev.glassfish.usersRe: JTS5041: The resource manager is ...
FromSent OnAttachments
glas...@javadesktop.orgJul 28, 2008 10:07 am 
glas...@javadesktop.orgJul 28, 2008 10:03 pm 
glas...@javadesktop.orgJul 29, 2008 9:05 am 
sankara rao bhogiJul 29, 2008 9:27 am 
glas...@javadesktop.orgJul 29, 2008 9:37 am 
sankara rao bhogiJul 29, 2008 9:41 am 
glas...@javadesktop.orgJul 29, 2008 9:51 am 
sankara rao bhogiJul 29, 2008 10:03 am 
glas...@javadesktop.orgJul 29, 2008 10:33 am 
Marina VatkinaJul 29, 2008 10:57 am 
glas...@javadesktop.orgJul 29, 2008 11:18 am 
Marina VatkinaJul 29, 2008 11:39 am 
glas...@javadesktop.orgJul 29, 2008 2:36 pm 
glas...@javadesktop.orgJul 29, 2008 3:06 pm 
glas...@javadesktop.orgJul 29, 2008 3:06 pm 
glas...@javadesktop.orgJul 29, 2008 3:08 pm 
glas...@javadesktop.orgJul 29, 2008 3:11 pm 
glas...@javadesktop.orgJul 29, 2008 3:21 pm 
glas...@javadesktop.orgJul 29, 2008 3:41 pm 
glas...@javadesktop.orgJul 29, 2008 3:52 pm 
glas...@javadesktop.orgJul 29, 2008 4:07 pm 
Subject:Re: JTS5041: The resource manager is doing work outside a global transaction
From:Marina Vatkina (Mari@Sun.COM)
Date:Jul 29, 2008 11:39:04 am
List:net.java.dev.glassfish.users

Can you use TransactionManager? Otherwise, can you switch to use BMT?

thanks, -marina

glas@javadesktop.org wrote:

Yes, this is an invocation of an EJB method that is a CMT. So what your telling me is that it is not allowed to call getUserTransaction of my EJB method is within a CMT. But my EJB uses a Dao to access the database, which uses a data source retrieved from JNDI. You have previously told me that the in order for the data source to be synchronized with the UserTransaction I must make Spring aware of the TransactionManager and UserTransaction. But now you are telling me that Spring cannot use the UserTransaction inside of a CMT.

So how am I suppose to allow the data source to participate in the CMT if I cannot use the UserTransaction? Are you telling me that I cannot use CMT? [Message sent by forum member 'cmathrusse' (cmathrusse)]

http://forums.java.net/jive/thread.jspa?messageID=290167