Saturday, June 5, 2010

Providers to external Data Base other than Oracle

Andy weaver from Fishbowl has a written a how to blog to do external database look up in check in form. Check link here.
    In case your external database is some thing other than oracle than you can follow these steps to create a provider to this DB.

  • Add all your database driver jars into InstallDir/shared/classes folder
  • In InstallDir/bin Intradoc.cfg file add java class path variable to your jar files ex: JAVA_CLASSPATH_defaultjdbc=$SHAREDDIR/classes/ojdbc14.jar
  • Go to Administration --> Providers page
  • Click on Add Provider against Database provider
  • Fill new provider form and click on Add button
  • Restart content server
Now you can follow Andy's  blog create a component and do a look up to external db.

1 comment:

poornima said...

Hi,
I am trying to connect another oracle DB to my UCM ( its UCM 11g). I have tried to add the second database using the 'DB provider' option. But when I restarted my content server it started showing 'Network Adapter couldnt not establish the connection'. The second DB runs on a different machine in the same LAN.
It will be really helpful if you can help me to find out where i am going wrong in this case

Regards,
Poornima