Issue:- If you are using Adeptia Connect or Suite and unable to start Kernel due to the below error/exception related to hazelcast.xml file.
Error:- INFO: Configuring Hazelcast from 'D:\Program Files\Adeptia\AdeptiaSuite-6.9\AdeptiaServer\ServerKernel\etc\hazelcast.xml'.
2020-09-01 13:33:05 Sep 01, 2020 1:33:05 PM com.hazelcast.config.AbstractXmlConfigHelper
2020-09-01 13:33:05 WARNING: Name of the hazelcast schema location is incorrect, using default
2020-09-01 13:33:05 Exception in thread "Adeptia Suite 6.7 Kernel Thread" java.lang.NoClassDefFoundError: org/apache/log4j/Priority
2020-09-01 13:33:05 at com.hazelcast.logging.Log4jFactory.createLogger(Log4jFactory.java:30)
2020-09-01 13:33:05 at com.hazelcast.logging.LoggerFactorySupport$1.createNew(LoggerFactorySupport.java:32)
2020-09-01 13:33:05 at com.hazelcast.logging.LoggerFactorySupport$1.createNew(LoggerFactorySupport.java:30)
2020-09-01 13:33:05 at com.hazelcast.util.ConcurrencyUtil.getOrPutIfAbsent(ConcurrencyUtil.java:125)
2020-09-01 13:33:05 at com.hazelcast.logging.LoggerFactorySupport.getLogger(LoggerFactorySupport.java:38)
2020-09-01 13:33:05 at com.hazelcast.logging.Logger.getLogger(Logger.java:77)
2020-09-01 13:33:05 at com.hazelcast.logging.Logger.getLogger(Logger.java:64)
2020-09-01 13:33:05 at com.hazelcast.internal.config.ConfigValidator.<clinit>(ConfigValidator.java:89)
2020-09-01 13:33:05 at com.hazelcast.instance.Node.<init>(Node.java:209)
2020-09-01 13:33:05 at com.hazelcast.instance.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:161)
2020-09-01 13:33:05 at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:131)
2020-09-01 13:33:05 at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:229)
2020-09-01 13:33:05 at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:208)
2020-09-01 13:33:05 at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:158)
2020-09-01 13:33:05 at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:57)
2020-09-01 13:33:05 at com.adeptia.indigo.storage.HazelcastManager.<init>(HazelcastManager.java:70)
2020-09-01 13:33:05 at com.adeptia.indigo.storage.HazelcastManager.getInstance(HazelcastManager.java:119)
2020-09-01 13:33:05 at com.adeptia.indigo.IndigoKernel.initializeHazelcastServer(IndigoKernel.java:1153)
2020-09-01 13:33:05 at com.adeptia.indigo.IndigoKernel.boot(IndigoKernel.java:457)
2020-09-01 13:33:05 at com.adeptia.indigo.IndigoKernel.main(IndigoKernel.java:315)
2020-09-01 13:33:05 Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
2020-09-01 13:33:05 at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
2020-09-01 13:33:05 at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2020-09-01 13:33:05 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
2020-09-01 13:33:05 at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2020-09-01 13:33:05 ... 20 more
Solution:- This issue occurs when the property 'abpm.connect.cache.enable' is set to yes in server-configure.properties file.
This is an obsolete property and isn't needed. Once this property is disabled or set to no then this issue will be resolved and you shall be able to start Adeptia Services.
Comments
0 comments
Article is closed for comments.