Greetings, I have an MDB that sends email out. All I am trying to do is to send Message to MDB from my SLSB.
__part of session bean tag in ejb-jar.xml__ <resource-ref> <res-ref-name>jms/QueueConnectionFactory</res-ref-name> <res-type>javax.jms.QueueConnectionFactory</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> __jboss.xml__ <enterprise-beans> <ejb-name>MemberManager</ejb-name> <jndi-name>ejb/MemberManager</jndi-name> <ejb-name>Members</ejb-name> <jndi-name>ejb/Members</jndi-name> <message-driven> <ejb-name>EmailMDB</ejb-name> <destination-jndi-name>queue/N4EmailQ</destination-jndi-name> </message-driven> </enterprise-beans> <resource-managers> <resource-manager> <res-name>mail/N4Email</res-name> <res-jndi-name>java:/Mail</res-jndi-name> </resource-manager> <resource-manager> <res-name>jms/QueueConnectionFactory</res-name> <res-jndi-name>java:/JmsXA</res-jndi-name> </resource-manager> </resource-managers> Now, whne i try to lookup queue factory qFactory = (QueueConnectionFactory) ctxt.lookup("jms/QueueConnectionFactory"); I got an error - "jms not bound". Is there anything else i need to do with my configuration? Any help is appreciated. - Navjot Singh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835310#3835310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835310 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user