KB Article #181543

nodemanager doesn't start with java.lang.NoClassDefFoundError: com/vordel/circuit/log/LogMessagePayloadProcessor

Problem

The nodemanager doesn't start with:


++ HACKLIB=lib/amd64/libjnisetup.so

++ for PRELOAD_HACK in '"$JAVA_HOME/$HACKLIB"' '"$JAVA_HOME/jre/$HACKLIB"'

++ '[' -f /apps/axway/Axway-7.7.0/apigateway/platform/lib/amd64/libjnisetup.so ']'

++ for PRELOAD_HACK in '"$JAVA_HOME/$HACKLIB"' '"$JAVA_HOME/jre/$HACKLIB"'

++ '[' -f /apps/axway/Axway-7.7.0/apigateway/platform/jre/lib/amd64/libjnisetup.so ']'

++ LD_PRELOAD=:/apps/axway/Axway-7.7.0/apigateway/platform/jre/lib/amd64/libjnisetup.so

++ export LD_PRELOAD

+ exec /apps/axway/Axway-7.7.0/apigateway/platform/bin/vshell -h /apps/axway/Axway-7.7.0/apigateway -v system/conf/nodemanager.xml

java.lang.NoClassDefFoundError: com/vordel/circuit/log/LogMessagePayloadProcessor

at com.vordel.circuit.FilterPathTracker.<init>(FilterPathTracker.java:17)

at com.vordel.dwe.Service.<init>(Service.java:394)

Caused by: java.lang.ClassNotFoundException: com.vordel.circuit.log.LogMessagePayloadProcessor

at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

at java.lang.ClassLoader.loadClass(ClassLoader.java:419)

at java.lang.ClassLoader.loadClass(ClassLoader.java:352)

... 2 more

Resolution

It may happen that some files to be missing from your folder hierarchy:


- /apigateway/conf/nodemanager.xml

- /apigateway/conf/fed/configs.xml

- the *.jars whose class names are reported in the JVM exception (LogMessagePayloadProcessor)


[user@server ~]$ grep -ril "LogMessagePayloadProcessor" /apigateway/
/apigateway/system/lib/com.vordel.circuit.log.jar


If any of those files is missing, it must be copied from an working installation on the location shown.

Restart the Node Manager and verify the product.