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

hibernate cannot open connection error

 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When iam running the application import org.hibernate.exception.GenericJDBCException:cannot open connection's been thrown .Can any one tell mee what error is this?Is this because too many session opened ?I am using Tomcat 5.5.9 and hibernate 3
Can any one help?
Thanks and Regards Anuja K
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your DataSource or Connection Strings correct? Do you sometimes get connected and sometimes you don't?

Mark
 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Yes thats my exact problem some times i am getting connected and some times not
Regards
Anuja K
 
John Mikhail
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your config files? And are you doing anything special with the session?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic