Jetty

STOP.PORT=0 does not disable mechanism

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 6.1.5
  • Fix Version/s: None
  • Component/s: Security and SSL
  • Labels:
    None
  • Number of attachments :
    1

Description

"A value of 0 disables the mechanism."
http://docs.codehaus.org/display/JETTY/SystemProperties

However, it doesn't work. A random port is still assigned.

Activity

Hide
Leopoldo Agdeppa III added a comment -

Try checking this one at star module

Show
Leopoldo Agdeppa III added a comment - Try checking this one at star module
Hide
David Yu added a comment -

i attached the fix patch....
A value of 0 or less than 0 will disable the mechanism.

Show
David Yu added a comment - i attached the fix patch.... A value of 0 or less than 0 will disable the mechanism.
Hide
David Yu added a comment -

For the moment, try to use a negative number or dont set/specify the "STOP.PORT" system property to disable the mechanism.

Show
David Yu added a comment - For the moment, try to use a negative number or dont set/specify the "STOP.PORT" system property to disable the mechanism.
Hide
Greg Wilkins added a comment -

Actually, while the patch is good.... I like having 0 meaning random port.

So instead I have just improved the javadoc to reflect that -1 is off, 0 is random
and >0 is the assigned port.

cheers

Show
Greg Wilkins added a comment - Actually, while the patch is good.... I like having 0 meaning random port. So instead I have just improved the javadoc to reflect that -1 is off, 0 is random and >0 is the assigned port. cheers

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: