From dev-return-12757-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Oct 01 11:31:25 2008 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 98818 invoked from network); 1 Oct 2008 11:31:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 11:31:25 -0000 Received: (qmail 77880 invoked by uid 500); 1 Oct 2008 11:31:24 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 77688 invoked by uid 500); 1 Oct 2008 11:31:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 77677 invoked by uid 99); 1 Oct 2008 11:31:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 04:31:23 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 209.85.162.181 as permitted sender) Received: from [209.85.162.181] (HELO el-out-1112.google.com) (209.85.162.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 11:30:20 +0000 Received: by el-out-1112.google.com with SMTP id m34so94815ele.5 for ; Wed, 01 Oct 2008 04:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4ezoHMxNSM1vKpiN9c7DjKOrec4D4U/ZK82U4ZFOb2M=; b=ZXgbQQUqS5bO0xOO3pEYrYUeU6G1vjMvkZXHTtFDfvoXcqF6f7os97zh8fQm3sz2E1 hQBW0viBjmtjUoHjXFHYDr9qI7G8l6eoi+6N304EZityRNxvnVK8/RAmaZwM162St/gN VvtJNTJjzSIWfknv9AQqXursMKbrRotvWrjWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=i8WYzdfgA0N3W0kVXJmj8ZrkJPSuQBtohsrusLx/cZvAp+85i/X8f8/tGu8KRNcQ2J 8BKJNm15uOfQwPJRPeKuAGzz/DccGehgB8nA8Hx9B3p/+b9b586qDtbduUk0OiFGQXNc GguSCrvPmPJBQnIQKBUENPX/7yQ2/QIKImuBk= Received: by 10.90.71.15 with SMTP id t15mr171060aga.19.1222860653921; Wed, 01 Oct 2008 04:30:53 -0700 (PDT) Received: by 10.90.117.12 with HTTP; Wed, 1 Oct 2008 04:30:53 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 12:30:53 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: Re: Adding the JNDI.properties file to an enterprise application In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19758417.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org BTW WebSphere community edition already comes with ActiveMQ in which case you won't need the RAR :) 2008/10/1 James Strachan : > You should probably use WebSphere's configuration mechanism for its > JNDI provider; you'll also need to use the Resource Adapter for > WebSphere to be able to use MDBs with ActiveMQ > > see > http://activemq.apache.org/j2ee.html > > 2008/10/1 rmh1 : >> >> Hi All, >> >> I am trying to create a simple application (as an .ear) - the application >> has a MDB that listens to a queue, when a message comes in, it looks in a >> response folder and writes a message to a response queue. >> >> >> I am deploying on Websphere App Server, and have set up the ActiveMQ config >> linking the queues with WAS. I write a message to my input queue, i can see >> from teh logs that it is picked up by the MDB, identified and a response >> message is found and it then tries to write the message to the response >> queue but it fails. >> >> I know the queue and its config is working fine as i can use the same queue >> for other apps - so my thought is, although i have added my JNDI properties >> to WAS (hence the inbound queue/listener operations work) do I also need to >> add my jndi.properties to my .EAR file also? >> >> >> If this is the case, how can I do this? I have read that sometimes it is >> possible to make a .jar of the file and include that... is it possible to >> create a .jar from just a properties file? >> >> Thanks! >> -- >> View this message in context: http://www.nabble.com/Adding-the-JNDI.properties-file-to-an-enterprise-application-tp19758417p19758417.html >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> >> > > > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com