[jboss-jira] [JBoss JIRA] Updated: (JBAS-5114) MessageDriven EJB3 does not create destination automatically

Joshua Partogi (JIRA) jira-events at lists.jboss.org
Wed Apr 16 23:13:45 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5114?page=all ]

Joshua Partogi updated JBAS-5114:
---------------------------------

    Attachment: server.log

I get this stacktrace error when deploying EJB3 MDB. I agree with Thomas as the same code works in JBoss 4.x. Is it because EJB3 service is started first and the JMS service started second?

> MessageDriven EJB3 does not create destination automatically
> ------------------------------------------------------------
>
>                 Key: JBAS-5114
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5114
>             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-5.0.0.CR1
>
>         Attachments: server.log
>
>
> When deploying this bean
> @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.";
>    }
> }
> the RequestQueue is not create automatically. This works in jboss-4.2.3
> Please see related issue for test details.

-- 
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