Is there any way to speed up GoAnywhere?
Posted: Mon Mar 23, 2009 1:25 pm
GoAnywhere's performance is closely related to the performance of the JRE (Java Runtime Environment) it uses and the system it is installed on. For Windows and Linux installations the recommended JRE is shipped with the GoAnywhere installation. On all other systems a JRE will need to be installed.
Note: Although GoAnywhere only needs the JRE to run you can specify a JDK (Java Development Kit) because it includes a JRE. On the iSeries platform there is only one version of Java which is the JDK.
GoAnywhere runs much faster on the iSeries when it uses the 32-bit JDK that is only available on V5R4 and beyond. To change the version of JDK on the iSeries use the GOANYWHERE/CFGGA command and change the "Java Home" parameter to read: /QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit
If you are on V5R3 then it may help to optimize the GoAnywhere files. If GoAnywhere is installed to the default directory, this is how these commands would look. If you did not install to the default directory, then change each reference to /linoma/goanywhere to match your installation.
CRTJVAPGM CLSF(/linoma/goanywhere/tomcat/server/lib/*.jar') +
OPTIMIZE(40)
CRTJVAPGM CLSF(/linoma/goanywhere/tomcat/common/lib/*.jar') +
OPTIMIZE(40)
CRTJVAPGM CLSF(/linoma/goanywhere/WebRoot/WEB-INF/lib/*.jar') +
OPTIMIZE(40)
Note: Although GoAnywhere only needs the JRE to run you can specify a JDK (Java Development Kit) because it includes a JRE. On the iSeries platform there is only one version of Java which is the JDK.
GoAnywhere runs much faster on the iSeries when it uses the 32-bit JDK that is only available on V5R4 and beyond. To change the version of JDK on the iSeries use the GOANYWHERE/CFGGA command and change the "Java Home" parameter to read: /QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit
If you are on V5R3 then it may help to optimize the GoAnywhere files. If GoAnywhere is installed to the default directory, this is how these commands would look. If you did not install to the default directory, then change each reference to /linoma/goanywhere to match your installation.
CRTJVAPGM CLSF(/linoma/goanywhere/tomcat/server/lib/*.jar') +
OPTIMIZE(40)
CRTJVAPGM CLSF(/linoma/goanywhere/tomcat/common/lib/*.jar') +
OPTIMIZE(40)
CRTJVAPGM CLSF(/linoma/goanywhere/WebRoot/WEB-INF/lib/*.jar') +
OPTIMIZE(40)