Skip to Content
avatar image
Former Member

Problem reading Secure Storage

I'm trying to read Secure Storage based on the example from the help and I'm getting following exceptions.

This code works:

SecureStorageRuntimeInterface secStore = (SecureStorageRuntimeInterface) o;

RemoteSecureStorageClientContextInterface myContext = secStore.getSecureStorageClientContext();

Now when I try to read

Object myObject = myContext.retrieveObject("NX1_JCO");

I got:

com.sap.security.core.server.securestorage.exception.ObjectRetrievalException: Could not find clientID

and

com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "securestorage/services/servicesp4p4~jar" does not exist.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 23, 2004 at 02:28 PM

    Hello Andrei,

    please ensure that

    1.) write and read opperation is done in same application

    2.) a reference from your application is set to service tcsecsecurestorage~service.

    The reference you can set with "application-j2ee-engine.xml":

    <reference

    reference-type="hard">

    <reference-target

    target-type="service">tcsecsecurestorage~service</reference-target>

    </reference>

    regards Maurice

    Add comment
    10|10000 characters needed characters exceeded