WebFaction
Community site: login faq

Hi,

Can anyone help with installing Jetty?

Steps that i know of include:

  1. Create a custom app
  2. Get the file from http://www.eclipse.org/jetty/
  3. SSH to ~/webapps/new_app_folder and unzip the jetty binary
  4. run java -jar start.jar
  5. Point a domain to the custom app

is there anything else that needs to be done?

Thanks

asked 26 May '13, 08:26

Santiago
123
accept rate: 0%


Yeah, that should get you a default jetty instance up and running quickly.

Just two notes on that:

  • You would need to start jetty by passing the jetty.port argument, to bind to the port our control panel assigned for it. For example java -jar start.jar jetty.port=19386 if 19386 is the one our nginx will proxy requests to. See their official documentation as well as the included README.txt file on how to configure jetty's port and manage it by the helpful bin/jetty.sh script.

  • You would need to download the correct jetty version. We have Java version 1.6 (OpenJDK) installed by default, which is compatible with the jetty version 8. If you want to run the latest jetty version, 9, you would need to install java on your own, in your home directory.

permanent link

answered 26 May '13, 09:40

iliasr ♦♦
2.1k14
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×24
×22
×6

question asked: 26 May '13, 08:26

question was seen: 3,105 times

last updated: 26 May '13, 09:40

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM