Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.3.0.M5
-
None
Description
Jboss Servers doesn't start in eclipse when webfragment projects are included via pom.xml as dependency.
Works fine, when the war-file(containing the jars) is deployed on the server.
Starting in eclipse, jboss tries to unpack the jars to WEB-INF\lib and fails.
14:43:55,509 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."ncWheel-Prototype-webapp.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ncWheel-Prototype-webapp.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "ncWheel-Prototype-webapp.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Beta1.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [:1.7.0_02]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.7.0_02]
at java.lang.Thread.run(Unknown Source) [:1.7.0_02]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: failed to process "/D:/Projekte/NCwheel/jboss-as-7.1.0.Beta1/standalone/deployments/ncWheel-Prototype-webapp.war/WEB-INF/lib/ncWheel-Prototype-workload-1.0-SNAPSHOT.jar"
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:118)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Beta1.jar:]
... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: failed to process "/D:/Projekte/NCwheel/jboss-as-7.1.0.Beta1/standalone/deployments/ncWheel-Prototype-webapp.war/WEB-INF/lib/ncWheel-Prototype-workload-1.0-SNAPSHOT.jar"
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:173)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:151)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:112)
... 6 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method) [:1.7.0_02]
at java.util.zip.ZipFile.<init>(Unknown Source) [:1.7.0_02]
at java.util.zip.ZipFile.<init>(Unknown Source) [:1.7.0_02]
at java.util.jar.JarFile.<init>(Unknown Source) [:1.7.0_02]
at java.util.jar.JarFile.<init>(Unknown Source) [:1.7.0_02]
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:97)
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
at org.jboss.vfs.VFS.mountZip(VFS.java:408)
at org.jboss.vfs.VFS.mountZip(VFS.java:434)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:168)
... 8 more
Attachments
Issue Links
- duplicates
-
JBIDE-9836 Web Fragment projects are deployed as exploded jars
- Closed