My Oracle Support Banner

REST Webservice Execution through ODI Fails with "ODI-30164: Rest invocation failed with error. URL : [REST_ENDPOINT_URL]" (Doc ID 2669353.1)

Last updated on MAY 18, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.2.6 and later
Information in this document applies to any platform.

Symptoms

When executing a REST webservice request in Oracle Data Integrator (ODI), the following error message is reported. 

ODI-30164: Rest invocation failed with error. URL : [REST_ENDPOINT_URL] [[
javax.ws.rs.ProcessingException: Already connected
  at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:264)
  at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
  at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
  at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
  at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
  at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
  at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
  at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
  at com.sunopsis.dwg.tools.InvokeRESTfulService.call(InvokeRESTfulService.java:851)
  at com.sunopsis.dwg.tools.InvokeRESTfulService.invoke(InvokeRESTfulService.java:876)
  at com.sunopsis.dwg.tools.InvokeRESTfulService.invokeRESTService(InvokeRESTfulService.java:764)
  at com.sunopsis.dwg.tools.InvokeRESTfulService.invokeMainOperation(InvokeRESTfulService.java:589)
  at com.sunopsis.dwg.tools.InvokeRESTfulService.actionExecute(InvokeRESTfulService.java:523)
  at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235)
  ...
Caused by: java.lang.IllegalStateException: Already connected
  at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3053)
  at sun.net.www.protocol.https.HttpsURLConnectionImpl.setRequestProperty(HttpsURLConnectionImpl.java:316)
  at org.glassfish.jersey.client.internal.HttpUrlConnector.setOutboundHeaders(HttpUrlConnector.java:421)
  ...
]]

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.