Event Collector Waiting for Hibernate Shared Resource
When restarting a node, the Event Collector component of TIBCO ActiveMatrix BPM fails to start because the Hibernate shared resource is not available. Messages similar to the following are in the logs:
Caused by: java.lang.NullPointerException at com.tibco.n2.common.hibernate.SessionFactoryHolder.getCurrentSession(SessionFactoryHolder.java:161) at com.tibco.n2.common.hibernate.AbstractDAO.query(AbstractDAO.java:652) at com.tibco.n2.ec.core.persistence.impl.orm.hibernate.N2LFHibernatePersistenceManager.fetchAll(N2LFHibernatePersistenceManager.java:291)
... 62 more
Procedure
- Sometimes shared resources, such as Hibernate, required by Event Collector are not loaded by the platform in time to be injected into Event Collector, which causes an exception. Manually restart Event Collector from ActiveMatrix Administrator. If the ActiveMatrix platform has completed loading the shared resource, Event Collector should start correctly.
Copyright © Cloud Software Group, Inc. All rights reserved.