[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Problem with performance tests

sergeypk do-not-reply at jboss.com
Mon Apr 30 11:34:32 EDT 2007


I'm trying to get the performance framework to work and I'm having a problem with this JNDI lookup in JobSupport.initialize:
destination = (Destination)ic.lookup(destinationName);

When run against JBossMQ using the remote executor, ic.lookup returns a javax.naming.Reference instead of javax.jms.Destination, and thus the code throws a ClassCastException. When run against JBoss Messaging, both local (colocated) and remote, or against JBossMQ colocated, everything is fine. What can be the problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041883#4041883

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041883



More information about the jboss-dev-forums mailing list