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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 5.4.0
    • JCA Container
    • None
    • 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. activemq-ds.xml
          1 kB
          Todd Nine
        2. ASF.LICENSE.NOT.GRANTED--activemq-ds.xml
          1 kB
          Todd Nine
        3. ASF.LICENSE.NOT.GRANTED--activemq-jms-ds.xml
          3 kB
          Todd Nine
        4. ASF.LICENSE.NOT.GRANTED--broker-config.xml
          3 kB
          Todd Nine
        5. ra.xml
          9 kB
          Todd Nine

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: