java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory

Icesoft | rachelmoy | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    All ICEFACESv2.0.2 sample war failed to execute in Websphere Application Server

    Icesoft | 6 years ago | rachelmoy
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
  2. 0

    JBoss Tools + Eclipse - Front-end - GUJ

    com.br | 1 year ago
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
  3. 0

    java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar

    Stack Overflow | 5 years ago | Sameh Farahat
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    richfaces integration issue

    Coderanch | 6 years ago | swapnel surade
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
  6. 0

    richfaces integration issue

    Coderanch | 6 years ago | swapnel surade
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory

  1. marcbouvierdav 1 times, last 3 weeks ago
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory

    at javax.faces.FactoryFinder$FactoryManager.getFactory()
  2. JavaEE 7
    FactoryFinder.getFactory
    1. javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:894)
    2. javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319)
    2 frames
  3. JSF
    ConfigureListener.contextDestroyed
    1. com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:112)
    2. com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:325)
    2 frames
  4. WebSphere
    WebAppImpl.destroy
    1. com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDestroyed(WebApp.java:1795)
    2. com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:3125)
    3. com.ibm.ws.webcontainer.webapp.WebAppImpl.destroy(WebAppImpl.java:805)
    3 frames
  5. com.ibm.ws
    AbstractContainer.destroy
    1. com.ibm.ws.container.AbstractContainer.destroy(AbstractContainer.java:74)
    1 frame
  6. WebSphere
    ContextManagerImpl.runAsSystem
    1. com.ibm.ws.webcontainer.webapp.WebGroup.destroy(WebGroup.java:203)
    2. com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:241)
    3. com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:309)
    4. com.ibm.ws.webcontainer.VirtualHostImpl.removeWebApplication(VirtualHostImpl.java:208)
    5. com.ibm.ws.webcontainer.WSWebContainer.removeWebApplication(WSWebContainer.java:802)
    6. com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:408)
    7. com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:679)
    8. com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1146)
    9. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1324)
    10. com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:645)
    11. com.ibm.ws.runtime.component.DeployedApplicationImpl.stop(DeployedApplicationImpl.java:1098)
    12. com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:928)
    13. com.ibm.ws.runtime.component.ApplicationMgrImpl.access$100(ApplicationMgrImpl.java:202)
    14. com.ibm.ws.runtime.component.ApplicationMgrImpl$2.run(ApplicationMgrImpl.java:1374)
    15. com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4678)
    16. com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4766)
    16 frames
  7. com.ibm.ws
    SecurityContext.runAsSystem
    1. com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
    1 frame
  8. WebSphere
    ApplicationMgrImpl.stopApplication
    1. com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplicationImpl(ApplicationMgrImpl.java:1380)
    2. com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:2087)
    3. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stop(CompositionUnitMgrImpl.java:498)
    4. com.ibm.ws.runtime.component.CompositionUnitImpl.stop(CompositionUnitImpl.java:141)
    5. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stopCompositionUnit(CompositionUnitMgrImpl.java:779)
    6. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stopCompositionUnit(CompositionUnitMgrImpl.java:723)
    7. com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:1349)
    7 frames
  9. Java RT
    JmxMBeanServer.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:611)
    5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49)
    6. sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    8. java.lang.reflect.Method.invoke(Method.java:611)
    9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256)
    10. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085)
    11. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966)
    12. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
    13. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
    13 frames
  10. WebSphere
    AdminServiceImpl$1.run
    1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1332)
    1 frame