Versions Compared

Key

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

...

9.The next step is packaging the application.From a command line window change the directory to <app_home> and run the following command to package the HelloWorld application into a single .war file.

No Format
bgColor#000000
borderStylesolid

jar -cvf HelloWorld.war *

This will create a HelloWorld.war file in the <app_home> directory. The next step is to deploy this application.

...

11.Change directory to <geronimo_home>/bin and run the following command:

No Format
bgColor#000000
borderStylesolid

java -jar deployer.jar --user system --password manager deploy <app_home>/HelloWorld.war

12.For further instructions about deployment process please refer the Quick Start or Sample ( Applications ) working.The sample application code can be downloaded here.
HelloWorld web Sample

...

Direct deployment can be done using the Geronimo v1.1 Web console or else application can be deployed using the following command.

No Format
bgColor#000000
borderStylesolid

java -jar <geronimo-home>/bin/deployer.jar deploy <app-home>helloworld.ear

Deploying a J2EE Connector resources archive (RAR) with Geronimo v1.1

...

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

No Format
bgColor#000000
borderStylesolid

Insert the out put

Once the JCA application is deployed, open a Web browser and access the following URL:
http://localhost:8080/jca

...