BSD Ports

www/jetty10 10.0.21 DragonFly

Full-featured web server implemented entirely in Java

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, EPL
Categories
java, www
Package size
10192.2 KiB, 12474.8 KiB installed

Description

The Jetty Web Server provides an HTTP server and Servlet container capable of serving static and dynamic content either from a standalone or embedded instantiations. From jetty-7, the jetty webserver and other core compoments are hosted by the eclipse foundation.

The project provides:

* Asynchronous HTTP Server * Standard based Servlet Container * Web Sockets server * Asynchronous HTTP Client * OSGi, JNDI, JMX, JASPI, AJP support

In the other systems

The newest version among them is 10.0.25, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/jetty1010.0.21none known-[email protected]-
FreeBSDwww/jetty1010.0.25_2 newestnone known-[email protected]-
HardenedBSDwww/jetty1010.0.25_2 newestno data-[email protected]-
GhostBSDwww/jetty1010.0.25_2 newestno data-[email protected]-

Install

Binary package:

pkg install jetty10

From DPorts:

cd /usr/dports/www/jetty10 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Jetty is now installed in /usr/local/jetty

From Jetty 9, the way to configure it has changed. You are **strongly**
advised to read the documentation found here:

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

Please pay particular attention to HOME and BASE documentation, i.e.,:

http://www.eclipse.org/jetty/documentation/current/startup-base-and-home.html

You may want to activate it in /etc/rc.conf:

    # sysrc jetty_enable="YES"

A sample configuration file can be found here:

    /usr/local/etc/jetty/jetty.sample

Please modify it to suit your needs, paying particular attention
to the value of JETTY_HOME and JETTY_BASE.

Once you are happy with the configuration file, you can start Jetty:

    # service jetty start

== ADVANCED USAGE ==

If you need to pass special options to Java/Jetty, please set the appropriate
variables in the configuration file, e.g.,

  # Increase memory limit of the Java virtual machine

  JAVA_OPTIONS="-Xms32m -Xmx256m"

  # Run Java with remote debugging turned on on port 8186

  JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8186"

More configuration options are presented in the sample file.

If, when, Jetty is removed, you can safely delete this directory:

    /usr/local/www/jetty