Watching in your MDB code your are lookuping always on HAJndi ()
prop.put(Context.PROVIDER_URL, "localhost:1100");
So local JNDI names will not discovered.
So you should lookup in local JNDI too.
ObjectName rService = new ObjectName("jboss:service=HAJNDI");
ObjectName rService = new ObjectName("jboss:service=Naming");
And retreive the correct port Adapter.getAttribute(rService, "Port"); via RMI.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872190#3872190
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872190
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user