The procedure explains how to use Update Tool to obtain and install the add-on component for upgrading GlassFish Server Open Source Edition to Oracle GlassFish Server. For general instructions for using Update Tool, see the Update Tool online help.
Ensure that GlassFish Server Open Source Edition 3.0.1 is installed on your machine.
Start Update Tool.
as-install-parent/bin/updatetool |
From the Application Images list, select GlassFish Server Open Source Edition.
Click Edit Properties.
The Image Properties window opens.
(Optional) In the Image Properties window, change image title to Oracle GlassFish Server.
Remove the following publishers from the list of software sources for the image:
dev.glassfish.org
stable.glassfish.org
release.javaeesdk.sun.com
Remove each publisher as follows:
Add repositories for Oracle GlassFish Server to the application image.
Add each repository as follows:
In the Image Properties window, click Add.
The Publisher Properties window opens.
In the Publisher Properties window, specify the properties of the repository that you are adding and click OK.
The properties to specify for each repository are listed in the following table.
Publisher Name |
Repository URL |
---|---|
release.glassfish.sun.com |
http://pkg.sun.com/glassfish/v3/release/ |
dev.glassfish.sun.com |
http://pkg.sun.com/glassfish/v3/dev/ |
For more information about these repositories, see Oracle GlassFish Server Repositories.
The Publisher Properties window closes. The publisher is added to the Software Sources list in the Image Properties window.
In the Image Properties window, set the Preferred option for the release.glassfish.sun.com publisher and click OK.
The Image Properties window closes.
Under GlassFish Server Open Source Edition in the Available Images list, select Available Add-ons.
Select the add-on component for upgrading the distribution of GlassFish Server Open Source Edition that is installed:
Click Install.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.