Maurizio Moscatelli [
http://community.jboss.org/people/topizio] created the discussion
"Re: Issue with HA JNDI and Singleton MDB"
To view the discussion, visit:
http://community.jboss.org/message/580315#580315
--------------------------------------------------------------
Hi guys,
I've just change the *ejb-jar.xml* as
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>ServiceHandler</ejb-name>
*
<destination-jndi-name>queue/ServiceHandler</destination-jndi-name>*
<resource-ref>
<res-ref-name>queue/ServiceHandler</res-ref-name>
*
<jndi-name>jnp://${jboss.bind.address}:1100/queue/ServiceHandler</jndi-name>*
</resource-ref>
</message-driven>
</enterprise-beans>
<resource-managers>
</resource-managers>
</jboss>
and added in *jndi.properties* those two lines:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
*java.naming.provier.url=host1:1100,host2:1100*
*jnp.disableDiscovery=true*
and now the queues seems to work perfectly.
This configurasion work for JBoss Application Server 4.2.3 on Windows 2008 and two servers
with different network subnet.
Thanks you anyway.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/580315#580315]
Start a new discussion in JNDI and Naming at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]