This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hello i m loading the class for my jdbc driver at runtime. Once it is loaded how can i use it with the datasource or what is the way to go once it is loaded. I m having a ClassNotFoundException even after my class is loaded. I m using commons DBCP BasicDataSource for the implementation of the datasource. Thanks for helping.
dav mrazek
Ranch Hand
Joined: Aug 11, 2007
Posts: 69
posted
0
Here is my code :
when i do cl.loadClass the class it s like if it was in the classpath no ? Why Class.forName(driverClassName) wouldn't work after this ? Thank you for helping.
dav mrazek
Ranch Hand
Joined: Aug 11, 2007
Posts: 69
posted
0
Here is my code :
when i do cl.loadClass the class it s like if it was in the classpath no ? Why Class.forName(driverClassName) wouldn't work after this ? Thank you for helping.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: DataSource and Driver Class loaded at runtime