Skip to main content

ManagedBeanCreationException in JSF programs

1 reply [Last post]
bryanut
Offline
Joined: 2008-01-11
Points: 0

Hi all,

We changed our dev server from Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs) to Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) and are now getting the error from an app that used to work:

[#|2010-05-27T14:46:27.461-0600|SEVERE|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.managedbean|_ThreadID=68;_ThreadName=httpSSLWorkerThread-8622-0;_RequestID=2bb37756-0201-4c0e-b439-473f0c749519;|JSF will be unable to create managed bean headAndFoot when it is requested. The following problems where found:
- Property banners for managed bean headAndFoot does not exist.|#]

[#|2010-05-27T14:46:27.465-0600|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=68;_ThreadName=httpSSLWorkerThread-8622-0;_RequestID=2bb37756-0201-4c0e-b439-473f0c749519;|WebModule[/uofu/fin/ChartfieldSelfServe]Unable to create managed bean headAndFoot. The following problems were found:
- Property banners for managed bean headAndFoot does not exist.
com.sun.faces.mgbean.ManagedBeanCreationException: Unable to create managed bean headAndFoot. The following problems were found:
- Property banners for managed bean headAndFoot does not exist.
at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:204)
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86)

Other apps that used to work are not rendering properly. All that has changed is the version of Glassfish.

Any idea what is wrong? I've also posted this question in the Glassfish forum.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bryanut
Offline
Joined: 2008-01-11
Points: 0

We found a work around. We replaced the jsf-impl.jar in 2.1.1 with the one from 2.1 and applications started working.

This is a hack at best. Also the wiki change log discusses changes JSF implementation.

This is a major problem for us.