Upgrade tasks for developers
The Java™ upgrade brings substantial benefits, including improved performance, new language features, and enhanced security.
Update custom code to use IBM Semeru Runtimes
- Rebuild your custom JARs with IBM Semeru Runtimes 21 to determine whether there are compile-time errors that are caused by classes that are no longer supported in IBM Semeru Runtimes 21. If you find errors, update the dependencies.
- Ensure that all custom software components are compliant with the new IBM Semeru
Runtimes standards. For example:
javax.xml.transform.TransformerFactorychanged fromcom.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpltocom.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.javax.xml.xpath.XPathFactorychanged fromorg.apache.xpath.jaxp.XPathFactoryImptocom.sun.org.apache.xpath.internal.jaxp.XPathFactoryImp
- If your applications use
Nashornfor scripting, add an external JavaScript engine likeGraalVMto handle these scripts.Nashornwas removed from IBM Semeru Runtimes 21. - If you have applications that rely on specific time zone formats, make sure that they use the international standards that are supported by IBM Semeru Runtimes 21. Time zone formats supported by IBM SDK, Java Technology Edition might not be interpreted correctly by IBM Semeru Runtimes.
- If you are using the following internal packages, you can use a
jvmoption to open them for unrestricted access in your application environment:java.base/java.lang java.base/java.net java.base/java.io java.base/java.util java.base/java.nio java.base/java.security java.base/java.util.concurrent java.base/sun.security.x509 java.base/sun.security.util java.base/sun.misc java.logging/java.util.logging java.xml/com.sun.org.apache.xerces.internal.parsers java.xml/com.sun.org.apache.xalan.internal.xsltc.trax java.xml/javax.xml.transform
Update custom code to use the new Cognos service wrapper
In OpenPages 9.1.0, the built-in Cognos SDK dependency was removed, and the Cognos SDK JAR files (cognosClient.jar and cognos-axis.jar) are no longer included in the class path. As a result, all custom implementations that previously used Cognos SDK classes to migrate to a new proxy service wrapper.
For more information about how to adapt your code, see Using a Wrapper Class for Custom Cognos Code Migration in OpenPages 9.1.
Post-upgrade steps
After you complete the upgrade to 9.1.0, you can remove IBM SDK, Java Technology Edition from the application servers and the global search server, if no other applications are using it. Do not remove Java 8 from the reporting servers.