Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 2139 invoked from network); 29 Jul 2004 23:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Jul 2004 23:07:00 -0000 Received: (qmail 53956 invoked by uid 500); 29 Jul 2004 23:06:51 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 53903 invoked by uid 500); 29 Jul 2004 23:06:50 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 53814 invoked by uid 500); 29 Jul 2004 23:06:49 -0000 Delivered-To: apmail-incubator-geronimo-cvs@incubator.apache.org Received: (qmail 53785 invoked by uid 99); 29 Jul 2004 23:06:48 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 29 Jul 2004 16:06:47 -0700 Received: (qmail 1908 invoked from network); 29 Jul 2004 23:06:42 -0000 Received: from unknown (HELO minotaur.apache.org) (127.0.0.1) by 127.0.0.1 with SMTP; 29 Jul 2004 23:06:42 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: geronimo-cvs@incubator.apache.org To: geronimo-cvs@incubator.apache.org Subject: =?iso-8859-1?q?=5BApache_Geronimo_Wiki=5D_Updated=3A__Running?= Date: Thu, 29 Jul 2004 23:06:42 -0000 Message-ID: <20040729230642.1902.50805@minotaur.apache.org> X-Spam-Rating: 127.0.0.1 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2004-07-29T16:06:42 Editor: JeremyBoynes Wiki: Apache Geronimo Wiki Page: Running URL: http://wiki.apache.org/geronimo/Running no comment Change Log: ---------------------------------------------------------------------------= --- @@ -1,42 +1,16 @@ =3D Running The Server =3D = -The Geronimo server is started using the executable jar file `bin/server.j= ar`. Geronimo contains several pre-built configurations: - - ||'''Config ID'''||'''Purpose'''||'''Parent Configuration'''|| - ||org/apache/geronimo/System||Critical services for all server configu= rations||-none-|| - ||org/apache/geronimo/Server||Normal server configuration||org/apache/= geronimo/System|| - ||org/apache/geronimo/Secure||FIXME||FIXME|| - ||org/apache/geronimo/Demo||FIXME||FIXME|| - ||org/apache/geronimo/DebugConsole||Debug console web application||org= /apache/geronimo/Server|| - -To run use the `server.jar` command: - {{{ -$ cd target -$ java -jar bin/server.jar org/apache/geronimo/Server -}}} - -The `server.jar` command starts the specified configuration and all parent= configurations, so the following command will start System, Server, and De= bugConsole: +The Geronimo server is started using the executable jar file `bin/server.j= ar`. = {{{ -$ cd target -$ java -jar bin/server.jar org/apache/geronimo/DebugConsole +$ cd geronimo-1.0-M2 +$ java -jar bin/server.jar }}} -JMXDebugging tool can be accessed in DebugConsole configuration by pointin= g your browser to http://localhost:8080/debug-tool. = To stop the server use ctrl-C or an equivalent; a proper shutdown command = will be made available in a future release. = -If you want to re-run the same configuration that you ran last time, you d= on't need to specify it explicitly. You can just: +The first time this is run, the default configuration (org/apache/geronimo= /Server) will be started. When the server is shut down cleanly, the list of= running configurations is saved. These will be reloaded automatically the = next time the server is started. + +It is possible to override this automatic restart mechanism by specifying = one or more configuration names on the command line. For example, to start = just the default configuration without any user applications use: {{{ -$ java -jar bin/server.jar +$ java -jar bin/server.jar org/apache/geronimo/Server }}} - -=3D=3D Working Offline =3D=3D - -Now it is possible to run the server offline. See issue at http://nagoya.a= pache.org/jira/browse/GERONIMO-247. - -Currently it is not possible to run the server offline because Jetty needs= to parse web.xml, -when it starts and is not hooked in to the entity resolver. So it needs to= get the xsd schema file from the web; if it can't, then it fails to parse = and you get an error. So for now you need to be online. - -Jeremy Boynes wrote in a message to the dev mailing list: "The quick fix w= ould be to hook Jetty into the entity resolver; a better fix is to have the= deployer generate GBeans for all the servlets so Jetty does not need to pa= rse any XML on context startup." - -Kristian Koehler suggested to set up a containerwide resolver which not on= ly hooks into one application (jetty) but into all applications: http://nag= oya.apache.org/jira/browse/GERONIMO-155 -.