1 Reply Latest reply on Aug 1, 2009 5:17 AM by jaikiran pai

    JBOSS 5.1.x :: Unused services ...

    Preetam Palwe Newbie

      Hello all,

      I am trying to stop / remove some of the JBoss unused services which my application does not use.
      Basically I have an enterprise application (EAR) with some EJB3s and Servlets etc.

      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 application EAR, the deployment fails with following error ...


      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' **")
      


      Looks like that my MDB "ResponseListnerMDBBean" is causing the problem..
      I am not able to understand, since I am not used any EJB timer service why my MDB is shown as having dependency over EJBTimerService!

      Please help me experts here to understand what is happening !

      Thanks
      ~PP