I  added the code  in  ejb-jar.xml 

<resource-ref>
 <res-ref-name>jms/PointToPoint</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>

<resource-env-ref>
<resource-env-ref-name>queue/testQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>


Object obj=ctx.lookup("queue/testQueue") 
Still failed to lookup Queue.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862205#3862205

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862205


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to