javax.faces.FacesException: java.lang.IllegalStateException: ApplicationAssociate already exists for this webapp

liferay.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error Sample JSF Sun Portlet - Forums | Liferay

    liferay.com | 7 months ago
    javax.faces.FacesException: java.lang.IllegalStateException: ApplicationAssociate already exists for this webapp

    Root Cause Analysis

    1. java.lang.IllegalStateException

      ApplicationAssociate already exists for this webapp at com.sun.faces.application.ApplicationAssociate.<init>(ApplicationAssociate.java:97) at com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:94)

      at com.sun.faces.application.ApplicationFactoryImpl.getApplication()
    2. JSF
      LiferayConfigureListener.contextInitialized
      1. com.sun.faces.application.ApplicationFactoryImpl.getApplication(ApplicationFactoryImpl.java:74)
      2. com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:372)
      3. com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:414)
      4. com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:390)
      5. com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:318)
      6. com.sun.faces.config.LiferayConfigureListener.contextInitialized(LiferayConfigureListener.java:54)
      6 frames
    3. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:450)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:551)
      18 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames