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 52413 - Appserver suddenly stops after start debugging web module
Summary: Appserver suddenly stops after start debugging web module
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-12-14 18:42 UTC by Jaroslav Pospisil
Modified: 2006-03-24 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Console output and server log of this issue (8.32 KB, text/plain)
2004-12-15 09:10 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2004-12-14 18:42:58 UTC
4.0 FCS Build 200412081800 with appserver plugin
installed

After start debugging of web module on app server
using in Projects tab "Debug Project" menu command
and switching to Runtime tab where App server
indicates running,an informational message appears
with no text body (empty frame).When I try to
refresh app server,second message(the same)
appears and the server is stopped.It occurs about
once per 15-20 cases on Win2000.
No error messages in message.log.
Comment 1 Jaroslav Pospisil 2004-12-14 18:49:00 UTC
App server plugin I used is Build041214 2.
Comment 2 _ ludo 2004-12-14 18:52:26 UTC
can you verify is the server is really stopped?
When in debug mode and a brkpoint is reached, the plugin has no clue
of the server si running or not (querying it would cause a deadlock
sinc ethe debugge is not responding), so the plugin might display the
'non running' status...

so check the processes manager or try using the  admin gui..

Maybe an enhancement for J2EEserver module would be to handle this
state: server started but stopped at a break point.
Comment 3 Jaroslav Pospisil 2004-12-15 09:08:12 UTC
I've debugged web module with JSP page and Tag Handler,where I set two
breakpoints.Debugger normally stopped on the first breakpoint,I hit
sometimes Step over and Step into and then Continue.Second breakpoint
was out of executed code,so it had been ignored.Everything looked
normally,JSP page in browser was showed correct and no breakpoint was
selected.
I clicked right mouse button on Applications node of localhost:4848
app server instance to refresh the tree,but first Information window
appeared.Localhost:4848 was displayed as running.I've clicked on
Refresh and message "Unable to connect to App server.The Deployed
components tree will be removed" appeared.
Appserver was still shown as running,although the tree vanished  and
after second refresh there was localhost:4848[stopped].
Down on the Windows status bar,the domain1:J2EE 1.4 server remained
running and I cannot start app server from IDE,until I manually
(clicking on Close in context menu for this application in Windows)
shutdown the running app server.

Next I tried the same for 5 times and nothing wrong occured.
Comment 4 Jaroslav Pospisil 2004-12-15 09:10:21 UTC
Created attachment 19299 [details]
Console output and server log of this issue
Comment 5 Jaroslav Pospisil 2004-12-20 16:57:19 UTC
I have just seen the same bug,but no breakpoints have been set,I just
started debug of web module by pressing F5 and switched to Runtime
tab,where I wanted to check deployed applications by clicking the
Applications node of appserver.
Comment 6 _ ludo 2005-01-07 21:28:31 UTC
1/ you shoudl use the latest 8.1 app server.
You log mentions:
Starting Sun Java System Application Server Platform Edition 8.0.0_01
(build b08-fcs)

which should not be used.

2/ you admin name might be wrong also: see message:
Failed file login for admina. 

3/ For the random stop appearance, I think I know how this can be fixed.
Seems related to socket comm on Windows  (see equivalent bug Issue
#47048 for tomcat.
Comment 7 _ ludo 2005-01-08 00:09:42 UTC
Fixed. We need this in EA2 also.
Comment 8 _ ludo 2005-01-13 15:52:04 UTC
in 4.1 code and ea2.
Comment 9 Jaroslav Pospisil 2005-01-20 16:11:50 UTC
1)For appserver plugin in NB 4.0 was chosen sjas 8.0 update 1,so I
used the right version.
2)It was remain from my tests with changing the admin name and
password,but it was the only case,when I was able to save the output
so I added it here,because i thought it may help with fixing.Changed
admin name had no effect on the process,because I changed it only in IDE.
3)I have been able to reproduce this issue on same configuration with
latest build20050114 plugin version,so I suppose it is not fixed at
least in NB 4.0 with appserver plugin.
In 4.1 I haven't seen this yet,so there should be it O.K.
Comment 10 _ ludo 2005-02-08 19:01:02 UTC
How can we close this bug:
The bug is there in NB 4.0 and AS 8.0

But the bug is fixed in NetBeans 4.1 AS 8.1

So there is a version of NB where this bug is fixed.
Can I mark it as fixed? Issuzilla does not support bug status for
multiple releases.
Comment 11 Petr Blaha 2005-07-11 12:43:55 UTC
I can't reproduce the issue in NB 4.1. I'm marking as verified.