I have to set up XCOM to use another version of Java on a Linux server running XCOM: CA XCOM Data Transport r11.6 12091 SP00. I want to configure it with OpenJDK 1.8 version - 64 bit, to get rid of Java vulnerability. In some of the servers everything went fine, but with other I'm getting an error.
On this server, XCOM was configured with this Java version:
$ /opt/CA/SharedComponents/JRE_OLD/1.6.0_32_ALL/bin/java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) Server VM (build 20.7-b02, mixed mode)
And I have set it up to use the version below:
$ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-0.el6_10.x86_64/jre/bin/java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
With this configuration, if I execute StandaloneUI.sh I get the error below:
$ /opt/CA/XCOM/bin/StandaloneUI.sh
Using Java: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-0.el6_10.x86_64/jre/bin/java
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
OpenJDK 64-Bit Server VM warning: You have loaded library /opt/CA/XCOM/bin/libxcomjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/CA/XCOM/bin/libxcomjni.so: /opt/CA/XCOM/bin/libxcomjni.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1088)
at com.ca.xcom.standalone.base.util.XcomJNI.<clinit>(XcomJNI.java:107)
at com.ca.xcom.standalone.dashboard.ui.SplashWindow.main(SplashWindow.java:108)
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-0.el6_10.x86_64/jre/bin
Release : 12.0, 11.6
Component : XCOM Data Transport for Linux PC
Not supported at XCOM Data Transport r11.6 12091 SP00
Enhancements for Service Pack 11.6.03
XCOM Data Transport for Windows for Windows Service Pack 11.6.03 provides the following enhancements.
Install using Ansible
Support for Open Java
Performance Improvements
Installation Improvements
New Operating System Support
Miscellaneous
Documentation Updates
Also included in XCOM Data Transport for Windows for Windows 12.0 Installation Improvements