JBossAS Version?

"davestar" wrote : My persistence.xml is in the MET-INF folder in the ear file. 

I assume you mean "META-INF"?

For reference:

"EJB 3.0 Persistence Specification 6.2.2" wrote : When referencing a 
persistence unit using the unitName annotation element or persis-
  | tence-unit-name deployment descriptor element, the visibility scope of the 
persistence unit is determined by its point of definition. A persistence unit 
that is defined at the level of an EJB-JAR, WAR, or application client jar is 
scoped to that EJB-JAR, WAR, or application jar respectively and is visible to
  | the components defined in that jar or war. A persistence unit that is 
defined at the level of the EAR is generally visible to all components in the 
application.

And what about the packaging within your EAR?  Are the modules all listed in 
the manifest META-INF/application.xml?

jar -tvf nameOfYourEar.ear

If you can provide an isolated (failing) test case w/ this issue, we can open a 
JIRA and attach the EAR.

S,
ALR

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202259
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to