3 Replies Latest reply on Jul 21, 2005 5:27 PM by perendengue

    Problem in deployment

    shankar_rao

      Sir,

      Actually we developed the application in Oracle 9i Jdeveloper and after that we migrated to jboss for deployment , i build the application using ant...and created , jar,war and ear........

      but when i deployed the ear File it is throwing the exception as follows.....

      I have my Application.xml in META-INF Folder only............ Pls anybody give me the solution

      org.jboss.deployment.DeploymentException: No META-INF/application.xml found
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:728)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:663)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
      at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:168)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:303)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:477)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:274)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:168)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:828)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:360)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:168)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:168)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:144)
      at org.jboss.Main$1.run(Main.java:389)
      at java.lang.Thread.run(Thread.java:536)
      17:01:56,913 ERROR [URLDeploymentScanner] MBeanException: null
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@712260b8 { url=file:/D:/jboss-4.0/server/de
      fault/deploy/scl.ear }
      deployer: org.jboss.deployment.EARDeployer@15983b7
      status: null
      state: FAILED
      watch: file:/D:/jboss-4.0/server/default/deploy/scl.ear
      lastDeployed: 1121427116898
      lastModified: 1121427116882
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:

        • 1. Re: Problem in deployment
          darranl

          Can you execute the command: -

          jar -tf EarName.ear


          The purpose of this is to check that your META-INF folder name is in upper case and to make sure it contains the expected file.

          And then take your question with the output from above to the Beginners Corner forum. This forum is for discussing the Advanced JBoss documentation.

          • 2. Re: Problem in deployment
            shankar_rao

            sir,

            when i deployed my ear file in jboss 4.0 i got the exception as

            no meta-inf/Application.xml found

            so i give the below command and i got the out put as follows
            is this out wrong? needed any changes...........give the solution

            D:\jboss-scl13_7\scl\SCL>jar -tf scl.ear
            META-INF/
            META-INF/MANIFEST.MF
            scl.war
            scl.jar
            src/META-INF/application.xml

            • 3. Re: Problem in deployment
              perendengue

              META-INF/
              META-INF/MANIFEST.MF
              scl.war
              scl.jar
              src/META-INF/application.xml



              get rid of the src in front of your application.xml