If your Tibco EMS instance dies, and the last thing in the log looks like this:
ERROR: Failed to refresh lock for store '$sys.meta', [ERRSTR = org.hibernate.exception.JDBCConnectionException: could not load an entity: [com.tibco.tibems.tibemsd.internal.db.HBLock#1] ]
it’s probably due to connectivity problems with the DB. As this thread states: if the connection is lost, the service shuts down without trying to reconnect. Sadly it doesn’t bother to log the fact that it’s shutting down.
There’s also a DBSTORE logging option, that may provide some further detail if enabled (we’ll see!).