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.
The option in menu to start Glassfish Remote server is grayed out Test suite: Managing GlassFish http://wiki.netbeans.org/TS_71_GlassFish Product Version = NetBeans IDE 7.2 (Build 201206291011) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_05 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Created attachment 121935 [details] IDE log
Guys, can you please take a look at this? Thanks!
Excerpt from TS doc... Test suite: Managing GlassFish Purpose: To verify a GlassFish can be controlled from IDE. Managing GlassFish [snip] For "GlassFish Remote" instance there should only be possible to Restart and Refresh server. Server state after refresh should follow state of "GlassFish Default" instance (bug 196214).
the "Restart" option is grayed out too. It is not possible to do anything with this server instance I have restarted Netbeans to see if it helps, but with no luck
Please provide complete paths for the following questions... where is gf installed? where is nb installed?
reproduced on Linux - see attached screenshot nb installed: /home/jan/netbeans-7.2/bin/netbeans gf installed: /home/jan/GlassFish_Server Product Version: NetBeans IDE 7.2 (Build 201206291011) Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03 System: Linux version 3.0.0-12-generic running on i386; UTF-8; en_US (nb) User directory: /home/jan/.netbeans/7.2 Cache directory: /home/jan/.cache/netbeans/7.2 ----------- I will be on my testing laptop with Windows 7 again tomorrow in the morning - therefore i am sending this reproduced issue details from my Linux laptop. I guess then is the Windows 7 settings irrelevant... ?
Created attachment 121944 [details] No "Restart" option in menu for "GlassFish Remote" instance
and you can confirm that the remote server is running? If the remote server is not running, then it makes sense that restart is disabled, right?
that make sense. If it is "GlassFish Default" than yes, it is running and "Restart" option in "GlassFish Remote" is grayed out But i guess i am missing something (how to start local server manually)..
If a server is local,the start menu item should be enabled... if the server is not running. The Restart item may also be enabled... for a local server. In the picture that you sent none of the servers are tagged as running... Feel free to reopen when you find the 'missing something'.
Created attachment 121948 [details] GlassFish Default running, GlassFish Remote without option to restart
I did screen-shot with running GF Default and reopened the Bug
did you refresh the 'GlassFish Remote' node so that it would show that the 'GlassFish Remote' server is running? I think that is the take-away from bug 196214...
To be able to control remote server you have to enable secure admin. Probably there is a message about it in IDE log. Potential bug is that user is not informed about it. Steps how to enable secure admin are described in "Remote Application Node" test case in updated test specification http://wiki.netbeans.org/TS_72_GlassFish#Test_suite:_Deployment
Thank you Jiri, it explained the root cause why "Restart" was grayed out. I have tested it back on Windows 7 and it is working. Changing status to "RESOLVED".
Thank you for your time and explanation - it was not obvious to me how to make this working.