The properties that I use to set up the InitialContext are: p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces") | p.put(Context.PROVIDER_URL, "nvarma-lap:1100"); |
Another curious thing that I have noticed is that the exception stack references port 1200 whereas I specify port 1100 in the PROVIDER_URL. javax.naming.CommunicationException: Failed to retrieve stub from server 10.180.0.34:1200 [Root exception is java.io.StreamCorruptedException: unexpected block data] I haven't been able to overcome this problem. Any help will be much appreciated. Regards, Nitesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896336#3896336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896336 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user