You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/04/21 16:34:35 UTC
[jira] [Created] (OPENEJB-1826) broken BeanManager/JSF boot or
propagation for EAR deployments
Mark Struberg created OPENEJB-1826:
--------------------------------------
Summary: broken BeanManager/JSF boot or propagation for EAR deployments
Key: OPENEJB-1826
URL: https://issues.apache.org/jira/browse/OPENEJB-1826
Project: OpenEJB
Issue Type: Bug
Reporter: Mark Struberg
After deploying my app to TomEE I get the following Exception:
Caused by: java.lang.IllegalStateException: Unable to find BeanManager. Please ensure that you configured the CDI implementation of your choice properly.
at org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider.getBeanManager(BeanManagerProvider.java:136)
at org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.getContextualReferenceByClass(CodiUtils.java:124)
at org.apache.myfaces.extensions.cdi.jsf2.impl.navigation.CodiNavigationHandler.isAddViewConfigsAsNavigationCaseActivated(CodiNavigationHandler.java:200)
at org.apache.myfaces.extensions.cdi.jsf2.impl.navigation.CodiNavigationHandler.<init>(CodiNavigationHandler.java:65)
There are 2 possible reasons:
a.) either JSF gets booted before CDI is available
b.) The BeanManager is not available for the WebApp yet.
Our Application expects a sane ClassLoader isolation between webapps as recommended by the EE6 specification.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira