Re: Tomcat 5.5.7 + Connection Pool

2005-03-18 Thread Alex Rodrigues da Silva
continue,
i see this error :
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
class '' for connect URL 'null'.

-- 
Alex Rodrigues da Silva
Irigon Imóveis
Analista de Sistemas
tel.: 55 21 2522-0042
[EMAIL PROTECTED]

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



RE: Tomcat 5.5.7 + Connection Pool

2005-03-18 Thread Abdullah Jibaly
Alex,

Try using only the Resource element like this:



Regards,
Abdullah

-Original Message-
From: Alex Rodrigues da Silva [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 6:58 AM
To: user@struts.apache.org
Subject: Tomcat 5.5.7 + Connection Pool


Hi,
i'm trying to use a datasource, to connect to postgresql,
but i didn't do it.
my server.xml have this lines then i added above 
   :


  
  

factoryorg.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
maxActive20
maxIdle10
maxWait-1
usernamepostgres

passwordirigon2004

driverClassNameorg.postgresql.Driver

urljdbc:postgresql:strutsdemo
  

and my postgresql.jar i added at /common/lib at tomcat.
but i get an exception no suitable driver.

can you help me ?

thanks 
-- 
Alex Rodrigues da Silva
Analista de Sistemas
tel.: 55 21 8825-1967
[EMAIL PROTECTED]
Linux User #378866

-
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]



Tomcat 5.5.7 + Connection Pool

2005-03-18 Thread Alex Rodrigues da Silva
Hi,
i'm trying to use a datasource, to connect to postgresql,
but i didn't do it.
my server.xml have this lines then i added above 
   :


  
  

factoryorg.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
maxActive20
maxIdle10
maxWait-1
usernamepostgres

passwordirigon2004

driverClassNameorg.postgresql.Driver

urljdbc:postgresql:strutsdemo
  

and my postgresql.jar i added at /common/lib at tomcat.
but i get an exception no suitable driver.

can you help me ?

thanks 
-- 
Alex Rodrigues da Silva
Analista de Sistemas
tel.: 55 21 8825-1967
[EMAIL PROTECTED]
Linux User #378866

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