PunitS66 Member since 2015 3 posts
Posted: 4 years ago
Last activity: 4 years ago

Connect JMS in Tomcat 6.0.37 via Resource Reference

I am trying to Connect-JMS to a tibco queue using a P2P connection. I have created following entries in:

1)   /prweb/WEB-INF/web.xml

 <resource-ref id="ResourceRef_11">
        <description>location of JMS Connection Queue</description>          

2) /tomcat/Context.xml --> XXXXXXX mentioned below is replaced with the actual URL which is working fine with the Direct JNDI lookup in the JNDI Server Rule

<Resource name="jms/QueueConnectionFactory"

3) /tomcat/conf/Server.xml

    <Resource name="jms/QueueConnectionFactory"

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.


Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn