0 Replies Latest reply on Jun 11, 2006 11:29 PM by Andy Andy

    JBoss Portal Cluster :Can use TCP?

    Andy Andy Newbie

      Dear all,
      JBoss 4.0.3sp1 + JBoss Portal 2.2.1

      In my cluster, when I point to server A in IE(e.g. http://altair:8180/portal), it can show the default portal page and can login to the portal. But when I point to server B, it shows the login page of the portal, when I input admin/admin, it has exception.

      When I view the server.log, it periodically shows "2006-06-12 11:23:06,247 WARN [org.jgroups.protocols.UDP] discarded message from different group (portal.hibernate). Sender was altair:55944"

      where altair is the server DNS name.

      -----------------------------------------------------------------------------------
      I think that it is related to the so cluster setting.

      So I view the jboss-service.xml in portal-cms.sar/META-INF

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=${jboss.bind.address:localhost}:1100
      jnp.disableDiscovery=false
      jnp.partitionName=${jboss.partition.name:DefaultPartition}
      jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
      jnp.discoveryPort=1102
      jnp.discoveryTTL=16
      jnp.discoveryTimeout=5000
      jnp.maxRetries=1


      Does it mean using UDP for the communication within the cluster? In my company, we cannot use UDP, only TCP is allow, so how can I set to TCP?

      Please help!!

      Many thanks