Skip to content

Instantly share code, notes, and snippets.

@ThomasHambach
Created January 27, 2014 06:43
Show Gist options
  • Save ThomasHambach/8644106 to your computer and use it in GitHub Desktop.
Save ThomasHambach/8644106 to your computer and use it in GitHub Desktop.
Setting up Jetty 9 on Ubuntu 12.04
# Start by following this tutorial
# http://pietervogelaar.nl/ubuntu-12-04-install-jetty-9/
# Try checking your Jetty, getting the error JETTY_HOME not found?
root@ubuntu:/opt# service jetty check
** ERROR: JETTY_HOME not set, you need to set it or install in a standard location
# Solution
nano /etc/default/jetty
# Add following line
JETTY_HOME=/opt/jetty
# Try starting server, getting following error
Starting Jetty: FAILED Mon Jan 27 14:23:48 HKT 2014
# Solution might be
cd /opt/jetty
cp modules/npn/npn-1.7.0_45.mod modules/npn/npn-1.7.0_51.mod
@SonnyRajagopalan
Copy link

Thanks for this. I didn't find a solution to this anywhere until I landed on your page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment