tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herchel Wojciech <W.Herc...@pzuzycie.com.pl>
Subject ODP: Tomcat and mySQL
Date Thu, 01 Mar 2001 08:06:12 GMT
ok, now i know what's happening, looking at the process list i can see that
upon startup tomcat logs as specified by connectionUser/Password strings
from server.xml files. but then for no apparent reason it tries to reconnect
as nobody without providing passwd. 
how can i fix that?

vVolf


> -----Oryginalna wiadomość-----
> Od: Cato, Christopher [mailto:ccato@rational.com]
> Wysłano: 28 lutego 2001 17:56
> Do: 'tomcat-user@jakarta.apache.org'
> Temat: RE: Tomcat and mySQL
> 
> 
> Add ;autoreconnect=true to the db connect string.
> 
> > -----Original Message-----
> > From: Herchel Wojciech [mailto:W.Herchel@pzuzycie.com.pl]
> > Sent: den 28 februari 2001 17:32
> > To: 'Tomcat'
> > Subject: Tomcat and mySQL
> > 
> > 
> > Hi!
> > 
> > I'm using JDBCRealm authorisation.
> > How can I force mySQL not to close the connection Tomcat 
> > opened upon startup
> > (to database where users, roles, user_roles tables are stored)?
> > i assume mySQL's variable wait_timeout is responsible for 
> > closing inactive
> > connections. the default is 28800 secs, will changing it to 
> > zero do the
> > trick? or else? anyone?
> > 
> > regards, 
> > 
> > vVolf
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message