GlassFish Migration Issues

Special Notes for GlassFish

Special attention should be paid when migrating GlassFish server accounts.

This is due to changes in the GlassFish file structure used by NGASI.

If the migration.json file is not created correctly, you will need to update the file with the correct values manually.

The correct form for the migration.json form is displayed below:

   "jdk" : {
      "name" : "JDK",
      "version" : "8.0_60",
      "path" : "/usr/java/jdk1.8.0_60"
   "server" : {
      "path" : "/usr/coffeecp/appfiles/",
      "version" : "4.1.0",
      "type" : 3,
      "folder_name" : "glassfish-4x",
      "name" : "GlassFish"
   "memory" : "-Xmx512000000 -Djava.awt.headless",
   "value" : "512",
   "ports" : {
      "ajp" : "4592",
      "shutdown" : "4595",
      "https" : "4593",
      "http" : "4594"


Once you have updated the file, SSH to the server as root and follow the steps below

Change to the /usr/coffeecp/paths directory:

cd /usr/coffeecp/paths/
Issue the following:
php migration.php


The above PHP script should create any missing files for the user and you should now be able to proceed with migration.

If you have issues or questions, please contact support.

Up Next: WildFly Migration

CoffeeCP WildFly Migration Issues