2 Replies Latest reply on Dec 9, 2007 1:38 PM by 607325

    Accessing user Addressbook (OCSuser addressbook)

      I'm trying to develop a Java client to manage an OCS user addressbook.

      I'm developing it with eclipse and I'd like to test my code from this environment. To obtain an user addressbook I execute:

      OCSUser ocsUser =OCSUserFactory.getInstance().getOCSUserFromDN("cn=test,cn=users,dc=caixaterrass
      a,dc=es", "dc=caixaterrassa,dc=es");

      and I get next error:

      DEBUG: ESDSDirServerAccess:Constructor: Running in Debug Mode
      DEBUG: ESDSDirServerAccess.ESDSLogon: jazn_xml
      at java.io.File.<init>(File.java:180)
      at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
      at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
      at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
      at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
      at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)

      If I run this from a JSP in a Web application deployed in my Oracle Middletier, it works correctly,

      any idea?