I have successfully deployed the bean on JBoss Server and prepared a client application but it throws Exception When it comes at ic.lookup() Statement
The Error Reason as shown by toString() Function is
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment;nested exception is: java.net.SocketTimeoutException: Read timed out]