Versions Compared

Key

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

...

To install a new application via the Geronimo Administration Console the Install New Applications portlet is available by selecting Deploy New on the Console Navigation menu on the left hand side. This portlet also allows you to start automatically the application right after it was deployed.

Image RemovedImage Added

For this example we will be using the simple JSP HelloWorld sample created in the Quick start - Apache Geronimo for the impatient section. In that section however we used the --inPlace deployment option, in other words we did not need to package the application into a WAR file. To create the WAR file type the following command from the <app_home> directory

...

No Format
bgColor#000000
borderStylesolid
D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager deploy \HelloWorld_2.0\HelloWorld.war
Using GERONIMO_BASE:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_HOME:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.0-M21\var\temp
Using JRE_HOME:        C:\Java\jdk1.5.0_06\\jre
    Deployed sample.applications/HelloWorldApp/2.01/war @
    http://hcunico:8080/hello

...

No Format
bgColor#000000
borderStylesolid
D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager list-modules
Using GERONIMO_BASE:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_HOME:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.0-M21\var\temp
Using JRE_HOME:        C:\Java\jdk1.5.0_06\\jre
Found 4785 modules
  + console.dbpool/LocalDB/1.0/rarorg.apache.geronimo.configs/activemq-broker/2.1-SNAPSHOT/car
  + console.dbpool/jdbc%2FTradeDataSource/1.0/rarorg.apache.geronimo.configs/activemq-ra/2.1-SNAPSHOT/car
  + org.apache.geronimo.configs/activemqaxis/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/activemqaxis-brokerdeployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/axisaxis2/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/axisaxis2-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/axis2-ejb/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/axis2-ejb-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/clientca-helper-deployertomcat/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/connectorclient-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/cxfclustering/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/cxfconnector-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/dojo-tomcatcxf/2.01-M2SNAPSHOT/car @ http://hcunico:8080/dojo
  + org.apache.geronimo.configs/geronimocxf-gbean-deployerejb/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/hotdojo-legacy-deployertomcat/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/j2eedojo-deployertomcat/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/j2eehot-securitydeployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-servercorba-yoko/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-systemdeployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/javamailj2ee-server/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/jee-specsjasper/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/openejbjasper-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/openejb-deployerjavamail/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/persistencejaxws-jpa10-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/remotejaxws-deployejb-tomcatdeployer/2.01-M2SNAPSHOT/car @ http://hcunico:8080/remote-deploy
  + org.apache.geronimo.configs/rmijsr88-rar-namingconfigurer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/sharedlibmejb/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/system-databasemyfaces/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/tomcat6/2.0-M2/car
  + org.apache.geronimo.configs/tomcat6-myfaces-deployer/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/transaction-jta11openejb/2.01-M2SNAPSHOT/car
  + org.apache.geronimo.configs/webconsole-tomcat/2.0-M2/car
      `-> standard.war @ http://hcunico:8080/console-standard
      `-> framework.war @ http://hcunico:8080/console
  + org.apache.geronimo.configs/webservices-common/2.0-M2/car
  + org.apache.geronimo.configs/welcome-tomcat/2.0-M2/car @ http://hcunico:8080/
  + sample.applications/HelloWorldApp/2.0/war @ http://hcunico:8080/hello
    org.apache.geronimo.configs/ca-helper-tomcat/2.0-M2/car
    org.apache.geronimo.configs/client/2.0-M2/car
    org.apache.geronimo.configs/client-security/2.0-M2openejb-corba-deployer/2.1-SNAPSHOT/car
   + org.apache.geronimo.configs/clientopenejb-systemdeployer/2.01-M2SNAPSHOT/car
  +  org.apache.geronimo.configs/client-transactionopenjpa/2.01-M2SNAPSHOT/car
   + org.apache.geronimo.configs/directorypersistence-jpa10-deployer/2.01-M2SNAPSHOT/car
  +  org.apache.geronimo.configs/ldapremote-deploy-realmtomcat/2.01-M2SNAPSHOT/car
   + org.apache.geronimo.configs/online-deployersharedlib/2.01-M2SNAPSHOT/car
   + org.apache.geronimo.configs/openjpaspring/2.01-M2SNAPSHOT/car
  +  org.apache.geronimo.configs/shutdownsystem-database/2.01-M2SNAPSHOT/car
   + org.apache.geronimo.configs/transformer-agenttomcat6/2.01-M2SNAPSHOT/car
   + org.apache.geronimo.configs/uddi-tomcattomcat6-clustering-builder-wadi/2.01-M2SNAPSHOT/car

Look for the sample.applications/HelloWorldApp/2.0/war entry, that is the value you will have to use when trying to uninstall the application.

...

No Format
bgColor#000000
borderStylesolid
D:\geronimo-tomcat6-jee5-2.0-M2\bin>deploy --user system --password manager undeploy sample.applications/HelloWorldApp/2.0/war
Using GERONIMO_BASE:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_HOME:   D:\geronimo-tomcat6-jee5-2.0-M21
Using GERONIMO_TMPDIR: D:\geronimo-tomcat6-jee5-2.0-M21\var\temp
Using JRE_HOME:        C:\Java\jdk1.5.0_06\\jre
    Module sample.applications/HelloWorldApp/2.0/war unloaded.
    Module sample.applications/HelloWorldApp/2.0/war uninstalled.

    Undeployed sample.applications/HelloWorldApp/2.0/war

...