This is what version?  I have issues still with 5.0.19 but my connection
pools still work despite the error being thrown in the log...does your
pool just not work at all?

On Wed, 17 Mar 2004, Paul Mahoney wrote:

> Date: Wed, 17 Mar 2004 16:24:08 -0000
> From: Paul Mahoney <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> To: 'Parsons Technical Services' <[EMAIL PROTECTED]>,
>      'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: RE: Problem using JNDI/DBCP to get DataSouce
>
> Here goes.... Cut and paste, but blanked out the password bits.
> I hope your eyes can spy the problem. I assume you have this working :)
>
> Server.xml (the Context bit)
> -----------------------------
>         <Context className="org.apache.catalina.core.StandardContext"
> cachingAllowed="true"
> charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true"
> crossContext="false" debug="0" displayName="Custom Fares"
> docBase="C:/Documents and Settings/pmahoney/My Documents/Travel
> 2/code/webapps/CustomFares/web"
> mapperClass="org.apache.catalina.core.StandardContextMapper"
> path="/CustomFares" privileged="false" reloadable="false"
> swallowOutput="false" useNaming="true"
> wrapperClass="org.apache.catalina.core.StandardWrapper">
>           <Resource name="jdbc/OscarsDB" scope="Shareable"
> type="javax.sql.DataSource"/>
>           <ResourceParams name="jdbc/OscarsDB">
>             <parameter>
>               <name>validationQuery</name>
>               <value>select count(*) from systables</value>
>             </parameter>
>             <parameter>
>               <name>url</name>
>
> <value>jdbc:informix-sqli://oscar1.travel2.com:1420/oscars:INFORMIXSERVER=os
> cars_dbsrv</value>
>             </parameter>
>             <parameter>
>               <name>password</name>
>               <value>??????</value>
>             </parameter>
>             <parameter>
>               <name>maxActive</name>
>               <value>4</value>
>             </parameter>
>             <parameter>
>               <name>maxWait</name>
>               <value>5000</value>
>             </parameter>
>             <parameter>
>               <name>driverClassName</name>
>               <value>com.informix.jdbc.IfxDriver</value>
>             </parameter>
>             <parameter>
>               <name>username</name>
>               <value>sy5t3m</value>
>             </parameter>
>             <parameter>
>               <name>maxIdle</name>
>               <value>2</value>
>             </parameter>
>           </ResourceParams>
>         </Context>


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

Reply via email to