...
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 differenciated differentiated by a + sign on the left and are displayed first in the list. No Format |
bgColor
#000000
borderStyle | solid
D:\geronimo-1.2-Tomcat\bin>deploy --user system --password manager list-modules
Using GERONIMO_BASE: D:\geronimo-1.2-Tomcat
Using GERONIMO_HOME: D:\geronimo-1.2-Tomcat
Using GERONIMO_TMPDIR: D:\geronimo-1.2-Tomcat\var\temp
Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre
Found 42 modules
+ org.apache.geronimo.configs/activemq/1.2/car
+ org.apache.geronimo.configs/activemq-broker/1.2/car
+ org.apache.geronimo.configs/axis/1.2/car
+ org.apache.geronimo.configs/axis-deployer/1.2/car
+ org.apache.geronimo.configs/client-deployer/1.2/car
+ org.apache.geronimo.configs/connector-deployer/1.2/car
+ org.apache.geronimo.configs/dojo-tomcat/1.2/car @ http://hcunico:8080/dojo
+ org.apache.geronimo.configs/geronimo-gbean-deployer/1.2/car
+ org.apache.geronimo.configs/hot-deployer/1.2/car
+ org.apache.geronimo.configs/j2ee-deployer/1.2/car
+ org.apache.geronimo.configs/j2ee-security/1.2/car
+ org.apache.geronimo.configs/j2ee-server/1.2/car
+ org.apache.geronimo.configs/j2ee-system/1.2/car
+ org.apache.geronimo.configs/openejb/1.2/car
+ org.apache.geronimo.configs/openejb-deployer/1.2/car
+ org.apache.geronimo.configs/persistence-jpa10-deployer/1.2/car
+ org.apache.geronimo.configs/remote-deploy-tomcat/1.2/car @ http://hcunico:8080/remote-deploy
+ org.apache.geronimo.configs/rmi-naming/1.2/car
+ org.apache.geronimo.configs/sharedlib/1.2/car
+ org.apache.geronimo.configs/system-database/1.2/car
+ org.apache.geronimo.configs/tomcat/1.2/car
+ org.apache.geronimo.configs/tomcat-deployer/1.2/car
+ org.apache.geronimo.configs/transaction/1.2/car
+ org.apache.geronimo.configs/webconsole-tomcat/1.2/car
`-> framework.war @ http://hcunico:8080/console
`-> standard.war @ http://hcunico:8080/console-standard
+ org.apache.geronimo.configs/welcome-tomcat/1.2/car @ http://hcunico:8080/
+ sample.applications/HelloWorldApp/1.2/war @ http://hcunico:8080/hello
org.apache.geronimo.configs/ca-helper-tomcat/1.2/car
org.apache.geronimo.configs/client/1.2/car
org.apache.geronimo.configs/client-corba-yoko/1.2/car
org.apache.geronimo.configs/client-security/1.2/car
org.apache.geronimo.configs/client-system/1.2/car
org.apache.geronimo.configs/client-transaction/1.2/car
org.apache.geronimo.configs/directory/1.2/car
org.apache.geronimo.configs/j2ee-corba-yoko/1.2/car
org.apache.geronimo.configs/javamail/1.2/car
org.apache.geronimo.configs/ldap-realm/1.2/car
org.apache.geronimo.configs/online-deployer/1.2/car
org.apache.geronimo.configs/openejb-corba-deployer/1.2/car
org.apache.geronimo.configs/openjpa/1.2/car
org.apache.geronimo.configs/shutdown/1.2/car
org.apache.geronimo.configs/transformer-agent/1.2/car
org.apache.geronimo.configs/uddi-tomcat/1.2/carOur taget now is " + sample.applications/HelloWorldApp/1.2/war @ http://hcunico:8080/helloImage Removed
" , 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 | #000000borderStyle | solid
D:\geronimo-1.2-Tomcat\bin>deploy --user system --password manager stop sample.applications/HelloWorldApp/1.2/war
Using GERONIMO_BASE: D:\geronimo-1.2-Tomcat
Using GERONIMO_HOME: D:\geronimo-1.2-Tomcat
Using GERONIMO_TMPDIR: D:\geronimo-1.2-Tomcat\var\temp
Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre
Stopped sample.applications/HelloWorldApp/1.2/war
When you list all the stopped modules you should now see added to the list the sample.applications/HelloWorldApp/1.2/war
module. See the command and results in the following example. No Format |
bgColor
#000000
borderStyle | solid
D:\geronimo-1.2-Tomcat\bin>deploy --user system --password manager list-modules --stopped
Using GERONIMO_BASE: D:\geronimo-1.2-Tomcat
Using GERONIMO_HOME: D:\geronimo-1.2-Tomcat
Using GERONIMO_TMPDIR: D:\geronimo-1.2-Tomcat\var\temp
Using JRE_HOME: C:\Java\jdk1.5.0_06\\jre
Found 17 modules
org.apache.geronimo.configs/ca-helper-tomcat/1.2/car
org.apache.geronimo.configs/client/1.2/car
org.apache.geronimo.configs/client-corba-yoko/1.2/car
org.apache.geronimo.configs/client-security/1.2/car
org.apache.geronimo.configs/client-system/1.2/car
org.apache.geronimo.configs/client-transaction/1.2/car
org.apache.geronimo.configs/directory/1.2/car
org.apache.geronimo.configs/j2ee-corba-yoko/1.2/car
org.apache.geronimo.configs/javamail/1.2/car
org.apache.geronimo.configs/ldap-realm/1.2/car
org.apache.geronimo.configs/online-deployer/1.2/car
org.apache.geronimo.configs/openejb-corba-deployer/1.2/car
org.apache.geronimo.configs/openjpa/1.2/car
org.apache.geronimo.configs/shutdown/1.2/car
org.apache.geronimo.configs/transformer-agent/1.2/car
org.apache.geronimo.configs/uddi-tomcat/1.2/car
sample.applications/HelloWorldApp/1.2/war
To start the modules just use start instead of stop.
...
We used this portlet in the Installing and removing applications section to install and remove applications via the Geronimo Administration Console. From this same portlet you can also change the status of the applications. The avaialable available commands within the portlet will change depending on the status for each application. If the application is in running status (started), the commands Stop and Restart will be displayed. If the application is stopped, only the command Start will be displayed. The Unninstall Uninstall command will always be displayed independently of the status of the application. To change the status of the application just click on the command (Start or Stop).