Hi,
I still get the javax.naming.NameNotFoundException: QueueConnectionFactory not
bound exception When I start my app server(jboss 3.2.3).
Here is the code snippet in my MBean
InitialContext ctx = new InitialContext();
QueueConnectionFactory qconFactory = (QueueConnectionFactory)
ctx.lookup("QueueConnectionFactory");
QueueConnection qcon = qconFactory.createQueueConnection();
QueueSession qsession =
qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
Queue queue = (Queue) ctx.lookup(QUEUE);
QueueReceiver qreceiver = qsession.createReceiver(queue);
and here in the jboss-service.xml
---------------------------------------
jboss.mq:service=InvocationLayer,type=UIL2
jboss.mq.destination:service=Queue,name=testQueue
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896149#3896149
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896149
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user