[jboss-user] [JNDI and Naming] - How to Configure TopicConnection Factory in JBOSS 5.1 ?

Jayaprakash P do-not-reply at jboss.com
Fri Dec 21 06:17:21 EST 2012

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 [STDERR] javax.naming.NameNotFoundException: BLOTTERS_CONNECTION_FACTORY not bound

     Please give some examples or links to examples.

Thanks in Advance.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121221/bebebe92/attachment.html 

More information about the jboss-user mailing list