Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: None
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:NB 6.9
-
ICEsoft Forum Reference:
Description
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.
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.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Liming Wu
created issue -
Liming Wu
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Liming Wu [ liming.wu ] |
Liming Wu
made changes -
Summary | packaging issue in ear | ear packaging issue in Netbeans enterprise application project |
Salesforce Case | [] |
Liming Wu
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Invalid [ 6 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |