Hi All,
I am new to JBOSS.
I am implementing an application which has client and server running on
different JVM and the communication is RMI.
Now i have binded an object on server but on client when i am doing lookup ,
the client is getting hanged. Strange thing is inspite of running on verbose
mode, There are no exceptions . The gui just gets hanged. I am unable to
proceed with it. The client is able to locate the remote stub but the object
for which i am doing lookup is not obtained. I have a doubt with jndi
properties what i have set. The following is the detail for it :-
Hashtable env1 = new Hashtable();
env1.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env1.put(javax.naming.Context.URL_PKG_PREFIXES,"org.jnp.interfaces" );
env1.put(javax.naming.Context.PROVIDER_URL,
"jnp://164.164.27.164:4099");
Please let me know if anything is wrong. The above properties are set on both
the client and server side. If any other alternative is there, then also let me
know.
Regards,
Hemil
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914253#3914253
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914253
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user