Windows 2000, WAS Express 5.0.2, WSAD5.1
I have deployed my first application with some
servlets in WAS5.0.2 as an ear with only a web-module in it. jars and zips that this application uses are under WEB-INF/lib directory. This lib also has db2java.zip that the seemingly missing class is in! I am stumped why lib directory is not being looked up! I printed "java.class.path" in a SnoopServlet and was surprised to find that none of the jars under WEB-INF/lib are listed! A section of error-trace is included below.
I'll appreciate any help.
java.lang.NoClassDefFoundError: COM/ibm/db2/jdbc/app/DB2Driver
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at com.company.database.DatabaseConnectionPool.makeNewConnection(DatabaseConnectionPool.java:686)
Thanks