Jboss 7.1决赛没有部署我的战争

时间:2012-10-11 03:14:10

标签: java web-applications deployment jboss jboss7.x

这是我正在获取的错误日志 我也突出显示了错误..解决问题的解决方法是什么?

16:54:56,184 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."hello.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."hello.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "hello.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_20]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_20]
    at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_20]
Caused by: **org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/C:/Share/Jboss/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final/bin/content/hello.war/WEB-INF/lib/activation-1.1.jar"**
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:120)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    ... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/C:/Share/Jboss/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final/bin/content/hello.war/WEB-INF/lib/activation-1.1.jar"
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:175)
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:153)
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:114)
    ... 6 more

**Caused by: java.util.zip.ZipException: error in opening zip file**
    at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.6.0_20]
    at java.util.zip.ZipFile.<init>(Unknown Source) [rt.jar:1.6.0_20]
    at java.util.jar.JarFile.<init>(Unknown Source) [rt.jar:1.6.0_20]
    at java.util.jar.JarFile.<init>(Unknown Source) [rt.jar:1.6.0_20]
    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:170)
    ... 8 more

2 个答案:

答案 0 :(得分:3)

您的WAR中似乎有一个损坏的activation.war文件。另外,请勿包含activation.war。该库将包含在服务器中。

答案 1 :(得分:0)

真的令人难以置信的是,自从v5这个问题仍然没有解决。我们一直都有热部署和战争/耳朵完全没问题。在这里感到沮丧!从来没有使用过Weblogic。