Troubleshooting
Problem
When you restart a cluster, a "Exception in thread "main" java.lang.NoClassDefFoundError: ${IBMJITPMC}" exception occurs and the cluster does not start.
Symptom
You experience the following exception when you restart the cluster, which leads to a cluster start up failure:
Exception in thread "main" java.lang.NoClassDefFoundError: ${IBMJITPMC}
Caused by: java.lang.ClassNotFoundException: ${IBMJITPMC}
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: ${IBMJITPMC}. Program will exit.
a class is missing
Caused by: java.lang.ClassNotFoundException: ${IBMJITPMC}
Cause
This type of issue happens if there has been a problem with synchronization between the deployment manager and the nodes that host the cluster.
Diagnosing The Problem
The issue is that a variable entry is missing in the variable.xml file for the IBMJITPMC entry. The IBMJITPMC variable is defined in the server.xml files. For example, the /opt/IBM/WebSphere/ProcServer/profiles/<custom_profile>/config/cells/<cell_name>/nodes/<node_name>/servers/<server_name>/server.xml file contains the following entry:
<jvmEntries xmi:id= ... genericJvmArguments="${IBMSCMX} ${IBMGCPOLICY_
GENCON} ${IBMJITPMC}">
However, the ${IBMJITPMC} entry is missing from the variables.xml file, which located in the following path:
/opt/IBM/WebSphere/ProcServer/profiles/<custom_profile>/config/cells/<cell_name>/nodes/<node_name>/variables.xml
Resolving The Problem
To resolve this issue, add the following entry to the variables.xml file:
<entries xmi:id="VariableSubstitutionEntry_XXXXXXXXXXXXX" symbolicName="IBMJITPMC" value=""/>
The XXXXXXXXXXXXX variable is a 13-digit value that should be unique in the
variables.xml file. You can determine it by incrementing the last
"VariableSubstitutionEntry_" in the variables.xml file.
For example:
<entries xmi:id="VariableSubstitutionEntry_1282815726314"
symbolicName="IBMSCMX" value="-Xscmx120m"/>
<entries xmi:id="VariableSubstitutionEntry_1282815726315"
symbolicName="IBMGCPOLICY_GENCON" value="-Xgcpolicy:gencon"/>
Append an entry as:
<entries xmi:id="VariableSubstitutionEntry_1282815726316"
symbolicName="IBMJITPMC" value=""/>
After adding this entry, start the nodes and clusters.
Product Synonym
WPS
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21515933