Hello Pannu,
I am running at the same problem as you when Im trying to connect to another remote instance of JBoss.
I am able to find the Queue and RemoteConnectionFactory using JNDI, but I get the same exception as you when I try to create a connection.
queueConnectionFactory.createQueueConnection("user", "password");
I am still looking to solve this, so please let me know if you found the solution.
Thanks.