Ok I spotted one mistake and that was that I had receive queue and not request queue populated in my Point to Point setup.

Now I see messages in my queue. Eureka !!!

On Sep 14, 2009, at 8:36 AM, Rob Davies wrote:


On 14 Sep 2009, at 14:27, Robert Nicholson wrote:

When using org.apache.activemq.jndi.ActiveMQInitialContextFactory will it ever look for a local jndi.properties file?

I'm trying to get JMeter working with the JMSSampler and I keep getting a classcastexception when it does the lookup

2009/09/13 21:35:43 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.ClassCastException: org.apache.activemq.jndi.ReadOnlyContext
cannot be cast to javax.jms.Queue







Yes - if it can find it on its classpath - see 
http://activemq.apache.org/jndi-support.html

cheers,

Rob

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/






Reply via email to