0 Replies Latest reply on Jun 11, 2007 10:37 AM by Christopher Childs

    Chunking/Load Balancing with IIS & JBoss

    Christopher Childs Newbie

      I have the Jakarta filter on IIS and have two JBoss instances that are setup in a round robin. I'm trying to get chunking to work but am getting the following error. Can some help and tell me what I'm doing wrong?

      Thanks

      Error:

      [Mon Jun 11 00:03:37 2007] [0436:3480] [warn] jk_map.c (432): The attribute 'worker.node1.cachesize' is deprecated - please check the documentation for the correct replacement.
      [Mon Jun 11 00:03:37 2007] [0436:3480] [warn] jk_map.c (432): The attribute 'worker.node2.cachesize' is deprecated - please check the documentation for the correct replacement.
      [Mon Jun 11 00:03:37 2007] [0436:3480] [info] jk_isapi_plugin.c (1747): isapi_redirect/1.2.23 initialized
      [Mon Jun 11 10:18:28 2007] [0132:3704] [warn] jk_map.c (432): The attribute 'worker.node1.cachesize' is deprecated - please check the documentation for the correct replacement.
      [Mon Jun 11 10:18:28 2007] [0132:3704] [warn] jk_map.c (432): The attribute 'worker.node2.cachesize' is deprecated - please check the documentation for the correct replacement.
      [Mon Jun 11 10:18:28 2007] [0132:3704] [info] jk_isapi_plugin.c (1747): isapi_redirect/1.2.23 initialized


      Worker.Properties File

      # workers.properties.minimal -
      #
      # This file provides minimal jk configuration properties needed to
      # connect to Tomcat.
      #
      # The workers that jk should create and work with
      #

      #worker.list=wlb,jkstatus

      #
      # Defining a worker named ajp13w and of type ajp13
      # Note that the name and the type do not have to match.
      #
      #worker.ajp13w.type=ajp13
      #worker.ajp13w.host=158.111.1.249
      #worker.ajp13w.port=8009

      #
      # Defining a load balancer
      #

      #worker.wlb.type=lb
      #worker.wlb.balance_workers=ajp13w

      #
      # Define status worker
      #

      #worker.jkstatus.type=status

      # Define list of workers that will be used
      # for mapping requests

      # Define Node1
      worker.node1.port=8009
      worker.node1.host=158.111.1.
      worker.node1.type=ajp13
      worker.node1.lbfactor=1
      worker.node1.cachesize=10
      #worker.node1.local_worker=1 (1)

      # Define Node2
      worker.node2.port=8009
      worker.node2.host=158.111.1.
      worker.node2.type=ajp13
      worker.node2.lbfactor=1
      worker.node2.cachesize=10
      #worker.node2.local_worker=1 (1)

      # Load-balancing behaviour
      worker.loadbalancer.type=lb
      worker.loadbalancer.balance_workers=node1, node2
      worker.loadbalancer.sticky_session=1
      worker.list=loadbalancer,status

      # Status worker for managing load balancer
      worker.status.type=status


      URIworkermap.properties



      # uriworkermap.properties - IIS
      #
      # This file provides sample mappings for example wlb
      # worker defined in workermap.properties.minimal
      # The general syntax for this file is:
      # [URL]=[Worker name]

      #/admin/*=wlb
      #/manager/*=wlb
      #/jsp-examples/*=wlb
      #/servlets-examples/*=wlb
      #/receiver/*=wlb
      /receiver/*=loadbalancer

      # Optionally filter out all .jpeg files inside that context
      # For no mapping the url has to start with exclamation (!)

      !/servlets-examples/*.jpeg=wlb

      #
      # Mount jkstatus to /jkmanager
      # For production servers you will need to
      # secure the access to the /jkmanager url
      #
      /jkmanager=jkstatus

      # Mount the Servlet context to the ajp13 worker


      Thanks again