[jboss-user] [JCA/JBoss] - Re: Lookup of ConnectionFactory from standalone client retur

2006-07-26 Thread jaikiran
Thanks for the info, Weston Price. That helped. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961040#3961040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961040 ___ jboss-u

[jboss-user] [JCA/JBoss] - Re: Lookup of ConnectionFactory from standalone client retur

2006-07-26 Thread [EMAIL PROTECTED]
The JMS/JCA adapter is meant to be used exclusively in a managed environment (ie Servlets/EJBs). To get a JMS connection in a standalone client you want to use ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("ConnectionFactory"); Note, the above is for JMS 1.1. For JMS 1.0.1b c