Hi All,
When i am trying to implement DBCP in
Tomcat 6.0 with Jdk1.6 as the enviroment, i am getting the error below;
"org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The "currentSchema" property is not allowed on the target server.)"
I cannot set the schema using "SET SCHEMA". So could somebody please tell me how we can configure the currentSchema in tomcat 6.0.
Please find my context.xml settings.
<Resource auth="Container" driverClassName="com.ibm.db2.jcc.DB2Driver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/name" password="xxxxx" type="javax.sql.DataSource" url="jdbc:db2://host:port/DB:currentSchema=schema_name;" username="uname"/>
Could somebody help me that why i am getting this error.
Note: I have implemented the DBCP in Tomcat6.0 with JDK1.5 are environment.
Thanks,
Subbu