I have a very simple cluster of two nodes running on the same machine. I 
successfully deployed a HelloWorld Stateless Session Bean on the cluster.

Now when I try to look up the Home reference of my HelloWorld bean, I get the 
following exception:

javax.naming.CommunicationException: Failed to retrieve stub from server 
10.1.3.76:1100 [Root exception is java.io.StreamCorruptedException: unexpected 
block data]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
        at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1294)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1382)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at 
com.tvworks.example.hello.test.HelloWorldTest.testHello(HelloWorldTest.java:50)

I came across similar exceptions on JBoss Clustering FAQ 
<http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ> but this is not the 
case for me. There is nothing deployed in the default and the JBoss instances 
are not being started in default config. Both nodes are 'all' config and both 
of them have jbossha.jar in their lib directories.

Any help would be appreciated.

Thanks,

Nitesh

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to