-->
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.dom4j.DocumentException: Connection timed out
PostPosted: Thu Jun 05, 2008 1:12 pm 
Newbie

Joined: Thu Jun 05, 2008 12:53 pm
Posts: 5
Hi,

When I tried to build a session I get the following error:
org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:358)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1490)

I am using Hibernate 3 and the cfg file also points to the 3.0DTD.
Please find the config file:

<?xml version="1.0"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">




<hibernate-configuration>

<session-factory>

<property name="connection.provider_class">com.service.data.OracleDataSourceProvider</property>

<property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="show_sql">true</property>
<property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JDBCTransactionFactory</property>
<property name="hibernate.current_session_context_class">thread</property>
<property name="cache.provider_class">net.sf.hibernate.cache.EhCacheProvider</property>
<property name="cache.use_query_cache">true</property>

<mapping resource="com/service/data/model/OrderItem.hbm.xml"/>


</session-factory>

</hibernate-configuration>.

Any help in this regard is appreciated.
Thanks.


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.