2 Replies Latest reply on Jun 11, 2010 2:13 PM by Arbi Sookazian

    No META-INF/application.xml found during hot deploy

    Arbi Sookazian Master

      JBoss 4.2.2.GA

       

      I am able to reproduce this in the server/all/deploy with only one EAR deployed when I hot deploy the EAR.  Does not happen when I cold deploy (i.e. stop JBoss, copy EAR, start JBoss).  Why?  The application.xml is in the /META-INF directory as it should be.

       

      2010-06-11 09:26:50,087 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@cfb39281{ url=file:/usr/local/asookazian/jbos

      s-4.2.2.GA/server/all/deploy/com.echo.cis.gui.ear-1.5.2-SNAPSHOT.ear, deployedLastModified=1276272289000 }

      org.jboss.deployment.DeploymentException: No META-INF/application.xml found

              at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)

              at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

              at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:585)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

              at $Proxy10.deploy(Unknown Source)

              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)

              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)

              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)

              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)

      2