Jetty server 9.4.7 start in ubuntu 16.04
Jetty configuration 9.4.7
Download the jetty form the jetty website
Goto jetty download page
Here I need jetty 9.4.7 so I go to the old release
Download the jetty 9.4.7 V20170914
Once you download transfer the jetty to Linux server here
I will use for transfer the Filezilla
After extract
Now I am using the putty console for access the jetty server
In Jetty 9.4.7 Configuration file is jetty-http.xml for started as http
Find the <Set name = tag in the xml file and on default change the port as a 10001 (Default no:8080)
This will change now
now write and quite :wq
Start the jetty server with following command
java -jar start.jar
It will start now
and we need to add this port into the firewall ubuntu 16.04
Now you able to access from browser from your local network
Its started now
Default in jetty 9.4.7 no war files under webapps folder so it will show like 404 error
For enable the https in jetty 9.4.7 Please refer the following link
https://techharvestfoundation.blogspot.in/2018/03/enable-ssl-in-jetty-web-server.html
Comments
Post a Comment