I created an ejb3 jar for jboss 4.0.4RC1 with an persistence.xml in the META-INF directory. If I deploy this jar to the server I will get 2 persistence units. One with the name of the jar file and one with the name as I entered it in the persistence.xml file.
Is this normal behaviour? Or am I doing something wrong?