[jboss-jira] [JBoss JIRA] Commented: (JBAS-5110) Undeploy of EJB3 MDB does not remove destination queue

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jan 9 07:23:43 EST 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5110?page=comments#action_12394290 ] 
            
Thomas Diesler commented on JBAS-5110:
--------------------------------------

This can be reproduced by running the same EJB3 MDB testcase twice

@MessageDriven(activationConfig = { 
      @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
      @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/RequestQueue") })
public class OrganizationJMSEndpoint extends JMSTransportSupportEJB3
{
   // provide logging
   private static final Logger log = Logger.getLogger(OrganizationJMSEndpoint.class);

   @WebMethod
   public String getContactInfo(String organization) throws RemoteException
   {
      log.info("getContactInfo: " + organization);
      return "The '" + organization + "' boss is currently out of office, please call again.";
   }
}


> Undeploy of EJB3 MDB does not remove destination queue
> ------------------------------------------------------
>
>                 Key: JBAS-5110
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5110
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>            Reporter: Thomas Diesler
>         Assigned To: Carlo de Wolf
>             Fix For: JBossAS-4.2.3.GA
>
>
>     [junit] Caused by: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq.destination:service=Queue,name=RequestQueue
>     [junit]     at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
>     [junit]     at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
>     [junit]     at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
>     [junit]     at org.jboss.system.ServiceController.install(ServiceController.java:226)

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

        



More information about the jboss-jira mailing list