java.lang.ClassNotFoundException: com.agile.api.pc.Session (Doc ID 2305409.1)

Last updated on SEPTEMBER 07, 2017

Applies to:

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

Symptoms

On : 9.3.3.0 version, Software Development Kit

When attempting to create Agile session,
the following error occurs.

ERROR
-----------------------
java.lang.ClassNotFoundException: com.agile.api.pc.Session
  at com.agile.api.NetworkClassLoader.findClass(NetworkClassLoader.java:86)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:999)
  at com.dell.pc.TestAgileSession.connect(TestAgileSession.java:39)
  at com.dell.pc.TestAgileSession.main(TestAgileSession.java:16)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.net.SocketTimeoutException: Read timed out
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.read(SocketInputStream.java:152)
  at java.net.SocketInputStream.read(SocketInputStream.java:122)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
  at sun.net.www.http.ChunkedInputStream.fastRead(ChunkedInputStream.java:244)
  at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:689)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Code SDK program to create Agile session


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