Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ae8caffa96b18d165dbf879c34c9c8e148dcacfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

JETTY
=====

The Jetty project is a 100% Java HTTP Server, HTTP Client
and Servlet Container.


The Jetty @ eclipse project is based on the Jetty project at codehaus

  http://jetty.codehaus.org

Ongoing development is now at the eclipse foundation

  http://www.eclipse.org/jetty/


Jetty @ eclipse is open source and is dual licensed using the apache 2.0 and
eclipse public license 1.0.   You may choose either license when distributing
jetty.



BUILDING JETTY
==============

Jetty uses maven 2 as its build system.  Maven will fetch
the dependancies, build the server and assemble a runnable
version:

  mvn install



RUNNING JETTY
=============

The run directory is either the top-level of a binary release
or jetty-distribution/target/assembly-prep directory when built from
source.

To run with the default options:

  java -jar start.jar

To see the available options and the default arguments
provided by the start.ini file:

  java -jar start.jar --help

To run with add configuration file(s), eg SSL

  java -jar start.jar etc/jetty-ssl.xml

To run without the args from start.ini 

  java -jar start.jar --ini OPTIONS=Server,websocket etc/jetty.xml etc/jetty-deploy.xml etc/jetty-ssl.xml

To run with JNDI support

  java -jar start.jar OPTIONS=Server,jsp


Back to the top