Removed broken import and passed hostname to RMIThread instead of args array