tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject RE: more pool problems
Date Mon, 19 Aug 2002 15:37:20 GMT
  It's not there, i checked.

On Mon, 2002-08-19 at 12:32, Campano, Troy wrote:
> Have you tried searching for "org.hsql.jdbcDriver" in server.xml?
> 
> -----Original Message-----
> From: Felipe Schnack [mailto:felipes@ritterdosreis.br] 
> Sent: Monday, August 19, 2002 11:28 AM
> To: tomcat-user@jakarta.apache.org
> Subject: more pool problems
> 
> 
>   I'm still trying to use tomcat4's connectionpooling mechanism. I just added the following
code to my server.xml. I added too the needed tags to web.xml. Tomcat starts ok, but when
I try to get the DataSource from the InitialContext I get an "ClassNotFoundException: org.hsql.jdbcDriver".
>   Where this came from???
> 
>   server.xml:
> 
> <Context path="/poolman" docBase="poolman" debug="5"  reloadable="false" crossContext="true">
>   <Logger
> className="org.apache.catalina.logger.FileLogger"               
> prefix="localhost_poolman_log." suffix=".txt" timestamp="true"/>
>   <Resource name="jdbc/w2" auth="Container" type="javax.sql.DataSource"/>
>   <ResourceParams name="jdbc/w2">
>  
> <parameter><name>factory</name><value>org.apache.commons.dbcp.BasicDataSourceFactory</value></parameter>
>   <parameter><name>maxActive</name><value>100</value></parameter>
>   <parameter><name>maxIdle</name><value>30000</value></parameter>
>   <parameter><name>maxWait</name><value>100</value></parameter>
>   <parameter><name>username</name><value>pgsql</value></parameter>
>   <parameter><name>password</name><value>Kzy8@0o*</value></parameter>
>  
> <parameter><name>driverClassName</name><value>org.postgresql.Driver</value></parameter>
>  
> <parameter><name>url</name><value>jdbc:postgresql://jabba:5432/w2</value></parameter>
>   </ResourceParams>
> </Context>
> 
> -- 
> 
> Felipe Schnack
> Analista de Sistemas
> felipes@ritterdosreis.br
> Cel.: (51)91287530
> Linux Counter #281893
> 
> Faculdade Ritter dos Reis
> www.ritterdosreis.br
> felipes@ritterdosreis.br
> Fone/Fax.: (51)32303328
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes@ritterdosreis.br
Fone/Fax.: (51)32303328


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message