Forum Stats

  • 3,874,212 Users
  • 2,266,682 Discussions
  • 7,911,769 Comments

Discussions

Oracle - SOA - Rest target invocation giving java.lang.IllegalStateException

Kumar_9985
Kumar_9985 Member Posts: 93
edited Jul 21, 2020 1:16AM in BPEL

I am currently invoking a target rest service which is OAUTH2.0 secured using rest adapter with JSON as request, response. At the runtime, Oracle SOA is taking longer time to process the request and ending with below fault

remoteFault - oracle.fabric.common.FabricInvocationException: javax.ws.rs.ProcessingException: A MultiException has 3 exceptions. They are:

  1. java.lang.StackOverflowError
  2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.json.jaxrs.JsonStructureBodyReader
  3. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.message.internal.MessageBodyFactory

we are able to invoke the same target REST endpoint with OAUTH token from SOAP UI and Postman. Is this is a product issue or some parameters need to be updated in SOA?

Answers

  • vanantha komara-Oracle
    vanantha komara-Oracle Member Posts: 87 Employee
    edited Jul 21, 2020 1:16AM

    Please try to import the certificate into the kss store (if it is KSS then you need to add the Certificate in EM-->Weblogic Domain-->Security--KeyStore-->System-->Trust)
    Do a complete bounce of the environment.

    Importing certificates under WebLogic keystore in non clustered environment and doing a full bounce has been verified and confirmed that its working.