Issue Details (XML | Word | Printable)

Key: JETTY-412
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Yu
Reporter: Cameron Taggart
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Jetty

STOP.PORT=0 does not disable mechanism

Created: 08/Aug/07 11:32 AM   Updated: 10/Aug/07 06:57 PM
Component/s: Security and SSL
Affects Version/s: 6.1.5
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File zero-port.patch (0.7 kB)



 Description  « Hide

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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Leopoldo Agdeppa III added a comment - 10/Aug/07 02:12 AM
Try checking this one at star module

David Yu added a comment - 10/Aug/07 02:35 AM
i attached the fix patch....
A value of 0 or less than 0 will disable the mechanism.

David Yu added a comment - 10/Aug/07 02:37 AM
For the moment, try to use a negative number or dont set/specify the "STOP.PORT" system property to disable the mechanism.

Greg Wilkins added a comment - 10/Aug/07 06:57 PM
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