3 Replies Latest reply on Aug 2, 2009 2:27 AM by Preetam Palwe

    JBOSS5.1.x :: Does EJB3 MDB has a dependency on EJBTimerServ

    Preetam Palwe Newbie

      hi all,

      i have removed ejb timer service from my jboss 5.1.x since i want to get rid of not needed service of jboss. ( i am trying to trim my jboss default instance)

      i have removed following files
      1. remove hdscanner-jboss-beans.xml
      2. remove ejb2-timer-service.xml
      3. remove ejb3-timerservice-jboss-beans.xml
      4. remove profileservice-jboss-beans.xml
      5. remove profileservice-secured.jar
      6. remove schedule-manager-service.xml
      7. remove scheduler-service.xml
      8. remove uuid-key-generator.sar
      9. remove quartz-ra.rar
      10. http-invoker.sar

      now when i deploy my ear which has couple of MDBs i am getting deployment errors ... though i don't use ejb timer service in my mdb.

      so is there any dependency of MDB on EJBTimerService?
      how can i remove this dependency?

      thanks in advance
      ~pp

      **************Logs**************

      14:00:49,490 INFO [TomcatDeployment] deploy, ctxPath=/
      14:00:49,615 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
      14:00:50,600 INFO [JBossASKernel] Created KernelDeployment for: QueryGeneratorE
      JB.jar
      14:00:50,615 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=QueryGenerato
      rEnterprise.ear,jar=QueryGeneratorEJB.jar,name=RequestListnerMDBBean,service=EJB
      3
      14:00:50,615 INFO [JBossASKernel] with dependencies:
      14:00:50,615 INFO [JBossASKernel] and demands:
      14:00:50,615 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
      14:00:50,615 INFO [JBossASKernel] and supplies:
      14:00:50,615 INFO [JBossASKernel] jndi:null
      14:00:50,615 INFO [JBossASKernel] Class:javax.jms.MessageListener
      14:00:50,615 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=QueryGeneratorEnter
      prise.ear,jar=QueryGeneratorEJB.jar,name=RequestListnerMDBBean,service=EJB3) to
      KernelDeployment of: QueryGeneratorEJB.jar
      14:00:50,615 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=QueryGenerato
      rEnterprise.ear,jar=QueryGeneratorEJB.jar,name=ResponseListnerMDBBean,service=EJ
      B3
      14:00:50,631 INFO [JBossASKernel] with dependencies:
      14:00:50,631 INFO [JBossASKernel] and demands:
      14:00:50,631 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
      14:00:50,631 INFO [JBossASKernel] and supplies:
      14:00:50,631 INFO [JBossASKernel] jndi:null
      14:00:50,631 INFO [JBossASKernel] Class:javax.jms.MessageListener
      14:00:50,647 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=QueryGeneratorEnter
      prise.ear,jar=QueryGeneratorEJB.jar,name=ResponseListnerMDBBean,service=EJB3) to
       KernelDeployment of: QueryGeneratorEJB.jar
      14:00:50,943 INFO [TomcatDeployment] deploy, ctxPath=/QueryGeneratorWeb
      14:00:51,053 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
      incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      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' **")
       Deployment "jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGeneratorEJB.
      jar,name=ResponseListnerMDBBean,service=EJB3" is missing the following dependenc
      ies:
       Dependency "<UNKNOWN jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGe
      neratorEJB.jar,name=ResponseListnerMDBBean,service=EJB3>" (should be in state "D
      escribed", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJ
      BTimerService' **")
      
      DEPLOYMENTS IN ERROR:
       Deployment "<UNKNOWN jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGene
      ratorEJB.jar,name=RequestListnerMDBBean,service=EJB3>" is in error due to the fo
      llowing reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
       Deployment "<UNKNOWN jboss.j2ee:ear=QueryGeneratorEnterprise.ear,jar=QueryGene
      ratorEJB.jar,name=ResponseListnerMDBBean,service=EJB3>" is in error due to the f
      ollowing reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
      
      
      14:00:51,193 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-TZ-TEST%2F1
      72.16.3.186-8080