This content has been marked as final.
Show 2 replies
-
1. Re: jndi.properties and RMI
jaikiran Aug 14, 2008 3:14 AM (in response to jagdeep)How have you ensured that the app1 and app2 servers use their own ports? Have you used the Service Bindind Manager http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Additional_Services-Services_Binding_Management.html
-
2. Re: jndi.properties and RMI
jagdeep Aug 14, 2008 10:16 AM (in response to jagdeep)yes, I have. I am using the default for app1 and 'port-01' for app 2, so the default ports are 1099 and 1199.
So finally what I did was, since I wanted custom ports, I changed these to the custom ports (in jboss-service.xml for app1 and my-bindings.xml for app2 ) and now thigns appear to be working.
But best practise wise, where should one define these ports? in the jboss-service.xml, custom-bindings.xml or jndi.properties?
Thanks,