Hi Kamalesh,
As suggested by Prthvi, the host file entry should resolve your issue. However, if somehow it doesn't work you can try adding the request port to each CMS server as follows:
- Open CCM. Stop the Server Intelligent Agent (SIA). Select SIA Properties. Go to Start-up tab. Select each CMS listed, local and remote. Select properties. Add the following to the command line of each CMS.
-requestport:<port>
Apply the changes. Start the SIA.
This will register the service provider with the service locator with its fully qualified domain name and will listen for requests on the specified port.
What basically happens is:
When you logon from your Java SDK application you specify the fully qualified domain name to the CMS server because the CMS server stands on different domain. The logon call immediately errors out but error shows that server lookup is done using server shortname.
The CMS has two main purposes: one is as a service locator, and the other as a service provider. The service locator (port 6400 by default) is there essentially to redirect requests to the appropriate server. The service provider actually provides the CMS service (such as InfoStore) and it is by default on a port selected randomly by the OS (You can force the service provider to use a specific port using -requestport in the CMS command line options).
When the logon call is made it is actually the CMS service locator that is passed in the logon method call. That goes through fine. CMS service locator then sends back a list of all CMS service providers available on the system. But the CMS service provider by default registers itself with the service locator using its shortname. So the service locator sends all the CMS service providers to the SDK but the host name is its shortname. The SDK receives the CMS shortnames. It randomly selects one of them to log on. But since it is shortname, it does a hostname lookup. The BO server is on a different domain therefore the DNS lookup fails, since shortname to a different domain is not registered.
Hope this helps.
Regards,
Rajarsh