I've installed DB2 7.1 Enterprise Edition on Red Hat Linux 7.3.
I'm using tomcat as servlet engine with JDK 1.3.
CLASSPATH is set to :
Whenever I try to run a simple java program to test database connectivity it gives exception.
Since you are using the app driver, I suspect that the JDBC driver is unable to load the native code libraries. I think you need to update the LD_LIBRARY_PATH environment variable so that it includes the <home directory of DB2 instance owner>/sqllib/lib