Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1240

Active MQ does not correctly bind to the JNDI when deployed as a RAR in JBoss

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 5.4.0
    • Component/s: JCA Container
    • Labels:
      None
    • Environment:

      Red Hat Enterprise Linux 4, 32bit.

      Description

      I am unable to use the broker-config.xml file to configure the data source via a JNDI data source. The data source is configured correctly, and does appear in the JNDI when viewed via the JMX console. I receive the following error.

      ObjectName: jboss.jca:service=RARDeployment,name='activemq-rar-4.1.1.rar'
      State: FAILED
      Reason: javax.resource.spi.ResourceAdapterInternalException: Failed to startup an embedded broker: xbean:broker-config.xml, due to: org.springfra
      mework.beans.factory.BeanCreationException: Error creating bean with name 'activemq-ds' defined in class path resource [broker-config.xml]: Invocat
      ion of init method failed; nested exception is javax.naming.NameNotFoundException: ActiveMQDS not bound
      Depends On Me:
      jboss.jca:service=ManagedConnectionFactory,name=activemq/QueueConnectionFactory
      jboss.jca:service=ManagedConnectionFactory,name=activemq/TopicConnectionFactory

        Attachments

        1. ra.xml
          9 kB
          Todd Nine
        2. ASF.LICENSE.NOT.GRANTED--broker-config.xml
          3 kB
          Todd Nine
        3. ASF.LICENSE.NOT.GRANTED--activemq-jms-ds.xml
          3 kB
          Todd Nine
        4. ASF.LICENSE.NOT.GRANTED--activemq-ds.xml
          1 kB
          Todd Nine
        5. activemq-ds.xml
          1 kB
          Todd Nine

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tnine Todd Nine
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: