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

...

You can change the status of an application in two different ways. You can use the Deployer tool or the Geronimo Administration Console.

...

You will receive a list of all the modules installed on the server. Note that the started modules are differentiated by a + sign on the left and are displayed first in the list. No FormatbgColor

#000000borderStylesolid D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager list-modules Using GERONIMO_BASE: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_HOME: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.1\var\temp Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre Found 85 modules + org.apache.geronimo.configs/activemq-broker/2.1-SNAPSHOT/car + org.apache.geronimo.configs/activemq-ra/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis2/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis2-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis2-ejb/2.1-SNAPSHOT/car + org.apache.geronimo.configs/axis2-ejb-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/ca-helper-tomcat/2.1-SNAPSHOT/car + org.apache.geronimo.configs/client-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/clustering/2.1-SNAPSHOT/car + org.apache.geronimo.configs/connector-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/cxf/2.1-SNAPSHOT/car + org.apache.geronimo.configs/cxf-ejb/2.1-SNAPSHOT/car + org.apache.geronimo.configs/dojo-legacy-tomcat/2.1-SNAPSHOT/car + org.apache.geronimo.configs/dojo-tomcat/2.1-SNAPSHOT/car + org.apache.geronimo.configs/hot-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/j2ee-corba-yoko/2.1-SNAPSHOT/car + org.apache.geronimo.configs/j2ee-deployer/2.1-SNAPSHOT/car + org.apache.geronimo.configs/j2ee-server/2.1-SNAPSHOT/car

Our target now is " + sample.applications/HelloWorldApp/2.0/war @ http://hcunico:8080/hello " , this module's status is started since there is a + on the left. Alternatively, you can run the following command to list just the started modules:

...

You will receive a confirmation message similar to the one listed below indicating that the module has been stopped.noformat

bgColor#000000borderStylesolid D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager stop sample.applications/HelloWorldApp/2.0/war Using GERONIMO_BASE: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_HOME: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.1\var\temp Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre Stopped sample.applications/HelloWorldApp/2.0/war

When you list all the stopped modules you should now see added to the list the sample.applications/HelloWorldApp/2.0/war module. See the command and results in the following example.noformat

bgColor#000000borderStylesolid D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager list-modules --stopped Using GERONIMO_BASE: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_HOME: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.1\var\temp Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre Found 20 modules org.apache.geronimo.configs/client/2.1-SNAPSHOT/car org.apache.geronimo.configs/client-corba-yoko/2.1-SNAPSHOT/car org.apache.geronimo.configs/client-security/2.1-SNAPSHOT/car org.apache.geronimo.configs/client-transaction/2.1-SNAPSHOT/car org.apache.geronimo.configs/cxf-deployer/2.1-SNAPSHOT/car org.apache.geronimo.configs/cxf-ejb-deployer/2.1-SNAPSHOT/car org.apache.geronimo.configs/farming/2.1-SNAPSHOT/car org.apache.geronimo.configs/jsr88-ear-configurer/2.1-SNAPSHOT/car org.apache.geronimo.configs/jsr88-jar-configurer/2.1-SNAPSHOT/car org.apache.geronimo.configs/jsr88-war-configurer/2.1-SNAPSHOT/car org.apache.geronimo.configs/tomcat6-clustering-wadi/2.1-SNAPSHOT/car org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car org.apache.geronimo.framework/client-system/2.1-SNAPSHOT/car org.apache.geronimo.framework/jsr88-cli/2.1-SNAPSHOT/car org.apache.geronimo.framework/jsr88-deploymentfactory/2.1-SNAPSHOT/car org.apache.geronimo.framework/offline-deployer/2.1-SNAPSHOT/car org.apache.geronimo.framework/online-deployer/2.1-SNAPSHOT/car org.apache.geronimo.framework/shutdown/2.1-SNAPSHOT/car org.apache.geronimo.framework/upgrade-cli/2.1-SNAPSHOT/car sample.applications/HelloWorldApp/2.0/war

To start the modules just use start instead of stop.

...

You will receive a confirmation message similar to the one listed below indicating that the module has been started.

No FormatbgColor#000000borderStylesolid D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager start sample.applications/HelloWorldApp/2.0/war Using GERONIMO_BASE: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_HOME: D:\geronimo-tomcat6-jee5-2.1 Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.1\var\temp Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre Started sample.applications/HelloWorldApp/2.0/war @ http://hcunico:8080/hello

As an alternative to the command line option you can use the Geronimo Administration Console to change the status of the modules. Open the Geronimo Administration Console and navigate to Applications on the Console Navigation menu on the left hand side. There you will find Application EARs and Web App WARs, depending on the type of application you want to change the status, you will choose either Application EARs or Web App WARs. For this example we continue to use HelloWorld.war as the sample application, hence we will select Web App WARs.

...