User development,
A new message was posted in the thread "Persistence unit issues when migrating to
JBOSS 5.1.0":
http://community.jboss.org/message/520608#520608
Author : Dragos Bobes
Profile :
http://community.jboss.org/people/dbobes
Message:
--------------------------------------------------------------
@LocalBinding solved the lookup problem. Right now the lookup works in both JBOSS 5 and
JBOSS 4.
I am still placing the persistence.xml in the ear's META-INF as this is the only way
to have the persistence unit shared between ear's modules. I just have to be careful
to change the <jar-file> tag to 'myapp.ear/myseammodule.jar' when I deploy
it on windows and to 'myseammodule.jar' when I deploy it in unix.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/520608#520608