QUESTION POSED ON: 18 August 2004
I am trying to connect to DB2 from a Java agent using db2java.zip JDBC driver in Notes 5 client. The code is:
DriverManager.registerDriver
((Driver)Class.forName("COM.ibm.db2.
jdbc.net.DB2Driver").newInstance());
Connection connection =
DriverManager.getConnection(url,username,
password);
At runtime I get the error:
java.lang.NoClassDefFoundError: java/security/PrivilegedExceptionAction
I check the rt.jar and PrivilegedExceptionAction is not there. The same code works fine in Notes 6 with the same driver (for Notes 6 rt.jar contains PrivilegedExceptionAction class).
Can you please tell me if there is a different version for db2java.zip driver that is compatible with JDK 1.1 used in Domino 5? Thanks.
|