Versions Compared

Key

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

...

After you deploy the application, you should see a confirmation message similar to the following one with the moduleID sample.applications/HelloWorldApp/1.0/war, which is assigned to this application within your deployment plan:. The confirmation message is displayed in the command window, which is different from the case when you deploy by using the Geronimo Administration Console.

No Format
bgColor#000000
borderStylesolid
D:\geronimo-tomcat7-javaee6-3.0\bin>deploy --user system --password manager deploy \HelloWorld_1.0\HelloWorld.war
Using GERONIMO_BASE:   D:\geronimo-tomcat7-javaee6-3.0
Using GERONIMO_HOME:   D:\geronimo-tomcat7-javaee6-3.0
Using GERONIMO_TMPDIR: D:\geronimo-tomcat7-javaee6-3.0\var\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_21\\jre
    Deployed sample.applications/HelloWorldApp/1.0/war @ /hello
The confirmation message is displayed in the command window, which is different from the case when you deploy by using the Geronimo Administration Console.

Different from the deployment that uses the Geronimo Administration Console, using the command line tool you receive instant information in the command line for confirmation. Alternatively, if you have not yet packaged your application, you could use the --inPlace option for deploying your application directly from the directory where you are actually developing the application. This option is used to deploy this sample application in the Quick start - Apache Geronimo for the impatient section.

In this case you would , use this command from the <geronimo_home>\bin directory:

...

To uninstall an application, run the following command from the <geronimo_home>\bin directory using with the moduleID specified in the deployment plan.

deploy --user system --password manager undeploy sample.applications/HelloWorldApp/1.0/war

This command will first stop the running application and then uninstall it. You should see a confirmation message similar to thisthe following one:

No Format
bgColor#000000
borderStylesolid
D:\geronimo-tomcat7-javaee6-3.0\bin>deploy --user system --password manager undeploy sample.applications/HelloWorldApp/1.0/war
Using GERONIMO_BASE:   D:\geronimo-tomcat7-javaee6-3.0
Using GERONIMO_HOME:   D:\geronimo-tomcat7-javaee6-3.0
Using GERONIMO_TMPDIR: D:\geronimo-tomcat7-javaee6-3.0\var\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_21\\jre
    Module sample.applications/HelloWorldApp/1.0/war unloaded.
    Module sample.applications/HelloWorldApp/1.0/war uninstalled.

    Undeployed sample.applications/HelloWorldApp/1.0/war

These There are other options and commands available for this deployer tool, please visit the Tools and commands section for additional details.

...