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.
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.
App server plugin I used is Build041214 2.
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.
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.
Created attachment 19299 [details] Console output and server log of this issue
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.
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.
Fixed. We need this in EA2 also.
in 4.1 code and ea2.
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.
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.
I can't reproduce the issue in NB 4.1. I'm marking as verified.