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
Hi,
I try tomcat7-maven-plugin/2.0-beta-1. When I use mvn tomcat7:run to launch
my app, I got:
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
I configured the datatsource as global naming datasource in server.xml,
GlobalNamingResources
Resource
Hello
Sounds like an issue.
It will be really lovely if you could create a sample project to
reproduce that and attach it to a new issue here:
https://issues.apache.org/jira/browse/MTOMCAT
BTW does that work using a context file tru the configuration
contextFile${tomcatContextXml}/contextFile
-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