Hi,
We have PB 12.5.2(5006) & EAServer6.3.1 configred to run window and web applications.
PB application running on server1 is failing to connect running server2 at run time.
Detailed Issue:
We have multiple servers configured on EAServer6 to run for various purposes. While running client on server(ex. server1 on port 8000\9000) has to connect other running server(server2 on port 8001\9001) at run time. So to connect we are passing the parameters from the registry:
parameters are:
server host:iiop\\localhost:8001
password = password
userid = admin or admin@system.
Taking these parameters(from registry) PB tries to connect the server2 through script stated below, even the running server1 through PB connects using the same script, it's just that PB when tries to connect another server2 at runtime it fails.
ll_ret = RegistryGet(key, "ior", RegString!, ls_ior)
ll_ret = RegistryGet(key, "pw", RegString!, ls_pw)
ll_ret = RegistryGet(key, "userid", RegString!, ls_userid)
connectionobject.Application = ''
connectionobject.Driver = 'jaguar'
connectionobject.UserID = ls_userid
connectionobject.Password = ls_pw
connectionobject.Location = ls_ior
ll_ret =connectionobject.connecttoserver()
Connection fails throwing error as:(allthough the server on port 9001 was up and running)
2015-01-16 10:37:45.747 INFO btpool0-0 [JaguarServer] NLWNSCK-Library Error 5: new_JagIIOPSocket: ipd_connect failed
2015-01-16 10:37:45.747 INFO btpool0-0 [JaguarServer] new_JagIIOPSocket: ipd_connect(localhost:9001) failed
2015-01-16 10:37:48.739 INFO btpool0-0 [JaguarServer] NLWNSCK-Library Error 5: new_JagIIOPSocket: ipd_connect failed
2015-01-16 10:37:49.740 INFO btpool0-0 [JaguarServer] localhost:9001 - Connection refused
2015-01-16 10:37:49.740 INFO btpool0-0 [JaguarServer] (BAX) FATAL [n_edc_server.of_set_defaultsessionforuser] : Error connecting to server, Connection object error - 'This connection object is not connected to a server.', ErrorCode = 57
Please note that the same method and piece of code works fine in PB 10.5 & EAS5.5.
Does anyone has come across such issue. I have been trying all the ways to fix it but no luck yet.
Thanks in advance
Regards,
Kunal