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.
Product Version = NetBeans IDE 7.4 Beta (Build 201306132201) Operating System = Linux version 3.5.0-34-generic running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01 GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5) try to restart the remote server in Server Log Tab fails and stalled the glassfish entry in [Services][Servers] with the waiting icon and never comes back. glassfish logs this message: [#|2013-06-18T13:40:50.835+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=62;_ThreadName=Thread-2;| Invalid option: force|#]
This is quite important, keeping P2 and targeting for 7.4.
Restarting code is broken after rewriting server status monitoring. It works fine for local server but not for remote. But server status monitoring was pushed on 16th July so Build 201306132201 is an indication that this issue was here even before that. Anyway, RestartTask is buggy and needs to be rewritten to integrate it with much better server status monitoring.
Checked into web-main: ---------------------- changeset: 258604:5b9538b81f72 summary: #231435 - Some minor changes in RestartTask code but it is not fixed yet
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5b9538b81f72 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #231435 - Some minor changes in RestartTask code but it is not fixed yet
Yes, there was an issue with remote asadmin restart-domain command. This is fixed now and server can be restarted. I'm currently in the middle of rewriting whole RestartTask class but I'll push this with old code to get it resolved now.
Checked into GF Tooling Library: -------------------------------- changeset: 631:a321872a7eab summary: Bug# 231435 - Fixed restart-domain asadmin command arguments Checked into web-main: ---------------------- changeset: 259883:e4a4704dbd3d summary: #231435 - Restarting a remote server fails with Invalid option: force changeset: 259884:b232c1cb1efa summary: #231435 - Switching RestartTask code
This needs some more testing. Will push tomorrow. But looks like new RestartTask code removed problem with waiting icon on server node.
Pushed into web-main, closing.
Integrated into 'main-silver', will be available in build *201308022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e4a4704dbd3d User: Tomas Kraus <TomasKraus@netbeans.org> Log: #231435 - Restarting a remote server fails with Invalid option: force