Restart a remote server in debug mode

Byron recently integrated a neat new feature into the GlassFish Server 3.1 code: support for restarting a server in debug mode with a single command. He did this by adding a new boolean option onto asadmin's subcommand "restart-domain". The new option is "--debug" and will usually appear as "--debug=true" or "--debug=false".

Folks should note that restart-domain also works with remote instances, so this allows you to restart a remote instance in debug mode without having to telnet/ssh/whatever onto that machine.

I have leveraged this new feature in the GlassFish Server integration module for NetBeans. Here are some of the changes that have been made:

  • Remote GlassFish Server 3.1 domains do not automatically appear to be in debug mode in the Runtime explorer. This has been an open bug for some time.
  • If the user triggers the 'Debug' action on a project that is deployed onto a GlassFish Server 3.1 domain, the server is restarted in debug mode... if the IDE thinks that the server is not in debug mode.
  • When a user triggers the Restart action on a GlassFish Server 3.1 domain, the domain will restart in 'normal' mode.

Comments:

Post a Comment:
Comments are closed for this entry.
About


Vince Kraemer writes the entries in this blog.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
News
Blogroll

No bookmarks in folder

automarks