Monday Jul 19, 2010

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.

Sunday Jul 18, 2010

New Enable and Disable actions for deployed apps

I had asked for some UI advice a couple weeks ago. I posted the results of the survey, but I forgot to post about the final results of the survey...

There is now two additional actions for applications deployed onto GlassFish Server instances: Enable and Disable.

The new actions

Applications are badged when they are disabled, so you can see which applications are enabled or disabled at a glance.

A list of apps that includes disabled apps

Friday Mar 06, 2009

A very useful day

Every now and then, you look back at 'What did I do today?' and the answer is mighty depressing. Today was not one of those days for me.

For my accomplishments today, I:

I wish that I had been able to work a bug fix into the mix today, but that did not happen. Maybe Monday.

Tuesday Jul 24, 2007

New GlassFish Integration Feature: XML Multiview editor for deployment descriptor editing

In my New GlassFish Integration Features screencast, I touched on this, but it went by very quickly.

In earlier releases of NetBeans, the vendor specific deployment descriptor was "managed" by leveraging JSR-88. Some of this management spilled into the editing experience for these descriptors. It was significantly different than the editing experience for the "standard descriptor".

Here is a screen shot of the XML multi-view descriptor editor for the ejb-jar.jar file.

The editor for the associated sun-ejb-jar.xml was radically different.

In the NetBeans 6.0 release, we finally bit the bullet and threw out most of the "management" aspects of JSR-88. This has allowed us to create an editing experience for the sun-ejb-jar.xml file that is similar to the experience for the standard, ejb-jar.xml editor.

This screen shot is from the same project as the previous image, but shows the editor from NetBeans 6.0.

Follow this link to a search for all of my entries about new GlassFish integration features for NetBeans 6.0.

Wednesday May 23, 2007

what do tags do????

the ui for blog entry has a field with the label 'Tags'... since I like to learn by doing this pointless entry just to test tagging....

Thursday Jan 11, 2007

All good things come to an end....

Many of you know that NetBeans 5.5 provides an excellent development environment for Java EE 5 code to deploy on the application servers based on the GlassFish Project codebase for V1 U1, like Sun Java System Application Server 9.0 Update 1 Patch 1.

Many of you have also been taking advantage of the happy accident that the plugin for V1 U1 was also capable of targeting V2 domains.

Slowly but surely, that happy accidental compatability has erroded away. NetBeans 5.5 users have lost the ability to use NetBeans 5.5 as a development environment for apps that they want to target to recent V2 builds.

But all is not lost. NetBeans 5.5.1 is the SLR to NetBeans 5.5's 300 SL. One of the release drivers for NetBeans 5.5.1 is support for application servers based on the GlassFish Project codebase for V2.

Very few changes are getting rolled into the NetBeans 5.5.1 codebase, so builds are functional and very stable. But, it could use more testing because the GF V2 codebase is still in motion.


Vince Kraemer writes the entries in this blog.


« July 2016

No bookmarks in folder