diff --git a/impl/src/main/java/org/apache/myfaces/webapp/FacesInitializerImpl.java b/impl/src/main/java/org/apache/myfaces/webapp/FacesInitializerImpl.java index 32b5c01fb..6e77859b9 100644 --- a/impl/src/main/java/org/apache/myfaces/webapp/FacesInitializerImpl.java +++ b/impl/src/main/java/org/apache/myfaces/webapp/FacesInitializerImpl.java @@ -591,7 +591,7 @@ private BeanManager lookupBeanManagerFromJndi() // ignore } - if (beanManager != null) + if (beanManager == null) { try {