3 Replies Latest reply on Oct 21, 2006 1:04 AM by Andrew Dale

    <jar-file> elements in persistence.xml

    Owen Jacobson Newbie

      Why does JBoss try to resolve jar files mentioned in persistence.xml relative to $JBOSS_HOME/bin?

      <persistence>
       <persistence-unit name="ejb3-example">
       <jta-data-source>java:/DefaultDS</jta-data-source>
       <jar-file>entities.jar</jar-file>
       <properties>
       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
       </properties>
       </persistence-unit>
      </persistence>