JBoss Community

Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException

created by Nicklas Karlsson in Beginner's Corner - View the full discussion

Whoa that's some stack trace. If I'm understanding you correctly, you're calling a @ConversationScoped bean in a @PostConstruct method of a @Startup @Singleton bean?

 

That could be a problem since the conversation scope is not active at that point (there is no request and no session to store the conversation scoped instance in)

 

Show some more code, it might help.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community