OAAM plugin get error with OIC RESTful Services

(Doc ID 2365465.1)

Last updated on MARCH 04, 2018

Applies to:

Oracle Mobile and Social - Version and later
Information in this document applies to any platform.
OIC RESTful Services


error using OAAM plugin in OIC Restful services

using OAAM plugin in our OIC RESTful services

When we invoke services without using OAAM plugin it works fine. However when we use OAAM plugin we get error

== ERROR ==
<Feb 19, 2018 5:14:27 PM PKT> <Warning> <oracle.oam.agent-default> <BEA-000000> <OAM Server request failed: OpCode = 1 [IsResrcOpProtected], Returned Status = Major code: 5(ResrcOpNotProtected) Minor code: 2(NoCode) , extraInfo = [prefHost:IAMSuiteAgent, resource:/oic_rest/rest/mobileoamauthentication/register]> 

<Feb 19, 2018 5:14:34 PM PKT> <Error> <com.sun.jersey.spi.container.ContainerResponse> <BEA-000000> <The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container 

java.lang.NoClassDefFoundError: com/bharosa/client/enums/BharosaEnumClientType 

at oracle.security.idaas.rest.provider.plugin.oaam.OaamMobileSecurityHandlerImpl.<clinit>(OaamMobileSecurityHandlerImpl.java:170) 

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 

at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 

at java.lang.Class.newInstance(Class.java:379) 



 1. Enabled OAAM plugin in our OIC restful services


2. When we invoke services without using OAAM plugin it works fine. but when we use OAAM plugin we get error which is mentioned Symptoms section


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