You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ChristineZ <ch...@duosp.co.za> on 2006/08/18 09:12:07 UTC

JBoss

I implemented ActiveMQ on my JBoss and the broker started, but now I'm
getting a NameNotFoundException:

08:29:21,567 INFO  [JMSContainerInvoker] Trying to reconnect to JMS provider
08:29:21,598 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider
failure detected:
javax.naming.NameNotFoundException: XAConnectionFactory
        at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
        at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
        at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
        at $Proxy103.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
        at
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
        at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1471)
        at java.lang.Thread.run(Thread.java:595)
-- 
View this message in context: http://www.nabble.com/JBoss-tf2124340.html#a5860813
Sent from the ActiveMQ - User forum at Nabble.com.


Re: JBoss

Posted by James Strachan <ja...@gmail.com>.
Sounds like you've not setup the JNDI correctly to include an
XAConnectionFactory object. Refer to JBoss's documentation on
configuring their JNDI

On 8/18/06, ChristineZ <ch...@duosp.co.za> wrote:
>
> I implemented ActiveMQ on my JBoss and the broker started, but now I'm
> getting a NameNotFoundException:
>
> 08:29:21,567 INFO  [JMSContainerInvoker] Trying to reconnect to JMS provider
> 08:29:21,598 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider
> failure detected:
> javax.naming.NameNotFoundException: XAConnectionFactory
>         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
>         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
>         at $Proxy103.lookup(Unknown Source)
>         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
>         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at
> org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
>         at
> org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
>         at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
>         at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1471)
>         at java.lang.Thread.run(Thread.java:595)
> --
> View this message in context: http://www.nabble.com/JBoss-tf2124340.html#a5860813
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/