Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 15740 invoked from network); 23 Mar 2006 23:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Mar 2006 23:29:55 -0000 Received: (qmail 32730 invoked by uid 500); 23 Mar 2006 23:29:52 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 32702 invoked by uid 500); 23 Mar 2006 23:29:52 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 32691 invoked by uid 99); 23 Mar 2006 23:29:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 15:29:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.184.204 as permitted sender) Received: from [64.233.184.204] (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 15:29:51 -0800 Received: by wproxy.gmail.com with SMTP id 68so782244wra for ; Thu, 23 Mar 2006 15:29:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XA1tf1YsfFmkWQZmOM40xNcMDwecPtARPRAfYWOGlG1zEMlT3zgsGi3gcUOjGy+LLJnCm9w+zkKwr0oV94TqgwSWTAnH5kU+XUabi42uw2ZOFisU+TXjN2mI80f11awp/RSEY9aitxJbqb4xT8faaeqK5MkiV3Ktkm7lTtazp70= Received: by 10.35.54.20 with SMTP id g20mr105030pyk; Thu, 23 Mar 2006 15:29:24 -0800 (PST) Received: by 10.35.116.1 with HTTP; Thu, 23 Mar 2006 15:29:24 -0800 (PST) Message-ID: <74e15baa0603231529w2f8ddb7cp5550e4feb8e22691@mail.gmail.com> Date: Thu, 23 Mar 2006 18:29:24 -0500 From: "Aaron Mulder" Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Accessing JMS resources from application client In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I don't think you can connect to a JMS resource living in the server from an application client (nor can a client access a server-side JDBC pool; an app client can only remotely access EJBs running in the server). However, there is a trick whereby you essentailly configure the client to independently connect to the same JMS server so it will still send and receive messages using the same JMS topics/queues. I believe what you need to do in order to make this work is to add the kind of settings that are in your connector deployment plan to your geronimo-application-client.xml deployment plan, so the app client also knows how to connect to the JMS server. I don't have an example of this, but I know there are some out there -- perhaps David J can point you to one? Thanks, Aaron On 3/23/06, Marsha Johnson wrote: > HI, > > I am using IBM Websphere Application Server Community Edition and I am tr= ying > to create a client application that will consume messages from a queue cr= eated > from a deployment plan external to the application. Both the queue and > connection factory have been successfully deployed from the following pla= n: > > configId=3D"org/apache/geronimo/OPJmsPlan" > parentId=3D"geronimo/activemq/1.0/car"> > > > OP JMS RA > tcp://0.0.0.0:61616 setting> > geronimo > geronimo > > DefaultWorkManager > > > > > javax.jms.ConnectionFactory interface> > > jms/OPConnFactory1 > javax.jms.QueueConnectionFactory > > > > > > 10 > 60000 > > > > > > > > > javax.jms.Queue > org.codehaus.activemq.message.ActiveMQQueue class> > > jms/OPQueue > OPQueuePD setting> > > > > > > My application-client.xml deployment plan has the following code: > > > jms/OPConnFactory1 > javax.jms.QueueConnectionFactory > Container > Shareable > > > jms/OPQueue > javax.jms.Queue > Consumes > jms/OPQueue > > > > jms/OPQueue > > > My geronimo-application-client.xml deployment plan has the following code= : > > > jms/OPConnFactory1 > jms/OPConnFactory1 > > > However, when I try to deploy I get the following message: > Error: Unable to distribute OPConsumer.ear: Unable to resolve > resource reference 'jms/OPConnFactory1' (no matching resources > found) > > > What am I doing wrong? > > >