4) In addition to above I have created a Connect JMS rule in Pega in which I am trying to do a Resource Reference look up as java:comp/env/jms/QueueConnectionFactory. I also tried to perform a lookup via '/jms/QueueConnectionFactory', but that too didn't worked.
This connection always throws an execption when I try to do a test connectivity via the Connect-JMS Rule.
JNDI lookup of JMS connection factory 'QueueConnectionFactory' failed: javax.naming.NameNotFoundException: Name QueueConnectionFactory is not bound in this Context
Alternatively, If i try to do the same via Direct JNDI Lookup and specify the same TCP url, username and password in the JNDI Server Rule, I am able to connect Successfully.