Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 150090 - Server timeout preference ignored
Summary: Server timeout preference ignored
Status: CLOSED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5.1 M151   Edit
Assignee: Tim deBoer CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 06:08 EDT by Rafal Krupinski CLA
Modified: 2017-10-11 16:03 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Krupinski CLA 2006-07-09 06:08:19 EDT
I always get "Timeout waiting for JBoss 4.0 to start. Server did not start after 50s." error message.
jboss starts on my machine within 2 minutes so I _always_ get that "error message"
it should be preference variable so I could set this timeout higher or turn it off  at all.
Comment 1 Tim deBoer CLA 2006-07-10 14:24:43 EDT
If the specific timeout is unreasonable for an average server please reopen. Otherwise, there already is a server timeout delay preference in the Server preference page. It allows you to set the timeout larger or smaller based on your configuration.
Comment 2 Rafal Krupinski CLA 2006-07-10 15:37:53 EDT
server timeout delay: Normal - I get "Timeout waiting for JBOSS 4.0 to start. Server did not start after 50s."
server timeout delay: Shorter - I get "Timeout waiting for JBOSS 4.0 to start. Server did not start after 50s."
server timeout delay: Longer - I get "Timeout waiting for JBOSS 4.0 to start. Server did not start after 50s."

It doesn't work.
I start JBoss in debug mode
Comment 3 Tim deBoer CLA 2006-07-11 14:13:26 EDT
Reproduced. The server timeout preference isn't being used correctly.
Comment 4 Tim deBoer CLA 2006-07-11 14:13:58 EDT
Fix dropped to HEAD. Will be released to 1.5.1/2.0 shortly.
Comment 5 David Matheson CLA 2006-07-17 10:18:05 EDT
I have 1.5.1-200607141912 installed.  This bug is still present.  Also, if the timeout is exceeded, the process terminates, so I am unable to start Tomcat, as it takes more than 45 seconds.

(In reply to comment #4)
> Fix dropped to HEAD. Will be released to 1.5.1/2.0 shortly.

Comment 6 Harish Mahadevan CLA 2006-07-21 15:41:05 EDT
I have the last successful Junit build M-1.5.1-200607201712 and the server timeout still stays at 45s (for tomcat) even after selecting different timeout values (long, longer etc..) from the server preferences. The server also terminates after timeout. (in 1.0.3, it used to give a message but continue to run)
Comment 7 Christian Menzel CLA 2006-07-24 09:17:11 EDT
In build M-1.5.1-200607211907 this bug is still present...
Comment 8 Tim deBoer CLA 2006-07-24 09:25:13 EDT
Note the comment "Fix dropped to HEAD. Will be released to 1.5.1/2.0 shortly." I didn't drop code this past week (final 1.0.3 week and working on another conflicting bug) and the bug is still in ASSIGNED state, not RESOLVED/FIXED. I should be able to drop it this week, but in the meantime of course the behaviour of the release builds has not changed.
Comment 9 David Matheson CLA 2006-07-24 11:34:36 EDT
Sorry, Tim.  I thought the continuous builds were pulled out of HEAD.

(In reply to comment #8)
Comment 10 Tim deBoer CLA 2006-07-26 11:34:47 EDT
Released for the next WTP 1.5.1 & 2.0 builds.
Comment 11 David Matheson CLA 2006-07-26 16:06:17 EDT
Thanks, that works!  It still terminates after timeout, though.  What happens if it takes more than 81 seconds to start Tomcat?

(In reply to comment #10)

Comment 12 Tim deBoer CLA 2006-07-26 16:33:51 EDT
*more* than 80s? :) If you feel the startup is still within 'normal' operating bounds, then please open up a bug to increase the default timeout so that by tweaking the preference you can still get the server to startup. If this really is an edge case, then this should probably be tracked via bug 121593, which asks for fully configurable timeouts instead of a single preference.
Comment 13 David Matheson CLA 2006-07-26 16:47:07 EDT
Well, I feel it is normal, but perhaps others can comment on this.  Many in my team have had trouble with this timeout, even at 80 seconds.  Throwing 5 or 6 large webapps in Tomcat's webapps directory will cause it to take about 60 - 100 seconds to start up on a laptop with 1.73GHz and 1GB of RAM.

(In reply to comment #12)
Comment 14 Tim deBoer CLA 2006-07-26 17:11:11 EDT
Ok, then please open up another bug with the version of Tomcat you are using and that average startup time range, and I'll adjust the default timeouts accordingly. Thanks.
Comment 15 Rafal Krupinski CLA 2006-07-28 15:55:36 EDT
Why not simply change this to an integer and allow to turn it off?
Comment 16 Tim deBoer CLA 2006-07-28 18:18:48 EDT
It is an integer under the covers and that's likely the route we'll take, but the remaining issue (timeout is too low for a heavily-loaded Tomcat) is being tracked via bug 151993.
Comment 17 David Williams CLA 2006-09-27 09:06:46 EDT
This is part of a "mass update" where bugs showing "fixed" between 7/1/2006 and 9/27/2006 are assumed fixed in WTP 1.5.1. feel free to change the target milestone if you know a more accurate setting. 
Comment 18 Eclipse Genie CLA 2017-10-11 16:03:21 EDT
New Gerrit change created: https://git.eclipse.org/r/107899