summaryrefslogtreecommitdiffstats
path: root/gerrit-gwtdebug
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-11-11 14:51:30 -0800
committerShawn O. Pearce <sop@google.com>2009-11-11 16:54:07 -0800
commitfa2486a39739dc103b3f57048f3f84ca8764779c (patch)
tree2a4266e7e2ebbe470efadca19eba8fd09845166d /gerrit-gwtdebug
parent022e9cce021009197b7fc47e90eaa67b0cbea714 (diff)
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>
Diffstat (limited to 'gerrit-gwtdebug')
-rw-r--r--gerrit-gwtdebug/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/gerrit-gwtdebug/pom.xml b/gerrit-gwtdebug/pom.xml
index 7173e98e90..e868c4e7d6 100644
--- a/gerrit-gwtdebug/pom.xml
+++ b/gerrit-gwtdebug/pom.xml
@@ -47,6 +47,12 @@ limitations under the License.
<dependency>
<groupId>com.google.gerrit</groupId>
<artifactId>gerrit-war</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.gerrit</groupId>
+ <artifactId>gerrit-pgm</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>