activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Use of jndi.properties with activemq?
Date Mon, 14 Sep 2009 13:36:03 GMT

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/






Mime
View raw message