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:17:44 GMT

On Jan 24, 2006, at 4:03 PM, Aaron Mulder wrote:

> 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.

that's correct.  Basically you need to specify something like this in  
your plan:

<connector xmlns=""
     parentId="geronimo/client/${pom.currentVersion}/car"> of normal connector plan

suppressDefaultParentId is needed or the connector builder will add a  
lot of server side configs to your plan and the client then won't start.

Readers of other threads can point and laugh that I have supplied an  
example of where you do have to specify a parentId in a plan.

david jencks

> 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