Hi, I am having a problem using InitialContext for lookup of EJB in a JBoss Cluster. The code works fine when clustering is not used. I am working on JBoss-3.2.3.
The problem is as follows: Context ctx = new InitialContext(); Then i lookup some bean. The code works fine in case clustering is NOT enabled. However, when i switch on clustering, i get the following error:
javax.naming.CommunicationException: Failed to retrieve stub from server 0.0.0.0:1100