Hi All
I want to conigure DBCP to connect to Oracle 10g on my localhost on Tomcat6.
I did the following error, I don't know how to solve it, is there is a
third-party jar file that must be added to classpath???
*1. I put the following in server.xml*
*Resource name=jbdc/myoracledb auth=Container
You are using an old syntax for defining resource parameters.
Parameters of a resource are defined as attributes of the Resource /
element since tomcat 5.5. See the following docs for the correct method:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
--David
Mohammed,
Maybe on import try the following:
%@ page
import=javax.naming.Context,javax.naming.InitialContext,javax.naming.NamingException,javax.sql.DataSource
%
even though what you have should cover it, theoretically.
And regarding below, YES!!!
C:\tomcat\common\lib\ojdbc14_g.jar