1 Reply Latest reply on Aug 27, 2003 2:57 AM by freemanhill

    mod_jk2,apache2.0.43,m2k,jboss3.2.1

    freemanhill

      I have some questions about "JBoss 3.2.1 with Tomcat 4.1.24 on W2k, mod_jk2 ".
      Most of all I got the JBossClustering Docu and just did as HttpSession replication under Tomcat(http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= * jboss-3.2.1_tomcat-4.1.24 on w2k
      mod_jk2-2.0.43.dll
      Apache2.0.43

      Here are my config files

      ■worker2.properties
      =====Begin worker2.properties==============================================
      [logger]
      level=DEBUG

      [config:]
      file=${serverRoot}/conf/workers2.properties
      debug=0
      debugEnv=0

      [uriMap:]
      info=Maps the requests. Options: debug
      debug=0

      [lb:lb2]
      debug=6
      timeout=30
      attempts=3
      stickySession=1

      # Define the communication channel
      [channel.socket:node1:8009]
      debug=6
      tomcatId=node1
      lb_factor=100
      group=lb2
      disabled=0

      [channel.socket:node2:8009]
      debug=6
      tomcatId=node2
      lb_factor=100
      group=lb2
      disabled=0

      [channel.socket:node3:8009]
      debug=6
      tomcatId=node3
      lb_factor=100
      group=lb2
      disabled=0


      # Map the Tomcat examples webapp to the web server uri space
      [uri:/*]
      info=Map the whole webapp
      group=lb2

      [uri:/jkstatus/*]
      info=Display status information and checks the config file for changes.
      group=lb2


      [shm:]
      info=Scoreboard. Required for reconfiguration and status with multiprocess servers
      file=${serverRoot}/logs/shm.file
      size=1000000
      debug=0
      disabled=0
      =====End worker2.properties===============================================

      ■jboss-service.xml
      ======================================================================

      instant <!-- you may switch to "interval" -->
      ======================================================================

      &#9632;Of cource I had set distributable attribute in web.xml

      &#9632;run.bat -c all.

      Now I can get the load balancer working,but httpsession replication does not realy working .
      What wrong with it?



      When I do not use

      in jboss-service.xml,I can get session id ;if use,I can only get null.

      Any help will be much appreciated!