geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "Deployment" by AaronMulder
Date Mon, 04 Jul 2005 02:57:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by AaronMulder:
http://wiki.apache.org/geronimo/Deployment

The comment on the change is:
Update to unified web deployment plan format

------------------------------------------------------------------------------
  
    {{{
  java -jar bin/deployer.jar --user system --password manager deploy my-web-app.war
- java -jar bin/deployer.jar --user system --password manager deploy my-web-app.war geronimo-jetty.xml
+ java -jar bin/deployer.jar --user system --password manager deploy my-web-app.war geronimo-web.xml
  java -jar bin/deployer.jar --user system --password manager redeploy my-web-app.war MyWebConfigID
  java -jar bin/deployer.jar --user system --password manager list-modules --started
  java -jar bin/deployer.jar --user system --password manager list-modules --stopped
@@ -50, +50 @@

  
    {{{
  java -jar bin/deployer.jar distribute my-web-app.war
- java -jar bin/deployer.jar distribute my-web-app.war geronimo-jetty.xml
+ java -jar bin/deployer.jar distribute my-web-app.war geronimo-web.xml
  java -jar bin/deployer.jar distribute my-service-plan.xml
  }}}
  
@@ -128, +128 @@

  
  == Configuration ==
  
-   To deploy a web application in Geronimo, you '''must''' add a `WEB-INF/geronimo-jetty.xml`
file to your war file (this restriction will be removed in a future release '''NOTE: It seems
that M3 has removed this requirement.''').  An example geronimo-jetty.xml file follows:
+   '''Note:''' The content in this section applies to build 208887 or higher (Milestone 3
used a slightly different configuration format).
+ 
+   When you deploy a web application in Geronimo, you can use a {{{WEB-INF/geronimo-web.xml}}}
file to provide additional configuration settings for the web application.  This may or may
not be necessary, depending on what's in your WAR.  An example geronimo-web.xml file follows:
      {{{
  <?xml version="1.0" encoding="UTF-8"?>
  <web-app
-     xmlns="http://geronimo.apache.org/xml/ns/web/jetty"
+     xmlns="http://geronimo.apache.org/xml/ns/web"
      configId="your/domain/name/Example"
      parentId="org/apache/geronimo/Server"
      >

Mime
View raw message