You should have a look to the ServiceBinding page.
It is easier to change the configuration here in one point.
What might happen in your case is autodiscovery, as you did not configure the discovery address this will be the fallback if you can not get a connection to the server defined by provider.url.
you should set 'jnp.disableDiscovery=true' to avoid it.
Hi I got the solution for this problem.
Here i didnt change EJB Service Port.
jboss-5\server\default\deploy\ejb3-connectors-jboss-beans.xml from 3873 to some other like (2873).
Actually my problem in that post is,
EJB Service is registering with first server, becuz i am making request binding with this EJB Service post.
Now i got the solution.
you have one solution but the one suggested bu Wolf is over all the better one - edit in one place