MDB connecting to remote queue
crosscourt Dec 3, 2003 2:09 AMi have read all the releated posts but i still have problems!
=================================
19:00:47,015 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/SmartsQueue
19:00:47,015 WARN [JMSContainerInvoker] destination not found: queue/SmartsQueue reason: javax.naming.NameNotFoundExcep
tion: SmartsQueue not bound
19:00:47,015 WARN [JMSContainerInvoker] creating a new temporary destination: queue/SmartsQueue
19:00:47,015 INFO [SmartsQueue] Bound to JNDI name: queue/SmartsQueue
=================================
I have specified a new JMSProvider:
 RemoteJMSProvider
 org.jboss.jms.jndi.JBossMQProvider
 xx.xx.xx.xx:1199
 XAConnectionFactory
 XAConnectionFactory
and in jboss.xml
 <message-driven>
 <ejb-name>processor/SmartsProcessor</ejb-name>
 <destination-jndi-name>queue/SmartsQueue</destination-jndi-name>
 <configuration-name>QueryProcessor MDB</configuration-name>
 </message-driven>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 <container-configurations>
 <container-configuration>
 <container-name>QueryProcessor MDB</container-name>
 <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
 <container-interceptors>
 org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
 org.jboss.ejb.plugins.LogInterceptor
 org.jboss.ejb.plugins.RunAsSecurityInterceptor
 <!-- CMT -->
 org.jboss.ejb.plugins.TxInterceptorCMT
 org.jboss.ejb.plugins.MetricsInterceptor
 org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
 <!-- BMT -->
 org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
 org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
 org.jboss.ejb.plugins.MetricsInterceptor
 org.jboss.resource.connectionmanager.CachedConnectionInterceptor
 </container-interceptors>
 <container-invoker-conf>
 RemoteJMSProvider
 StdJMSPool
 2
 1
 True
 </container-invoker-conf>
 <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
 <container-pool-conf>
 1
 true
 </container-pool-conf>
 </container-configuration>
 </container-configurations>
what else am i missing?
I can find the queue with this
 Properties props = new Properties();
 props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
 props.setProperty(Context.PROVIDER_URL, "xx.xx.xx.xx:1199");
 props.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
 InitialContext ic = new InitialContext(props);
 Object o = ic.lookup("queue/SmartsQueue");
 System.out.println(o);
thanks
 
    