[jboss-user] [Beginner's Corner] - Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
Nicklas Karlsson
do-not-reply at jboss.com
Tue Feb 1 15:15:16 EST 2011
Nicklas Karlsson [http://community.jboss.org/people/nickarls] created the discussion
"Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException"
To view the discussion, visit: http://community.jboss.org/message/584736#584736
--------------------------------------------------------------
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
[http://community.jboss.org/message/584736#584736]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110201/d0882535/attachment.html
More information about the jboss-user
mailing list