On 1/23/07, Paul Moser <[EMAIL PROTECTED]> wrote:
I'm having problems looking up connection factories via JNDI, from a standalone Java client when ActiveMQ is integrated with JBoss using a RAR.
FWIW when using JMS, JNDI is a purely client side thing; so its got nothing to do with the RAR. The RAR is mainly just used to allow integration of a JMS client with an MDB/EJB server. (Am also not sure what happens if you try using a remote JNDI server to host client side JMS client objects) Also the ActiveMQ Resource Adapter should not be used from a stand alone client - its only to be used inside a J2EE container (or MDP container like Jencks). So I'd recommend ignoring the RAR completely on the stand alone client and just use ActiveMQ's JNDI provider (with easy to edit properties file) http://incubator.apache.org/activemq/jndi-support.html -- James ------- http://radio.weblogs.com/0112098/