Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Problem in Connection Pooling

Problem in Connection Pooling

2003-12-23       - By Edson Alves Pereira

 Back
Reply:     1     2  

  You must put ojdbc14.jar inside $TOMCAT_HOME/common/lib

  :D

> -- ---- --
> De:   Kumar Abhay-CAK203C[SMTP:CAK203C@(protected)]
> Responder:   Tomcat Users List
> Enviada:   segunda-feira, 22 de dezembro de 2003 22:52
> Para:   Tomcat Users List
> Assunto:   Problem in Connection Pooling
> Prioridade:   Alta
>
> Hello,
>
> I am trying to set up connection pooling with Tomcat 4.1.29 and Oracle 9i
> I am getting the below error:
>
> org.apache.commons.dbcp.SQLNestedException Source code of org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
> class '' for connect URL 'null', cause:java.sql.SQLException Source code of java.sql.SQLException: No suitable
> driver
>
> Please tell me what to do to resolve this. I am able to lookup dB. But on
> trying to fetch data from dB I am getting this error.
>
> Please Help
>
> Regards
> Abhay
>
> Details:
>
> Server.xml
>     <Resource name="estimation" scope="Shareable"
> type="javax.sql.DataSource Source code of javax.sql.DataSource"/>
>     <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>pass</value>
>       </parameter>
>       <parameter>
>         <name>url</name>
>         <value>jdbc:oracle:thin:@(protected):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>
>
>
>         <Context className="org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext"
> cachingAllowed="true"
> charsetMapperClass="org.apache.catalina.util.CharsetMapper Source code of org.apache.catalina.util.CharsetMapper" cookies="true"
> crossContext="false" debug="0" displayName="Estimation"
> docBase="C:\Estimation"
> mapperClass="org.apache.catalina.core.StandardContextMapper"
> path="/Estimation" privileged="false" reloadable="false"
> swallowOutput="false" useNaming="true"
> wrapperClass="org.apache.catalina.core.StandardWrapper Source code of org.apache.catalina.core.StandardWrapper">
>
>           <Logger className="org.apache.catalina.logger.FileLogger"
> debug="0" directory="logs" prefix="localhost_estimation_log."
> suffix=".txt" timestamp="true" verbosity="1"/>
>
>         </Context>
>
> Web.xml
>
> <resource-ref>
>   <res-ref-name>jdbc/estimation</res-ref-name>
>   <res-type>javax.sql.DataSource Source code of javax.sql.DataSource</res-type>
>   <res-auth>Shareable</res-auth>
> </resource-ref>
>
> Class Path
>
> .;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\classes12.jar
>
> Tried with oracle.jar and ojdbc14.jar
>

©2008 junlu.com - Jax Systems, LLC, U.S.A.