I have the persistance.xm in the META-INF folder of the EJB-JAR..but the persistance unit doesnt seem to be deployed at all. I get this deployment error:
16:03:08,992 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.4.CR2/server/defa ult/deploy/demoejb3.jar 16:03:08,992 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:jar=demoejb3.jar,name=EJB3TestBean,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=seamdemo
Updated Entity Packaging to remove .par files, to allow persistence units to be specified in EJB-JAR and
WAR files, and to allow multiple persistence units to be specified in a single persistence.xml file.