Hi,
I am using a custom class loader to load jars. I am trying to load drivers using this custom class loader.
custmClassLoader.loadClass(driver).newInstance();
DriverManager.getDriver(url);
custmClassLoader.loadClass(driver).newInstance();
registers the driver successfully.
The custmClassLoader object delegates the searches its repository and if the class is not found, delegates the work to the System Classloader (like
Tomcat).
Any help on this will be greatly appreciated.
Regards,
Praveen.