Need help for Tomcat Resource elements for TIBCO EMS connectivity
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   MURTHY_NALLURI
Posted On:   Wednesday, September 29, 2010 07:25 AM

Currently the below entries are related to MQ through Tomcat context.xml and I am looking for the similar entries for Tibco EMS connectivity. 1. The below tag for MQ Connection Factory in the tomcat context.xml: name="jms/JMSQCF" auth="Container" type="com.ibm.mq.jms.MQQueueConnectionFactory" factory="com.ibm.mq.jms.MQQueueConnectionFactory" description="JMS Queue Connection Factory for sending messages" HOST="hostsystemaddress" PORT="1414" TRAN="1" QMGR="AA1"/> Query : What is the equivalent entry for Tibco    More>>

Currently the below entries are related to MQ through Tomcat context.xml and I am looking for the similar entries for Tibco EMS connectivity.


1. The below tag for MQ Connection Factory in the tomcat context.xml:



name="jms/JMSQCF"

auth="Container"

type="com.ibm.mq.jms.MQQueueConnectionFactory"

factory="com.ibm.mq.jms.MQQueueConnectionFactory"

description="JMS Queue Connection Factory for sending messages"

HOST="hostsystemaddress"

PORT="1414"

TRAN="1"

QMGR="AA1"/>



Query : What is the equivalent entry for Tibco JMS?



2. The below tag for MQ queue in the tomcat context.xml



name="jms/GENERIC.REQUEST"

auth="Container"

type="com.ibm.mq.jms.MQQueue"

factory="com.ibm.mq.jms.MQQueueFactory"

description="JMS Queue for putting messages"

QU="JMS.AA.GENERIC.REQUEST"/>



Query : What is the equivalent entry for Tibco JMS?



3. The below tag for MQ connection factory in the tomcat web.xml



jms/JMSQCF

javax.jms.QueueConnectionFactory



Query : I guess this is similar for Tibco also if not What is the equivalent entry for Tibco JMS?



4. The below tag for MQ Queue in the tomcat web.xml



jms/GENERIC.REQUEST

javax.jms.Queue



Query : I guess this is similar for Tibco Queue also if not What is the equivalent entry for Tibco JMS?



If the above email is not clear then I request you to provide some sample Tomcat Resource entries for Connection Factory and Queue to connect to Tibco.



Please help me in this scenario to connect to Tibco EMS through Tomcat resource elements.

   <<Less

Re: Need help for Tomcat Resource elements for TIBCO EMS connectivity

Posted By:   a_k  
Posted On:   Tuesday, November 2, 2010 03:07 PM

Hi,

I am trying to do the same thing want to configure the TIBCO EMS on Tomcat, I am getting NULL in my ConnectionFactory.







factory="com.tibco.tibjms.naming.TibjmsObjectFactory"
brokerURL="tcp://localhost:7222" serverUrl="tcp://localhost:7222" brokerName="localhost" username="admin" password="admin" />


My java code is like below:

InitialContext c = new InitialContext();
Context envContext = (Context) c.lookup("java:comp/env");
ConnectionFactory cf = (ConnectionFactory) envContext.lookup("jms/ConnectionFactory");



I am getting Null into my Connection Factory.

Do you have any luck with this configuration? please let me know. Thanks much. AK
About | Sitemap | Contact