First and Second Policy Manager API Calls Fail With OAM 10.1.4.2 (Doc ID 564977.1)

Last updated on MARCH 08, 2017

Applies to:

COREid Access - Version: 10.1.4.2 and later   [Release: 10g and later ]
Information in this document applies to any platform.
Checked for relevance on 12-Apr-2010

Symptoms

A Java application has been developed that implements Policy Manager API calls.

The first and second times the application issues the PMAPI calls errors occur, but after this they succeed every time.

For example the first time the following error is generated:

Exception: Invalid Access Management message: code. Message: To be parsed: 
  at com.oblix.accessmgr.ObAMSerializedObject.deserializeInt(ObAMSerializedObject.java:285) 
  at com.oblix.accessmgr.ObAMException.<init>(ObAMException.java:403) 
  at com.oblix.accessmgr.ObAccessManager.sendRequest(ObAccessManager.java:163) 
  at com.oblix.accessmgr.ObAccessManager.setAdmin(ObAccessManager.java:195) 
  at amTest.AMSearch.<init>(AMSearch.java:62) 
  at amTest.AMSearch.main(AMSearch.java:45)


The second time the following occurs:

      
11:11:29,863 FATAL Unable to retreive domains (AMSearch:70)  
Error reading data from data store.  
  at com.oblix.accessmgr.ObAccessManager.sendRequest(ObAccessManager.java:163)  
  at com.oblix.accessmgr.ObAccessManager.getPolicyDomains(ObAccessManager.java:405)  
  at com.oblix.accessmgr.ObAccessManager.getPolicyDomains(ObAccessManager.java:261)  
  at amTest.AMSearch.<init>(AMSearch.java:67)  
  at amTest.AMSearch.main(AMSearch.java:45) 

 

The third time there are no errors.


Changes

Oracle Access Manager patchset 10.1.4.2 applied.

Cause

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