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 76160 - intermittent server start failures
Summary: intermittent server start failures
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-05-10 15:27 UTC by Vince Kraemer
Modified: 2006-06-04 23:44 UTC (History)
2 users (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 Vince Kraemer 2006-05-10 15:27:43 UTC
pcm ran into trouble on Fedora Core 3.

More details to follow from him.
Comment 1 Alexander Kouznetsov 2006-05-10 16:10:22 UTC
I've seen the same behavior sometimes with TPR3 builds on different machines with different OS. In fact, server gets started and I was able to update its status in the IDE using Refresh command. I have no idea what are the steps to 100% reproduce this issue.
Comment 2 _ ludo 2006-05-11 09:43:33 UTC
How long does it take to start the server? MAybe longer than 2 or 3 minutes?
(possible with OpenESB?) What apps are deployed? (attach the domain.xml)
In this case, Nb will timeout. YOu can alway to a node refresh to check again
the server status.
See the log file entries for timestamps...
Or attach the log, as requested on the previous bug.
Vince: I do not think it is a good idea to close a bug thread and reopen a
different one: where are all the questions I asked?
Lost?
Also, this is really a P1 for this customer on these machines... The fact you
cannot reproduce it does not decrease the priority.
Comment 3 Vince Kraemer 2006-05-11 15:53:26 UTC
PCM: Please provide detailed responses to Ludo's question.

PCM: obvioulsy more info would help...I am not sure why you do not provide it:-(
What is the reproducible case? What is the ratio of failure in %?
What is the state of the system after (ie server is running or not?)
What happens if you restart the IDE: does it see the server running?
What is special with the network settings on this machine? (can we remote login
to analyse? If yes, provide the machine name, ip)
How many CPU?
Which JDK?
When this bug was opened las year, was it on the same machine?
Do you have another machine to try to reproduce? 

Comment 4 Vince Kraemer 2006-05-11 21:29:54 UTC
from phone conversation with PCM

steps to reproduce

initial state..

NetBeans and server are RUNNING

in the IDE:

1. Use Stop action to stop the instance
   instance stops after some amount of time
2. Use Start action to start the same instance
   startup appears to fail. (get the failed to start  message)
3. use command-line `kill` to get rid of the app server instance's process

4. Use the start action
   this time it is successful.

PCM: step 1 and 2 may be replaces by single use of Restart action?

Comment 5 pcmreddy 2006-05-11 21:41:52 UTC
Vince, This steps are correct.
Comment 6 _ ludo 2006-05-12 16:38:57 UTC
Does this instance contains openEJB, IM, JBI modules?
on my system, a clean GalssFish instance starts in 15 seconds, but a clean
instance from the EE SDK tool bundle takes 62 seconds...

Quadrupling the start time in the EE SDK tool bundle in not acceptable imo.
Obvioulsy, the timeouts in NetBeans are not big enough. We can increase them,
but the point is that the real fix is to work on the instance startup time.
Comment 7 _ ludo 2006-05-12 16:40:02 UTC
Also, why do you kill the process?
Does a Server nod "Refresh" popup menu works?
If yes, then it is a P3: just select this refresh menu so that Nb sees the
running server.
Comment 8 Alexander Kouznetsov 2006-05-15 10:43:23 UTC
As for me, Refresh always helps, so I never use kill command.
Comment 9 _ ludo 2006-05-23 17:57:26 UTC
PCM: I am not pleased with the complete lack of extra info on this bug.
Obviously this is not a show stopper since you are not looking as being stuck
with this bug:-)

Worakorund seems to refresh the server node, so it is a P3.
We'll increase the timeout value on the pluign side (even maybe diaply a dialog
to ask if the ide needs to continue waiting for a complete startup).

If you could attach the server log file, maybe give use the machine name/ip so
that we can try, it would still be valuable.

Comment 10 pcmreddy 2006-05-23 20:19:08 UTC
This is not consistantly reproducible. I am OK to make this as P3 for now.
If this reproduced again. I will add more details.
Comment 11 _ ludo 2006-06-02 00:44:08 UTC
I increase the time out from the IDE to 5 minutes to see if the server is running.
Closing, but open a new bug if this happens again, with detailled info, and log
files.