2 Replies Latest reply on Feb 11, 2005 8:32 PM by Vishal Sharma

    Problem deploying ear

    Bill DeLong Newbie

      I followed the JBOSS IDE tutorial to the letter (which is an excellent guide). However, when I try to deploy, I get a DeploymentException (expected one display-name tag). Since all of the deployment descriptors were auto-generated, what is the problem?

      11:30:45,812 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.0.1RC2/server/default/deploy/ProjectTraxx.ear

      11:30:45,842 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss/jboss-4.0.1RC2/server/default/deploy/ProjectTraxx.ear

      org.jboss.deployment.DeploymentException: expected one display-name tag
      at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:98)
      at org.jboss.deployment.J2eeApplicationMetaData.importApplicationXml(J2eeApplicationMetaData.java:135)
      at org.jboss.deployment.J2eeApplicationMetaData.importXml(J2eeApplicationMetaData.java:121)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)

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

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