[jboss-user] [EJB 3.0] - Re: problem

jaikiran do-not-reply at jboss.com
Fri Jun 26 04:26:48 EDT 2009


Just to be sure, the folder name should be META-INF (case sensitive). Is that what you have named it? 

Looking at the error message, it looks like the bean that is relying on the persistence context injection is in a different jar than the one containing the persistence.xml. So you should try something like:

@PersistenceContext( 
  | 		name = MessageManagerConstants.PERSIST_NAME, 
  | 		unitName = "MyMMClient1EJB.jar#messagemanager"
  | 

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

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



More information about the jboss-user mailing list