Skip to Content
avatar image
Former Member

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

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?

Thanks,

Peter

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    Hi,

    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.

    Add comment
    10|10000 characters needed characters exceeded