Hi,

Just a quick question regarding the loading of the OJB.properties file.

In the load method on 
  org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl
it has:
  URL url =
Thread.currentThread().getContextClassLoader().getResource(getFilename());

Is there a reason the Thread's ClassLoader is being used rather than the
ClassLoader on the Class?
Such as:
  URL url = this.getClass().getClassLoader().getResource(getFilename());

Otherwise when using something such as ClassWorlds it fails to locate the
file.

Regards,
Stuart

Reply via email to