which lib? jboss/server/default/lib?
If so, check the jar file doesn't have anything corrupted about it. Try downloading a previous version and see if you have the same issues
The .jar is in server/default/lib.
I tried replacing it with another version but I am getting the identical error.
DB2's jdbc driver is a type 2 driver, that means it uses native code to connect to the database. To allow the driver to find it's dll, add <db2>\sqllib\bin and <db2>\sqllib\lib to your PATH (windows) or LD_LIBRARY_PATH (unix).
That's It !!!!
Many thanks. Jboss is happy talking to db2 now !