IBM InfoSphere Client v8.7: Failed to authenticate the current user against the selected Services Tier

The installation of IBM InfoSphere Client v8.7 on Windows 7 went very smooth without any warning and error.

But while I gave credentials of my host to attach a project I received following error:

SCR-021

SCR-018

Problem

Failed to authenticate the current user against the selected Services Tier

The URL [iiop://lpar5:2825] that is used to connect to the host [172.21.X.X] on the port [9080] is incorrect or is not trusted. To trust the connection, import the signer certificate into the local truststore, by running the following UpdateSignerCerts command: UpdateSignerCerts{.sh|.bat} -host 172.21.X.X -port 9080

Exception stack trace:

com.ascential.acs.security.auth.JNDILoginException: The URL [iiop://lpar5:2825] that is used to connect to the host [172.21.X.X] on the port [9080] is incorrect or is not trusted. To trust the connection, import the signer certificate into the local truststore, by running the following UpdateSignerCerts command: UpdateSignerCerts{.sh|.bat} -host 172.21.X.X -port 9080
	at com.ascential.acs.security.auth.JAASAuthenticationService.loginImpl(JAASAuthenticationService.java:345)
	at com.ascential.acs.security.auth.JAASAuthenticationService.login(JAASAuthenticationService.java:148)
	at com.ascential.acs.security.auth.client.AuthenticationService.doLoginImpl(AuthenticationService.java:866)
	at com.ascential.acs.security.auth.client.AuthenticationService.doLogin(AuthenticationService.java:350)
Caused by: com.ibm.is.isf.j2ee.J2EEClientException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "iiop://lpar5:2825".  Make sure that any bootstrap address information in the URL is correct and that the target name server is running.  A bootstrap address with no port specification defaults to port 2809.  Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration.
	at com.ibm.is.isf.j2ee.impl.was.WASJ2EEClient.initRuntime(WASJ2EEClient.java:99)
	at com.ascential.acs.security.auth.JAASAuthenticationService.loginImpl(JAASAuthenticationService.java:311)
	... 3 more
Caused by: java.net.UnknownHostException: lpar5
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:227)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
	at java.net.Socket.connect(Socket.java:539)
	at java.net.Socket.connect(Socket.java:488)
	at java.net.Socket.(Socket.java:385)
	at java.net.Socket.(Socket.java:199)
	at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:270)
	at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
	... 25 more

Solution

It’s quite clear from the exception but it took time to figure out. We have to add a entry in the hosts file of Windows (present at: C:\Windows\System32\drivers\etc).

Open notepad or any of your favourite editor with administrator privileges (Run As Administrator) and open hosts file and edit.

Save this file and open Designer Client again. This time it will fetch projects.

SCR-020

Related Posts Plugin for WordPress, Blogger...