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:01:31 GMT
ok, i've checked tomcat logs - it tries to reconnect, but then it reports:
There was a SQLException: Invalid authorization specification: Access denied
for user: 'nobody@localhost.localdomain' (Using password: NO)
why does tomcat log as 'nobody'? although in server.xml there is a different
connectionUser specified. how can i make it to use original connection user
and passwd?

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