cancel
Showing results for 
Search instead for 
Did you mean: 

error Using imported .JAR in user-defined function

Former Member
0 Kudos
53

Hi All,

I am trying to use jar files provided to me in user defined function as follows:

DataEncryption temp = new DataEncryption();

String ret = new String();

ret = temp.getEncryptedData(a);

return ret;

All jar files working perfectly in java software, But when i am trying to test the mappings by using above user-defined function.

I am catching the error and put in target field then, I am getting following message in target field:

"An error occured in getEncryptedData method : java.lang.SecurityException: The provider SunJCE may not be signed by a trusted party"

Please help in finding the error.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Rohan

Check if the XI Server JRE is the same as the client machine on which you have compiled your JAR.

1.4 has had this issue and i remember seeing it in a few forums.The problem should not occure in 1.5