[jboss-user] [EJB 3.0] - session and persistence unit catch 22

ronsmitsnl do-not-reply at jboss.com
Mon May 14 15:15:52 EDT 2007


Evening all

I am greenfielding at a customer site with ejb3 and jboss 4.0.5GA. I found a strange problem with a stateless session bean that gets the persistencecontext injected by the @PersistenceContext annotation. 

The session bean does not get initialised because the persistence unit is not initialized. The session bean is not in the same jar file as the persistence unit. But they are all in the ear file. 

Is this a known problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045584#4045584

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045584



More information about the jboss-user mailing list