[ 
https://issues.apache.org/activemq/browse/AMQ-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-1240.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.1.3)
                   5.4.0

This seems to work ok now: see 
https://issues.apache.org/activemq/browse/AMQ-2670 for a working example with 
recovery

> Active MQ does not correctly bind to the JNDI when deployed as a RAR in JBoss
> -----------------------------------------------------------------------------
>
>                 Key: AMQ-1240
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1240
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JCA Container
>    Affects Versions: 4.1.1
>         Environment: Red Hat Enterprise Linux 4, 32bit.
>            Reporter: Todd Nine
>             Fix For: 5.4.0
>
>         Attachments: activemq-ds.xml, activemq-ds.xml, activemq-jms-ds.xml, 
> broker-config.xml, ra.xml
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to