Platform application is partially running and a keystore error is seen in the node log.TIBCO ActiveMatrix Service Grid: com...".

Platform application is partially running and a keystore error is seen in the node log.TIBCO ActiveMatrix Service Grid: com...".

book

Article ID: KB0093431

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
On the affected node, the platform application components and any other application components that use resource instances which contain credentials will either not start or are waiting for dependencies.

The keystore error is:
TIBCO ActiveMatrix Service Grid: com.tibco.trinity.runtime.core.provider.identity.trust.TrustRuntimeException: javax.security.auth.login.LoginException: java.lang.RuntimeException: Key store not found or is not valid: com.tibco.trinity.runtime.base.provider.credential.keystore.KeystoreException: com.tibco.trinity.runtime.base.provider.credential.keystore.KeystoreRuntimeException: com.tibco.trinity.runtime.base.provider.credential.keystore.KeystoreRuntimeException: Failed to load key store: java.io.EOFException
...

This can occur if there is a problem accessing a disk because it is full or not writable when the node attempts to rewrite the credential keystore file during the update or creation of a resource instance that uses credentials.

Issue/Introduction

Platform application is partially running and a keystore error is seen in the node log.TIBCO ActiveMatrix Service Grid: com...".

Resolution

The problem that caused the writing of the file to fail needs to be resolved first. For example, in the case of a full disk, by clearing disk space. Once the cause has been resolved, the corrupted keystore can be recreated by creating a new resource instance that uses credentials on the node, such as a JMS connection factory. This will cause the node to recreate the file which should resolve the errors and allow the the start up of applications that are dependent on resource instances which use credentials.