[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2008-04-16 Thread ljcoomber
Have spent a while on this myself. The problem (for me at least) was that I I had enabled JTA transactions in persistence.xml, but in components.xml I had configured use of the JPA EntityTransaction API (which is for non-JTA environments) with the line: Removing this line fixed the problem.

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2008-01-16 Thread cdiggins
Also having the same problem... | java.lang.IllegalStateException: Could not start transaction | at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:583) | at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:314) | at

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2007-10-30 Thread mickknutson
I am having the same issue. Any help would be great View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100443#4100443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100443 ___

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2007-09-19 Thread oskar.carlstedt
Hello! I'm not sure , but if I look at your code you instantiate the em by yourself. Examples I've seen do not do that, they leave that part to JBoss, like the following code. Are you sure you get the correct entity manager? | | @Stateless | @TransactionManagement(TransactionManagementT

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2007-09-19 Thread irajeev
I am facing the same problem. Did you get the solution? Please let me know View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086292#4086292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086292

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2007-09-05 Thread mnrz
Hi could you find what is the problem on your exception? I am getting this exception as well and I've stuck at this point :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081316#4081316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2006-12-06 Thread konstantin.ermakov
Hi! This line exists before the Stateless Bean implementation. Thanks, Konstantin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991681#3991681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991681 __

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2006-12-06 Thread dkalna
Hi, not sure but I think default is container managed tx, so you have to explicit told your bean will take care of TXs, something like this: @TransactionManagement(TransactionManagementType.BEAN) public class YourBean implements YourInterface Hope it helps. bye Dalibor View the original post :

[jboss-user] [EJB 3.0] - Re: JTA EntityManager cannot access a transactions

2006-12-06 Thread konstantin.ermakov
Sorry, the message is as following: JTA EntityManager cannot access a transactions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991597#3991597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991597 ___