• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Setting WEBLOGIC_CLASSPATH in commEnv.sh does not help

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 377
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does you domain have JRF installed ?
 
Praveen Kumar Jayaram
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I mentioned at this time I do not have JRF libraries packaged with the WLS build.
 
German Gonzalez-Morris
Ranch Hand
Posts: 377
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok. I didn't read that.

Well, it is mandatory to install those libraries.
The Windows installer has built-in (10.3.6)

http://devwebcl.blogspot.com/2012/04/wls-extensions-jrf-owsm-etc.html
 
Yes, my master! Here is the tiny ad you asked for:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic