Sun GlassFish ESB Upgrade Guide

Migrating the Configuration Settings, Services, and Deployed Applications

GlassFish provides an upgrade utility, asupgrade, to automatically migrate configuration settings, services, and deployed applications. The following instructions describe how to perform this process from the Upgrade Wizard, but you can also use a command line interface. For more information about asupgrade, see “Upgrading Configuration, Deployed Applications, and Certificate Databases” in the Sun GlassFish Enterprise Server 2.1 Upgrade guide.


Note –

This process does not work for application configurations and variables for the HTTP Binding Component and Java EE Service Engine. These must be migrated manually.


ProcedureTo Migrate Configuration Settings, Services, and Deployed Applications

  1. From a command prompt, navigate to \glassfish\bin in the new GlassFish ESB v2.2 installation.

  2. Type asupgrade.

    The Upgrade Wizard appears.

  3. In the Source Domain Directory field, browse to and select the existing GlassFish ESB directory containing the domain you want to upgrade.

  4. Verify the Target Domains Root Directory field, and then enter the login information for the administrator user.


    Tip –

    The default admin user name is admin, the password is adminadmin, and the master password is changeit.


    Figure shows the GlassFish Upgrade Wizard.
  5. Click Next.

    The Upgrade Wizard migrates the previous GlassFish configuration settings to the new installation. This may take a while depending on the amount of configuration settings that need to be transferred.

  6. When the Upgrade Wizard is finished, click Finish and then review the log file to verify there were no errors.

    The log file is located under the GlassFish home directory in \glassfish\domains\upgrade.log.

  7. Start the GlassFish 2.2 server, and recreate any application variables or application configurations for the HTTP BC and the Java EE SE.

  8. When you are finished, shut down the application server.