WSM-00055 Running Application Using APIs In JDeveloper (Doc ID 1322699.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Goal

This code, which referencing APIs is returning an error, even after configuring the keystore on Spaces :

     GroupSpaceWSContext context = new GroupSpaceWSContext();
     context.setEndPoint("http://myhost:port:8888/webcenter/SpacesWebService");
     context.setRecipientKeyAlias("orakey");
     GroupSpaceWSClient client;
   try {
          client = new GroupSpaceWSClient(context);
          System.out.println("Webcenter space URLv999 "+client.getWebCenterSpacesURL());
          List list = client.getGroupSpaces(null);
         System.out.println("List size "+list.size());
         System.out.println("List Information "+list.get(0));
     } catch (Exception e) {
             e.printStackTrace();
             System.out.println("error...");
     }

Error seen:

oracle.wsm.common.sdk.WSMException: WSM-00055 : The keystore located at C:\Documents and Settings\User\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\config\fmwconfig\default-keystore.jks cannot be loaded due to java.io.IOException. Ensure that valid keystore type and password are configured.
Caused by: oracle.wsm.security.SecurityException: WSM-00055 : The keystore located at C:\Documents and Settings\User\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\config\fmwconfig\default-keystore.jks cannot be loaded due to java.io.IOException. Ensure that valid keystore type and password are configured.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms