Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320076 - Add a system property for the TCPAcceptor listen port
Summary: Add a system property for the TCPAcceptor listen port
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.net4j (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard: Power to the People
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 03:14 EDT by Eike Stepper CLA
Modified: 2011-06-23 03:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2010-07-16 03:14:26 EDT
The fixed default port 2036 of a TCP acceptor must be overrideable with a system property. Important for, e.g., multiple test environments.
Comment 1 Eike Stepper CLA 2010-07-16 03:15:10 EDT
Added to org.eclipse.net4j.tcp.ITCPAcceptor:

 /**
   * @since 3.1
   */
  public static final String DEFAULT_PORT_PROPERTY = "org.eclipse.net4j.tcp.acceptor.port";
Comment 2 Eike Stepper CLA 2010-07-16 03:26:41 EDT
Committed to HEAD
Comment 3 Eike Stepper CLA 2011-06-23 03:38:23 EDT
Available in R20110608-1407