Did you use the spring-datasource to load the datasource?
If so please refresh spring datasource bundle to let it pick up the Driver.
Willem
lekkie wrote:
Yes, its an OSGI bundle and I have that package imported already.
willem.jiang wrote:
Did you deploy the route context into OSGi platform?
Can you add the package of "net.sourceforge.jtds.jdbc" into your
application OSGi meta info of Import-Packages.
Willem
lekkie wrote:
Hi,
I am using the com.mchange.v2.c3p0.ComboPooledDataSource library to
create
datasource to manage database connection.
However, whenever I tried to use the datasource to get a connection it
throws classnotfoundexception for net.sourceforge.jtds.jdbc.Driver. I was
able to load same class
(Class.forName("net.sourceforge.jtds.jdbc.Driver"))
inside my bean (the one that is suppose to use the datasource
connection).
How do I resolve this?
kr.