Java 11 Requirements When Upgrading to MFT v7.1.2
Additional Considerations
Java 11 is required to use GoAnywhere MFT after v7.1.0. However, migrating to Java 11 requires
some additional considerations.
NOTE: If you have installed version 7.1.1 or newer of GoAnywhere MFT, the following updates
are handled by the installer.
For Upgrading GoAnywhere versions older than v7.1.1:
When upgrading to GoAnywhere MFT version 7.1.2 and beyond, the system requires Java 11.
Depending on the operating system, GoAnywhere MFT may use a JRE that is bundled with the application or it may use an existing JRE which is already installed.
WINDOWS
Updating MaxPermSize to MaxMetaspaceSize on Windows
If you are a Windows user, follow the steps below to replace the MaxPermSize setting with MaxMetaspaceSize in the Java Options.
1. Go to the GoAnywhere [installdirectory]\tomcat\bin.
2. Run [servicename]w.exe, where [servicename] is the name designated to the GoAnywhere Windows Service during installation. The default file name is GoAnywherew.exe.
3. On the Service Properties window, select the Java tab.
4. Under the Java Options remove the value -XX:MaxPermSize=256m and replace it with: -XX:MaxMetaspaceSize=1024m
5. Select OK.
Remove the Endorsed Standards Override Mechanism
If you are a Windows user, follow the steps below to remove the Endorsed Standards Override Mechanism in the Java Options.
1. Go to the GoAnywhere [installdirectory]\tomcat\bin.
2. Run [servicename]w.exe, where [servicename] is the name designated to the GoAnywhere Windows Service during install. The default file name is
GoAnywherew.exe.
3. On the Service Properties window, select the Java tab.
4. Under the Java Options, remove -Djava.endorsed.dirs=C:\ProgramFiles\HelpSystems\GoAnywhere\tomcat\endorsed from the list.
5. Select OK.
LINUX
Update the MaxPermSize Value in start_tomcat.sh
If you are a Linux, IBMi, Unix, Solaris, or Mac OS X user, follow the steps below to update the MaxPermSize Value in start_tomcat.sh.
1. Go to [installdirectory]/tomcat/bin, where [installdirectory] is the installation directory for GoAnywhere.
2. Find the file named start_tomcat.sh and replace MaxPermSize=256m with MaxMetaspaceSize=1024m
3. Save the file.
Remove the UseVMInterruptibleIO VM Option from start_tomcat.sh
If you are a Linux, IBMi, Unix, Solaris, or Mac OS X user, follow the steps below to remove the UseVMInterruptibleIO from start_tomcat.sh.
1. Go to [installdirectory]/tomcat/bin, where [installdirectory] is the installation directory for GoAnywhere.
2. Find the file named start_tomcat.sh and remove the VM Option: -XX:-UseVMInterruptibleIO
3. Save the file.
FURTHER TROUBLESHOOTING
If the contents of this article and the first step article have all been completed and the GoAnywhere Service starts but stops immediately - please check the version of Java that has been installed. GoAnywhere will not start if Java versions other than 11 have been downloaded instead of Java 11.
For future performance and efficient running it is also a good idea to check the initial memory pool in the goanywherew.exe application and increase if still at the default of 128. Minimum of 1024 suggested.