-
1. Re: Cannot load oracle jdbc driver
rogelio_sevilla1 Jul 21, 2011 6:47 PM (in response to eloyot)I Don't know if this is the correct answer but it certainly worked well for me.
1.- Download the oracle jdbc driver (jar file)
2.- Download the biz.aQute.bnd.jar from this site: http://www.aqute.biz/Bnd/Download , rename it to bnd.jar
3.- Convert the oracle jdbc driver jar into an osgi bundle (so you can deploy it into fuse esb) using the command: java -jar bnd.jar wrap oracle_jdbc_driver.jar
4.- Copy and paste the generated file to the deploy folder on your fuse esb
5.- Now, this bundle is exporting all the classes you need for using oracle jdbc into any other osgi bundle you want
-
2. Re: Cannot load oracle jdbc driver
ffang Jul 21, 2011 8:00 PM (in response to eloyot)Hi,
We've discussed similar questions before, take a look at .
http://fusesource.com/forums/thread.jspa?messageID=9757☝
Freeman
-
3. Re: Cannot load oracle jdbc driver
eloyot Jul 22, 2011 10:23 AM (in response to rogelio_sevilla1)Thanks Rogelio, that worked perfectly.
Ed
-
4. Re: Cannot load oracle jdbc driver
eloyot Jul 22, 2011 10:25 AM (in response to ffang)Thanks Freemen,
I still need to learn a lot more about OSGi. I don't know how to build and deploy a fragment bundle.
Thanks,
Ed
-
5. Re: Cannot load oracle jdbc driver
eloyot Jul 22, 2011 10:28 AM (in response to ffang)It would seem this is a common question. It might be a good candidate for documentation. Once I figure out and thoroughly understand the right way to do it I can write it up in a how-to if this would be useful.
Ed
-
6. Re: Cannot load oracle jdbc driver
samuthra Jan 10, 2012 7:26 AM (in response to eloyot)Hi eloyot,
If you have created the how-to please point the link to me. I am stuck with creating fragment bundle...
-
7. Re: Cannot load oracle jdbc driver
ffang Jan 10, 2012 9:30 AM (in response to samuthra)Hi,
I just answer your question in
http://fusesource.com/forums/thread.jspa?messageID=13007㋏
Freeman