Wednesday Jul 28, 2010

View Server Log for remote instance

NetBeans has supported deployment onto remote GlassFish for a long time.

There is a new feature into today's dev build that improves that feature significantly. Users can see the log for remote GlassFish Server 3.1 instances

The log view window can be opened using the 'View Server Log' menu item, that is in the instance's right-click menu in the Services explorer, if the remote server is running.

The log view will open automagically when you deploy a project to a remote GlassFish Server 3.1 instance, too.

The log view for a remote instance of GlassFish Server 3.1
Notice: only the restart tool is available

This feature is built on top of the view-log request that is part of the RESTful interface for GlassFish Server 3.1. Ludo did the heavy lifting for this feature in that module.

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

Thursday Jul 01, 2010

UI design survey results

Thanks to the folks that took a few seconds to respond to my UI design survey.

Here are the result:

  • 44 (of 59) folks thought I should permit multiple selection of objects that could be enabled and disabled.
  • 34 (of 49) folks thought that I should have both actions visible and active in the right-click menu.

I hope to have this advice implemented in the dev builds of NetBeans very soon.

Monday Jun 28, 2010

Restart a remote instance of GlassFish Server

While I was preparing the plan for the GlassFish Server 3.1 integration plugin for NetBeans, I ran into something that I had overlooked in the GlassFish Server documents...

The plugin has supported local domain restart 'forever', but this new capability had not been exposed in the IDE... until a couple days ago.

If you register a remote domain in recent dev builds of NetBeans, you will see that the 'Restart' action is enabled.

screenshot of remote server with Restart action enabled

Needs some UI design advice

I have created a survey to solicit some quantifiable advice on a UI problem. Your feedback would be very helpful.

Wednesday Jun 16, 2010

Initial Support for GlassFish Server 3.1

Folks have started to ask me about GlassFish Server 3.1 support in NetBeans.

I am currently adding support for 3.1 to the NetBeans dev builds. You can read through the GlassFish Server 3.1 integration for NetBeans project plan.

Some of the initial features are available in recent dev builds.

You can add a GlassFish Server 3.1 DAS.

If you don't have a recent promoted build installed, you can download it.

When you start working with DD files, NetBeans creates and supports the new glassfish-\*.xml files.

Some folks may have noticed that you can register a 3.1 DAS in NetBeans 6.9, if you tell the IDE that the server is a 3.0 server. I would discourage that practice for a couple reasons

  • the upgrade behavior is undefined
    That means that when you install a version of NetBeans that does support 3.1 and you import your 6.9 userdir the 3.1 DAS from your userdir is probably not going to import correctly.
  • 3.1 is under active development and it is very likely that there will be a change introduced in the server that breaks a 6.9/3.1 development configuration
    The fix for such a break has to get integrated into the dev build first... And be allowed into a 6.9 patch (which is unlikely).

Vince Kraemer writes the entries in this blog.


« July 2016

No bookmarks in folder