You must put your jdbc driver in $TOMCAT_HOME/common/lib

> ----------
> De:   Kumar Abhay-CAK203C[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      segunda-feira, 2 de fevereiro de 2004 14:34
> Para:         'Tomcat Users List'
> Assunto:      RE: Error in JDBC conn / Apache Tomcat/4.1.29  URGENT
> Prioridade:   Alta
> 
> This is setenv file:
>  
> set
> classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web-inf\l
> ib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web-inf\lib
> \xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web-inf\lib\ldapsearch.jar..\web-
> inf\lib\classes12.jar;%classpath%
>  
> and Class path set in system is :
>  
> .;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\mail
> .jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.jar;C:\
> Tomcat\common\lib\jdbc2_0-stdext.jar;C:\Tomcat\common\lib\ojdbc14.jar
>  
> ANy Bug ??
> 
> Regards
> Abhay
> 
> 
> 
> -----Original Message-----
> From: Mike Curwen [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 02, 2004 11:25 AM
> To: 'Tomcat Users List'
> Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> 
> 
> Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar) ?
> 
> 
> > -----Original Message-----
> > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 11:12 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > Importance: High
> > 
> > 
> > 
> > I hv tried this also .. No success
> > 
> > Abhay
> > 
> > 
> > 
> > -----Original Message-----
> > From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 10:56 AM
> > To: Tomcat Users List
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > 
> > 
> > Trying using classes12.jar in <tomcat_home>/common/lib
> > 
> > -----Original Message-----
> > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 11:50 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
> > Importance: High
> > 
> > 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(Basic
> > DataSource
> > .java:743)
> > 
> > at
> > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDat
> > aSource.ja
> > va: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.internalDoFilt
> > er(Applica
> > tionFilterChain.j
> > 
> > ava:247)
> > at 
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilt
> > erChain.java:193)
> > 
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValv
> > e.java:256)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:643)
> > at 
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:4
> > 80)
> > 
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at 
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValv
> > e.java:191)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:643)
> > at 
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:4
> > 80)
> > 
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at 
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:241
> > 7)
> > 
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java
> > :180)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:643)
> > at 
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherVa
> > lve.java:171)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:641)
> > at 
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java
> > :172)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:641)
> > at 
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:4
> > 80)
> > 
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at 
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.
> > java:174)
> > 
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.i
> > nvokeNext(Standar
> > 
> > dPipeline.java:643)
> > at 
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:4
> > 80)
> > 
> > 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(Http11Process
> > or.java:78
> > 1)
> > 
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processC
> > onnection(Http11P
> > 
> > rotocol.java:549)
> > at 
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:58
> > 9)
> > 
> > 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]
> > 
> > 
> > ---------------------------------------------------------------------
> > 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]
> > 
> 
> 
> ---------------------------------------------------------------------
> 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