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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment