Friday, July 15, 2005

Dangers of copying files from a wiki...

Just a quick note. I've spent about two days trying to get an application up and running with no luck. I've just sussed the problem.

I had a configuration file copied from a wiki page. The end of each line contained a space. One of the properties in the file was a class to load (oracle.jdbc.driver.OracleDriver). It wasn't loading until I lost the space.

I would have thought that the class loader would have done a trim() on its parameters. [sigh]