I have successfully deployed the bean on the JBoss Server
I am able to get InitialContext Object but When the server comes at ic.lookup() statement it waits for some seconds and afterwards the following Exception is thrown as shown by toString() Function
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment;nested exception is: java.net.SocketTimeoutException: Read timed out]
DO NOT CROSS POST.
NOW ADD A LINK TO THE OTHER POST WHERE I ANSWERED YOUR QUESTION
SO THAT OTHERS CAN BENEFIT
Regards,
Adrian