RE: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-09 Thread Guofeng Zhang
I create a simple project using commons-dbcp and without using any query for test, the issue still occurred. I reported a bug. Thanks! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, March 07, 2012 11:53 PM To: Tomcat Users List

Re: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guofeng, On 3/7/12 5:32 AM, Guofeng Zhang wrote: Resource auth=Container maxPoolSize=100 minPoolSize=10 name=jdbc/iviewDS testQuery=select count(*) from T_ROLE You might want to use a simper testQuery (like SELECT 1 FROM DUAL, for instance). Some