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 clients you would cast to the specific
domain type (ie Queue/Topic).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961029#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...