users@glassfish.java.net

Re: Problems deploying to GlassFish from Eclipse + EclipseLink

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Wed, 24 Sep 2008 18:03:15 -0700

Everything looks ok to me. The behavior seems strange. The way code is
written, it should not try to to search for the file if not present. Can
you try turning up the log level for EclipseLink to FINER. Look for
message starting string "Found a default mapping file at". That might
give some clue.

glassfish_at_javadesktop.org wrote:
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
> <persistence-unit name="EISS_ejb">
> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
> <jta-data-source>issdevdb</jta-data-source>
> <properties>
> <property name="eclipselink.target-server" value="SunAS9"/>
> <property name="eclipselink.target-database" value="SQLAnywhere"/>
> </properties>
> </persistence-unit>
> </persistence>
>
> --------
> jar -tf
>
> META-INF/
> META-INF/MANIFEST.MF
> META-INF/orm.xml
> META-INF/persistence.xml
> eiss/
> eiss/entities/
> eiss/entities/Balances.class
> eiss/entities/BalancesPK.class
> eiss/entities/converters/
> eiss/entities/converters/BooleanNullConverter.class
> ... (piles more classes)
>
> btw, jar -tf shows META-INF as all caps and WinZip shows it as meta-inf. I was originally looking at WinZip output so perhaps that is the explanation for the case i mentioned in my original post.
> [Message sent by forum member 'euqaz' (euqaz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301420
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>