Vertica 6 Driver and OSGi

Moderator: NorbertKrupa

Post Reply
chris_nh82
Newbie
Newbie
Posts: 1
Joined: Tue Nov 20, 2012 4:12 pm

Vertica 6 Driver and OSGi

Post by chris_nh82 » Tue Nov 20, 2012 4:22 pm

Has anyone used the Vertica 6.0.1 JDBC driver successfully in an OSGi environment? I have "bundlized" the driver jar for use in Apache Karaf, but upon initial startup after install of my app, I receive an exception. The underlying cause is that VDriver cannot find driver.properties, which I have confirmed is indeed available in the jar. The weird thing is that when I restart the OSGi container, everything works as expected. Additionally, the very same process of converting a jar to a bundle worked for the Vertica 5 driver. Anyone happen to have encountered this or something similar?

Thanks!

Post Reply

Return to “JDBC”