Bug 358702 - Read time out is 0 when performing Ping towards started server
Summary: Read time out is 0 when performing Ping towards started server
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: jst.server CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-09-23 06:17 EDT by johanevelonn CLA
Modified: 2012-04-18 14:15 EDT (History)
0 users

See Also:


Attachments
Patch where a read time out is set on the ping connection, the read time out is set to a default 3000 (7.79 KB, patch)
2011-09-23 06:53 EDT, johanevelonn CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.