1 Reply Latest reply on Jul 8, 2007 7:37 AM by morki

    Clustering EJB 1.1

    morki

      hey

      my two-node cluster is running so far...

      as i now recognized all of our ejbs are version 1.1.

      i just checked the different dtd's of version 1.1, 2.0 and 3.0
      but unforunately i am not sure whether clustering ejb 1.1 is possible or not.

      can anyone help me with that question?

      would be great.

      thanks in advance.


      morki

        • 1. Re: Clustering EJB 1.1
          morki

          ok, some more information...

          in order to test clustering globally i added the -tag to every single ejb, both to the SLSBs and SFSBs.

          i started both instancess of jboss running on two different instances and set -Dbind.address to the respetive NIC IPs.
          both nodes see each other as they send are-you-alive-messages that can be seen in the cluster.log.

          instead of providing a list with jndi-servers in the jndi.properties i set autodiscovery in the HANamingService to true. doing it the other way leads to an exception that says that a connection to the other node cannot be established. why is that? wrong ip? (i did it right the way given in the documentation.)

          so, the jboss instances are running and a swing-client can easily connect to a node, but unfortunately just the one running on the machine it is started from.
          so, when i shut down that instance the client doesn't know where to connect. what have i done wrong there? (the machines are connected to the same switch, i use udp as the protocol for jgroups with standard settings)

          when the client started up everything works just fine except for one thing. there are no requests going to the server running on the other machine.

          could be that because of internal software specific terms the SFSB cannot be clustered the default way but clustering for the SLSB should work, shouldn't it?

          anyone familiar with these problems? i'm kind of desperate :)

          thanks in advance.

          morki