on 06-05-2015 11:43 AM
Hi Everyone,
I am using the SAP BusinessObjects Enterprise XI 4.0 Edge edition on a virtual machine with Windows server 2012.
I am able to call RESTful services from a remote system but while trying to use the Java SDK, I am getting the following error:
Could not reach CMS. Specify the correct host and port and check for network issues. (FWM 20030)
I am getting this error while logon:
enterpriseSession = sessionMgr.logon(username, password, cmsConnection, auth);
I have made sure that the ports 6400-6410 are open on the Virtual machine. I also tried to restart the servers. But nothing helped.I am unable to find a solution from existing forums. Can someone please help me out?
Try using the ip address of the BO edge server instead of host name and check the results. Let us know if you still have issues.
Something like
enterpriseSession = sessionMgr.logon("user", "password", "ip-address:6400", "secEnterprise");
Thanks,
Prithviraj Shekhawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems machine your are running the java code cannot resolve the hostname returned from the destination CMS, so you can run nslookup for both IP address and hostname of CMS server from the local machine and check if its getting resolved.
If it doesn't resolve you can do the host file entries on the local machine and check. The host file entry should be with IP address space hostname
some thing like
ip-address hostname
Thanks,
Prithvi
SDK's work the similar way for edge as it works for full enterprise version. Its just that you should have the correct jar files from the server version you are using in your application.
The issue you are getting is specific to network. Try to trace the network and check what is happening there.
Also try to ping and telnet the BO edge server and check the results. You need to trace the network to find out the root cause.
Thanks,
Prithvi
Following is the trace I get on using tracert 192.168.2.40:
1 289 ms 291 ms 286 ms 172.27.224.129
2 304 ms 303 ms 297 ms 10.10.10.10
3 305 ms 304 ms 302 ms 10.0.1.1
4 300 ms 294 ms 296 ms ALATIONSERVER [192.168.2.40]
Trace complete.
This suggests that the network is fine, correct?
Regards,
Anuranjan
Ok that clears any issues with the application. Now it comes down to network.
Do host port mapping on both BO Edge server and Application server which is your local machine
On BO edge server in the host file enter the ip address and host name of your local machine and on the local machine of that of BO server. Test and let us know the results.
Thanks,
Prithvi
I installed wire-shark to analyse the network packets, and saw that two more ports (49183 and 49184) needed to be opened apart from 6400-6410. It was not able to resolve AlationServer.alationdata.local. Once I opened those two ports and mapped AlationServer.alationdata.local to the IP of the VM, it worked.
But still, I just don't know why it is expecting the host as AlationServer.alationdata.local. During the installation, I did not configure this.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.