users@glassfish.java.net

Re: Problems deploying to GlassFish from Eclipse + EclipseLink

From: <glassfish_at_javadesktop.org>
Date: Wed, 01 Oct 2008 07:13:20 PDT

Hello,

Can you try removing the <mapping-file>META-INF/eclipselink-orm.xml</mapping-file> tag? The META-INF/eclipselink-orm.xml should be picked up automatically, much like an orm.xml file would. It appears that the exception is coming from processing part where it looks for the default files - suggesting that it processed this tag successfully but can't process the file again. If removing the tag works, it is likely a bug.

Looking at the code, it seems it can find the URL but throws the exception trying to read the file at the URL. Turning on logging to FINER or FINEST using <property name="eclipselink.logging.level" value="FINEST"/> might help narrow down if/why it is working when processing the mapping tag (if it is working) and why its not working when processing the defaults.

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

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