This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to
Article Number 000385088 for more information about troubleshooting BMC products in containers.
Legacy ID:KA414696
Add a parameter to the java command for java plugin server to troubleshoot. This parameter reports which jar file a class is loaded from.
For this scenario add the option in the java command within the armonitor.conf.
Use the option -verbose:class on the java command line.
Here is an example.
/usr/jdk/latest/jre/bin/sparcv9/java -Xmx512m -verbose:class -classpath /usr/remedy/ARSystem/pluginsvr:/usr/remedy/ARSystem/pluginsvr/arpluginsvr81_build001.jar:/usr/remedy/ARSystem/approval/bin/armaskingImpl81_build001.jar:/usr/remedy/ARSystem/api/lib/arcmnapp81_build001.jar com.bmc.arsys.pluginsvr.ARPluginServerMain -x myservername -i /usr/remedy/ARSystem
Below is a snippet of that output:
-----------------------------------
[Loaded com.bmc.arsys.arrpc.nio.ArTcpServerTransportBase from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArEncryptionInfoI from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArConnectionInfo from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArClientRequestHandler from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArTcpServerTransportBase$ArClientConnectionAcceptor from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArSelectorThread from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArSyncSelectorThread from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArEncryptionContext from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
[Loaded com.bmc.arsys.arrpc.nio.ArRpcCallHandler from file:/usr/jdk/instances/jdk1.6.0/jre/lib/ext/arapi7604_build002.jar]
-----------------------------------
The first line references the 'com.bmc.arsys.arrpc.nio.ArTcpServerTransportBase' which is what was referenced in the 'java.lang.NoSuchMethodError' in the arjavaplugin.log.
We can see it is loading an ARS 7604 jar file from the JAVA installation when the ARS environment was ARS 8.1.
After removing the jar file and restarting AR Server the problem was resolved.