This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136880 - Server starts up, even when you set StartUP Time to ZERO
Summary: Server starts up, even when you set StartUP Time to ZERO
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 09:36 UTC by dpkumar
Modified: 2008-08-30 05:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dpkumar 2008-06-10 09:36:24 UTC
NB Build:NetBeans IDE Dev Build 200806090002
Sailfin: Sailfin 1.0(B-36)(https://sailfin.dev.java.net/downloads/downloads.html#Promoted_binary_builds)
JDK:jdk1.5.0_13

Server should not start if you set start up time to ZERO. It has to show error message "Starting of server sailfin V1
has timed out". It didn't shows any error message and the server started successfully.

Steps to reproduce:
1.Install NB and Sailfin 1.0.
2.Register Sailfin server.
3.Set StartUp Time to "ZERO".
4.Start server.

NOTE: When you set startup time to 3 sec or 4 sec, It shows error message as "Starting of server sailfin V1 has timed
out".But could not stop the server from starting.
Comment 1 Vince Kraemer 2008-06-21 00:39:33 UTC
this is a bit tricky to solve correctly
Comment 2 _ pcw 2008-08-26 07:08:55 UTC
How about we simply disallow entering 0 for the timeout (or define it to mean infinite wait, ie no timeout, though I
think I prefer the former).
Comment 3 Vince Kraemer 2008-08-28 22:09:29 UTC
I used pcw's suggestion.  http://hg.netbeans.org/main/rev/d4fd22e16d79
Comment 4 Quality Engineering 2008-08-30 05:38:33 UTC
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/d4fd22e16d79
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #136880 : immediately fail a start server request when the timeout is set to zero.