Hi, I programmed a connection pool by myself as an object, that I put into a global variable by context.setAttribute(myConnectionPool).
The lost of the pool is a subsequent error, that occures as a reason of the error in the action code of the coyote connector. In the mysql logs there is nothing to see about errors. By the way, my workers.properties are: worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=50 worker.worker1.cachesize=100 #worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 #worker.worker1.socket_timeout=300 Great problem!!! -----Urspr�ngliche Nachricht----- Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. M�rz 2004 17:14 An: Tomcat Users List Betreff: RE: problem with mod_jk 1.2: error in action code I don't think that this message has anything to with the lost connection pool. (Do you really mean 'connection pool' and not just 'connection' ?) If you lose your connection, it may be caused by the databaseserver that cancels idle connections after a while. Look for validationQuery in: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html The message in the mod_jk.log is typically indication that a browser was closed while tomcat was sending an answer. I'm not shure if the message in catalina.out is related to that. > -----Original Message----- > From: Michael G�rlich (CSC) [mailto:[EMAIL PROTECTED] > Sent: Friday, March 12, 2004 4:53 PM > To: Tomcat Mailinglist > Subject: problem with mod_jk 1.2: error in action code > > I've got problems with a tomcat web application, that establishes a > connection pool to a database (mysql). > This connection pool is lost after an unspecified period of > time the system wasn't used (f.e. 8 houres). > > 10.03.2004 15:59:58 org.apache.jk.server.JkCoyoteHandler action > SCHWERWIEGEND: Error in action code > java.net.SocketException: Broken pipe > The log in mod_jk.log shows the following: > > [Wed Mar 10 15:59:58 2004] [jk_ajp_common.c (1052)]: ERROR > sending data to client. Connection aborted or network problems > [Wed Mar 10 15:59:58 2004] [jk_ajp_common.c (1303)]: ERROR: Client > connection aborted or network problems > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
