geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: jms connection factory lookup from the standalone client
Date Wed, 25 Jan 2006 00:36:28 GMT

On Jan 24, 2006, at 4:16 PM, Simon wrote:

> This is j2se client (plain java). I thought as well that I can not get
> connection factory from jndi outside container; However active-mq  
> website
> ( says it is possible; (Apparently  
> they
> connect to the jms server for jndi lookup). But they gloss over the  
> name of
> the connection factory, and I could not make it work.

Look further in their documentation.  They have way to set up a local  
jndi context that gives you access to the stuff running in the  
current jvm.  I'm not sure but this may involve spring.  Asking on  
their list will get you better quality information :-)  AFAIK you are  
not going to be able to look up an AMQ connection factory remotely  
and pull it across the wire.

david jencks

> Simon
>> Is this a J2EE application client (using the client container) or a
>> "plain Java" standalone client?  If you have a J2SE client I don't
>> think there's any way to access JMS or JDBC resources in JNDI; for an
>> application client using the client container I believe you can
>> essentailly deploy the JMS resource group as part of your client
>> application deployment plan so it runs in the client environment, but
>> I haven't worked through this myself.
>> Thanks,
>>   Aaron
>> On 1/24/06, Simon <> wrote:
>>> I'm trying to lookup jms connection factory from the standalone  
>>> client. I
>>> can not figure out how to specify jms connection-factory jndi  
>>> name in my
>>> client. I looked at the active-mq website but their instructions  
>>> did not
>>> work for me. Any suggestions?
>>> Simon

View raw message