Modified the code to get the port from NamingServiceMBean to build the provider URL.
Authored by: saravanan1181 2012-09-10
Parent: [r6336]
Child: [r6338]