Skip to Content

"ERROR: ID21109: Remote call failed" when trying to use private key from Keystore in Message Mapping

Sep 13, 2017 at 08:59 AM


avatar image
Former Member

Hi guys,

I have a java code in message mapping which needs a private key to access sftp server for some file manipulation. However, when the code tries to access the keystore and to retrive the private key, I am getting ERROR: ID21109: Remote call failed error.

The step which fails is this line:

Key privateKey = keyStore.getKey(ksentry[k],  KSPwdChars);

This is quite rare error and what I searched for didn't help me much. Did anybody experience same case and can help me?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Sep 14, 2017 at 10:02 AM


ok, so in my case it is clear this is related to access right of the user which is accessing the keystore. If I test message mapping under my user, which has J2EE Admin role, it works fine. Now need to find out which service user uses mapping and calls keystore during runtime. To that user I will assign J2EE admin role and then it should start working.

10 |10000 characters needed characters left characters exceeded