Hi Nirav Pandya, 

so you are trying to lookup a QueueConnectionFactory in the scope of SSB.

Possibly you missed to declare the QueueConnectionFactory as an external 
resource.

We are using XDoclet/EJBDoclet for that.

So in the related SSB i have :

For QueueConnectionFactory:

 * @ejb.resource-ref
 *      res-ref-name="jms/QueueConnectionFactory"
 *      res-type="javax.jms.QueueConnectionFactory"
 *      res-auth="Container" 

For jms-queues addressed by the SSB:

 * @ejb.resource-ref
 *      res-ref-name="jms/MCorrelatorReceiver"
 *      res-type="javax.jms.Queue"
 *     res-auth="Container"

... and furthermore:

 * @jboss.resource-ref 
 *      res-ref-name="jms/QueueConnectionFactory"
 *      resource-name="queuefactoryref"
 * @jboss.resource-manager 
 *       res-man-name="queuefactoryref" 
 *       res-man-jndi-name="java:/JmsXA"

.. finally, but think that's clear:

 * @jboss.clustered cluster="true"
 * @jboss.container-configuration name="Clustered_SSB"


I make the lookup using: "java:/JmsXA" to get the QueueConnectionFactory.

Best Regards
Reinhard





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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to