[jboss-user] [Clustering/JBoss] - @Resource injection from HA-JNDI
relgames
do-not-reply at jboss.com
Tue May 22 14:35:33 EDT 2007
Hello!
We have Jboss 4.0.5 GA with ejb3-clustered and HA-JMS.
When we run 2 nodes, first node works ok, but second don't see Queues from HA-JNDI.
Queues are injected into beans using @Resource annotation, and when this bean is running on the same node with master HA-JNDI, all ok.
But it can't inject Queue on the second node.
When we try to use InitialContext with jnp.provider.url configured, all works fine - HA-JNDI is used.
But how to enable HA-JNDI lookup for @Resource annotation?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047673#4047673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047673
More information about the jboss-user
mailing list