<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Failed to migrate HA EJB Messaging from JBoss 4.4.2 to 5.1
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/topizio">Maurizio Moscatelli</a> in <i>JNDI and Naming</i> - <a href="http://community.jboss.org/message/587525#587525">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span style="font-family: arial,helvetica,sans-serif;">Hy guys,</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">&#160;&#160; I developed an clustered application in JBoss4.2 with two MQ queue in HA. Here all stuff goes well and every node was able to send message to both queues using HA-JNDI lockup.</span></p><p><span style="font-family: arial,helvetica,sans-serif;">I&rsquo;ve recently tried to migrate from 4.2.2 GA to JBoss 5.1 GA. I&rsquo;ve successfully setting up the application for single instance, but when I start the second note also start the problems.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is the server.log taken from the master node:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">....</span></p><p><span style="font-family: courier new,courier;">2011-02-14 15:59:15,816 INFO&#160; [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@888554920{vfszip:/usr/jboss/jboss-5.1.0.GA/server/all/farm/ServicelandEAR.ear/ServiceHandlerMsgReceiverEJB.jar/}</span></p><p><span style="font-family: courier new,courier;">2011-02-14 15:59:15,868 INFO&#160; [org.jboss.ejb.deployers.EjbDeployer] (main) installing bean: ejb/EngineMsgReceiverEJB.jar#Engine,uid2106924599</span></p><p><span style="font-family: courier new,courier;">2011-02-14 15:59:15,868 INFO&#160; [org.jboss.ejb.deployers.EjbDeployer] (main)&#160;&#160; with dependencies:</span></p><p><span style="font-family: courier new,courier;">2011-02-14 15:59:15,868 INFO&#160; [org.jboss.ejb.deployers.EjbDeployer] (main)&#160;&#160; and supplies:</span></p><p><span style="font-family: courier new,courier;">2011-02-14 15:59:15,868 INFO&#160; [org.jboss.ejb.deployers.EjbDeployer] (main)&#160;&#160;&#160;&#160; <strong>jndi:null</strong></span></p><p><span style="font-family: courier new,courier;">...</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">After, when I start the second node it cannot see the queues at the startup time and in server.log I see the message:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong style="font-family: courier new,courier;">2011-02-14 15:59:18,072 ERROR [org.jboss.messaging.util.ExceptionUtil] (WorkManager(2)-2) SessionEndpoint[fc-gygfi5kg-1-02aei5kg-rk6gsk-100j3] createConsumerDelegate [gc-bzgfi5kg-1-02aei5kg-rk6gsk-100j3]</strong></p><p><strong style="font-family: courier new,courier;">javax.jms.InvalidDestinationException: No such destination: JBossQueue[Engine] has it been deployed?</strong></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1862)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:262)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeTarget(SessionAdvised$createConsumerDelegate_8721389917985689973.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:123)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:616)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:100)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:1724)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:629)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:617)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:267)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeTarget(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCreationAspect.java:142)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConsumerDelegate_1970827269.invoke(StateCreationAspect_z_handleCreateConsumerDelegate_1970827269.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect.java:76)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleCreateConsumerDelegate_1970827269.invoke(ConsumerAspect_z_handleCreateConsumerDelegate_1970827269.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate.createConsumerDelegate(ClientSessionDelegate.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossConnectionConsumer.&lt;init&gt;(JBossConnectionConsumer.java:126)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.SessionAspect.handleCreateConnectionConsumer(SessionAspect.java:772)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleCreateConnectionConsumer_1970827269.invoke(SessionAspect_z_handleCreateConnectionConsumer_1970827269.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionDelegate.createConnectionConsumer(ClientConnectionDelegate.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossConnection.createConnectionConsumer(JBossConnection.java:140)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.setupConsumer(JmsServerSessionPool.java:289)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.start(JmsServerSessionPool.java:89)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupSessionPool(JmsActivation.java:656)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:359)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:636)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Furthermore,when the second node try to use the stub picked up using HA-JNDI this is the output:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">2011-02-14 16:01:24,429 INFO&#160; [serviceland] (ajp-10.0.0.1-8009-10) Trying to use HA-JNDI to resolve the queue</span></p><p><strong style="font-family: courier new,courier;">2011-02-14 16:01:24,620 ERROR [org.jboss.messaging.util.ExceptionUtil] (ajp-10.0.0.1-8009-10) SessionEndpoint[tn-oh6ii5kg-1-02aei5kg-rk6gsk-100j3] send [un-km6ii5kg-1-02aei5kg-rk6gsk-100j3]</strong></p><p><strong style="font-family: courier new,courier;">javax.jms.JMSException: Failed to route Reference[21261446096781312]:RELIABLE to Engine</strong></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:757)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeTarget(SessionAdvised$send_7280680627620114891.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:616)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:1724)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:629)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:617)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:499)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeTarget(ClientSessionDelegate$send_6145266547759487588.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:661)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleSend_1970827269.invoke(SessionAspect_z_handleSend_1970827269.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:269)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect_z_handleSend_1970827269.invoke(ProducerAspect_z_handleSend_1970827269.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.common.broker.impl.MessageBrokerImpl.sendTextMessage(MessageBrokerImpl.java:113)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.engine.manager.impl.EngineManagerImpl.run(EngineManagerImpl.java:58)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.engine.manager.impl.EngineManagerDelegate.run(EngineManagerDelegate.java:22)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.json.wrapper.ExecutionHandlerJSON.startExecution(ExecutionHandlerJSON.java:135)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:616)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.json.wrapper.MethodInvoker.invokeMethod(MethodInvoker.java:103)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.servlet.JSONChannelServlet.process(JSONChannelServlet.java:60)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at com.serviceland.servlet.JSONChannelServlet.doPost(JSONChannelServlet.java:149)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:636)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I really cannot figure where are the problems (because sure, there is more than one). I start my server as &ldquo;<span style="font-family: courier new,courier;">run.sh -c all -b 10.0.0.1</span>&#8221;.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span lang="EN-US" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Here above I put the descriptors for the first queue (ServiceHandler), obviously there&rsquo;s others descriptors for the other queue.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is my jboss.xml :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">&lt;jboss&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;enterprise-beans&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;message-driven&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;ejb-name&gt;Engine&lt;/ejb-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;destination-jndi-name&gt;queue/Engine&lt;/destination-jndi-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;resource-ref&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-ref-name&gt;queue/ServiceHandler&lt;/res-ref-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jndi-name&gt;jnp://${jboss.bind.address}:1100/queue/Engine&lt;/jndi-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/resource-ref&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;/message-driven&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/enterprise-beans&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;resource-managers&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/resource-managers&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;/jboss&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is my ejb-jar.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p><p><span style="font-family: courier new,courier;"><span>&lt;!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "</span><a class="jive-link-external-small" href="http://java.sun.com/dtd/ejb-jar_2_0.dtd" target="_blank">http://java.sun.com/dtd/ejb-jar_2_0.dtd</a><span>"&gt;</span></span></p><p><span style="font-family: courier new,courier;">&lt;ejb-jar &gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;description&gt;&lt;![CDATA[No Description.]]&gt;&lt;/description&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;display-name&gt;Engine&lt;/display-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;enterprise-beans&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;message-driven &gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;&lt;![CDATA[Bean to access messages]]&gt;&lt;/description&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;display-name&gt;Engine&lt;/display-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;ejb-name&gt;Engine&lt;/ejb-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;ejb-class&gt;com.dobyweb.ejb.engine.EngineBean&lt;/ejb-class&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;transaction-type&gt;Bean&lt;/transaction-type&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;acknowledge-mode&gt;Auto-acknowledge&lt;/acknowledge-mode&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;message-driven-destination&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;destination-type&gt;javax.jms.Queue&lt;/destination-type&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/message-driven-destination&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;resource-ref&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;Message queue Engine&lt;/description&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-ref-name&gt;queue/Engine&lt;/res-ref-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-type&gt;javax.jms.Queue&lt;/res-type&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-auth&gt;Container&lt;/res-auth&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;res-sharing-scope&gt;Shareable&lt;/res-sharing-scope&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/resource-ref&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;/message-driven&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/enterprise-beans&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;assembly-descriptor&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/assembly-descriptor&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;/ejb-jar&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is my jbossmq-destination-service.xml putted in $JBOSS_HOME/server/all/deploy-hasingleton/jms:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;server&gt;</span></p><p><span style="font-family: courier new,courier;">&#160; &lt;mbean code="org.jboss.jms.server.destination.QueueService"</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; name="jboss.messaging.destination:service=Queue,name=Engine"</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; xmbean-dd="xmdesc/Queue-xmbean.xml"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;depends optional-attribute-name="ServerPeer"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; jboss.messaging:service=ServerPeer</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;/depends&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;depends&gt;jboss.messaging:service=PostOffice&lt;/depends&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;attribute name="JNDIName"&gt;queue/Engine&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;attribute name="RedeliveryDelay"&gt;10000&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160; &lt;attribute name="MaxDeliveryAttempts"&gt;3&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160; &lt;/mbean&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;/server&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is my jms-ds.xml putted into $JBOSS_HOME/server/all/deploy/messaging:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;connection-factories&gt;</span></p><p><span style="font-family: courier new,courier;">&#160; &lt;mbean code="org.jboss.jms.jndi.JMSProviderLoader"</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name="jboss.messaging:service=JMSProviderLoader,name=RemoteJBossMQProvider"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ProviderName"&gt;RemoteXAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ProviderAdapterClass"&gt;org.jboss.jms.jndi.JNDIProviderAdapter&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="FactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="QueueFactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="TopicFactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="Properties"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.provider.url=${jboss.bind.address:localhost}:1100</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.disableDiscovery=false</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.partitionName=${jboss.partition.name:DefaultPartition}</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryPort=1102</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryTTL=16</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryTimeout=5000</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.maxRetries=1</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160; &lt;/mbean&gt; </span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;mbean code="org.jboss.jms.jndi.JMSProviderLoader"</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ProviderName"&gt;DefaultJMSProvider&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ProviderAdapterClass"&gt;org.jboss.jms.jndi.JNDIProviderAdapter&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!--attribute name="FactoryRef"&gt;java:/XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="QueueFactoryRef"&gt;java:/XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="TopicFactoryRef"&gt;java:/XAConnectionFactory&lt;/attribute--&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!-- The combined connection factory --&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="FactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!-- The queue connection factory --&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="QueueFactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!-- The topic factory --&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="TopicFactoryRef"&gt;XAConnectionFactory&lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!-- Access JMS via HAJNDI --&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;attribute name="Properties"&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; java.naming.provider.url=${jboss.bind.address:localhost}:1100</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.disableDiscovery=false</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.partitionName=${jboss.partition.name:DefaultPartition}</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryPort=1102</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryTTL=16</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.discoveryTimeout=5000</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; jnp.maxRetries=1</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;/attribute&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/mbean&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;!-- JMS XA Resource adapter, use this to get transacted JMS in beans --&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;tx-connection-factory&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;jndi-name&gt;JmsXA&lt;/jndi-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;xa-transaction/&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;rar-name&gt;jms-ra.rar&lt;/rar-name&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;connection-definition&gt;org.jboss.resource.adapter.jms.JmsConnectionFactory&lt;/connection-definition&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;config-property name="SessionDefaultType" type="java.lang.String"&gt;javax.jms.Topic&lt;/config-property&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;config-property name="JmsProviderAdapterJNDI" type="java.lang.String"&gt;DefaultJMSProvider&lt;/config-property&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;max-pool-size&gt;20&lt;/max-pool-size&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;security-domain-and-application&gt;JmsXARealm&lt;/security-domain-and-application&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160;&#160;&#160;&#160; &lt;!--depends&gt;jboss.messaging:service=ServerPeer&lt;/depends--&gt;</span></p><p><span style="font-family: courier new,courier;">&#160;&#160; &lt;/tx-connection-factory&gt;</span></p><p><span style="font-family: courier new,courier;">&lt;/connection-factories&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">And I'm using the </span>ndb-persistence-service.xml with false Cluster attribute.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Have somebody any ideas?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thank's in advance.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Best regards,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Maurizio</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/587525#587525">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JNDI and Naming at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>