Here's how to deploy a WAR file in Jetty using the Ubuntu Jetty package:
sudo apt-get install jetty -y
edit /etc/default/jetty so the 4th line reads
NO_START=0
To start Jetty:
sudo /etc/init.d/jetty start
go to http://localhost:8080/
To stop Jetty:
sudo /etc/init.d/jetty stop
To list all commands:
/etc/init.d/jetty6 help
To deploy a WAR file, copy it into
/usr/share/jetty/webapps
and restart the server. The root URL of the web app will be http://localhost:8080/warfilename/ where warfilename is the name of your war file.
Links:

4 comments:
simple and clear
you are great
simple and clear
you are great
man, you stopped a 2 hours struggle of mine. thanks.
Thanks for sharing this t post. I'm sure the infrmation is onna be very useful to me and so many persons. I hope you keep posting.
Post a Comment