Gen 8.6 PTFs RTJ86109 and BTN86117 provided support for building Java web/EJB applications with Oracle Java Development Kit (JDK) version 11 and Jboss EAP.
Those PTFs have since been superseded by the Gen 8.6 Complete roll up PTF for Windows WKS86002.
This article summarises the steps required to build and deploy a CA Gen 8.6 client server Java application for Oracle Java 11 under JBoss EAP 7.2.
NOTE: Red Hat JBoss EAP official support for Java 11 is currently limited to version 7.2.
Release: CA Gen 8.6
Component: Java generated applications and runtime
Jboss 7.2 EAP:
Configure JBoss to set system property java.locale.providers with locale values of COMPAT (for JDK 8 compatibility) and CLDR (Unicode)
Oracle JDK 11 Supported Locales
Build Tool Profile:
Set profile tokens for JAVA section as follows:
LOC.JDK_HOME=<Oracle Java 11 JDK install directory>
LOC.JAVAEE_HOME=C:\Program Files (x86)\CA\Gen86\Gen\classes\java11\modules\ (Assuming Gen is installed in default location. The Gen 8.6 java11\modules directory provides required Java EE runtime classes that are no longer included in Java 11)
OPT.JAVAVERSION=11 (the default is 8 for Java 8)
CA GEN 8.6 - Developing > Working with Build Tool > Profile Token Descriptions > JAVA Profile Tokens
NOTE: After generation, build and assemble steps the final .ear file will also include file javax.jms-api-2.0.1.jar in its lib directory (copied from the directory "C:\Program Files (x86)\CA\Gen86\Gen\classes\java11\modules\")
Deploy the ear file to JBoss EAP 7.2 running under Java 11