Re: password encryption

2011-04-01 Thread Paul Gifford
Do you have org.apache.tomcat.util.res.StringManager on your classpath? It's in tomcat-coyote.jar in my installation (6.0.18). Paul On Fri, Apr 1, 2011 at 10:47 AM, Henry Lu wrote: > I tried the following command and failed as tomcat home directory: > > > C:\apps\apache-tomcat-7.0.11>java -c

Re: Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-28 Thread Paul Gifford
erschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Paul, > > On 3/25/2011 1:53 PM, Paul Gifford wrote: > > We're having a disagreement in the office about the JNDI datasources. > We're > > running Tomcat 6 and using the built-in DB

Re: [partially OT] Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-28 Thread Paul Gifford
André, Would a connection pool help here? The connections wouldn't go out of scope and instead be recycled, so you wouldn't be dependent on GC to clean them up. The pool should limit the number of sockets created. Paul On Fri, Mar 25, 2011 at 6:57 PM, André Warnier wrote: > I am wonderi

Should a webapp close a DBCP datasource obtained through JNDI?

2011-03-25 Thread Paul Gifford
We're having a disagreement in the office about the JNDI datasources. We're running Tomcat 6 and using the built-in DBCP as our connection pool. DBCP is configured in the server's context.xml. Our webapp gets a datasource using JNDI via Spring JDBC. There are two schools of thought on the team.