users@glassfish.java.net

Re: DB2 Connection Pool

From: <glassfish_at_javadesktop.org>
Date: Sat, 09 Jun 2007 04:20:43 PDT

Yes I do and it is installed

I have added the following Classpath Suffix in the Server Admin Console and restarted the server, but it still does not work

/opt/IBM/db2/V8.1/java/db2jcc.jar
/opt/IBM/db2/V8.1/java/db2java.jar
/opt/IBM/db2/V8.1/db2jcc_license_cu.jar
/opt/IBM/db2/V8.1/db2jcc_javax.jar


plus the following code works when I run it outside the Glassfish server

try {
    Class.forName("com.ibm.db2.jcc.DB2Driver").newInstance();
}
catch(Exception e) {
     System.out.println(e.toString());
}
[Message sent by forum member 'pczurak' (pczurak)]

http://forums.java.net/jive/thread.jspa?messageID=221347