posted 10 years ago
Hi
I am working on a Dev build version of WebLogic server where the libraries in modules folder are not completely available yet..
So I've tried using libraries from 11g version for oracle.adf.share_11.1.1/ adf-share-support.jar for class oracle.adf.share.security.authentication.AuthenticationServlet.
But even after setting WEBLOGIC_CLASSPATH in oracle_common/common/bin/commEnv.sh, above mentioned class is not loaded and throws below error -
java.lang.NoClassDefFoundError: Could not initialize class oracle.adf.share.security.authentication.AuthenticationServlet
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:408)
at java.lang.Class.newInstance(Class.java:433)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:252)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:245)
at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:274)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.newServletInstanceIfNecessary(StubSecurityHelper.java:357)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:309)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:286)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
Adding other libraries like JRF works by following above approach works. Am not sure what is wrong or missing here?
As a few alternative approaches tried adding the oracle.adf.share_11.1.1/ adf-share-support.jar to WLS ext directory and domain's lib directory..both the ideas did not work.
Kindly suggest.
Thank you.