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.
Regression in how servers are started: Follow these steps: 1/ create web app 2/ run it: this will start the App server in normal mode. 3/ then select debug: this should stop the server and restart it in debug mode and attach to it. The stop and start is debug mode is happening at the server level, but the IDE waits forever thinking the server is not restarted. This is a regression and I was able to detect that on a build form 3/21 it was working. I did more analysis of the regression and it is in ServerInstance.java cvs update -P -r 1.46 ServerInstance.java (in directory C:\acvs\nb_all\j2eeserver\src\org\netbeans\modules\j2ee\deployment\impl\) P ServerInstance.java is working but version 1.47 is not working. Also, from times to time I see the progress bar with buttons containing "UNKNOWN COMMAND" ...This has not impact on the process...
Libor, please investigate.
I have fix in my IDE. The problem is in usage of isRunningLastCheck() method in _retrieveTarget() method. There should be isRunning() call because isRunning field indicating server state is not set by the thread causing server state change (it results in obtaing obsolete info in _retrieveTarget() and starting server while starting server in debug). I will commit this fix on Monday because I met some other bug while testing this fix and must investigate whether it is forgotten bug or a new one caused by this fix.
Maybe if you send me your diff, I can take a look... Not sure, but I can try, Ludo
Fixed along with some additional minor "caching" and "NPE" problems. Checking in ServerInstance.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v <-- ServerInstance.java new revision: 1.52; previous revision: 1.51 done Question for QE: Could you please focus on "UNKNOWN COMMAND" problem (and file another bug if needed)?
We have filed issue 49598 for "UNKNOWN COMMAND" problem.
Verified in build 200504031800.