| Author |
Cannot create JDBC driver of class 'oracle.jdbc.OracleDriver'for connect URL 'jdbc:oracle:oci:@mydbs
|
Paul DiBello
Greenhorn
Joined: Dec 04, 2008
Posts: 1
|
|
I'm trying to connect to an Oracle database (10g) via OCI in Tomcat 5.5. I've checked the configuration many times and all looks OK, but I keep getting an error.
"Cannot create JDBC driver of class 'oracle.jdbc.OracleDriver'for connect URL 'jdbc:oracle:oci:@mydbserver' "
I have the ojdbc14.jar file in the common/lib folder of tomcat, the web.xml has the resource reference and I have a context xml (app.xml)
in the conf\Catalina\[host url]\ of Tomcat.
Nothing seems to be working. Any ideas of what to check next?
|
 |
satyasandha samal
Greenhorn
Joined: Aug 11, 2009
Posts: 5
|
|
please any one help me ,how to set path for mysl in tomcat5
Thank's & regards
satya
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
Paul DiBello wrote:I have the ojdbc14.jar file in the common/lib folder of tomcat, the web.xml has the resource reference and I have a context xml (app.xml) in the conf\Catalina\[host url]\ of Tomcat.
Have you checked the documentation of tomcat on this? Try having the context.xml in application's META-INF dir.
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
satyasandha samal wrote:
please any one help me ,how to set path for mysl in tomcat5
Hi Satyasandha,
It would be better if you start a new thread for your own question. I suggest you go through datasource-examples-howto from tomcat.
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
And Welcome to Javaranch Both of you
|
 |
 |
|
|
subject: Cannot create JDBC driver of class 'oracle.jdbc.OracleDriver'for connect URL 'jdbc:oracle:oci:@mydbs
|
|
|