-->
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: no connexion with mySql 4.1.11
PostPosted: Tue Mar 14, 2006 6:59 am 
Newbie

Joined: Tue Sep 27, 2005 4:07 pm
Posts: 7
Hi

I have a probleme with my webbapp using Hibernate. It has been developped with mysql 4.0.24, C3P0 lib 0.9.0.2, Hibernate2 and it was running globally ... (even if i had problem of connexions after a few days of usage ...).

I want to transfer the application on a Debian server xith mysql4.1.11 and every jsp page with hibernate access don't run ... The navigator search, search, search, but nothing come, no error message, nothings in the logs ... On mysqlAdministrato, i don't see any connection.
I just know that the problem is placed in this line :
sessionHib = HibernateUtil.currentSession();

whitch let me get a session for mySql ...

Is anyone an idea ???

Thanks a lot and sorry for my english language ... :-/

Edit : sorry, i had this error message, when i wait for 15 minutes ...
Quote:
net.sf.hibernate.JDBCException : cannot open connection
.../...
Caused by java.sql.SQLException : Connections could not be acquired from the underlying database!
.../...
Caused by com.mchange.v2.resourcepool.CannotAcquireResourceException : A resourcePool could not acquire a resource from its primary factory of source.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.