cf = (ConnectionFactory)ic.lookup("ConnectionFactory");
cf = (ConnectionFactory)ic.lookup("/ConnectionFactory");
   protected void setup() throws Exception   {      //Hardcoded for now - needs to be configurable if it's to work with non jboss      //jms providers            if (log.isTraceEnabled())      {         log.trace("server url is " + serverURL);      }      Hashtable env = new Hashtable();      env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");      env.put("java.naming.provider.url", serverURL);      env.put("java.naming.factory.url.pkg", "org.jboss.naming:org.jnp.interfaces");            ic = new InitialContext(env);            dest = (Destination)ic.lookup(destName);            cf = (ConnectionFactory)ic.lookup("ConnectionFactory");         }