Issue Details (XML | Word | Printable)

Key: GLASSFISH-19477
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Bhavanishankar
Reporter: ljnelson
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
glassfish

Embedded GlassFish cannot deploy application when more than one persistence unit is present

Created: 21/Dec/12 03:40 PM   Updated: 21/Dec/12 03:53 PM
Component/s: embedded
Affects Version/s: 3.1.2.2
Fix Version/s: None

Time Tracking:
Not Specified

Tags: embedded jpa deployment
Participants: Bhavanishankar, Hong Zhang and ljnelson


 Description  « Hide

A simple ScatteredArchive containing a META-INF/persistence.xml and a stateless session bean referring to one of its two persistence units cannot be deployed by embedded GlassFish. Removing one of the persistence units from the META-INF/persistence.xml resolves the issue.



ljnelson added a comment - 21/Dec/12 03:53 PM

I have a test case, but cannot see how to attach it in JIRA (maybe I don't have enough permissions?). Happy to Dropbox it or email it as appropriate.


Hong Zhang added a comment - 21/Dec/12 03:50 PM

Assign to Bhavani to take a look.