Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When accessing a JS7 - Credential Store from a shell job or from a JVM job using JS7 - Job Templates then the following exception can may be raised:

Code Block
titleException when accessing Credential Store
linenumberstrue
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)

...