[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: No active transaction

2008-10-28 Thread areian
Hey again. I Found a solution: It works if I manually inject an EntityManager using the EntityManagerFactory. I was just under the impression that it was supposed to do that automatically in a container mannaged environment. The revised code for the session bean follows: | package sm.comm.f

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: No active transaction

2008-10-28 Thread areian
It's EJB 3.0, and I'm using whichever is the default transaction attribute (Do you have to specify the attribute explicitly?) Also, I don't know if there is any point in mentioning it, but it is running on an OS X box. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [Installation, Configuration & DEPLOYMENT] - No active transaction

2008-10-28 Thread areian
Hi. I'm trying to deploy an EJB/SessionBean package to my JBoss server, but for some reason it gives me a TransactionRequiredException, with the message that it didn't find any active transactions. I was under the impression that in a container managed environment like JBoss, the container woul