Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

anchortoptop

This article shows you how to configure a DB2 datasource in Apache Geronimo v1.2. Since the release of Geronimo v1.1 you can now select multiple drivers from the creation pool wizard on the Geronimo Administration Console.

...

As an alternatively to the wizard you could create a deployment plan manually and deploy it using the command line based deployer tool. To use this option create a db2-plan.xml file and copy the content of the following example.

...

...

Let's analyze this plan now. Take a look at the <dep:environment> section, there you can find the moduleId which identify the resource or component being deployed; in the Administration Console the moduleId is displayed in the Component Name column on the Database Pools portlet.

...

You should receive the following message:noformat

bgColor#000000borderStylesolid D:\geronimo-jetty-j2ee-1.2\bin>deploy --user system --password manager deploy \tmp\db2-plan.xml ..\repository\org\tranql\tranql-connector-ra\1.3\tranql-connector-ra-1.3.rar Using GERONIMO_BASE: D:\geronimo-jetty-j2ee-1.2 Using GERONIMO_HOME: D:\geronimo-jetty-j2ee-1.2 Using GERONIMO_TMPDIR: D:\geronimo-jetty-j2ee-1.2\var\temp Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre Deployed console.dbpool/DB2_ds/1.0/rar

Back to Top