Hi,
I am, finding problem to load DB2 driver Class used in an application deployed on Websphere Applcation Server 5.1 using database DB2 8.1 on Linux Redhat OS
try
{
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
}
catch(ClassNotFoundException cnfe)
{
throw new SQLException("DRIVER PROBLEM Can’t find class for driver:" +cnfe.getMessage());
}
ClassPath has been set as follows in .bash_profile of the login user on Linux:
$CLASSPATH:/opt/IBM/db2/V8.1/java:/opt/IBM/db2/V8.1/java/db2java.zip
I checked the driver class(DB2driver) which is present in db2java.zip in the path COM.ibm.db2.jdbc.app
The above exception is thrown when trying to connect to database.
Is anything required to be done in WAS where the application is deployed
Hope to get good help from this forum
Thanks,
Manish