The simplest way to correct this is to overwrite the.jar included with SourceForge with the one from $ORACLE_HOME.
SourceForge Enterprise Edition uses the thick Oracle JDBC driver, which has two parts. One of these is provided by SourceForge, the other is in $ORACLE_HOME. If these two components are incompatible, SourceForge will be unable to make a connection to the database.
Follow these steps to overwrite the.jar included with SourceForge with the one from $ORACLE_HOME:
cp $ORACLE_HOME/jdbc/lib/ojdbc14.jar /usr/local/sourceforge/jboss/jboss-3.2.6/server/default/lib/
A restart of the application will be required to use the new.jar.