RETIRED, Gerrit as used by OpenStack
Go to file
Shawn O. Pearce fa2486a397 Embed Jetty and run it out of `java -jar gerrit.war daemon`
We now include Jetty 7.x as part of our distribution WAR and allow
administrators to launch the embedded copy using our Daemon command
line program.  This vastly simplifies server installation as you
do not need to download the Jetty servlet container and configure
it prior to using Gerrit Code Review.

Configuration of Jetty is performed using our gerrit.config, rather
than the Jetty XML configuration language.  Jetty's language can be
quite a bit more powerful for isoteric configurations, but we want
to embed Jetty to simplify setup, not complicate it.  Gerrit's own
configuration file in the git syntax is simpler, so we stick with
that and offer a limited subset of Jetty's configuration features
through httpd.* properties.

Logging currently goes only to stderr, which is fine for toy setups
but probably not ideal for a production environment.

Unfortunately we are still relying on GerritServer.properties to
get us the database connection information, and this DataSource is
not pooled.  Thus the web handlers in our embedded container will
run slightly slower then the web handlers in a standalone container,
as the latter will be likely be using a connection pool configured
out of the container's JNDI namespace.

Bug: issue 202
Change-Id: Ia7956ba48cbc3a8d4241101db5ff493e16d26b9f
Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-11-11 16:54:07 -08:00
Documentation Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
gerrit-common Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-gwtdebug Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
gerrit-gwtui Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-httpd Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
gerrit-main Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-patch-commonsnet Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-patch-gwtexpui Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-patch-jgit Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-pgm Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
gerrit-reviewdb Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-server Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
gerrit-sshd Use listeners to manage server startup/shutdown 2009-11-11 16:54:07 -08:00
gerrit-util-cli Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-util-ssl Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-war Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00
tools Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
.gitignore Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Document how to contribute to Gerrit Code Review 2009-07-02 13:45:52 -07:00
pom.xml Embed Jetty and run it out of `java -jar gerrit.war daemon` 2009-11-11 16:54:07 -08:00