Release Notes - GlassFish Server 5
Posted by on 29 January 2018 03:31 PM
|
|
Overview - GlassFish 5This Release Note covers all point releases for GlassFish 5 that are offered by eApps. Upgrade instructions are included. eApps recommends, as a best practice, to maintain a staging server where you can test software upgrades before moving them into production. This approach will allow you to minimize the risk of data loss and downtime of your production service when performing software upgrades. If necessary, you can rebuild your staging Virtual Server on demand so that you have a fresh installation to test on. If you need more information about setting up a Virtual Server for staging or testing, please contact eApps Sales. IMPORTANT: GlassFish 5 has an extensive list of new features and changes, and is the first application server to support Java EE 8 and this release has introduced significant new functionality to GlassFish. See the official GlassFish 5 Release Notes for a list of changes that may cause issues when upgrading: GlassFish 5 Release Notes. Please read this document carefully to understand all the changes in GlassFish 5. Upgrading to this version may significantly impact the operation of your database and applications. All GlassFish 5 documentation is located here: GlassFish 5 Documentation Before upgrading to GlassFish 5, please carefully read and review the official documentation related to this release. Failure to read, review, and test before upgrading may result in data loss and downtime for your customers. eApps Release Notes for GlassFish 5 Highlighted Features and Fixes in GlassFish 5.0Features
Fixes
The official Release Notes for GlassFish 5.0 are available here (please note that this is a PDF file) https://javaee.github.io/glassfish/doc/5.0/release-notes.pdf How to upgradeThe method you choose to upgrade GlassFish depends on which version of GlassFish you are currently on:
You will need to be able to connect to your Virtual Server using SSH and work from the command line as the root user. It is also advised that you back up your existing GlassFish applications and configurations before starting the upgrade process. These files are usually in the Before upgrading GlassFish make a backup of your database. Follow the instructions for your database: MySQL, MariaDB, or PostgreSQL. GlassFish 4 to GlassFish 5 (ISPmanager 5 only)Because GlassFish 5 is a major release, you cannot upgrade your existing GlassFish 4 installation in place. You will need to:
There are some additional steps that are specific to ISPmanager that are covered in that section. You will need to work from the command line as the root user to uninstall GlassFish 4. After you remove GlassFish, you will install it from the ISPmanager Control Panel. Before beginning the upgrade process, make a backup of your databases and your existing GlassFish applications and configurations. See the How to upgrade section for more information if necessary. To upgrade GlassFish in ISPmanager, connect to the Virtual Machine using SSH. Do the following as the root user.
Stop the glassfish service with the [root@eapps-example ~]# /etc/init.d/glassfish stop It may take a minute or so for the glassfish service to stop.
Use the [root@eapps-example ~]# mv /opt/glassfishv4 /opt/glassfishv4.orig
Remove GlassFish 4 with the
ISPmanager 4 - go to Server Settings > Applications. GlassFish 5 will be available to install. Note that the default password for the GlassFish Admin Console is shown in this screen. ISPmanager 5 - go to Settings > Features, and install GlassFish 5.
Once GlassFish 5 has been installed, you will need to redeploy your applications from the /opt/glassfishv4.orig directory. | |
|