[jbosstools-issues] [JBoss JIRA] (JBIDE-10318) EJB jar projects are deployed as exploded jars in war/WEB-INF/lib

Mike Mosiewicz (Created) (JIRA) jira-events at lists.jboss.org
Fri Dec 2 09:49:40 EST 2011


EJB jar projects are deployed as exploded jars in war/WEB-INF/lib
-----------------------------------------------------------------

                 Key: JBIDE-10318
                 URL: https://issues.jboss.org/browse/JBIDE-10318
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS/Servers
    Affects Versions: 3.3.0.M3
            Reporter: Mike Mosiewicz
            Assignee: Rob Stryker
            Priority: Blocker
             Fix For: 3.3.0.M4


Following up  https://issues.sonatype.org/browse/MECLIPSEWTP-181.

Web Fragment projects are deployed as exploded jars in AS7 instead of zipped archives (probably other AS'es too). This leads to a deployment failure :
{noformat}
10:11:40,572 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "web.war"
10:11:40,600 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."web.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."web.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "web.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
	at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: failed to process "/home/fbricon/Dev/servers/jboss-as-web-7.0.2.Final/standalone/deployments/web.war/WEB-INF/lib/fragment.jar"
	at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:118)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
	... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: failed to process "/home/fbricon/Dev/servers/jboss-as-web-7.0.2.Final/standalone/deployments/web.war/WEB-INF/lib/fragment.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: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method) [:1.6.0_26]
	at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_26]
	at java.util.jar.JarFile.<init>(JarFile.java:135) [:1.6.0_26]
	at java.util.jar.JarFile.<init>(JarFile.java:99) [:1.6.0_26]
	at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:95)
	at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:81)
	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
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list