0 Replies Latest reply on May 7, 2008 10:48 AM by Pei Pei Ang

    DayTrader deployment on JBOSS

    Pei Pei Ang Newbie

      HI all,
      I’m facing difficulties trying to deploy DayTrader in Jboss Server.
      Below are the version of daytrader and Jboss I have tried(for
      weeks).

      DayTrader
      DayTrader – revision no:416929 (managed to built it using Maven
      2)
      DayTrader– revision no:553607 (managed to built it using Maven
      2)

      Jboss
      jboss-4.0.3 – server: default
      jboss-4.0.3SP1
      jboss-4.0.4.GA
      jboss-4.0.5.GA
      jboss-4.2.0.GA

      Background:
      Operating System : WINDOWS XP Professional
      I am using MySQL as DB (I followed exact instruction given by
      DayTrader)

      I have spent weeks to try all the above DayTrader versions, Jboss
      versions but to no avail.

      Any kind souls out there can help me on this? Any
      hints/suggesting will be appreciated.
      Below are the error message encountered when deploying the
      DayTrader ear file.

      19:59:17,176 INFO [EARDeployer] Init J2EE application:
      file:/D:/FYP/jboss-4.0.3/server/default/deploy/daytrader-ear-
      1.1.ear
      19:59:17,297 WARN [MainDeployer] Found non-jar deployer for
      wsappclient.jar: org.jboss.deployment.ClientDeployer@57828d
      19:59:17,656 WARN [MainDeployer] Found non-jar deployer for
      wsappclient.jar: org.jboss.deployment.ClientDeployer@57828d
      19:59:17,749 ERROR [MainDeployer] Could not start
      deployment: file:/D:/FYP/jboss-
      4.0.3/server/default/tmp/deploy/tmp36181daytrader-ear-1.1.ear-
      content
      s/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)


      Let me know if you need any further input from me.

      It would be good to advise which DayTrader svn revision and
      Jboss version to use.

      Thanks in advanced!