Jayaprakash P [
https://community.jboss.org/people/jp_b4u] created the discussion
"How to Configure TopicConnection Factory in JBOSS 5.1 ?"
To view the discussion, visit:
https://community.jboss.org/message/784454#784454
--------------------------------------------------------------
Iam Migrating my aplication from Jboss 4.2 to Jboss 5.1 .
In Jboss 4.2 we configured Connection Factories in uil2-service.xml
file.
Can any one please tell me in Which JBOSS 5.1 xml file need to Configure COnnection
factory JNDI name and other details.
Source :
InitialContext iniCtx = new InitialContext();
Object tmp = iniCtx.lookup("BLOTTER_CONNECTIONFACTORY");
TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;
conn = tcf.createTopicConnection();
Error:
ERROR [STDERR] javax.naming.NameNotFoundException: BLOTTERS_CONNECTION_FACTORY
not bound
Please give some examples or links to examples.
Thanks in Advance.
Prakash
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/784454#784454]
Start a new discussion in JNDI and Naming at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]