I\'m developing a webapp with NetBeans and Glassfish 4.1.1. and I\'m using JSF and CDI to manage the backing beans for the facelets. Since shortly after changing anything in the
Disable beanIdentifierIndexOptimization in GlassFish as follows:
org.jboss.weld.serialization.beanIdentifierIndexOptimization
false
This should help with passivation and resolve the following WELD bug:
WELD-000227: Bean identifier index inconsistency detected.