Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Prompt for Starting and Stopping server
Prompt for Starting and Stopping server [message #179597] Thu, 21 September 2006 20:09 Go to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

We are getting a prompt that our Tomcat(5.0.30) server didn't start in 45
seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application uses
iBatis to setup some configuration when its starts so it may take one minute
sometimes. Is there a way to change the warning time or suspend these?

Thanks in advance,
Tom
Re: Prompt for Starting and Stopping server [message #179615 is a reply to message #179597] Thu, 21 September 2006 20:30 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
There is a setting on the Window -> Preferences -> Server page called
"Server timeout delay". As documented in Bug 151993 [1], following
table shows what delays are available:


Preference Old New
Shorter 9s 11s
Short 27s 22s
Normal 45s 45s
Long 61s 90s
Longer 81s 180s
Unlimited n/a unlimited

Old = WTP 1.0.x and WTP 1.5
New = current WTP 1.5.1

Cheers,
Larry

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993

Tom Henricksen wrote:
> We are getting a prompt that our Tomcat(5.0.30) server didn't start in 45
> seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application uses
> iBatis to setup some configuration when its starts so it may take one minute
> sometimes. Is there a way to change the warning time or suspend these?
>
> Thanks in advance,
> Tom
>
>
Re: Prompt for Starting and Stopping server [message #179981 is a reply to message #179615] Tue, 26 September 2006 15:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

I have tried adjusting the this 'Server timeout delay'. And I set it to
Longer (I am on WTP 1.0.3) and I still get the message when it takes more
than 45 seconds. I did click apply too.

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:eeusq0$i8j$1@utils.eclipse.org...
> There is a setting on the Window -> Preferences -> Server page called
> "Server timeout delay". As documented in Bug 151993 [1], following table
> shows what delays are available:
>
>
> Preference Old New
> Shorter 9s 11s
> Short 27s 22s
> Normal 45s 45s
> Long 61s 90s
> Longer 81s 180s
> Unlimited n/a unlimited
>
> Old = WTP 1.0.x and WTP 1.5
> New = current WTP 1.5.1
>
> Cheers,
> Larry
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
>
> Tom Henricksen wrote:
>> We are getting a prompt that our Tomcat(5.0.30) server didn't start in 45
>> seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application uses
>> iBatis to setup some configuration when its starts so it may take one
>> minute sometimes. Is there a way to change the warning time or suspend
>> these?
>>
>> Thanks in advance,
>> Tom
Re: Prompt for Starting and Stopping server [message #179986 is a reply to message #179981] Tue, 26 September 2006 17:22 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
There appears to be a bug in WTP 1.0.3 with respect to this setting if
you don't click Apply before clicking OK in the Preferences dialog.
Always clicking Apply after changing the setting seemed to get it to
work consistently for me.

To brute force this setting, you can modify the
"org.eclipse.wst.server.core.prefs" file in the
"<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings "
folder to ensure there is a property defined as "machine-speed=1", which
corresponds to the Longer selection.

Cheers,
Larry


Tom Henricksen wrote:
> I have tried adjusting the this 'Server timeout delay'. And I set it to
> Longer (I am on WTP 1.0.3) and I still get the message when it takes more
> than 45 seconds. I did click apply too.
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:eeusq0$i8j$1@utils.eclipse.org...
>> There is a setting on the Window -> Preferences -> Server page called
>> "Server timeout delay". As documented in Bug 151993 [1], following table
>> shows what delays are available:
>>
>>
>> Preference Old New
>> Shorter 9s 11s
>> Short 27s 22s
>> Normal 45s 45s
>> Long 61s 90s
>> Longer 81s 180s
>> Unlimited n/a unlimited
>>
>> Old = WTP 1.0.x and WTP 1.5
>> New = current WTP 1.5.1
>>
>> Cheers,
>> Larry
>>
>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
>>
>> Tom Henricksen wrote:
>>> We are getting a prompt that our Tomcat(5.0.30) server didn't start in 45
>>> seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application uses
>>> iBatis to setup some configuration when its starts so it may take one
>>> minute sometimes. Is there a way to change the warning time or suspend
>>> these?
>>>
>>> Thanks in advance,
>>> Tom
>
>
Re: Prompt for Starting and Stopping server [message #180075 is a reply to message #179986] Wed, 27 September 2006 19:28 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

I have changed my to setting to Longer and checked the file it was 1. And
still get the prompt at 45 seconds. Then to try something I changed it to
Shorter and the file said
machine-speed=9 but I still get the warning at 45 seconds. So I don't think
it is working
in 1.0.3 correctly. A co-worker with the same setup is having the same
problem.

Is this prompt supposed to stop the prompt on shutdowns as well? We still
get a prompt for
shutdowns.

Thanks,
Tom

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:efbnkj$b8m$1@utils.eclipse.org...
> There appears to be a bug in WTP 1.0.3 with respect to this setting if you
> don't click Apply before clicking OK in the Preferences dialog. Always
> clicking Apply after changing the setting seemed to get it to work
> consistently for me.
>
> To brute force this setting, you can modify the
> "org.eclipse.wst.server.core.prefs" file in the
> "<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings " folder
> to ensure there is a property defined as "machine-speed=1", which
> corresponds to the Longer selection.
>
> Cheers,
> Larry
>
>
> Tom Henricksen wrote:
>> I have tried adjusting the this 'Server timeout delay'. And I set it to
>> Longer (I am on WTP 1.0.3) and I still get the message when it takes more
>> than 45 seconds. I did click apply too.
>>
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:eeusq0$i8j$1@utils.eclipse.org...
>>> There is a setting on the Window -> Preferences -> Server page called
>>> "Server timeout delay". As documented in Bug 151993 [1], following
>>> table shows what delays are available:
>>>
>>>
>>> Preference Old New
>>> Shorter 9s 11s
>>> Short 27s 22s
>>> Normal 45s 45s
>>> Long 61s 90s
>>> Longer 81s 180s
>>> Unlimited n/a unlimited
>>>
>>> Old = WTP 1.0.x and WTP 1.5
>>> New = current WTP 1.5.1
>>>
>>> Cheers,
>>> Larry
>>>
>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
>>>
>>> Tom Henricksen wrote:
>>>> We are getting a prompt that our Tomcat(5.0.30) server didn't start in
>>>> 45 seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application
>>>> uses iBatis to setup some configuration when its starts so it may take
>>>> one minute sometimes. Is there a way to change the warning time or
>>>> suspend these?
>>>>
>>>> Thanks in advance,
>>>> Tom
>>
Re: Prompt for Starting and Stopping server [message #180127 is a reply to message #180075] Thu, 28 September 2006 12:36 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
I found Bug 150090, which indicates the setting isn't being used in WTP
1.0.x and 1.5. This is fixed in WTP 1.5.1.

Cheers,
Larry

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=150090

Tom Henricksen wrote:
> I have changed my to setting to Longer and checked the file it was 1. And
> still get the prompt at 45 seconds. Then to try something I changed it to
> Shorter and the file said
> machine-speed=9 but I still get the warning at 45 seconds. So I don't think
> it is working
> in 1.0.3 correctly. A co-worker with the same setup is having the same
> problem.
>
> Is this prompt supposed to stop the prompt on shutdowns as well? We still
> get a prompt for
> shutdowns.
>
> Thanks,
> Tom
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:efbnkj$b8m$1@utils.eclipse.org...
>> There appears to be a bug in WTP 1.0.3 with respect to this setting if you
>> don't click Apply before clicking OK in the Preferences dialog. Always
>> clicking Apply after changing the setting seemed to get it to work
>> consistently for me.
>>
>> To brute force this setting, you can modify the
>> "org.eclipse.wst.server.core.prefs" file in the
>> "<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings " folder
>> to ensure there is a property defined as "machine-speed=1", which
>> corresponds to the Longer selection.
>>
>> Cheers,
>> Larry
>>
>>
>> Tom Henricksen wrote:
>>> I have tried adjusting the this 'Server timeout delay'. And I set it to
>>> Longer (I am on WTP 1.0.3) and I still get the message when it takes more
>>> than 45 seconds. I did click apply too.
>>>
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:eeusq0$i8j$1@utils.eclipse.org...
>>>> There is a setting on the Window -> Preferences -> Server page called
>>>> "Server timeout delay". As documented in Bug 151993 [1], following
>>>> table shows what delays are available:
>>>>
>>>>
>>>> Preference Old New
>>>> Shorter 9s 11s
>>>> Short 27s 22s
>>>> Normal 45s 45s
>>>> Long 61s 90s
>>>> Longer 81s 180s
>>>> Unlimited n/a unlimited
>>>>
>>>> Old = WTP 1.0.x and WTP 1.5
>>>> New = current WTP 1.5.1
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
>>>>
>>>> Tom Henricksen wrote:
>>>>> We are getting a prompt that our Tomcat(5.0.30) server didn't start in
>>>>> 45 seconds from Web Tools (1.0.3) in Eclipse 3.1.2. Our application
>>>>> uses iBatis to setup some configuration when its starts so it may take
>>>>> one minute sometimes. Is there a way to change the warning time or
>>>>> suspend these?
>>>>>
>>>>> Thanks in advance,
>>>>> Tom
>
Previous Topic:Automatic Server Restart / reloadable="false"
Next Topic:Error executing JSP page from Eclipse 3.2 WTP
Goto Forum:
  


Current Time: Sat Oct 25 18:20:44 GMT 2014

Powered by FUDForum. Page generated in 0.02268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software