What does the following command output from the system where you are running the client:
And what command did you use to start the server?
By the way, i just noticed that the exception stacktrace shows this:
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:332)
which doesn't look right to me. Are you sure your jndi.properties is being picked up in the classpath? You can try deleting that file and if you still see this exact same error then your jndi.properties is
not being picked up.