Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1880

While deploying EJB3 MDB has a dependency on EJBTimerService which should be removed ...

XMLWordPrintable

      Steps to reproduce –

      1. remove following unused services from jboss (default)
      a. remove hdscanner-jboss-beans.xml
      b. remove ejb2-timer-service.xml
      c. remove ejb3-timerservice-jboss-beans.xml
      d. remove profileservice-jboss-beans.xml
      e. remove profileservice-secured.jar
      f. remove schedule-manager-service.xml
      g. remove scheduler-service.xml
      h. remove uuid-key-generator.sar
      i. remove quartz-ra.rar
      j. remove http-invoker.sar

      2. deploy an EAR which contains the couple of MDBs (queues are already created in deploy\messaging\messaging-service.xml
      3. the deployment fails with following error

      DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGeneratorEJB.
      jar,name=RequestListnerMDBBean,service=EJB3" is missing the following dependenci
      es:
      Dependency "<UNKNOWN jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGe
      neratorEJB.jar,name=RequestListnerMDBBean,service=EJB3>" (should be in state "De
      scribed", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJB
      TimerService' **")

      Expected Result –
      1. There should not be any dependency of MDB on EJBTimerService since no timers are used in EJB code.
      2. Deployment should be successful

              jaikiran Jaikiran Pai (Inactive)
              preetam_pict_jira Preetam Palwe (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: