-->
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.  [ 3 posts ] 
Author Message
 Post subject: cannot open connection
PostPosted: Tue Dec 26, 2006 8:51 am 
Newbie

Joined: Tue Dec 26, 2006 8:07 am
Posts: 4
Hi ,
When i am trying to execute a web-based hibernate program , I am getting this error.

[JDBCExceptionReporter] SQL Error: 17002, SQLState: null
[JDBCExceptionReporter] Io exception: The Network Adapter could not establish the connection.


Can anyone please help me to resolve this error.
I am using a connection pool size of 10.

_________________
With Regards,
Divya.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 26, 2006 8:55 am 
Regular
Regular

Joined: Wed Mar 23, 2005 8:43 am
Posts: 105
Location: Moscow, Russia
You have problem with connection to database server. Try to connect to database server with the same connection settings via plain JDBC or may be via console client to your database. Check your connection settings and network connection. Also, make sure that your database server permit remote connection to it (via some protocol wich your type of JDBC driver used).

_________________
Best Regards


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 27, 2006 10:11 am 
Newbie

Joined: Tue Dec 26, 2006 8:07 am
Posts: 4
Thanks Lestler, the problem indeed was a database issue . A standalone JDBC program also generated the same exceptions.

_________________
With Regards,
Divya.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.