Bug 826551

Summary: Allow to override the default JETTY_PORT jetty.conf
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: jettyAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: java-sig-commits, kdaniel, mizdebsk, overholt, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 6.1.26-9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-10 21:38:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Allow to override JETTY_PORT in /etc/jetty/jetty.conf none

Description Nicolas Chauvet (kwizart) 2012-05-30 13:44:18 UTC
Created attachment 587736 [details]
Allow to override JETTY_PORT in /etc/jetty/jetty.conf

Description of problem:
The jetty doc allow to override the default port from which jetty is running.
/etc/jetty/jetty.conf file could be sourced to set an alternative JETTY_PORT.
Unfortunately the initscript doesn't pass the information to the at launch step.

Version-Release number of selected component (if applicable):
jetty for f16

How reproducible:
always

Steps to Reproduce:
1. echo "JETTY_PORT=8082" >> /etc/jetty/jetty.conf
2. service jetty restart
3. netstat -an |grep 808
  
Actual results:
netstat -na |grep 808 should report the default 8088 port been used

Expected results:
netstat -na |grep 808 should report the 8082 port used by jetty.

Additional info:
Given that initscript are deprecated in current fedora, this patch explicitely intend to be usefull on EL6 EPEL port of jetty

Comment 1 Mikolaj Izdebski 2012-10-05 15:22:01 UTC
Fixed in Fedora 16 in 6.1.26-9.
Fedora 17 and later are not affected.

Comment 2 Fedora Update System 2012-10-05 16:23:21 UTC
jetty-6.1.26-9.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/jetty-6.1.26-9.fc16

Comment 3 Fedora Update System 2012-10-06 03:51:33 UTC
Package jetty-6.1.26-9.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jetty-6.1.26-9.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15509/jetty-6.1.26-9.fc16
then log in and leave karma (feedback).