From user-return-6798-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Thu Jun 14 17:11:21 2007 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 53479 invoked from network); 14 Jun 2007 17:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 17:11:21 -0000 Received: (qmail 1253 invoked by uid 500); 14 Jun 2007 17:11:20 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 1229 invoked by uid 500); 14 Jun 2007 17:11:20 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 1218 invoked by uid 99); 14 Jun 2007 17:11:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 10:11:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.208.196.171] (HELO outbound.mailhop.org) (63.208.196.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 10:11:16 -0700 Received: from bi01p1.nc.us.ibm.com ([129.33.49.251] helo=[9.27.152.163]) by outbound.mailhop.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1HysqV-000A3s-4H for user@geronimo.apache.org; Thu, 14 Jun 2007 13:10:55 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 129.33.49.251 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19lyYx23pQVgxvK/8qPuc+J Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Matt Hogstrom Subject: Re: Can db2java-1.2.zip not be used to create DataSource in Geronimo 1.1.1? Date: Thu, 14 Jun 2007 13:10:57 -0400 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org For fun can you specify this is a Type 4 driver? IIRC there were issues related to problems with the DLLs being loaded under a different classloader than the ultimately referencing classes. I thought it was a Linkage Exception but I might be wrong. On Jun 14, 2007, at 12:13 PM, yskim@symcor.com wrote: > We are trying to migrate the web application written for WebSphere > 4.0 to > Geronimo 1.1.1. Back then we had to use DB2 JDBC Driver 1.2 which > type 2 > driver. It comes as db2java.zip or db2java-1.2.zip. I have tried > the jar > file format and got the same error message. > > I have a out-of-box geronimo 1.1.1 and removed db2/db2jcc/1.3 from the > repository. I only try to get the > COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource working instead of > com.ibm.db2.jcc.DB2Driver (from db2jcc-1.3.jar) for successful test > connection in database pool wizard. > > Thanks in advance. > > Young > > > > > Matt Hogstrom > > g> To > user@geronimo.apache.org > 06/14/2007 > 11:42 cc > AM > > Subject > Re: Can db2java-1.2.zip not > be used > Please respond to to create DataSource in > Geronimo > user@geronimo.apa 1.1.1? > che.org > > > > > > > > > > I'm not familiar with the jcc driver version numbers. Is 1.2 and 1.3 > your version? I thought they generally corresponded to the DB2 > version being used. > > Also, I assume this is a Type 4 driver, is this correct? > > On Jun 14, 2007, at 10:51 AM, yskim@symcor.com wrote: > >> I have taken out db2/db2jcc/1.3 from the repository by rm command >> in the >> Solaris and installed db2java-1.2.zip into the repository the >> console menu >> of Common Libs. >> >> With the use of database wizard, I have entered the database >> connection >> information and then clicked "Test Connection" before deployment. >> The >> class cast exception is thrown as below. Am I supposed to use >> db2jcc-1.3.jar only? >> >> Implementation Class in db2java-1.2.zip is >> COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource. db2jcc-1.3.jar has >> com.ibm.db2.jcc.DB2Driver. > >