I'm trying to test sending a JMS message from one JBoss Server (3.2.7) to 
another, while both servers are on the same machine (I used ports-binding.xml 
to sort the two instances out).  The two servers run exactly the same ear, and 
have the same exact JMS destinations.

An EJB is sending the message, and it defines its resource ref as 
jms/CrossPostQueue.  Then, in jboss.xml, I provide the mapping as follows:
        <resource-ref>
  |             <res-ref-name>jms/CrossPostQueue</res-ref-name>
  |     
<jndi-name>jnp://localhost:1199/queue/transactionware-enterprise-async-services</jndi-name>
  |     </resource-ref>

I figured that specifying the jndi port that the second instance runs would be 
enough.  However, the first server is receiving the message on its local copy 
of "queue/transactionware-enterprise-async-services".

Am I missing a necessary step?  Shouldn't having different JNDI ports 
completely separate the two instances?

Thanks,
Rick

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882660#3882660

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882660


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to