Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REST services on OIM 12c are ineffective, every post results in bad request error

User_HGBZAApr 24 2018 — edited Apr 26 2018

Trying Update User based on user id REST API as in

https://docs.oracle.com/middleware/12213/oig/OIMSS/op-users-%7Buuid%7D-patch.html

https://pseudo.com/iam/governance/selfservice/api/v1/users/18008

application/JSON

{

  "update": [

    {

"name": "Common Name",

"value": "User1"

    }

  ]

}

Comes back with bad request

<Apr 24, 2018 6:35:10,607 PM EDT> <Error> <HTTP> <BEA-101017> <[ServletContext@996703901[app:oim module:/iam/governance/selfservice/api/v1 path:null spec-version:3.1]] Root cause of ServletException.

java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()

        at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:314)

        at oracle.wsm.agent.handler.servlet.SecurityFilter.doFilter(SecurityFilter.java:374)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

        at oracle.iam.rest.filters.CORSFilter.doFilter(CORSFilter.java:74)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

        Truncated. see log file for complete stacktrace

>

<Apr 24, 2018 6:35:10,608 PM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch "UncheckedException" in module "Module-FMWDFW" with severity "Notice" on server "oim_server1" has triggered at Apr 24, 2018 6:35:10 PM EDT. Notification details:

WatchRuleType: Log

WatchRule: (log.severityString == 'Error') and ((log.messageId == 'WL-101020') or (log.messageId == 'WL-101017') or (log.messageId == 'WL-000802') or (log.messageId == 'BEA-101020') or (log.messageId == 'BEA-101017') or (log.messageId == 'BEA-000802'))

WatchData: MESSAGE = [ServletContext@996703901[app:oim module:/iam/governance/selfservice/api/v1 path:null spec-version:3.1]] Root cause of ServletException.

This post has been answered by Srinath Menon-Oracle on Apr 25 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2018
Added on Apr 24 2018
7 comments
425 views