"Matrix1234" wrote : | // retrieve queue | Queue queue = (Queue)context.lookup("A"); |
Instead, do the following: // retrieve queue | Queue queue = (Queue)context.lookup("queue/A"); "Matrix1234" wrote : | N.B : do i need to restart Jboss everytime ? i did not do it though. becoz i have not deployed..and i am running from command line. No, you need not restart jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906513#3906513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906513 ------------------------------------------------------- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user