Bug 826551 - Allow to override the default JETTY_PORT jetty.conf
Summary: Allow to override the default JETTY_PORT jetty.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: jetty
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-30 13:44 UTC by Nicolas Chauvet (kwizart)
Modified: 2012-12-10 21:38 UTC (History)
5 users (show)

Fixed In Version: 6.1.26-9
Clone Of:
Environment:
Last Closed: 2012-12-10 21:38:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Allow to override JETTY_PORT in /etc/jetty/jetty.conf (1.03 KB, patch)
2012-05-30 13:44 UTC, Nicolas Chauvet (kwizart)
no flags Details | Diff

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).


Note You need to log in before you can comment on or make changes to this bug.