-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate as the JPA provider in Weblogic 10
PostPosted: Tue Apr 17, 2007 12:19 pm 
Newbie

Joined: Mon Dec 12, 2005 8:57 am
Posts: 13
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.