Problem
When accessing a JS7 - Credential Store from a shell job or from a JVM job using JS7 - Job Templates then the following exception can be raised:
Exception when accessing Credential Store
2022-06-10 06:31:22.964+0000 [STDERR] com.sos.commons.credentialstore.keepass.exceptions.SOSKeePassDatabaseException: [/var/sos-berlin.com/js7/agent/var_4445/config/yade.kdbx]java.lang.IllegalStateException: Inconsistent stream start bytes. This usually means the credentials were wrong. at com.sos.commons.credentialstore.keepass.extensions.simple.SOSSimpleDatabase.load(SOSSimpleDatabase.java:95) at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.getKDBXDatabase(SOSKeePassDatabase.java:373) at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.load(SOSKeePassDatabase.java:83) at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.loadFromUri(SOSKeePassDatabase.java:672) at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.getProperty(SOSKeePassDatabase.java:574) at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.main(SOSKeePassDatabase.java:744)
This error message can be found in the order log of the workflow and in the task log of the job.
Overview
Content Tools