Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 96178 invoked from network); 28 Apr 2009 06:08:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Apr 2009 06:08:06 -0000 Received: (qmail 74200 invoked by uid 500); 28 Apr 2009 06:08:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74134 invoked by uid 500); 28 Apr 2009 06:08:06 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 74124 invoked by uid 99); 28 Apr 2009 06:08:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 06:08:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.169.137.254] (HELO h57067.serverkompetenz.net) (81.169.137.254) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 06:07:56 +0000 Received: from h57067.serverkompetenz.net (unknown [127.0.0.1]) by h57067.serverkompetenz.net (Postfix) with ESMTP id 5E493802B0 for ; Tue, 28 Apr 2009 06:07:34 +0000 (UTC) Received: from [192.168.178.30] (unknown [88.133.4.235]) by h57067.serverkompetenz.net (Postfix) with ESMTP for ; Tue, 28 Apr 2009 06:07:34 +0000 (UTC) Message-Id: <1ABDCB8F-A9E6-492F-93E1-AC5666CD2C7F@soa-knowledge.net> From: Andreas Gies To: users@activemq.apache.org In-Reply-To: <23263958.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Please help:Again about ActiveMQ intigration with Websphere 6.1 Date: Tue, 28 Apr 2009 08:07:33 +0200 References: <23263958.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi there, it seems, that your Queue cannot be located in the JNDI store. On the first glance I find it unusual that in an AppServer context you are using the ActiveMQ JNDI store. However, when you are using that, you must be sure, that the jndi.properties file where you have defined your JMS administered objects can be found on the classpath. This having said, I would find it more natural to use the JNDI store that comes with the app server. I don't know WebSphere from the top of my head, but that should be easy to find in the docs. You can either use a management GUI to define those objects or use a small program, that creates the ActiveMQ objects on the fly and stores them in WebSphere JNDI. Hope that helps Andreas On Apr 27, 2009, at 10:09 PM, Websphere and ActiveMQ wrote: > > I have already configurated ActiveMQ in Websphere 6.1 as someone > described > here, but when I re-started websphere, the following error is > appeared: > ####### error ########## > Content: JndiLookupInfo: jndiName="MyReceiveQueue"; > providerURL="tcp://localhost:61616"; > initialContextFactory > ="org.apache.activemq.jndi.ActiveMQInitialContextFactory" > Address Type: IndirectJndiLookupAdditionalProperties > AddressContents: ffffffac ffffffed 0 5 73 72 0 14 6a 61 76 61 2e 75 > 74 69 6c > 2e 50 72 6f 70 65 72 74 69 65 73 39 12 ffffffd0 7a ... > > Exception data follows: > javax.naming.NameNotFoundException: MyReceiveQueue > at > org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java: > 225) > at javax.naming.InitialContext.lookup(InitialContext.java:363) > at > com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory > $1.run(IndirectJndiLookupObjectFactory.java:375) > at > com > .ibm > .ws > .security.util.AccessController.doPrivileged(AccessController.java: > 118) > at > com > .ibm > .ws > .naming > .util > .IndirectJndiLookupObjectFactory > .getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221) > at > com > .ibm > .ws > .naming > .util.Helpers.processSerializedObjectForLookupExt(Helpers.java:893) > at > com > .ibm > .ws > .naming.util.Helpers.processSerializedObjectForLookup(Helpers.java: > 705) > at > com > .ibm > .ws > .naming > .jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:2093) > at > com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java: > 1947) > at > com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java: > 1862) > at > com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java: > 1552) > at > com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java: > 1354) > at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172) > at javax.naming.InitialContext.lookup(InitialContext.java:363) > at > com > .ibm > .ejs > .jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java: > 235) > at > com > .ibm > .ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java: > 727) > at > com > .ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java: > 700) > at > com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java: > 1035) > at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) > ############################### > Could anyone tell me what's the error, do I need to do some extra > work on > ActiveMQ end or Websphere End. > Thanks. > > -- > View this message in context: http://www.nabble.com/Please-help%3AAgain-about-ActiveMQ-intigration-with-Websphere-6.1-tp23263958p23263958.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >