13 June, 2011

Rational Buildforge - Database extension 'ibm_db2' not found error


After successfully started Rational Buildforge, I tried to access to the administration interface, using the URL http://rafw.demo.com, and I got the following error string, instead of the usual login interface:

"Database extension 'ibm_db2' not found."

To solve this, you just need to add the DB2 library folder to the environment variable LD_LIBRARY_PATH and restart the buildforge server. I did that using the following command:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/buildforge/server/apache/lib:/opt/ibm/db2/V9.7/lib32

To include this on Operating System boot, just add the command above in /etc/rc.local file.

Cheers!

No comments: