Jason Greene [
http://community.jboss.org/people/jason.greene] created the discussion
"Re: Intermittent JSF bootstrapping bug?"
To view the discussion, visit:
http://community.jboss.org/message/620005#620005
--------------------------------------------------------------
Actually it's unlikely that its a module issue. Some of the factories are registered
via a callback from the jsf impl. If for some reason a faces-config is not processed this
could happen. I added some additional logging for when the factories are registered. If
you could try this binary instead:
https://repository.jboss.org/nexus/service/local/repositories/snapshots/c...
https://repository.jboss.org/nexus/service/local/repositories/snapshots/c...
It now will log when the faces context factory (and others) is registered:
17:36:39,508 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-8) Initializing Mojarra 2.0.4 (FCS b09-jbossorg-4) for context '/jsf-injection'
17:36:40,303 INFO [javax.faces] (MSC service thread 1-8) Registering factory:
javax.faces.application.ApplicationFactory impl
com.sun.faces.application.ApplicationFactoryImpl
17:36:40,304 INFO [javax.faces] (MSC service thread 1-8) Registering factory:
javax.faces.context.ExceptionHandlerFactory impl
com.sun.faces.context.ExceptionHandlerFactoryImpl
17:36:40,305 INFO [javax.faces] (MSC service thread 1-8) Registering factory:
javax.faces.component.visit.VisitContextFactory impl
com.sun.faces.component.visit.VisitContextFactoryImpl
17:36:40,305 INFO [javax.faces] (MSC service thread 1-8) Registering factory:
javax.faces.context.FacesContextFactory impl
com.sun.faces.context.FacesContextFactoryImpl
This is supposed to happen *before* the faces servlet is initialized.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620005#620005]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]