I've tried to deploy a persistence.xml in Weblogic 10
Code:
<persistence version="1.0" ...>
<persistence-unit name="PU" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>ddbb</jta-data-source>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect" />
<property name="hibernate.max_fetch_depth" value="3" />
</properties>
</persistence-unit>
</persistence>
But it always fails with:
java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:335)
at org.jboss.util.file.ArchiveBrowser.getBrowser(Unknown Source)
at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:622)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:350)
I have no idea really on how to solve this. Has anyone a clue?
Thank you!