Install Oracle database driver in Karaf

One Star

Install Oracle database driver in Karaf

I tried to install the driver with the following command.
install wrap:file:C:/MyTools/driver/ojdbc6.jar\\$Bundle-SymbolicName=oracle.jdbc&Bundle-Version=11.2.0.2&Bundle-Name='JDBC Driver for Oracle'
But, it failed with this error.
Error executing command bundle:install: unable to convert argument urls with value '' to type java.util.List<java.net.URI>
Can anyone help?
Thanks,
email3888
Moderator

Re: Install Oracle database driver in Karaf

Hi,
Did you follow up document about:TalendHelpCenter:Installing the driver from the file system using bundleAinstall to install your oracle database driver from the file system?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Employee

Re: Install Oracle database driver in Karaf

Hi,
You could try the simple command without specify Bundle-Name etc.
install wrap:file:C:/MyTools/driver/ojdbc6.jar
Or you install the ojdbc6.jar into Maven repo, then install it from M2 repo
mvn install:install-file -Dfile="C:/MyTools/driver/ojdbc6.jar" -DgroupId=ojdbc -DartifactId=ojdbc -Dversion=11.2.0.2.0 -Dpackaging=jar
install wrap:mvnSmiley Surprisedjdbc/ojdbc/11.2.0.2.0
Regards.