geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hernan Cunico <>
Subject Re: Configuring DB2 CLI "legacy" driver with Geronimo
Date Fri, 31 Mar 2006 15:21:57 GMT
For the deployment follow the same steps as for the Universal driver. Instead of db2jcc.jar
use and rename it to db2java-8.1.8.jar, you will still need to add the license drivers.

The plan below is the one I just used to deploy the pool on my machine, note the first dependency
pointing to the legacy driver and the JDBC driver class is

When I copied the drivers to the Geronimo repo I created a directory instead of
plain db2, this should be reflected in the <uri> for the dependencies.

I have not tested it against a mainframe. As Matt mentioned, your runtime environment should
be set 
to find the specific libraries for the destination OS. I think you should have this already
set as 
you mentioned you used to use the legacy driver so far.

<?xml version="1.0" encoding="UTF-8"?>
<connector configId="user/database-pool-DB2_Test/1/car"
           <config-property-setting name="Password">db2admin</config-property-setting>
           <config-property-setting name="CommitBeforeAutocommit">false</config-property-setting>
           <config-property-setting name="UserName">db2admin</config-property-setting>



Matt Hogstrom wrote:
> By legacy driver you mean the Type 2 driver?
> I haven't tried it but I would expect that there are at least two 
> changes that need to be made.  First, you'll need to ensure that your 
> runtime environment is setup to find the dlls or so's depending on the 
> target OS.  The second is when deploying the driver you'll need to 
> specify that the DriverType is 2 and not 4.
> Can you provide some additional detail on how your setting this up ?
> Fran Varin wrote:
>> The examples that I have found (and implemented) refer to configuring 
>> the DB2
>> Universal Driver with Geronimo. Up until this point we have used the 
>> legacy
>> driver as opposed to the Unerval Driver. Does anyone have any 
>> information on
>> how to configure the legacy driver with Geronimo?
>> -- 
>> View this message in context: 

>> Sent from the Apache Geronimo - Users forum at

View raw message