-->
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: problem in validatio of hibernate-generated XML files
PostPosted: Fri Jun 11, 2004 4:32 am 
Beginner
Beginner

Joined: Thu Apr 29, 2004 4:31 am
Posts: 42
hi all,
i have been running hibernate for couple of months without any problems ..
however, yesterday while i was testing my software (and deploying it also) i received the following exception

aused by: java.lang.Exception: net.sf.hibernate.MappingException: Error reading
resource: com/myapp/hibernate/HibernateExpenseType.hbm.xml
at com.myapp.hibernate.HibernatePersistenceManager.initHibernate(Hiberna
ePersistenceManager.java:90)
at com.myapp.hibernate.HibernatePersistenceManager.<init>(HibernatePersi
tenceManager.java:65)
at com.myapp.hibernate.HibernateFactory.getPersistenceManager(HibernateF
ctory.java:19)
... 62 more
aused by: net.sf.hibernate.MappingException: Error reading resource: com/myapp/ ibernate/HibernateExpenseType.hbm.xml
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:294

at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:944

at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:896

at
net.sf.hibernate.cfg.Configuration.configure(Configuration.java:847)
at com.myapp.hibernate.HibernatePersistenceManager.initHibernate(Hiberna
ePersistenceManager.java:83)
... 64 more
aused by: net.sf.hibernate.MappingException: org.dom4j.DocumentException: Conne tion refused: connect Nested exception: Connection refused: connect
at
net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
77)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291

... 68 more
aused by: org.dom4j.DocumentException: Connection refused: connect Nested excep
ion: Connection refused: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:342)
at
net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
68)


looks to me like the web site where the Hibernate DTD was posted maybe was down????

anyone has experienced similar problems?

regards
marco


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.