Hi All,
I was writing a simple stand alone program that would call an deployed EJB on
JBoss4.0.2.
I am getting the following error.
javax.naming.CommunicationException: Failed to retrieve stub from server
172.25.67.24:1100 [Root exception is java.io.StreamCorruptedException.
I have the following in my code
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
props.put(Context.URL_PKG_PREFIXES,
"org.jboss.naming:org.jnp.interfaces");
props.put(Context.PROVIDER_URL, "172.25.67.112:8080");
The starange thing is my computer's IP is 172.25.67.24:1100 .
Can any one say why I am getting this from the JBoss AS.
I am running the JBoss in default mode , when I switch to all mode the error is
same but the error changes to some other ip.
Any suggestions will be highly appreciated.
Thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914315#3914315
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914315
-------------------------------------------------------
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