0 Replies Latest reply on Jun 11, 2008 11:05 AM by lee ang

    error when deploying day trader: Failed to parse descriptors

    lee ang Newbie

      Greetings,
      i like to seek help and advice if any ppl out there has meddle with daytrader on jboss?
      I'm using mysql database. My deployment codes can be found at http://www.openevol.com/share/peipei/daytrader-ear-2.0-SNAPSHOT.ear

      The whole daytrader contents including the deployment file and instructions can be download at http://www.openevol.com/share/peipei/DayTrader_Jboss.zip

      Anyone can contact me at vitalstrike82@hotmail.com if you have advise to guide me. Thanks.. :)
      After editing and doing some changes to the daytrader, i manager to scales down the error to these:

      22:50:34,628 INFO [EARDeployer] Init J2EE application: file:/home/chongming/jboss/server/default/deploy/daytrader-ear-2.0-SNAPSHOT.ear
      22:50:34,770 WARN [MainDeployer] Found non-jar deployer for wsappclient.jar: org.jboss.deployment.ClientDeployer@2b2af3
      22:50:34,996 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      22:50:34,996 WARN [Tomcat5] Failed to parse descriptors for war(file:/home/chongming/jboss/server/default/tmp/deploy/tmp42092daytrader-ear-2.0-SNAPSHOT.ear-contents/web.war/)
      org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one home tag)
      at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:683)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:334)
      at sun.reflect.GeneratedMethodAccessor83.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy31.init(Unknown Source)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:863)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor49.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
      Caused by: org.jboss.deployment.DeploymentException: expected one home tag
      at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:98)
      at org.jboss.metadata.EjbRefMetaData.importEjbJarXml(EjbRefMetaData.java:70)
      at org.jboss.metadata.WebMetaData.importWebXml(WebMetaData.java:859)
      at org.jboss.metadata.WebMetaData.importXml(WebMetaData.java:677)
      at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:678)
      ... 37 more
      22:50:35,641 ERROR [MainDeployer] Could not start deployment: file:/home/chongming/jboss/server/default/tmp/deploy/tmp42092daytrader-ear-2.0-SNAPSHOT.ear-contents/dt-ejb.jar
      org.jboss.deployment.DeploymentException: expected one display-name tag
      at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:98)
      at org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:291)
      at org.jboss.metadata.ClientMetaData.importClientXml(ClientMetaData.java:126)
      at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:132)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor49.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)