This discussion is archived
1 Reply Latest reply: Oct 26, 2011 5:03 PM by 164415 RSS

weblogic and JSF 2.0 ?

user1015897 Newbie
Currently Being Moderated
Hi We have Weblogic 10.3.5 even though we are extending our domain with jdeveloper 11.1.2 runtime but we still are unable to find the jsf 2.0 being deployed. I deployed the jsf-2.0 libraries after uninstalling the jsf-1.2 , jsf#1.2@

After this managed server for adf doesn't come up. and following error is thrown :

Default (self-tuning)'> <<WLS Kernel>> <> <2297f9d2c9a41f96:28746190:132fa606cc9:-8000-00000000000023cc> <1318467739123> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/facelets/tag/TagDecorator.
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/facelets/tag/TagDecorator
at com.sun.faces.config.ConfigureListener.contextInitialized(
at weblogic.servlet.internal.EventsManager$
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(
at weblogic.servlet.internal.WebAppServletContext.preloadResources(

Followed by

Caused By: java.lang.NoClassDefFoundError: com/sun/facelets/tag/TagDecorator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(
at java.lang.ClassLoader.defineClass(
at weblogic.utils.classloaders.GenericClassLoader.defineClass(
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(
at weblogic.utils.classloaders.GenericClassLoader.findClass(
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(

Without JSF 2.0, as expected the deployment fails complaining :

Caused By: Error: Unresolved Webapp Library references for "ServletContext@352230844[app:HLKiosk_V1 module:HLKiosk path:/HLKiosk spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]

Are there any additional steps in the process that we need to take care of ?
I learnt that jsf2.0 is supported with weblogic 10.3.5 (11g latest release).

Edited by: user1015897 on Oct 13, 2011 10:25 AM
  • 1. Re: weblogic and JSF 2.0 ?
    164415 Oracle ACE
    Currently Being Moderated
    To use JSF 2.0, all you need to do is deploy the MW_HOME/wlserver/common/deployable-libraries/jsf-2.0.war as an application library, then reference it in the relevant weblogic descriptor. It looks like you have done both those two steps.

    I wonder if the ADF domain extension is not having some effect here -- IIRC an ADF domain is a pretty customized environment which loads libraries directly from the CLASSPATH, in which case, perhaps there is a conflict arising from that in terms of classloader visibility.

    Can you try your app on a standard WLS domain, or are you specifically needing to use an ADF domain?



  • Correct Answers - 10 points
  • Helpful Answers - 5 points