Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while configuring Hibernate

 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting following exception -

org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1218)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
at com.ebw.hibernate.dao.HibernateConfig.<clinit>(HibernateConfig.java:17)
Nested exception:


hibernate.cfg.xml



I have following jars
dom4j.jar ,hibernate3.jar,oracle-driver,common-lang,validator,digester,collections

Kindly let me know what have i missed in my configuration.

Please help.

Thanks
 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am done with this issue. It was because of wrong DTD.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic