Created
January 27, 2014 06:43
-
-
Save ThomasHambach/8644106 to your computer and use it in GitHub Desktop.
Setting up Jetty 9 on Ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this. I didn't find a solution to this anywhere until I landed on your page.