Hi all! I have a cluster with two instances on the same computer, and a JbossMQ HASingleton configured in one of the nodes. This JbossMQ instance does management of one test queue called test/testQueue. On the other hand I have a client which sends JMS messages to the queue (it's working properly by means of HAJNDI), and a MDB receiving those messages.
After I've read the wiki "HowDoIConfigureAnMDBToTalkToARemoteQueue" I decided to use JNDIProviderAdapter class for access cluster with a remote Jms provider, through HAJNDI too (like sender client). So, I configured this jms provider, the invoker-proxy-binding and the MDB following wiki's advices. This is the code of the Jms provider (HAJNDI) | <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider,server=remotecluster"> | <attribute name="ProviderName">RemoteClusterJMSProvider</attribute> | <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute> | <attribute name="QueueFactoryRef">XAConnectionFactory</attribute> | <attribute name="TopicFactoryRef">XAConnectionFactory</attribute> | <attribute name="Properties"> | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=jboss.naming:org.jnp.interfaces | java.naming.provider.url=192.168.24.13:1100,192.168.24.13:1200 | </attribute> | </mbean> | Once I'm running this example, I get an timeout exception because can't connect to the remote HAJNDI port. The cause is: | Failed to retrieve stub from server 192.168.24.13:1100 | t seems like the request to 192.168.24.13:1100 is not an HAJNDI client request, even jms provider has HAJNDI configuration. And exactly, if I change port 1100 to 1099 (JNDI port) all the system runs correctly. So... What's the problem in this example? What I cannot access to a queue on remote cluster from a MDB with HAJNDI? Does anybody know how can I do it? My best regards, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864293#3864293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864293 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
