Peter Donald wrote:

At 11:30 AM 6/1/01 -0700, Ken Geis wrote:

Eung-ju Park wrote:


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.

Thanks. This gets me farther, but I still think that it should check the SAR class loader.


We could do both. Check ContextClassLoader first and then revert to Class.forName() if that fails. Would that work for you?


I think that this is the correct behavior. However, if the ContextClassLoader had the system ClassLoader as its parent, reverting to Class.forName() is irrelevant. If the system ClassLoader is not the parent of the ContextClassLoader, perhaps it should be.


Ken


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



Reply via email to