-->
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: [org.hibernate.util.DTDEntityResolver] trying to resolve ...
PostPosted: Tue Apr 03, 2012 10:10 am 
Newbie

Joined: Tue Apr 03, 2012 9:53 am
Posts: 1
Hi I'm using hbm 4.0.1 jpa api.

Sometimes it stops working, opening logs to debug level, I have seen these messages:
Code:
.....
20120403 125208 INFO  [org.hibernate.ejb.Version] (main) Hibernate EntityManager 3.4.0.GA
20120403 125208 DEBUG [org.hibernate.ejb.Ejb3Configuration] (main) Look up for persistence unit: appPerUnit
20120403 125208 DEBUG [org.hibernate.util.DTDEntityResolver] (main) trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd]
20120403 125223 DEBUG [org.hibernate.util.DTDEntityResolver] (main) trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd]
20120403 125320 DEBUG [org.hibernate.util.DTDEntityResolver] (main) trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd]
20120403 125403 DEBUG [org.hibernate.util.DTDEntityResolver] (main) trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd]
20120403 125434 DEBUG [org.hibernate.util.DTDEntityResolver] (main) trying to resolve system-id [http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd]


My persistence.xml is:

Code:
<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_2_0.xsd" version="2.0">

   <persistence-unit name="appPerUnit" transaction-type="RESOURCE_LOCAL">
      <provider>org.hibernate.ejb.HibernatePersistence</provider>
      <properties>
         <property name="hibernate.hbm2ddl.auto" value="validate" />
         <property name="hibernate.show_sql" value="false" />
         <property name="hibernate.format_sql" value="true" />
         <property name="hibernate.use_sql_comments" value="true" />
         <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
      </properties>
   </persistence-unit>
</persistence>


Any Ideas to solve this ?
Seems it try to find the xsd on the Internet ... How can I stop this behaviour ?

Thanks in advance.
Stefano


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.