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