Monday Mar 25, 2013

Now is a perfect time to panic^h^h^h^h^hbackup

Peter Benedikovic has been hard at work prepping a new version of the GlassFish server adapter for Eclipse. This new server adapter supports GlassFish 4.0, but has required some changes that prevent the upgrade process from being straight-forward.

You will be able to tell that you are upgrading to the new version of the adapter if you see messages like these:

Your original request has been modified.
  "GlassFish Tools" is already installed, so an update will be performed instead.
  "Java EE 5 Documentation" is already installed, so an update will be performed instead.
  "Java EE 6 Documentation" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: GlassFish Tools 2.2.1.201303... (oracle.eclipse.tools.juno.glassfish.feature.group 2.2.1.201303...)
  Software currently installed: GlassFish 3.1.2.2 Application Server runtime 3.1.2.201208291146 (oracle.eclipse.runtime.juno.runtime.glassfish3122.feature.group 3.1.2.201208291146)
  Only one of the following can be installed at once: 
    Oracle GlassFish Server Tools 5.0.1.201208291146 (oracle.eclipse.tools.glassfish 5.0.1....)
    GlassFish Tools 5.2.1.201303201334 (oracle.eclipse.tools.glassfish 5.2.1....)
  Cannot satisfy dependency:
    From: GlassFish 3.1.2.2 Application Server Runtime 3.1.2.2012... (oracle.eclipse.runtime.glassfish3122 3.1.2.2012...)
    To: package com.sun.enterprise.jst.server.sunappsrv 0.0.0
  Cannot satisfy dependency:
    From: GlassFish 3.1.2.2 Application Server runtime 3.1.2.2012... (oracle.eclipse.runtime.juno.runtime.glassfish3122.feature.group 3.1.2.2012...)
    To: oracle.eclipse.runtime.glassfish3122 [3.1.2.2012...]
  Cannot satisfy dependency:
    From: GlassFish Tools 2.2.1.2013... (oracle.eclipse.tools.juno.glassfish.feature.group 2.2.1.2013...)
    To: oracle.eclipse.tools.glassfish [5.2.1.2013...]

Peter has a write-up on the process to follow to install the new GlassFish server adapter.

Thursday Jun 07, 2012

AntClassLoader bug exposed by forgetful NetBeans

Many users have run into ClassNotFoundExceptions and NoClassDefFoundErrors after working with web services that target GlassFish while developing their projects in NetBeans.

The issue usually appears as a dialog similar to this

This can be pretty debilitating.

The bug appears to be in the AntClassLoader, which is tickled by the wsimport ant task that ships with GlassFish 3.1.2. The fix is pretty simple: Upgrade the Metro bits that ship in 3.1.2 with bits that have had a patch applied.

There are detailed instruction about installing the updated Metro bits onto GlassFish. This upgrade is probably useful for any install of GlassFish 3.1, but it is critically important for folks that develop web services from inside NetBeans and deploy them onto GlassFish 3.1.2.

Monday Mar 05, 2012

Internal 3.1.2 runtime plugin for Eclipse available

While I have been busy learning the code of some different Oracle products, I have been helping keep the Eclipse tooling story on track. I am really happy with the work that Peter Benedikovic has been doing.

And here is the result of one of his first assignments:

He created a new runtime plugin for Eclipse, so folks that love to be lazy (like me) can download the plugin and never have to think about downloading 3.1.2 from download.java.net, unzipping it, opening the New Server dialog to create a new server runtime and then registering a new 3.1.2 instance.

I can feel my braincells doing a happy dance already!

For folks that like to live on the edge, there is also an update center of GlassFish related code for Eclipse Juno.

Thursday Dec 15, 2011

Eclipse integration changes

I recently started being responsible for addressing issues with the GlassFish integration plugin for Eclipse. Lucky for me, Indigo had shipped before the previous developer had left Oracle, so there were not immediate changes that were necessary.

Recent changes in the GF 3.1.2 code did make it necessary to release a new version of the plugin, since users could not register recent builds by claiming that it was a 3.1.1 build any longer.

I just finished pushing an update that makes 3.1.2 an explicitly 'supported' run-time to address that issue.

I have also finished the work that Ludo started to convert the plugin to a Maven/Tycho based build.

This is the first release of the plugin that was built and pushed onto java.net via hudson jobs, thanks to the wonderful support of Jane Young.

You can get the new plugin from http://dlc.sun.com.edgesuite.net/glassfish/eclipse/indigo/.

Folks should know that I will be building a new GlassFish runtime plugin that includes 3.1.2 once it is finalized.

Monday Jul 25, 2011

Prototype of cluster and instance support available for evaluation

I recently checked in an initial implementation of cluster and stand-alone instance support into the NetBeans trunk and would like to get feedback on the utility of the feature from folks.

  • Users can register a cluster or stand-alone instance as a deployment target for ant and maven based Java EE projects.
  • Users can undeploy applications from a cluster or stand-alone instance
  • Users can start and stop cluster or stand-alone instances that are controlled by a local or remote domain. Note: The remote domain must be started/stopped on the remote host, outside of the IDE, to be able to manipulate the state of its clusters and instances.

There are not a lot of user visible changes.

The biggest change is on the last page of the registration wizard.

The new 'Target' field is used to specify a value which is used to identify a cluster and/or stand-alone instance. This name is often used as the value of the --target option, associated with a number of asadmin subcommands. If you leave the field blank, all commands will be applied to the DAS instance (as they have in the past).

I have not extended the NB/GF integration to help you create clusters or stand-alone instances at this point, so you must use asadmin to do those kinds of things.

I plan on producing a screencast that demonstrates the cluster/instance support capabilities in the next couple days. If you would be willing to wade in and provide feedback before that screencast is ready, please feel free and add your comments onto this blog entry.

Thursday Mar 10, 2011

GlassFish Server 3.1 fully integrated in dev builds of 7.0

After the FCS bits for GlassFish Server 3.1 became available, I had to make a change in the GlassFish integration plugin sources and the web to get it integrated into the dev builds.

The folks that build the installer also needed to make some changes and it looks like they are done, too.


Monday Feb 28, 2011

What does Popular really mean?

I saw this

and thought... Gee! I rock.

Then I saw this

Free Image Hosting
and realized, I need not worry about the impact of my blog on the world...

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