users@glassfish.java.net

Cannot find the declaration of element 'persistence

From: Comerford, Sean <Sean.Comerford_at_espn3.com>
Date: Fri, 18 Sep 2009 22:09:14 +0000

Ok, so this should be dirt simple but I keep getting the issue described in
https://glassfish.dev.java.net/issues/show_bug.cgi?id=579 even though Iıve
added the full blown declarations.

My persistence.xml looks like this:

<persistence 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"
             version="1.0">
    <persistence-unit name="NbaJpa">
        <provider>org.hibernate.ejb.HibernatePersistence</provider>
        <!-- JNDI name of the database resource to use -->
        <jta-data-source>jdbc/NBA</jta-data-source>
        <properties>
            <!-- The database dialect to use -->
            <property name="hibernate.dialect"
value="org.hibernate.dialect.SQLServerDialect" />
            <!-- log the sql generated by hiernate -->
            <property name="hibernate.show_sql" value="true" />
        </properties>
    </persistence-unit>
</persistence>

Is it that Iım behind a proxy and Glassfish canıt actually resolve the
schema locations?

-- 
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842