Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 58636 invoked from network); 6 Dec 2006 03:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 03:19:00 -0000 Received: (qmail 20748 invoked by uid 500); 6 Dec 2006 03:19:08 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 20733 invoked by uid 500); 6 Dec 2006 03:19:08 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 20724 invoked by uid 99); 6 Dec 2006 03:19:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 19:19:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.235.254.11] (HELO exodus.exist.com) (209.235.254.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 19:18:56 -0800 Received: from [192.168.18.101] (cpe-76-169-6-105.socal.res.rr.com [76.169.6.105]) (authenticated bits=0) by exodus.exist.com (8.13.1/8.13.1) with ESMTP id kB63IPPE011739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Dec 2006 22:18:28 -0500 Message-ID: <45763680.7070908@exist.com> Date: Wed, 06 Dec 2006 11:18:24 +0800 From: Adrian Co User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: activemq-users@geronimo.apache.org Subject: Re: OpenJMS Alpha and Active MQ jmeter tests References: <61493ADB56015841AE62CAADE37071CC3560E2@exbehq02.Interwoven.com> <4575A8F4.9040305@exist.com> In-Reply-To: <4575A8F4.9040305@exist.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ooops, my bad, this is an issue with either openJMS or jmeter. Maybe you should try their maliing list. Adrian Co wrote: > Can you file a jira for this? I wasn't aware of a restriction to use > JNDI to lookup topics... > > Hemant Gaur wrote: >> Hi, >> I am trying to run the jmeter performance tests on the OpenJMS. Though I >> am able to get the tests running and results for release version there >> is an exception thrown in the duable/persistant subscriber for the >> OpenJMS alpha. >> Mismatched destination properties for destination with >> name=TOOL.DEFAULT.TOPIC0 >> at >> org.exolab.jms.messagemgr.ConsumerManagerImpl.getDestination(ConsumerMan >> agerImpl.java:772) >> at >> org.exolab.jms.messagemgr.ConsumerManagerImpl.createInactiveDurableConsu >> mer(ConsumerManagerImpl.java:571) >> at >> org.exolab.jms.messagemgr.ConsumerManagerImpl.createDurableConsumer(Cons >> umerManagerImpl.java:345) >> at >> org.exolab.jms.server.ServerSessionImpl.createDurableConsumer(ServerSess >> ionImpl.java:343) >> at >> org.exolab.jms.server.net.RemoteServerSession.createDurableConsumer(Remo >> teServerSession.java:245) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav >> a:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >> Impl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553) >> at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511) >> at >> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown >> Source) >> at java.lang.Thread.run(Thread.java:595) >> >> >> ON searching i found the explaination for this (By Tim Anderson): >> ======================================================== >> The topic you are using doesn't have the same properties as >> a destination with the same name, being managed by the server. >> This will typically happen if you have used the >> TopicSession.createTopic()method giving a name for a topic that is >> persistent on the server. For persistent topics, you should look them up >> using JNDI. >> -Tim >> ========================================================== >> >> As I dont build the JMeter or OpenJMS locally and hence have no control >> over the source. I have this topic populated using the OpenJMS config >> file using >> >> >> >> >> >> Can there be any settings which makes me work this with the alpha >> version. Things are already working with the same test case using the >> OpenJMS release version. >> >> >> Relevant code from the openJMS ConsumerManagerImpl.getDestination() >> ------------------------------------------------------------ >> if(!destination.getClass().getName().equals(existing.getClass().getName( >> ))) >> throw new InvalidDestinationException("Mismatched >> destination properties for destination with name=" + name); >> if(existing.getPersistent() != destination.getPersistent()) >> throw new InvalidDestinationException("Mismatched >> destination properties for destination with name=" + name); >> >> ------------------------------------------------------------ >> >> Thanks, >> Hemant Gaur >> >> >