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#3961029

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961029
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to