Path of the dB driver is as follows: Still the same error

C:\Tomcat\common\lib\ojdbc14.jar

Abhay

-----Original Message-----
From: Keshav Sarin [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


Put the database driver in tomcat_home/common/lib directory and restart tomcat.


>>> [EMAIL PROTECTED] 02/02/04 09:35AM >>>
Hi ,

I am getting the following error in JDBC conn. Error log and other details are as 
follows:

Please help !!

Regards
Abhay

-------------------------------------------------------------------------------------------------------------
I am using :== 
Apache Tomcat/4.1.29 
SQL*Plus: Release 9.0.1.4.0 - Production on Mon Feb 2 09:39:33 2004 
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production 
j2sdk1.4.2_03 
ojdbc14.jar 
------------------------------------------------------------------------------
<GlobalNamingResources>
<Environment name="simpleValue" override="true" type="java.lang.Integer" value="30"/> 
<Resource auth="Container" description="User database that can be updated and saved" 
name="UserDatabase" scope="Shareable" type="org.apache.catalina.UserDatabase"/>
<Resource name="estimation" scope="Shareable" type="javax.sql.DataSource"/> 
<ResourceParams name="UserDatabase"> <parameter> <name>factory</name> 
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<ResourceParams name="estimation">
<parameter>
<name>validationQuery</name>
<value>select sysdate from dual</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>password</name>
<value>eppsys</value>
</parameter>
<parameter>
<name>url</name> <value>jdbc:oracle:thin:@oswego.comm.mot.com:1521:DEV</value>
</parameter>
<parameter>
<name>driverClassName</name> <value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
<parameter>
<name>username</name>
<value>eppsys</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
----------------------------------------------
Feb 2, 2004 9:38:47 AM org.apache.coyote.http11.Http11Protocol init 
INFO: Initializing Coyote HTTP/1.1 on port 80 
Starting service Tomcat-Standalone 
Apache Tomcat/4.1.29 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
<init> 
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true 
Feb 2, 2004 9:38:56 AM org.apache.struts.util.PropertyMessageResources
<init> 
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true 
Feb 2, 2004 9:39:02 AM org.apache.struts.util.PropertyMessageResources
<init> 
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true 
Looking up jdbc/estimation 
Found 
Feb 2, 2004 9:39:23 AM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on port 80 
Feb 2, 2004 9:39:23 AM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Feb 2, 2004 9:39:23 AM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=30/220 config=C:\Tomcat\bin\..\conf\jk2.properties 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for 
connect URL 'null', cause: 
java.sql.SQLException: No suitable driver 
at java.sql.DriverManager.getDriver(DriverManager.java:243) 
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)

at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)

at
com.mot.iDEN.webapp.oes.servlet.TestServlet.doGet(TestServlet.java:42) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j

ava:247) 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:643) 
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:643) 
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:643) 
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:641) 
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:641) 
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Standar

dPipeline.java:643) 
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)

at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P

rotocol.java:549) 
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)

at java.lang.Thread.run(Thread.java:534) 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to