My Oracle Support Banner

SDK createSession Call Returned Error "java.io.IOException: Server returned HTTP response code: 500 for URL: http://<Agile_URL>:7001/Agile/ServerAPIProperties" (Doc ID 2868753.1)

Last updated on JUNE 20, 2023

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

Unable to create SDK session in SDK createSession call. Got error:
java.io.IOException: Server returned HTTP response code: 500 for URL: http://<Agile_URL>:7001/Agile/ServerAPIProperties
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.agile.common.HttpReader.getInputStream(HttpReader.java:79)
at com.agile.api.AgileSessionFactory.initServerPropertiesFromURL(AgileSessionFactory.java:935)
at com.agile.api.AgileSessionFactory.init(AgileSessionFactory.java:889)
at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1043)
at com.agile.inspirage.cardinal.services.ChangeReleaseControlTest.getSession(ChangeReleaseControlTest.java:49)
at com.agile.inspirage.cardinal.services.ChangeReleaseControlTest.createSession(ChangeReleaseControlTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
...
 

The system is set up for SAML2 single sign-on (SSO).

 

Steps to reproduce:

  1. In a SDK program, call createSession to create SDK session.
  2. Got error mentioned above.

Changes

 

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
Changes
Cause
Solution
References


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