Cannot Create a Session Connecting to OAS from a Custom SDK Application Due to WebLogic Server Type Assumed (Doc ID 1269118.1)

Last updated on MARCH 01, 2017

Applies to:

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

Symptoms

Custom SDK application fails to connect to the application server.

Application server running on Oracle Application Server (OAS) 10g.

Error displaying the server API properties by pointing the browser to http://<host>:<port>/Agile/serverAPIProperties :

java.io.IOException: Server returned HTTP response code: 500 for URL: http://<host>:<port>/Agile/ServerAPIProperties
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1250)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1244)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:932)
at com.agile.common.HttpReader.getInputStream(HttpReader.java:84)
at com.agile.api.AgileSessionFactory.initServerPropertiesFromURL(AgileSessionFactory.java:637)
at com.agile.api.AgileSessionFactory.<init>(AgileSessionFactory.java:592)
at com.agile.api.AgileSessionFactory.getInstance(AgileSessionFactory.java:504)


Error displayed when trying to create the Agile session using SDK:

>java Login
java.lang.ClassNotFoundException: com.agile.api.common.WebLogicAuthenticator
at com.agile.api.NetworkClassLoader.findClass(NetworkClassLoader.java:84)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.agile.api.pc.Session.authenticate(Session.java:1050)
at com.agile.api.pc.Session.<init>(Session.java:248)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

Changes

Copied the wlthint3client.jar from the WebLogic server (WLS) 10.3.2 lib to the OAS APP-INF/lib folder to add to the classpath as required for Agile Content Service (ACS) to use Fusion Middle Ware (FMW) as a destination.

Cause

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