rmi connection now working fine