6 Replies Latest reply on Aug 28, 2009 8:42 AM by Peter Johnson

    How to deploy an ear using JBoss Tools [error determining st

    Kristof Taveirne Newbie

      Hi,
      I'm constantly having problems trying to deploy my ear to jboss AS 5.1.0

      What I'm almost always getting is this:

      org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(xposit.ear)
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(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.determineDeploymentContext(MainDeployerImpl.java:440)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:344)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Error determining structure: xposit.ear
       at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
       at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(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)
       ... 16 more
      Caused by: java.lang.RuntimeException: art-web.war module listed in application.xml does not exist within .ear vfsfile:/C:/java/jboss-5.1.0.GA/server/all/deploy/xposit.ear/
       at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:272)
       ... 20 more
      


      Sometimes deployment does work, sometimes I have to restart the AS and sometimes it works when I undeploy the ear completely and then redeploy.

      I've already lost a lost of time with this issue and i've been all over the net trying to find a solution.

      Can somebody help with this?

      Greetings,
      Kristof.T.