1 Reply Latest reply on Aug 23, 2002 8:25 PM by David Blaettler

    error when running clustered EJB on 3.0.1

    David Blaettler Newbie

      I've read the documentation for clustering with JBOSS 3.0, I've got two machines successfully clustered with multicast, and I've got a stateless EJB with
      True... however when I try to access the bean I get the following error:

      javax.naming.CommunicationException: Failed to retrieve stub from server 127.0.0.1:1100 [Root exception is java.io.StreamCorruptedException: unexpected block data]

      the jndi.properties I am using are as follows:
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

      adding localhost:1100 as the url does no good (as does adding the actual machine name:1100

      A straight telnet to port 1100 shows that its up and returning data.

      Oh yes this is running under RedHat Linux - multicast is up

      Kernel IP routing table
      Destination Gateway Genmask Flags MSS Window irtt Iface
      192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
      127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
      224.0.0.0 0.0.0.0 240.0.0.0 U 40 0 0 eth0
      0.0.0.0 192.168.2.1 0.0.0.0 UG 40 0 0 eth0


      Any ideas?