User development, A new message was posted in the thread "Issue specifying the <jar-file> in persistence.xml in JBOSS 5 on linux system":
http://community.jboss.org/message/520279#520279 Author : jaikiran pai Profile : http://community.jboss.org/people/jaikiran Message: -------------------------------------------------------------- > jaikiran wrote: > > I'll look into this to see what is causing the problem. Well, the spec does not allow the persistence.xml to be in the .ear/META-INF although the JBoss implementation does pickup that file from this location. Allowing the persistence.xml to reside in the META-INF of the .ear, causes the jar-file resolution issue that you are running into. According to the spec, to scope the persistence unit to all components in the .ear, you will have to package the persistence.xml in: * META-INF of a jar file in the root of the EAR or* META-INF of a jar file in the EAR library directory -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/520279#520279
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user