users@glassfish.java.net

Re: Use Oracle with Glassfis2 u2 for JPA - I am getting the same error but in MySQL/GlassFish/Eclipse

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 Jan 2010 05:49:48 PST

Hello,

The persistence.xml defines a unit named "NaraProject", but when creating the factory you lookup the unit named "Axle8Project". What are the settings and where is "Axle8Project" defined? If it does not have connection information, that could be why it is using the defaults.

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (christopher.delahunt_at_oracle.com)]

http://forums.java.net/jive/thread.jspa?messageID=383269