[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1880) While deploying EJB3 MDB has a dependency on EJBTimerService which should be removed ...

Preetam Palwe (JIRA) jira-events at lists.jboss.org
Sun Aug 2 02:18:41 EDT 2009


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

                 Key: EJBTHREE-1880
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1880
             Project: EJB 3.0
          Issue Type: Bug
          Components: deployers
    Affects Versions: AS 5.0.0.CR1
         Environment: JBoss AS 5.1.0.GA-jdk6
Windows 2003 server
JDK 1.6_14
            Reporter: Preetam Palwe


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list