on 08-22-2008 4:53 AM
Hi Experts,
I have a scenario where I have to Digitally sign the XML content. I am following the below URL to implement the scenario.
http://help.sap.com/saphelp_nw04/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
I have added keystore_api.jar , tc_sec_ssf.jar to my application but still I am facing errors during runtime when Context object is assigned to KeyStore Manager.
Code Snippet :
InitialContext ctx = ctx = new InitialContext();
Object ctxObj = (Object) ctx.lookup("keystore");
KeystoreManager manager = (KeystoreManager) ctxObj;
Error:
java.lang.ClassCastException.
I have checked the validation for ctxObj , it is not null and able to find the lookup.
Could you please help me how to resolve ClassCastException error.
Thanks,
Madhan
moved this thread to the appropriate forum.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhan,
Make sure that your J2EE key store service is running .
Check the following threads:
Go to page no 210 of the below mentioned PDF for Key store service:
Regards,
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.