Failed to authenticate user : Port out of range: -1

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Failed to authenticate user : Port out of range: -1

Post by pneumalin »

Friends,
I am working on DataStage Mainframe components /OS390 server 8.1 installed in Windows 2003 Server. We have no problem for the first TWO clients to connect to the server, but we started to get the connect error as followings:
Failed to authenticate user from selected domain. Port out of range: -1

java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:101)
at java.net.Socket.<init>(Socket.java:215)
at com.ascential.acs.security.auth.JAASAuthenticationService.connect(JAASAuthenticationService.java:672)
at com.ascential.acs.security.auth.JAASAuthenticationService$WASServer.init(JAASAuthenticationService.java:572)
at com.ascential.acs.security.auth.JAASAuthenticationService.loginImpl(JAASAuthenticationService.java:321)
at com.ascential.acs.security.auth.JAASAuthenticationService.login(JAASAuthenticationService.java:160)
at com.ascential.acs.security.auth.client.AuthenticationService.doLoginImpl(AuthenticationService.java:879)
at com.ascential.acs.security.auth.client.AuthenticationService.doLogin(AuthenticationService.java:365)
--------------------------------------------------------------------------------

We used port number 9080 in the server for client to connect, and we have checked the license file with 5 concurrent login, and we have ensured the 3rd client laptop having the same firewall setup with the first 2 laptops, and the problem still persists. I have opened a PMR with IBM on this, and thought someone may be able to shed some light on some other things to try.
Any advise is appreciated, and I shall update this topic once IBM comes back to me with insides.
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

Friends,
I opened a ticket with IBM for two weeks, but they cannot answer my questions. However, I found out the solution a while ago.
Simply add an entry to detail the Host name and IP address in your
C:\Windows\system32\driver\network\hosts of local machine. The problem will be solved. This is because our DataStage server is NOT managed by domain server, and it can only broadcast itself using its own computer name. Therefore all the client request have to specify the real IP address and host name by connection.
iHijazi
Participant
Posts: 45
Joined: Sun Oct 24, 2010 12:05 am

Post by iHijazi »

What you did is correct, obviously.

Had the same problem and I knew about this hosts file before and an entry should be added, and I did add one, but still faced the same problem.

Thing is the IS is installed on RH server, and the hostname was redhat_ds.localdomain

I only added redhat_ds and it gave me that error, randomly I put .localdomain, and it seems things got back to work again, and life is beautiful once again :)

Cheers and thanks for sharing this.
ds2000
Premium Member
Premium Member
Posts: 109
Joined: Sun Apr 22, 2007 7:25 pm
Location: ny

Worked for me as well

Post by ds2000 »

Hi Guys thanks for your post. I did same as i added IP and HOST NAME in c:/windows/system32/network/etc/hosts file and my client started working. By the way where i can find the total # of licenses available
?
Post Reply