Skip to content

3.4. Troubleshooting

Checking the Installation in the Startup Log​

Look for the following line in Tomcat's catalina.out (for Spring Boot, the application log).

bundled infinispan=13.0.11.Final-redhat-00001 netty=4.1.128.Final-redhat-00001 prefix=io.openmaru.shaded. jar=file:/…/openmaru-cluster-valve-all-5.1.0.jar mode=single
What you seeMeaningWhat to do
prefix=io.openmaru.shaded. … mode=singleRunning normally from the single installation fileNothing
prefix=none or mode=multiA jar from the previous method was loaded firstRemove the old jars as described in 2.9 "Switching From an Earlier Installation"
The line is missingA jar from the previous method was loaded, or the log level is WARNING or higherTemporarily set io.openmaru.level to INFO in logging.properties and check again

jar= shows the location of the installation file that was actually loaded. Use it to check whether a file in an unexpected location was picked up.

Error Codes​

When running from the single installation file, a problem found during startup is logged on one line with a code starting with KSM-SJ-, the related setting, the cause, and how to fix it (fix:).

ERROR stops startup. With the Valve method the application does not come up, with the filter method the filter fails to start, and with Spring Boot the filter cannot be created so the application does not start. WARN only logs and keeps running.

CodeLevelMeaningHow to fix
KSM-SJ-001ERRORYou wrote your own class in a class-name setting in hotrod.properties (such as marshaller), and that class extends or implements an Infinispan class. The single installation file cannot use this classContact your engineer to switch to a different installation method (see the caution in "Choosing an Installation Method" in 2.1)
KSM-SJ-002ERRORThe openmaru-cluster-valve-core and hotrod jars of the previous method are in the same location. Their paths are shown in old=[…] in the logRemove all old jars and keep only the single installation file (see 2.9)
KSM-SJ-003WARNA setting in hotrod.properties that is not translated automatically has a value starting with org.infinispan.If the value is a class name, prefix it with io.openmaru.shaded.. If it is not a class name, you can leave it (see 2.7)
KSM-SJ-004ERRORAn org.infinispan.… class could not be found during startupPrefix the value of the key= setting in the log with io.openmaru.shaded. (see 2.7)
KSM-SJ-005WARNA pattern in the allow list (java_serial_allowlist) is too wide and also allows the product's internal classes, which have nothing to do with sessionsNarrow it to the classes actually placed in the session and put ^ in front of packages ("Writing the Allow List" in 2.7)
KSM-SJ-006ERROR (startup continues)The Valve method is used, but the application's WEB-INF/lib also has an OPENMARU Cluster jar. Its path is shown in webapp=[…] in the log. If left as is, the duplicate login API fails or the application does not startRemove the OPENMARU Cluster jar from the application's WEB-INF/lib and declare the build dependency as provided (see step 1 of 2.1)

Common Symptoms​

SymptomCauseWhat to do
The application does not start and Failed to initialize Infinispan HotRod Session Store is loggedThe data grid could not be reached at startupStart the data grid, check server_list and the account, then restart Tomcat ("Data Grid Startup Order and Behavior During Outages" in 2.8)
Startup fails with configFile is requiredThe configFile setting is missingAdd configFile to the Valve attributes or <init-param>
Can't Found configFile= is loggedhotrod.properties could not be foundCheck that the file is in Tomcat's conf or on the application classpath ("File Location" in 2.7)
ISPN000936: Class '…' blocked by deserialization allow listA class placed in the session is not in the allow listAdd the class named in the message to java_serial_allowlist (2.7)
java.io.NotSerializableExceptionAn object placed in the session is not serializableSee 2.5 "Serializing Session Objects"
NoClassDefFoundError: org/slf4j/… (after the switch)The application was borrowing slf4j from Tomcat's libAdd slf4j to the application's WEB-INF/lib (caution in 2.9)
NullPointerException or NoClassDefFoundError from the duplicate login API (Valve method)A separate OPENMARU Cluster jar is inside the applicationFix it the same way as KSM-SJ-006
Login is lost when returning from payment or SSOThe cookie is not sent on the POST from another sitesameSite="None" and secure="true" (2.8)
No Domain on the cookiedomain was written on the Valve, or the proxy does not pass the original HostUse sessionDomain on the Valve and check the proxy Host setting (2.2, 2.8)
Far more sessions in the data grid than actual usersEvery health check request creates a sessionAdd the health check path to excludeRegExp (2.8)
The memory usage metric is always 0-javaagent:jamm-0.2.5.jar is missingAdd it to the WAS startup options (2.6)
A warning that a -D… option does not apply is loggedOptions such as -Dio.netty.* do not apply to the Netty inside the installation fileIf needed, prefix the name with io.openmaru.shaded. ("Netty System Properties" in 2.7)

If your engineer asks for it, add -DKHAN_SM_SYSOUT_STACK=true to the WAS startup options to log in more detail. If the problem persists, send the full startup log and the configuration files (context.xml or web.xml, and hotrod.properties with passwords removed) to your engineer.