tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doehler, Thomas" <thomas.doeh...@datafactory.de>
Subject AW: AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working
Date Tue, 25 Oct 2005 13:09:52 GMT
Hi, 

here the requested files:

workers properties:
-------------------
#
# wokers.properties - configuration for mod_jk
#

# configure path separator
ps=/

# list of workers by name
worker.list=loadbalancer

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=debi1, debi2
worker.loadbalancer.sticky_sessions=1

#
# first application server: debi1
#
worker.debi1.port=8009
worker.debi1.host=debi1.mydomain.org
worker.debi1.type=ajp13

#
# second worker
#
worker.debi2.port=8009
worker.debi2.host=debi2.mydomain.org
worker.debi2.type=ajp13 


And the server.xml (this is a snippet from jboss-service.xml, since i use tomcat embedded
into jboss):

      <Server>
         <Service name = "JBoss-Tomcat">
            <Engine name="MainEngine" defaultHost="localhost" jvmRoute="debi2">
               <Logger className = "org.jboss.web.catalina.Log4jLogger"
                  verbosityLevel = "debug" category = "org.jboss.web.localhost.Engine"/>
               <Host name="localhost">

                  <!-- Access logger -->
                  <Valve className = "org.apache.catalina.valves.AccessLogValve"
                     prefix = "localhost_access" suffix = ".log"
                     pattern = "common" directory = "/var/log/jboss" />

                  <!-- Default context parameters -->
                  <DefaultContext cookies = "true" crossContext = "true" override = "true"
/>

               </Host>
            </Engine>

            <!-- A HTTP/1.1 Connector on port 8080 -->
            <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="3" maxProcessors="10"
               enableLookups="true" acceptCount="10" debug="0"
               connectionTimeout="20000" useURIValidationHack="false" />

           <!-- the ajp connector -->
           <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="10"
               enableLookups="true" acceptCount="10" debug="1"
               connectionTimeout="20000" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
         </Service>
      </Server>
 
Thanks in advance,
bye Tom

> Right, but it would be good that you send your server.xml and workers.properties, just
in case.
>
> Regards,
> Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message