2 Replies Latest reply on Mar 16, 2012 7:53 AM by Marco Battaglia

    Problem with JBoss 7 and JBoss Developer Studio 5

    Peter Penzov Newbie

      Hi,

      I'm having a problem with deploying a simple war file generated with JBoss Developer Studio 5. This is the output from the console:

       

       

       

       

       

      00:59:32,166 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "za.war" was rolled back with no failure message

      00:59:32,166 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "za-ds.xml" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"za-ds.xml\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"za-ds.xml\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"za-ds.xml\""}}

      00:59:32,182 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment za-ds.xml in 1ms

      00:59:32,214 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment za.war in 44ms

      00:59:32,229 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"za-ds.xml\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"za-ds.xml\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"za-ds.xml\""}}}}

      00:59:32,229 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite operation was rolled back

      01:09:03,321 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Found kl.war in deployment directory. To trigger deployment create a file called kl.war.dodeploy

      01:09:03,336 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "kl-ds.xml"

      01:09:03,336 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "kl.war"

      01:09:03,336 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."kl-ds.xml".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."kl-ds.xml".STRUCTURE: Failed to process phase STRUCTURE of deployment "kl-ds.xml"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

          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: Failed to mount deployment content

          at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

          ... 5 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.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:75)

          at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78)

          ... 6 more

       

      01:09:05,396 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox.jar in "/C:/Users/Toni/Desktop/Plamen/jboss-as-7.0.0.Final/standalone/deployments/kl.war/WEB-INF/lib/itext.jar"  does not point to a valid jar for a Class-Path reference.

      01:09:05,396 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox-2.1.2.jar in "/C:/Users/Toni/Desktop/Plamen/jboss-as-7.0.0.Final/standalone/deployments/kl.war/WEB-INF/lib/itext.jar"  does not point to a valid jar for a Class-Path reference.

      01:09:05,396 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcmail-jdk14-138.jar in "/C:/Users/Toni/Desktop/Plamen/jboss-as-7.0.0.Final/standalone/deployments/kl.war/WEB-INF/lib/itext.jar"  does not point to a valid jar for a Class-Path reference.

      01:09:06,988 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcprov-jdk14-138.jar in "/C:/Users/Toni/Desktop/Plamen/jboss-as-7.0.0.Final/standalone/deployments/kl.war/WEB-INF/lib/itext.jar"  does not point to a valid jar for a Class-Path reference.

      01:09:06,988 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."kl.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."kl.war".PARSE: Failed to process phase PARSE of deployment "kl.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

          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: Failed to parse "/C:/Users/Toni/Desktop/Plamen/jboss-as-7.0.0.Final/standalone/deployments/kl.war/WEB-INF/jboss-web.xml"

          at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

          ... 5 more

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,5]

      Message: Unexpected element 'class-loading' encountered

          at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)

          at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:182)

          at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:64)

          ... 6 more

       

      01:09:07,019 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "kl.war" was rolled back with no failure message

      01:09:07,019 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "kl-ds.xml" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"kl-ds.xml\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"kl-ds.xml\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"kl-ds.xml\""}}

      01:09:07,019 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment kl-ds.xml in 0ms

      01:09:07,067 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment kl.war in 45ms

      01:09:07,067 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"kl-ds.xml\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"kl-ds.xml\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"kl-ds.xml\""}}}}

      01:09:07,082 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Composite operation was rolled back

       

      It seems that there is a problem with the xml file kl-ds.xml

      How I can fix it?

       

      Regards

      Peter