Christopher Schultz schrieb am 31.08.2009 um 11:21:32 (-0400):

> >   <Resource name="jdbc/oracle" auth="Container"
> >   [...]
> >   validationQuery ="select 1 from dual"
> >   testOnBorrow ="true"
> >   testOnReturn ="true"
> >   testWhileIdle ="true"
> >   removeAbandoned="true"
> >   timeBetweenEvictionRunsMillis ="600000"
> >   numTestsPerEvictionRun ="3"
> >   minEvictableIdleTimeMillis ="650000"
> >   moveAbandonedTimeout="180" logAbandoned="true" />

> You also shouldn't need testOnReturn and testWhileIdle, though I
> understand you're probably desperate.

> I can't imagine that it matters, but you might want to take out the
> spaces after the = signs in your XML (like validationQuery ="true").

Superstition! The spaces are allowed, if uncommon.

I know desperation can get you to do such things, but unfortunately
hardware and software systems lack both humor and compassion :-)

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to