avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eung-ju Park" <co...@isoft.co.kr>
Subject RE: datasource block problems
Date Fri, 01 Jun 2001 11:06:49 GMT


> -----Original Message-----
> From: Ken Geis [mailto:ken_geis@telocity.com]
> Sent: Friday, June 01, 2001 7:54 PM
> To: Avalon Development
> Subject: datasource block problems
> 
> 
> I have two problems with the datasource components/blocks.  If someone 
> can help, I'd appreciate it.
> 
> 1) The DefaultDataSourceSelector block only looks for JDBC drivers in 
> the system classloader.  I think that it should also check the SAR 
> classloader.

Put your jdbc driver to phoenix's lib dir(/dist/lib).
may be works.

> 
> 2) I don't know if the following should be fixed in JdbcDataSource or in 
> a Configuration class.
> 
> There is no way for me to construct a data source with an empty string 
> as the password.  If I don't specify the password or if I specify 
> <passwd></passwd>, the default of null is used.  I would prefer that if 
> <passwd> is omitted, the Configuration returns null; if <passwd> is 
> empty, the Configuration returns an empty string.

use <password></password> instead of <passwd></passwd>

> 
> The PostgreSQL driver does not work with a null password.  Of course 
> another solution would be for the JdbcDataSource to use a default of an 
> empty string.
> 
> 
> Thanks,
> 
> 	Ken
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: avalon-dev-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message