-->
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.  [ 5 posts ] 
Author Message
 Post subject: 3.2.0beta8: strange classpath issue with <hbm2ddl>
PostPosted: Wed Nov 08, 2006 9:58 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
I'm using Hibernate Tools 3.2.0beta8 for an EJB3 app having persistence.xml. I get the following log message for <hbm2ddl> in an infinite loop. Any hint is appreciated!

Code:
DEBUG util.DTDEntityResolver - trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd]
DEBUG cfg.EJB3DTDEntityResolver - recognized EJB3 ORM namespace; attempting to resolve on classpath under org/hibernate/ejb
DEBUG cfg.EJB3DTDEntityResolver - unable to locate [http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd] on classpath


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 08, 2006 10:21 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
Adding hibernate-entitymanager.jar to the classpath of <hibernatetools> solved the problem.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 08, 2006 11:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
are you sure it was an infinite loop ?

in any case, I would appreciate a bug report on this so we could error more gracefully.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 3:35 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
Well, the three lines above were repeated for a couple of minutes and then I stopped the ANT process.

Actually without increasing the log level I just saw a process with an INFO message and no proceeding.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 4:20 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
could you submit a build.xml and associated source so i can reproduce the issue ?

_________________
Max
Don't forget to rate


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

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.