Hello.
I am using WAS 5.0.
I try to call an
EJB in WAS from a batch-program (with Main) using
an ordinary jndi-lookup (
iiop://hostname).
I get the error "connection refused to host" and "java.net.ConnectException: Connection refused".
I have tried both with the batchprogram residing on the same host as WAS and a host different from where the WAS is installed.
I have not enabled security or SSL on WAS. I have not changed any of the securitysettings in WAS since installation.
I wonder if the sas.client.props - file could be the problem ?
(in this file I made this change: com.ibm.CORBA.securityEnabled=false,
and I put in userid/pw for the variables: com.ibm.CORBA.loginPassword and com.ibm.CORBA.loginUserid)
In my .bat fil e for the batchprogram I refer to the sas.client.props with the statement: -Dcom.ibm.CORBA.ConfigURL="file:/C:/mydir/sas.client.props"
Is there anybody that could give me a hint on what I could check or do ?