Jetty has moved!
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/
Contact the core Jetty developers at www.webtide.com
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
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Jetty Debian Packages

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:

  • No labels
Contact the core Jetty developers at www.webtide.com
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