SDK Program Fails with Error java.lang.NoClassDefFoundError: org/glassfish/hk2/internal/ImmediateHelper After Enabling SSL on Web Proxy
(Doc ID 2812872.1)
Last updated on JANUARY 24, 2024
Applies to:
Oracle Agile PLM Framework - Version 9.3.6.0 and laterInformation in this document applies to any platform.
Symptoms
SDK program failed to connect to Agile with below error:
Error
Connect to [https://{web_proxy_server}.{domain_name}/Agile]
MultiException stack 1 of 1
java.lang.NoClassDefFoundError: org/glassfish/hk2/internal/ImmediateHelper
at org.glassfish.hk2.utilities.ServiceLocatorUtilities.enableImmediateScopeSuspended(ServiceLocatorUtilities.java:165)
at org.glassfish.hk2.utilities.ServiceLocatorUtilities.enableImmediateScope(ServiceLocatorUtilities.java:146)
at weblogic.server.GlobalServiceLocator.getServiceLocator(GlobalServiceLocator.java:334)
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:79)
at com.agile.api.common.WebLogicAuthenticator.login(WebLogicAuthenticator.java:74)
at com.agile.api.pc.Session.authenticate(Session.java:1213)
at com.agile.api.pc.Session.(Session.java:237)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1137)
at testprogram.TestProgram.connectTestAgileSSL(TestProgram.java:2147)
Steps
The issue can be reproduced at will with the following steps:
- Launch command line, and run SDK program:
- Gets error in the console
Changes
Enabled SSL to Web Proxy running on Apache
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 |