0 Replies Latest reply: Apr 19, 2012 5:34 AM by larry wang RSS

    Start JBoss successful but have a error

    larry wang Newbie

      start jboss  successful ,

       

      vfsfile:/D:/jboss-5.1.0.GA/server/atg/deploy/ATG.ear/

      17:13:09,568 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      17:13:09,583 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
      17:13:09,599 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
      JBoss_5_1_0_GA date=200905221634)] Started in 40s:466ms

       

      but I seen a  error:

       

      17:12:41,549 ERROR [ProfileDeployAction] Failed to add deployment: ATG.ear

      org.jboss.deployers.spi.DeploymentException: Exception determining structure: Ab

      stractVFSDeployment(ATG.ear)

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept

      ion(DeploymentException.java:49)

              at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers

      .determineStructure(AbstractStructuralDeployers.java:85)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(

      MainDeployerImpl.java:1004)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeployment

      Context(MainDeployerImpl.java:440)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD

      eployerImpl.java:390)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD

      eployerImpl.java:300)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter

      .addDeployment(MainDeployerAdapter.java:86)

              at org.jboss.system.server.profileservice.repository.ProfileDeployAction

      .install(ProfileDeployAction.java:61)

              at org.jboss.system.server.profileservice.repository.AbstractProfileActi

      on.install(AbstractProfileAction.java:53)

              at org.jboss.system.server.profileservice.repository.AbstractProfileServ

      ice.install(AbstractProfileService.java:361)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra

      ctControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractContr

      oller.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra

      ctController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr

      actController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr

      actController.java:984)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro

      ller.java:822)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro

      ller.java:553)

              at org.jboss.system.server.profileservice.repository.AbstractProfileServ

      ice.activateProfile(AbstractProfileService.java:306)

              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(

      ProfileServiceBootstrap.java:271)

              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:

      461)

              at org.jboss.Main.boot(Main.java:221)

              at org.jboss.Main$1.run(Main.java:556)

              at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.RuntimeException: Error determining structure: ATG.ear

              at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav

      a:293)

              at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.de

      termineStructure(StructureDeployerWrapper.java:73)

              at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.

      doDetermineStructure(VFSStructuralDeployersImpl.java:196)

              at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.

      determineStructure(VFSStructuralDeployersImpl.java:221)

              at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers

      .determineStructure(AbstractStructuralDeployers.java:77)

              ... 21 more

      Caused by: java.lang.RuntimeException: Exception looking for ../../../../../ATG/

      ATG9.1/Dynamusic/j2ee-apps/dynamusic-j2ee/dynamusic-web.war module listed in app

      lication.xml, .ear ATG.ear

              at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav

      a:284)

              ... 25 more

      Caused by: java.io.IOException: Using reverse path on top file handler: FileHand

      ler@13425898[path= context=file:/D:/jboss-5.1.0.GA/server/atg/deploy/ real=file:

      /D:/jboss-5.1.0.GA/server/atg/deploy/], ../../../../../ATG/ATG9.1/Dynamusic/j2ee

      -apps/dynamusic-j2ee/dynamusic-web.war

              at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structur

      edFindChild(AbstractVirtualFileHandler.java:670)

              at org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandl

      er.java:303)

              at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)

              at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav

      a:269)

              ... 25 more

       

       

      I look my application.xml is

       

       

       

      <?xml version="1.0"?>

      <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">

      <application>
      <display-name>dynamusic-j2ee</display-name>
      <description>dynamusic-j2ee ear file</description>
        <web>
         <web-uri>dynamusic-web.war</web-uri>
         <context-root>/dynamusic</context-root>
        </web>
      </module>

      </application>

       

      I just do a chapter for example,and do so many times .I try solve it,but is also display thie error,Can you help me?