2 Replies Latest reply on May 2, 2007 7:20 AM by Sergey Koshcheyev

    Problem with performance tests

    Sergey Koshcheyev Newbie

      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?