> -----Original Message----- > From: Ken Geis [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
