KB Article #186740

CN doesn't start and <hostname>_cn.log is empty

Problem

Control Node is not sarted and no logs are written in <hostname>_cn.log.

Error found in <hostname>_cn_console.log is :
2024-05-03T16:11:26,846 - ERROR java system property log4j.configuration must be set via -D invocation option, e.g. -Dlog4j.configuration=file:../conf/log4j.properties
2024-05-03T16:11:26,847 - ERROR An unexpected error occurred while trying to start.
2024-05-03T16:11:26,847 - ERROR Please check your configuration
2024-05-03T16:11:26,848 - ERROR java.lang.reflect.InvocationTargetException
2024-05-03T16:11:26,848 - ERROR at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-05-03T16:11:26,848 - ERROR at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2024-05-03T16:11:26,848 - ERROR at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-05-03T16:11:26,848 - ERROR at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2024-05-03T16:11:26,848 - ERROR at com.axway.clusterold.startup.Boot$MainRunnable.run(Boot.java:109)
2024-05-03T16:11:26,848 - ERROR at java.base/java.lang.Thread.run(Thread.java:829)
2024-05-03T16:11:26,848 - ERROR at com.axway.cluster.extensions.thread.EventedThread.primRun(EventedThread.java:111)
2024-05-03T16:11:26,848 - ERROR at com.axway.cluster.extensions.thread.EventedThread.run(EventedThread.java:89)
2024-05-03T16:11:26,849 - ERROR Caused by: java.lang.IllegalArgumentException: java system property log4j.configuration must be set via -D invocation option, e.g. -Dlog4j.configuration=file:../conf/log4j.properties
2024-05-03T16:11:26,849 - ERROR at com.cyclonecommerce.clustercontroller.controlnode.startup.LogHelper.initializeLogging(LogHelper.java:30)
2024-05-03T16:11:26,849 - ERROR at com.axway.cluster.legacy.executive.NodeExec.main(NodeExec.java:37)
2024-05-03T16:11:26,849 - ERROR ... 8 more


Resolution

1) Stop B2Bi
2) remove file "haboob.jar" from /shared/local_te/jars
3) Start B2Bi
4) check that the CN is now well started