java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext

ICEsoft JIRA Issue Tracker | Liming Wu | 6 years ago
  1. 0

    I have created a simple Java EE 6 Enterprise App using the latest ICEfaces NetBeans IDE integration. When I deploy my ear archive to Glassfish v3, I get the following error: SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176) After having a look at the ear archive, it turns out that the icefaces-comps-compat.jar and icefaces.jar are not included in the EARs lib folder. Instead, they are included in the WARs WEB-INF/lib folder. The other required jars (icefaces-compat.jar, icepush.jar) are correctly packaged in the EARs lib folder.

    ICEsoft JIRA Issue Tracker | 6 years ago | Liming Wu
    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext
  2. 0

    I have created a simple Java EE 6 Enterprise App using the latest ICEfaces NetBeans IDE integration. When I deploy my ear archive to Glassfish v3, I get the following error: SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176) After having a look at the ear archive, it turns out that the icefaces-comps-compat.jar and icefaces.jar are not included in the EARs lib folder. Instead, they are included in the WARs WEB-INF/lib folder. The other required jars (icefaces-compat.jar, icepush.jar) are correctly packaged in the EARs lib folder.

    ICEsoft JIRA Issue Tracker | 6 years ago | Liming Wu
    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext
  3. 0

    Metro - Development - Please try some basic metro tests with the latests bits

    nabble.com | 1 year ago
    java.lang.Exception: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: com.sun.xml.ws.policy.PolicyException: WSP1015: Server side assertion validation failed for "{ }KeyStore" assertion. Assertion was evaluated as "UNKNOWN".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Messages posted by theodor.richard@gmail.com

    icesoft.org | 12 months ago
    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext
  6. 0

    Deployment to Glassfish v3.0.1 with ICEfaces 2.0 Alpha 3 and NetBeans 6.9

    Oracle Community | 6 years ago | 392 Guest
    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext
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.Exception

    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/icefaces/context/DOMPartialViewContext

    at com.sun.enterprise.web.WebApplication.start()
  2. Glassfish
    WebApplication.start
    1. com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
    1 frame
  3. Private APIs of Glassfish
    ApplicationInfo.start
    1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
    2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
    3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
    3 frames
  4. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
    2 frames
  5. Embedded GlassFish Web
    DeployCommand.execute
    1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
    1 frame
  6. Kernel Classes
    CommandRunnerImpl.doCommand
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
    3 frames