While Testing DBAdapter Configured With Agent Fails With Error "java.lang.reflect.UndeclaredThrowableException; CASDK-0005: CASDK-0005: CASDK-0005: CASDK-0005: Error creating access to Credential Store Framework"
(Doc ID 2788602.1)
Last updated on JULY 02, 2021
Applies to:
Oracle Integration-OIC - Version 18.2.5 and laterInformation in this document applies to any platform.
Symptoms
On : NA version, Database Adapter
While testing DB Connection (configured with Agent) fails with error
ERROR
-----------------------
CASDK-0005: A connector specific exception was raised by the application. java.lang.reflect.UndeclaredThrowableException; CASDK-0005: CASDK-0005: CASDK-0005: CASDK-0005: Error creating access to Credential Store Framework; CASDK-0005: CASDK-0005: CASDK-0005: Error creating access to Credential Store Framework; CASDK-0005: CASDK-0005: Error creating access to Credential Store Framework; CASDK-0005: Error creating access to Credential Store Framework; java.io.EOFException
and agent logs shows exception:
oracle.cloud.connectivity.services.ConnectivityServiceException: CASDK-0005: Error creating access to Credential Store Framework
at oracle.cloud.connectivity.services.CredentialStoreServiceImpl.<init>(CredentialStoreServiceImpl.java:32)
at sun.reflect.GeneratedConstructorAccessor265.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at oracle.cloud.connectivity.services.ConnectivityServiceFactory.createProxy(ConnectivityServiceFactory.java:141)
at oracle.cloud.connectivity.services.ConnectivityServiceFactory.getServiceProxy(ConnectivityServiceFactory.java:37)
... 30 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
at oracle.tip.adapter.fw.security.FileBasedCredentialStoreManagerUsingAES.deserializeCredStore(FileBasedCredentialStoreManagerUsingAES.java:99)
at oracle.tip.adapter.fw.security.CredentialStoreFrameworkWrapperImplNoWLS.deserialize(CredentialStoreFrameworkWrapperImplNoWLS.java:202)
at oracle.tip.adapter.fw.security.CredentialStoreFrameworkWrapperImplNoWLS.<init>(CredentialStoreFrameworkWrapperImplNoWLS.java:47)
at oracle.tip.adapter.fw.security.CredentialStoreFrameworkWrapperImpl.<init>(CredentialStoreFrameworkWrapperImpl.java:80)
at oracle.cloud.connectivity.services.CredentialStoreServiceImpl.<init>(CredentialStoreServiceImpl.java:30)
... 36 more
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create and test DB Connection (through agent)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |