Jetty is a project at the Eclipse Foundation.
| Homepage: | http://www.eclipse.org/jetty |
| Downloads: | http://download.eclipse.org/jetty/ |
| Documentation: | http://www.eclipse.org/jetty/documentation/current/ |
| About: | http://www.eclipse.org/jetty/about.php |
| Jetty Powered: | http://www.eclipse.org/jetty/powered/ |
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Jetty Debian Packages
Official debs
| Useful Information Instructions below are for jetty-6.1.18 and up |
Beginning jetty-6.1.18, jetty6 will be available in the ubuntu repos.
Building the source
Checkout http://svn.codehaus.org/jetty-contrib/jetty-deb/trunk/
See README.txt
Binaries
libjetty6-java
- Jetty 6 core modules
- includes:
jetty-util, jetty-util5, jetty, jetty-sslengine, jetty-start
libjetty6-extra-java
- Jetty 6 extra modules (depends: libjetty6-java)
- includes:
jetty-management, jetty-naming, jetty-servlet-tester, jetty-ajp, jetty-java5-threadpool, jetty-client, jetty-rewrite-handler
jetty6
- The standalone http server (depends: libjetty6-java)
- includes:
scripts, config files, docs
Installing
$ sudo apt-get install libjetty6-java
$ sudo apt-get install libjetty6-extra-java
$ sudo apt-get install jetty6
Notes
Dependencies to add:
libslf4j-java
- Simple logging facade for java
Modules to add:
jetty-jsp-2.1
- glassfish jsp source + jetty-jsp source needs to be compiled/built to generate a separate deb package
jetty-plus
- geronimo-jta must be available as a deb package (build & runtime dependency)
| Useful Information The instructions below are deprecated (for jetty-6.1.17 and below). |
Packages and Installation Order
Having downloaded all of the jetty debian packages, you should install them using dpkg or synaptic or your favourite package installer in this order, where <version> is replaced by the version of jetty you want to install:
- libjetty6-java_<version>_all.deb
- libjetty6-jsp-java_<version>_all.deb
- libjetty6-extra-java_<version>_all.deb
- jetty6_<version>_all.deb
- jetty6-examples_<version>_all.deb
Installation Directories
The home directory for the debian distribution of jetty is /usr/share/jetty6. Other directories under /var and /etc are linked to from the /usr/share/jetty6 directory.
The configuration of the server is in /etc/jetty6. The configuration files listed in /etc/jetty6/jetty.conf are passed to the command line when it is started by /etc/init.d/jetty6.
Webapps can be deployed by placing them in /var/lib/jetty6/webapps (linked from /usr/share/jetty6/webapps). Additional contexts can be configured and (hot) deployed via the /etc/jetty6/contexts directory (linked from /usr/share/jetty6/contexts).
Starting/Stopping Jetty
If you have just installed the debian packages, then you will need to edit the /etc/default/jetty6 file. Make the change indicated in comment:
You can now start jetty:
To stop jetty:
You can list all of the commands to control jetty by typing: