Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this deployment plan the attribute <dep:moduleId> </dep:moduleId>segment specifies the unique name com/ibm/j2g/jca.rar used to identify the RAR module in Geronimo and that this module is deployed on the server as a separate component.
The descriptor also:

    • Defines the FileRetriever name which looks up for (delete-for) the resource adapter factory.
    • Specifies that neither transactions nor connection pool(s) are supported.
    • Provides (the)value of the repository path configuration parameter.

Building the sample Application.

In order to build the modules of the File Retriever JCA application you need to update the build.properties file and property such as (geronimo_home)geronimo-home matchs (matches) your environment.

Next step is the deploying the rar application with Geronimo.
As stated in the previous examples user will have two choices of deploying an application with geronimo either Geronimo web console or command line.Here the command line option is described following.
From a command line, change directory to <jca_home> and type the following commands:
Deploying jca-plan.xml and rar

No Format
bgColor#000000
borderStylesolid
java -jar <geronimo_home>/bin/deployer.jar --user system --password manager deploy meta/geronimo/jca-plan.xml jca.rar

No Format
bgColor#000000
borderStylesolid
java -jar <geronimo_home>/bin/deployer.jar --user system --password manager deploy jca.war

...