This content has been marked as final.
Show 3 replies
-
1. Re: JPA in a plain webapp
wernic Jul 7, 2008 5:59 AM (in response to wernic)Sorry, I forgot to mention app server version (where is an 'Edit' button?):
JBoss 5 CR1 -
2. Re: JPA in a plain webapp
wolfc Jul 7, 2008 6:57 AM (in response to wernic)Currently the Ejb3Deployer handles the deployment of persistence units. By default it doesn't scan web archives, so you should change server//deployers/ejb3.deployer/META-INF/ejb3-deployers-beans.xml and set scanWars to true.
-
3. Re: JPA in a plain webapp
wernic Jul 7, 2008 7:42 AM (in response to wernic)Thank you very much.
There is an another issue, but it is probably http://jira.jboss.com/jira/browse/JBAS-5719 (fixed in a trunk AFAIK). I can workaround it for now by first starting an app server, than deploying the app.
Waiting for CR2.