Jettyson is a small utility that runs a single web application using Jetty.
If you downloaded a distribution package, unzip it and launch
If you obtained a copy of the source, you can use Ant to build the project after setting up paths to the required libraries in
build.properties. Alternatively, most dependencies can be resolved automatically using Ivy by running
ant resolve. Project files for IntelliJ IDEA are also included.
Run Jettyson with the
.war archive you want to deploy as an argument. By default it will provide an H2 database as a JNDI resource called
java:comp/env/jdbc/webapp-data to the web application and will try to install an icon representing the server in the system tray. Log messages from
java.util.logging will be shown on the console and stored in a
jettyson.log file in the system directory for temporary files.
Jettyson uses Typesafe Config to configure itself. Apart from the usual
reference.conf files on the classpath, you can use command line arguments in the form
--property=value to specify the configuration; a single
: instead of
= works, too; omitting the value means setting the property to
--property- may also be used to set boolean values.
||Directory for database storage (default
||Hostname of the interface to listen on, use
||Port to listen on, use
||Tray icon resource, use
||Tray icon title (default is
||Servlet initialization parameters (default are none).|
reference.conf in the source for the complete set of supported properties.