You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Scott Carter <ca...@gmail.com> on 2009/07/05 00:49:42 UTC

Beans keep re-creating themselves

I have an issue where on my production server ( linux / tomcat 6 / apache ),
the beans keep recreating themselves.  I keep getting lines such as
"WARNING: More than one managed bean w/ the name of 'a4j' - only keeping the
last" .  I read several posts about this and it seems to relate to some type
of configuration problem, but I do not see anything obvious.  I am also
really lost as to why this would only occur on our production server.  Here
is a section of the log where my managed beans are recreated.  I am also
attaching my web.xml file and faces-config.xml file.  This is a very urgent
issue for us, and any help is greatly appreciated.  Here is the section of
the log where beans are recreated:

Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator update
SEVERE: Error during configuration clean-upnull
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
feedStandardConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
feedClassloaderConfigurations
INFO: Reading config
jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/richfaces-impl-3.2.1.GA.jar!/META-INF/faces-config.xml
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
feedClassloaderConfigurations
INFO: Reading config
jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/faces-config.xml
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
feedClassloaderConfigurations
INFO: Reading config
jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.2.2 from path
: file:/home/scottallen/roadmap/rmths/WEB-INF/lib/myfaces-api-1.2.2.jar
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.2.2 from
path :
file:/home/scottallen/roadmap/rmths/WEB-INF/lib/myfaces-impl-1.2.2.jar
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
logMetaInf
INFO: Starting up MyFaces-package : tomahawk in version : 1.1.6 from path :
file:/home/scottallen/roadmap/rmths/WEB-INF/lib/tomahawk-1.1.6.jar
Jul 4, 2009 3:43:54 PM org.apache.myfaces.shared_impl.util.LocaleUtils
toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to
default locale : en_US
Jul 4, 2009 3:43:54 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl
addRenderKit
INFO: RenderKit with renderKitId 'HTML_BASIC' was replaced.
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'a4j' - only keeping the
last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'a4jSkin' - only keeping
the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'richSkin' - only keeping
the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'ajaxContext' - only
keeping the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'bean' - only keeping the
last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'helloWorld' - only
keeping the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'register' - only keeping
the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'assessment' - only
keeping the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'login' - only keeping
the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'ppbean' - only keeping
the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'ppexpressbean' - only
keeping the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
configureRuntimeConfig
WARNING: More than one managed bean w/ the name of 'pppaymentoptions' - only
keeping the last
Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
handleSerialFactory
INFO: Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory

Re: Beans keep re-creating themselves

Posted by Anton Gavazuk <an...@gmail.com>.
Scott,

post this question in a4j forum, the issue related to their functionality

2009/7/5 Scott Carter <ca...@gmail.com>

> I have an issue where on my production server ( linux / tomcat 6 / apache
> ), the beans keep recreating themselves.  I keep getting lines such as
> "WARNING: More than one managed bean w/ the name of 'a4j' - only keeping the
> last" .  I read several posts about this and it seems to relate to some type
> of configuration problem, but I do not see anything obvious.  I am also
> really lost as to why this would only occur on our production server.  Here
> is a section of the log where my managed beans are recreated.  I am also
> attaching my web.xml file and faces-config.xml file.  This is a very urgent
> issue for us, and any help is greatly appreciated.  Here is the section of
> the log where beans are recreated:
>
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator update
> SEVERE: Error during configuration clean-upnull
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> feedStandardConfig
> INFO: Reading standard config META-INF/standard-faces-config.xml
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
> INFO: Reading config
> jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/richfaces-impl-3.2.1.GA.jar!/META-INF/faces-config.xml
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
> INFO: Reading config
> jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/faces-config.xml
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
> INFO: Reading config
> jar:file:/home/scottallen/roadmap/rmths/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> feedWebAppConfig
> INFO: Reading config /WEB-INF/faces-config.xml
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> logMetaInf
> INFO: Starting up MyFaces-package : myfaces-api in version : 1.2.2 from
> path : file:/home/scottallen/roadmap/rmths/WEB-INF/lib/myfaces-api-1.2.2.jar
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> logMetaInf
> INFO: Starting up MyFaces-package : myfaces-impl in version : 1.2.2 from
> path :
> file:/home/scottallen/roadmap/rmths/WEB-INF/lib/myfaces-impl-1.2.2.jar
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> logMetaInf
> INFO: MyFaces-package : tomahawk-sandbox not found.
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> logMetaInf
> INFO: Starting up MyFaces-package : tomahawk in version : 1.1.6 from path :
> file:/home/scottallen/roadmap/rmths/WEB-INF/lib/tomahawk-1.1.6.jar
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.shared_impl.util.LocaleUtils
> toLocale
> WARNING: Locale name in faces-config.xml null or empty, setting locale to
> default locale : en_US
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl
> addRenderKit
> INFO: RenderKit with renderKitId 'HTML_BASIC' was replaced.
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'a4j' - only keeping the
> last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'a4jSkin' - only keeping
> the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'richSkin' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'ajaxContext' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'bean' - only keeping
> the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'helloWorld' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'register' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'assessment' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'login' - only keeping
> the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'ppbean' - only keeping
> the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'ppexpressbean' - only
> keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> configureRuntimeConfig
> WARNING: More than one managed bean w/ the name of 'pppaymentoptions' -
> only keeping the last
> Jul 4, 2009 3:43:54 PM org.apache.myfaces.config.FacesConfigurator
> handleSerialFactory
> INFO: Serialization provider : class
> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
>
>
>