[opencms-dev] java.sql.SQLException: Communication link failure

Lopez Jarillo, Cesar cesar.lopez at t-systems.es
Fri Jul 8 11:54:18 CEST 2005


Hello all,
 
I'm having randomly a problem whe the jsp pages try to connect with the mysql database.
 
I see this error at the log file
 
com.opencms.core.CmsException: 4 Sql exception. Detailed error: [com.opencms.file.mySql.CmsDbAccess] Communication link failure: java.net.SocketException.
root cause was java.sql.SQLException: Communication link failure: java.net.SocketException.
root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed error: [com.opencms.file.mySql.CmsDbAccess] Communication link failure: java.net.SocketException.
root cause was java.sql.SQLException: Communication link failure: java.net.SocketException
 
I'm using opencms 5.0.1 with Tomcat 4.1.30 and MySQL 4.0.23
 
I've tried to increase the timeout at the mysql connection-pool (opencms.properties), but the problem persist randomly
 
Here is the current configuration that I have
 
pool.mysql.driver=org.gjt.mm.mysql.Driver
pool.mysql.minConn=10
pool.mysql.maxConn=40
pool.mysql.increaseRate=5
pool.mysql.timeout=300
pool.mysql.maxage=360

pool.mysqlonline.driver=org.gjt.mm.mysql.Driver
pool.mysqlonline.minConn=5
pool.mysqlonline.maxConn=40
pool.mysqlonline.increaseRate=5
pool.mysqlonline.timeout=300
pool.mysqlonline.maxage=360

pool.mysqlbackup.driver=org.gjt.mm.mysql.Driver
pool.mysqlbackup.minConn=5
pool.mysqlbackup.maxConn=40
pool.mysqlbackup.increaseRate=5
pool.mysqlbackup.timeout=300
pool.mysqlbackup.maxage=360

Anyone can help me please?
César López Jarillo

T-Systems ITC Services España, S.A.
Area Hosting/Internet
Computing Services
C/Sancho de Ávila, 110-130 
08018 Barcelona
Phone: 93 501 54 05
Fax : 93 501 52 75
E-mail: cesar.lopez at t-systems.es <mailto:cesar.lopez at cesar.lopez@t-systems.es> 
Internet: http://www.t-systems.es <http://www.t-systems.es/> 

 


--------------------------------------------------------------------------------
This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is strictly prohibited. If you are not the
intended recipient, please notify the sender and destroy this e-mail together with all of
its content.
--------------------------------------------------------------------------------
Este mensaje electrónico puede contener información confidencial o privilegiada, por lo
que está completamente prohibida la copia, el uso o la distribución no autorizada de
dicha información. Si usted no es el destinatario del mensaje, le rogamos que lo
notifique al remitente y que lo destruya junto con todo su contenido.
--------------------------------------------------------------------------------
Aquest missatge electrònic pot contenir informació confidencial o privilegiada i està
completament prohibida qualsevol còpia, ús o distribució no autoritzada d'aquesta
informació. Si vostè no és el seu destinatari, si us plau notifiqui-ho al remitent i
destrueixi el missatge amb tot el seu contingut.
--------------------------------------------------------------------------------
Mezu elektroniko honek informazio konfidentziala edo pribilegiatua eduki dezake.
Erabat debekaturik dago informazio hori baimenik gabe kopiatu, erabili edo banatzea.
Mezu hau ez bada zuri zuzendua, arren, igortzaileari jakinarazi eta bere edukiarekin
batera ezaba ezazu.
--------------------------------------------------------------------------------
Esta mensaxe electrónica pode conter información confidencial ou privilexiada e está
completamente prohibida calquera copia, uso ou distribución non autorizado desta
información. Se vostede non é o seu destinatario, faga o favor de llo notificar ao
remitente e destrúa a mensaxe e todo o seu contido.
--------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050708/d114e6a8/attachment.htm>


More information about the opencms-dev mailing list