tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Verifying mod_jk is installed
Date Tue, 18 Sep 2012 14:05:34 GMT
John Rellis wrote:
> Hey,
> 
> I would very much appreciate some help, flying blind at the moment.
> 
> I want to use mod_jk as a load balancer to two remote tomcat instances and
> I am failing so I need to verify the steps.  I have installed mod_jk, I
> will paste the mod_jk log to the end of the email.  Is there anything I can
> do to verify that mod_jk is installed properly???? 

The log you supply below shows definitely that mod_jk is installed and working.
Whether it is configured properly for what you want to achieve is another issue.

Also, if it was not installed or loaded in Apache httpd, then any of your "Jk*" 
instruction lines in httpd.conf would trigger an error when you start Apache.


  Is jkstatus a URL I can
> hit???  I put  *JkMount /jkmanager* jkstatus* in apache2.conf so I was
> assuming I could hit host/jkmanager and there would be something there.
>  instead i get
> 
> missing uri map for ip-xx-xx-xx-xx.us-west-2.compute.internal:/jkmanager
> 
> 
> Many thanks for any tips! :)
> 
> */etc/apache2/conf/workers.properties*
> 
> # Define worker names
> 
> worker.list=jkstatus, LoadBalancer
> 
> # Create virtual workers
> 
> worker.jkstatus.type=status
> 
> worker.LoadBalancer.type=lb
> 
> # Declare Tomcat server workers 1 through n
> 
> worker.worker1.type=ajp13
> 
> worker.worker1.host=tomcatone
> 
> worker.worker1.port=8009
> 
> worker.worker2.type=ajp13
> 
> worker.worker2.host=tomcattwo
> 
> worker.worker2.port=8009
> 
> # Associate real workers with virtual LoadBalancer worker
> worker.LoadBalancer.balance_workers=worker1,worker2
> 
> */etc/apache2/mods-enabled/jk.conf*
> 
> <IfModule jk_module>
> 
>     JkWorkersFile /etc/apache2/conf/workers.properties
> 
>     JkLogFile /var/log/apache2/mod_jk.log
> 
>     JkLogLevel debug
> 
>     JkShmFile /var/log/apache2/jk-runtime-status
> 
>     # Since: 1.2.27
>     JkWatchdogInterval 60
> 
> </IfModule>
> 
> 
> 
> */etc/apache2/apache2.conf*
> *
> *
> 
> #
> # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
> #
> LockFile ${APACHE_LOCK_DIR}/accept.lock
> 
> #
> # PidFile: The file in which the server should record its process
> # identification number when it starts.
> # This needs to be set in /etc/apache2/envvars
> #
> PidFile ${APACHE_PID_FILE}
> 
> #
> # Timeout: The number of seconds before receives and sends time out.
> #
> Timeout 300
> 
> #
> # KeepAlive: Whether or not to allow persistent connections (more than
> # one request per connection). Set to "Off" to deactivate.
> #
> KeepAlive On
> 
> #
> # MaxKeepAliveRequests: The maximum number of requests to allow
> # during a persistent connection. Set to 0 to allow an unlimited amount.
> # We recommend you leave this number high, for maximum performance.
> #
> MaxKeepAliveRequests 100
> 
> #
> # KeepAliveTimeout: Number of seconds to wait for the next request from the
> # same client on the same connection.
> #
> KeepAliveTimeout 5
> 
> 
> ## Server-Pool Size Regulation (MPM specific)
> ##
> 
> # prefork MPM
> # StartServers: number of server processes to start
> # MinSpareServers: minimum number of server processes which are kept spare
> # MaxSpareServers: maximum number of server processes which are kept spare
> # MaxClients: maximum number of server processes allowed to start
> # MaxRequestsPerChild: maximum number of requests a server process serves
> <IfModule mpm_prefork_module>
>     StartServers          5
>     MinSpareServers       5
>     MaxSpareServers      10
>     MaxClients          150
>     MaxRequestsPerChild   0
> </IfModule>
> 
> # worker MPM
> # StartServers: initial number of server processes to start
> # MinSpareThreads: minimum number of worker threads which are kept spare
> # MaxSpareThreads: maximum number of worker threads which are kept spare
> # ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
> #              graceful restart. ThreadLimit can only be changed by stopping
> #              and starting Apache.
> # ThreadsPerChild: constant number of worker threads in each server process
> # MaxClients: maximum number of simultaneous client connections
> # MaxRequestsPerChild: maximum number of requests a server process serves
> <IfModule mpm_worker_module>
>     StartServers          2
>     MinSpareThreads      25
>     MaxSpareThreads      75
>     ThreadLimit          64
>     ThreadsPerChild      25
>     MaxClients          150
>     MaxRequestsPerChild   0
> </IfModule>
> 
> # event MPM
> # StartServers: initial number of server processes to start
> # MinSpareThreads: minimum number of worker threads which are kept spare
> # MaxSpareThreads: maximum number of worker threads which are kept spare
> # ThreadsPerChild: constant number of worker threads in each server process
> # MaxClients: maximum number of simultaneous client connections
> # MaxRequestsPerChild: maximum number of requests a server process serves
> <IfModule mpm_event_module>
>     StartServers          2
>     MinSpareThreads      25
>     MaxSpareThreads      75
>     ThreadLimit          64
>     ThreadsPerChild      25
>     MaxClients          150
>     MaxRequestsPerChild   0
> </IfModule>
> 
> 
> # These need to be set in /etc/apache2/envvars
> User ${APACHE_RUN_USER}
> Group ${APACHE_RUN_GROUP}
> 
> #
> # AccessFileName: The name of the file to look for in each directory
> # for additional configuration directives.  See also the AllowOverride
> # directive.
> #
> 
> AccessFileName .htaccess
> 
> #
> # The following lines prevent .htaccess and .htpasswd files from being
> # viewed by Web clients.
> #
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
>     Satisfy all
> </Files>
> 
> #
> # DefaultType is the default MIME type the server will use for a document
> # if it cannot otherwise determine one, such as from filename extensions.
> # If your server contains mostly text or HTML documents, "text/plain" is
> # a good value.  If most of your content is binary, such as applications
> # or images, you may want to use "application/octet-stream" instead to
> # keep browsers from trying to display binary files as though they are
> # text.
> #
> # It is also possible to omit any default MIME type and let the
> # client's browser guess an appropriate action instead. Typically the
> # browser will decide based on the file's extension then. In cases
> # where no good assumption can be made, letting the default MIME type
> # unset is suggested  instead of forcing the browser to accept
> # incorrect  metadata.
> #
> DefaultType None
> 
> 
> #
> # HostnameLookups: Log the names of clients or just their IP addresses
> # e.g., www.apache.org (on) or 204.62.129.132 (off).
> # The default is off because it'd be overall better for the net if people
> # had to knowingly turn this feature on, since enabling it means that
> # each client request will result in AT LEAST one lookup request to the
> # nameserver.
> #
> HostnameLookups Off
> 
> 
> ErrorLog ${APACHE_LOG_DIR}/error.log
> 
> #
> # LogLevel: Control the number of messages logged to the error_log.
> # Possible values include: debug, info, notice, warn, error, crit,
> # alert, emerg.
> #
> LogLevel warn
> 
> # Include module configuration:
> Include mods-enabled/*.load
> Include mods-enabled/*.conf
> 
> # Include all the user configurations:
> Include httpd.conf
> 
> # Include ports listing
> Include ports.conf
> 
> #
> # The following directives define some format nicknames for use with
> # a CustomLog directive (see below).
> # If you are behind a reverse proxy, you might want to change %h into
> %{X-Forwarded-For}i
> #
> LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\"
> \"%{User-Agent}i\"" vhost_combined
> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\""
> combined
> LogFormat "%h %l %u %t \"%r\" %>s %O" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> 
> # Include of directories ignores editors' and dpkg's backup files,
> # see README.Debian for details.
> 
> # Include generic snippets of statements
> Include conf.d/
> 
> # Include the virtual host configurations:
> Include sites-enabled/
> 
> #john
> # Load module
> 
> #<VirtualHost 127.0.1.1:80>
> #    JkMount /ClusterApp* LoadBalancer
> #    JkMount /ClusterApp/ LoadBalancer
> #    JkMount /ClusterApp/* Loadbalancer
> #</VirtualHost>
> 
> 
> *JkMount /jkmanager* jkstatus*
> 

Try these 2 lines instead :

JkMount /jkmanager jkstatus
JkMount /jkmanager* jkstatus

short explanation :
1) the URL "/jkmanager" does not match the JkMount "/jkmanager*" (but the URL 
"/jkmanagerX" would match it).
So you need both the above, to match
	a) the URL "/jkmanager"
	b) the URLs "/jkmanager/(anything)..."

2) "jkstatus" is the name of one of your Tomcat "workers".  But "jkstatus*" does not match

any name of worker defined in your workers.properties file.
(or were these asterisks before and after just an artifact of how you wrote the message ?)

Thanks for the full data by the way. Makes it easier to (try to) help right away.

> 
> *mod_jk log*
> *
> *
> [Tue Sep 18 13:27:13.189 2012] [2979:140034601162560] [debug]
> jk_set_time_fmt::jk_util.c (459): Pre-processed log time stamp format is
> '[%a %b %d %H:%M:%S.000 %Y] '
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 1
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/jkmanager*=jkstatus' source 'JkMount' was added
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map
> open: index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=1
> nosize=0 capacity=4
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/jkmanager* worker=jkstatus context=/jkmanager* source=JkMount
> type=Wildchar len=11
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_set_time_fmt::jk_util.c (459): Pre-processed log time stamp format is
> '[%a %b %d %H:%M:%S.000 %Y] '
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> init_jk::mod_jk.c (3175): Using fcntl() for locking.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> init_jk::mod_jk.c (3191): Setting default connection pool max size to 25
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
> value 'jkstatus, LoadBalancer' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.jkstatus.type' with value 'status' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.LoadBalancer.type' with value 'lb' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.type'
> with value 'ajp13' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.host'
> with value 'tomcatone' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.port'
> with value '8009' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.type'
> with value 'ajp13' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.host'
> with value 'tomcattwo' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.port'
> with value '8009' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.LoadBalancer.balance_workers' with value 'worker1,worker2' to map.
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_resolve_references::jk_map.c (779): Checking for references with
> prefix worker. with wildcard (recursion 1)
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_shm_calculate_size::jk_shm.c (125): worker LoadBalancer of type lb has 2
> members
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 0 ajp
> workers of size 320 and 1 lb workers of size 320 with 2 members of size
> 384+320
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> do_shm_open::jk_shm.c (493): Truncated shared memory to 1856
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> do_shm_open::jk_shm.c (538): Initialized shared memory
> /var/log/apache2/jk-runtime-status.2979 size=1856 free=1728
> addr=0x7f5c588e6000
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
> /var/log/apache2/jk-runtime-status.2979.lock
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'ServerRoot' -> '/etc/apache2'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.list' -> 'jkstatus,
> LoadBalancer'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.jkstatus.type' -> 'status'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.LoadBalancer.type' -> 'lb'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.type' -> 'ajp13'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.host' ->
> 'tomcatone'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.port' -> '8009'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.type' -> 'ajp13'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.host' ->
> 'tomcattwo'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.port' -> '8009'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map:
> 'worker.LoadBalancer.balance_workers' -> 'worker1,worker2'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> build_worker_map::jk_worker.c (242): creating worker jkstatus
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance jkstatus of
> status
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init jkstatus
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> init::jk_status.c (5053): Status worker 'jkstatus' is read/write and has
> css '(null)', prefix 'worker', name space 'jk:', xml name space 'xmlns:jk="
> http://tomcat.apache.org"', document type '(null)'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> init::jk_status.c (5104): Status worker 'jkstatus' has good rating for
> '0000000f' and bad rating for '00ff1010'
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> build_worker_map::jk_worker.c (242): creating worker LoadBalancer
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance LoadBalancer
> of lb
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init LoadBalancer
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance worker1 of
> ajp13
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init worker1
> [Tue Sep 18 13:27:13.190 2012] [2979:140034601162560] [debug]
> ajp_validate::jk_ajp_common.c (2672): worker worker1 contact is
> 'tomcatone:8009'
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2868): setting endpoint options:
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2871): keepalive:              0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2875): socket timeout:         0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2879): socket connect timeout: 0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2883): buffer size:            0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2887): pool timeout:           0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2891): ping timeout:           10000
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2895): connect timeout:        0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2899): reply timeout:          0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2903): prepost timeout:        0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2907): recovery options:       0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2911): retries:                2
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2915): max packet size:        8192
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2919): retry interval:         100
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2729): setting connection pool
> size to 25 with min 13 and acquire timeout 200
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance worker2 of
> ajp13
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init worker2
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_validate::jk_ajp_common.c (2672): worker worker2 contact is
> 'tomcattwo:8009'
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2868): setting endpoint options:
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2871): keepalive:              0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2875): socket timeout:         0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2879): socket connect timeout: 0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2883): buffer size:            0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2887): pool timeout:           0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2891): ping timeout:           10000
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2895): connect timeout:        0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2899): reply timeout:          0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2903): prepost timeout:        0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2907): recovery options:       0
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2911): retries:                2
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2915): max packet size:        8192
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2919): retry interval:         100
> [Tue Sep 18 13:27:13.191 2012] [2979:140034601162560] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2729): setting connection pool
> size to 25 with min 13 and acquire timeout 200
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> validate::jk_lb_worker.c (1632): Balanced worker 0 has name worker1 and
> route worker1 in domain
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> validate::jk_lb_worker.c (1632): Balanced worker 1 has name worker2 and
> route worker2 in domain
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> update_mult::jk_lb_worker.c (261): worker worker1 gets multiplicity 1
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> update_mult::jk_lb_worker.c (261): worker worker2 gets multiplicity 1
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> jk_lb_push::jk_lb_worker.c (347): syncing shm for lb 'LoadBalancer' from
> mem (0->1)
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [info]
> init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker jkstatus
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'status'
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 0: jkstatus of type status (6)
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after
> extension stripping: index=0 file='(null)' reject_unsafe=0 reload=60
> modified=0 checked=0
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=1
> nosize=0 capacity=4
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/jkmanager* worker=jkstatus context=/jkmanager* source=JkMount
> type=Wildchar len=11
> [Tue Sep 18 13:27:13.192 2012] [2979:140034601162560] [debug]
> uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
> from index 0 to index 1
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> jk_set_time_fmt::jk_util.c (459): Pre-processed log time stamp format is
> '[%a %b %d %H:%M:%S.000 %Y] '
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 1
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/jkmanager*=jkstatus' source 'JkMount' was added
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map
> open: index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=1
> nosize=0 capacity=4
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/jkmanager* worker=jkstatus context=/jkmanager* source=JkMount
> type=Wildchar len=11
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> jk_set_time_fmt::jk_util.c (459): Pre-processed log time stamp format is
> '[%a %b %d %H:%M:%S.000 %Y] '
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> init_jk::mod_jk.c (3175): Using fcntl() for locking.
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> init_jk::mod_jk.c (3191): Setting default connection pool max size to 25
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
> value 'jkstatus, LoadBalancer' to map.
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.jkstatus.type' with value 'status' to map.
> [Tue Sep 18 13:27:13.229 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.LoadBalancer.type' with value 'lb' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.type'
> with value 'ajp13' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.host'
> with value 'tomcatone' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker1.port'
> with value '8009' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.type'
> with value 'ajp13' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.host'
> with value 'tomcattwo' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.worker2.port'
> with value '8009' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.LoadBalancer.balance_workers' with value 'worker1,worker2' to map.
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_resolve_references::jk_map.c (779): Checking for references with
> prefix worker. with wildcard (recursion 1)
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_shm_calculate_size::jk_shm.c (125): worker LoadBalancer of type lb has 2
> members
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 0 ajp
> workers of size 320 and 1 lb workers of size 320 with 2 members of size
> 384+320
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> do_shm_open::jk_shm.c (493): Truncated shared memory to 1856
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> do_shm_open::jk_shm.c (538): Initialized shared memory
> /var/log/apache2/jk-runtime-status.2980 size=1856 free=1728
> addr=0x7f5c58a8f000
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
> /var/log/apache2/jk-runtime-status.2980.lock
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'ServerRoot' -> '/etc/apache2'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.list' -> 'jkstatus,
> LoadBalancer'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.jkstatus.type' -> 'status'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.LoadBalancer.type' -> 'lb'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.type' -> 'ajp13'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.host' ->
> 'tomcatone'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker1.port' -> '8009'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.type' -> 'ajp13'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.host' ->
> 'tomcattwo'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map: 'worker.worker2.port' -> '8009'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> jk_map_dump::jk_map.c (589): Dump of map:
> 'worker.LoadBalancer.balance_workers' -> 'worker1,worker2'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> build_worker_map::jk_worker.c (242): creating worker jkstatus
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance jkstatus of
> status
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init jkstatus
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> init::jk_status.c (5053): Status worker 'jkstatus' is read/write and has
> css '(null)', prefix 'worker', name space 'jk:', xml name space 'xmlns:jk="
> http://tomcat.apache.org"', document type '(null)'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> init::jk_status.c (5104): Status worker 'jkstatus' has good rating for
> '0000000f' and bad rating for '00ff1010'
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> build_worker_map::jk_worker.c (242): creating worker LoadBalancer
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance LoadBalancer
> of lb
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init LoadBalancer
> [Tue Sep 18 13:27:13.233 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance worker1 of
> ajp13
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init worker1
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_validate::jk_ajp_common.c (2672): worker worker1 contact is
> 'tomcatone:8009'
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2868): setting endpoint options:
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2871): keepalive:              0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2875): socket timeout:         0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2879): socket connect timeout: 0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2883): buffer size:            0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2887): pool timeout:           0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2891): ping timeout:           10000
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2895): connect timeout:        0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2899): reply timeout:          0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2903): prepost timeout:        0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2907): recovery options:       0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2911): retries:                2
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2915): max packet size:        8192
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2919): retry interval:         100
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2729): setting connection pool
> size to 25 with min 13 and acquire timeout 200
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance worker2 of
> ajp13
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init worker2
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_validate::jk_ajp_common.c (2672): worker worker2 contact is
> 'tomcattwo:8009'
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2868): setting endpoint options:
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2871): keepalive:              0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2875): socket timeout:         0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2879): socket connect timeout: 0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2883): buffer size:            0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2887): pool timeout:           0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2891): ping timeout:           10000
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2895): connect timeout:        0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2899): reply timeout:          0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2903): prepost timeout:        0
> [Tue Sep 18 13:27:13.234 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2907): recovery options:       0
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2911): retries:                2
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2915): max packet size:        8192
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> ajp_init::jk_ajp_common.c (2919): retry interval:         100
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2729): setting connection pool
> size to 25 with min 13 and acquire timeout 200
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> validate::jk_lb_worker.c (1632): Balanced worker 0 has name worker1 and
> route worker1 in domain
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> validate::jk_lb_worker.c (1632): Balanced worker 1 has name worker2 and
> route worker2 in domain
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> update_mult::jk_lb_worker.c (261): worker worker1 gets multiplicity 1
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> update_mult::jk_lb_worker.c (261): worker worker2 gets multiplicity 1
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> jk_lb_push::jk_lb_worker.c (347): syncing shm for lb 'LoadBalancer' from
> mem (0->1)
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [info]
> init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker jkstatus
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'status'
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 0: jkstatus of type status (6)
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after
> extension stripping: index=0 file='(null)' reject_unsafe=0 reload=60
> modified=0 checked=0
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=1
> nosize=0 capacity=4
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/jkmanager* worker=jkstatus context=/jkmanager* source=JkMount
> type=Wildchar len=11
> [Tue Sep 18 13:27:13.235 2012] [2980:140034601162560] [debug]
> uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
> from index 0 to index 1
> [Tue Sep 18 13:27:13.244 2012] [2985:140034601162560] [debug]
> do_shm_open::jk_shm.c (550): Attached shared memory
> /var/log/apache2/jk-runtime-status.2980 [2] size=1856 free=0
> addr=0x7f5c58a8f000
> [Tue Sep 18 13:27:13.244 2012] [2985:140034601162560] [debug]
> do_shm_open::jk_shm.c (564): Resetting the shared memory for child 2
> [Tue Sep 18 13:27:13.244 2012] [2985:140034601162560] [debug]
> do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
> /var/log/apache2/jk-runtime-status.2980.lock
> [Tue Sep 18 13:27:13.244 2012] [2985:140034601162560] [debug]
> jk_child_init::mod_jk.c (3136): Initialized mod_jk/1.2.32 ()
> [Tue Sep 18 13:27:13.270 2012] [2985:140034523129600] [debug]
> jk_watchdog_func::mod_jk.c (3070): Watchdog thread initialized with 60
> second interval
> [Tue Sep 18 13:27:13.272 2012] [2986:140034601162560] [debug]
> do_shm_open::jk_shm.c (550): Attached shared memory
> /var/log/apache2/jk-runtime-status.2980 [3] size=1856 free=1728
> addr=0x7f5c58a8f000
> [Tue Sep 18 13:27:13.272 2012] [2986:140034601162560] [debug]
> do_shm_open::jk_shm.c (564): Resetting the shared memory for child 3
> [Tue Sep 18 13:27:13.272 2012] [2986:140034601162560] [debug]
> do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
> /var/log/apache2/jk-runtime-status.2980.lock
> [Tue Sep 18 13:27:13.272 2012] [2986:140034601162560] [debug]
> jk_child_init::mod_jk.c (3136): Initialized mod_jk/1.2.32 ()
> [Tue Sep 18 13:27:13.273 2012] [2986:140034523129600] [debug]
> jk_watchdog_func::mod_jk.c (3070): Watchdog thread initialized with 60
> second interval
> 
> 
> 


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


Mime
View raw message