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

My jndi.properties file is as follows:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Does anyone know any solution to this?

Thank you.





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877487#3877487

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877487


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to