Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358702

Summary: Read time out is 0 when performing Ping towards started server
Product: [WebTools] WTP ServerTools Reporter: johanevelonn
Component: jst.serverAssignee: jst.server <jst.server-inbox>
Status: NEW --- QA Contact: Elson Yuen <eyuen7>
Severity: normal    
Priority: P3 Keywords: helpwanted
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch where a read time out is set on the ping connection, the read time out is set to a default 3000 none

Description johanevelonn CLA 2011-09-23 06:17:03 EDT
Build Identifier: 20100617-1415

Using own server adapter with server probably starting to slow or to fast causes the server plugin to say that the server fails to start.

See this thread for more info:
http://www.eclipse.org/forums/index.php/mv/msg/205124/656407/

By inserting a read time out to the http connection it will function properly.

Reproducible: Always

Steps to Reproduce:
Using own server adapter, which cannot be published here.
Comment 1 johanevelonn CLA 2011-09-23 06:53:12 EDT
Created attachment 203889 [details]
Patch where a read time out is set on the ping connection, the read time out is set to a default 3000
Comment 2 Elson Yuen CLA 2012-04-18 14:15:49 EDT
The given patch has the value hardcoded to 3000 which will not work well in all systems.  If you want the timeout value to be added, then it should be something configurable on the server, i.e. the value should be stored on the server instance object. Please submit a new patch that has the value configurable by the user on the server.