./www/ap2-jk, Apache connector for accessing Jakarta Tomcat

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.2.43, Package name: ap24-jk-1.2.43, Maintainer: pkgsrc-users

Tomcat is the Java Servlet / Java Server Page environment produced
by the Apache Foundation's Jakarta Project. Tomcat can be run as a
standalone web server with Servlet and JSP support, or using Apache
Server as its web server via the mod_jk Apache module (the
www/ap-jk package).

mod_jk is a replacement to the elderly mod_jserv. It is a completely
new Tomcat-Apache plugin that handles the communication between
Tomcat and Apache

Required to run:

Required to build:

Master sites: (Expand)

SHA1: 04136649eca7ea42a31564021a7f8959dbcb9822
RMD160: 9669e16a8dbec6b2e1a07f88b2d2fb281a95523b
Filesize: 3166.558 KB

Version history: (Expand)

CVS history: (Expand)

   2018-08-25 03:57:43 by Emmanuel Dreyfus | Files touched by this commit (3) | Package updated
Log message:
Updated www/ap2-jk to 1.2.43

The update from 1.2.37 works around  an Apache cstratup crash on NetBSD 8.0

This has first been committed to pkgsrc-2018Q2 by mistake. Here is it on
HEAD now after a pkgsrc-2018Q2 change rollback;

Complete Changelog

61733: LB: Propagate load factor changes applied by the status worker to a load \ 
balancer sub worker correctly to all processes. Based on a patch provided by \ 
Jonathan Oddy. (rjung)
fix     ISAPI: Align the make files for 32-bit and 64-bit builds. (markt)
update  Update config.guess and config.sub from \ 
http://git.savannah.gnu.org/cgit/config.git. (rjung)
update  Update PCRE bundled with the ISAPI redirector to 8.41. (rjung)
fix     Update the ISAPI redirector installation documentation to reflect the \ 
currently supported versions of Windows. (markt)
fix     Align the normalization performed by the ISAPI redirector with that \ 
implemented by Tomcat. (markt)

fix     Status: Fix displayed number of bytes read from and written to the \ 
backend when an AJP worker is used without a load balancer worker. (rjung)
fix     Apache: Don't try to read remaining request body parts during clean up \ 
if reading the request body from the client already failed during earlier \ 
processing phases. (rjung)
fix     57485: Apache: Propagate errors reading the request body from the client \ 
to mod_jk so Tomcat sees an error rather than a truncated body. (markt)
fix     57836: ISAPI: Empty REMOTE_USER should not be translated to \ 
"". (rjung)
fix     58249: Add a note the the documentation that max_packet_size will be \ 
aligned to the next multiple of 1024 if a value is specified that is not a \ 
multiple of 1024. (markt)
update  58309: ISAPI: Update bundled pcre from version 5.0 to 8.38. (rjung)
fix     58286: Fix crash in mod_jk and in the ISAPI Redirector. The crash only \ 
happens on Windows when retrieving the jk-status for the HTML format (which is \ 
the default format). This regression was
introduced by the fix to 54177. (rjung)
fix     58285: Don't use GCC atomics on platforms, for which GCC doesn't provide \ 
an atomics implementation. This regression was introduced by the fix to 44454 \ 
and 56703. (rjung)
fix     58425: Fix regression in 1.4.41 that prevented AJP 1.2 workers from \ 
initialising. Note that the AJP 1.2 protocol is deprecated. Patch provided by \ 
yagisita. (markt)
fix     58504: If a background thread is used to perform worker maintenance, \ 
ensure that maintenance runs are not skipped. Patch provided by Hiroto Shimizu. \ 
fix     58608: ISAPI: Add a new registry option "flush_packets" that \ 
allows the flushing behaviour of IIS7+ to be controlled. The default is not to \ 
flush. Setting the option to "true" with cause IIS
to write data to the client as each AJP packet is received. (markt)
fix     58813: ISAPI: Correctly release a mutex allowing the plugin to complete \ 
initialization. Prior to this fix, the incomplete initialization was causing a \ 
hang on shutdown. Patch provided by
Matthew Reiter. (markt)
fix     58895: Correct an off-by-one error in the log messages for the number of \ 
attempts made to communicate with the backend server. Patch provided by Hiroto \ 
Shimizu. (markt)
fix     59164: Fix crash on first connection if a host name is specified for the \ 
worker that cannot be resolved to an IP address. (markt)
fix     59184: HTTPD: Avoid segmentation fault if mod_jk is configured with an \ 
invalid value for JkShmFile. This causes the server startup to fail. (markt)
fix     Minor code clean-up and optimization. (markt)

fix     AJP, LB: Reduce lock contention during maintenance function. This was \ 
observable when using a big number of AJP13 and LB workers, especially in \ 
combination with the Apache httpd prefork MPM.
fix     57060: Allow building from outside of source tree. Patch contributed by \ 
Petr Sumbera. (rjung)
fix     56703: Status: Fix inflated counter for current number of backend \ 
connections especially when a connection timeout occurred on the backend. \ 
fix     56661: Fix Servlet API getLocalAddr(). Works for Tomcat 6.0.42, 7.0.55 \ 
and 8.0.11 and Apache and ISAPI plugins. (rjung)
update  Status: Log old and new values when changing worker attributes. (rjung)
fix     56667: Status: Fix log message when changing activation state of all \ 
members. (rjung)
fix     56565: Fix IPV6 address resolve on non-dual network stacks. (mturk)
fix     50511: Reduce log level for "OPTIONS *" requests from warning \ 
to debug. (rjung)
fix     Apache: Copy log notes instead of using references to prevent access to \ 
memory from closed pool. (rjung)
add     Add option to control handling of multiple adjacent slashes in mount and \ 
unmount. New default is collapsing the slashes only in unmount. Configuration is \ 
done via new JkOption for Apache
("CollapseSlashesAll", "CollapseSlashesNone" or \ 
"CollapseSlashesUnmount") and via property \ 
"collapse_slashes" for IIS (values "all", "none", \ 
"unmount"). This is the fix for CVE-2014-8111. (rjung)
add     Add more checks for shared memory allocation. (rjung)
add     56869: Status: Add maximum number of open backend connections to status \ 
worker. Patch contributed by Martin Knoblauch. (rjung)
add     56770: AJP: Add worker name to all log messages. Patch contributed by \ 
Martin Knoblauch. (rjung)
fix     50186: Docs: Clarify relation between \ 
"connection_pool_timeout" and "keepAliveTimeout" or \ 
"connectionTimeout" in the Tomcat AJP connector configuration. (rjung)
fix     52334: LB: Calculate worker recovery time based on last recovery attempt \ 
time instead of original error time after the first recovery attempt. (rjung)
fix     54596 part 1: IIS: Fix missing last character when parsing relative file \ 
names with no ".." directory components from configuration. (rjung)
fix     54596 part 2: IIS: Fix using relative file names in config with \ 
".." path segments that go up the directory hierarchy higher than the \ 
starting point of the relative file name. (rjung)
fix     Status: Add logging if status worker output was dropped due to \ 
insufficient buffer size. (rjung)
fix     Reduce log buffer from 8KB to 1KB. Add logging in case of failed logging \ 
and add trailing "..." to lines which were likely truncated. (rjung)
update  Replace fixed allocation of 32 entries for fail_on_status by dynamic \ 
allocation. (rjung)
add     Enforce implementation restriction on maximal length "60" of \ 
worker attributes "name", "host", "route", \ 
"domain", "redirect", "session_cookie", \ 
"session_path" and "set_session_cookie". Checks
were added to configuration file processing and configuration updates via the \ 
status worker. (rjung)
add     52483: Apache: Add debug logging for result of JkOptions configuration \ 
processing. (rjung)
fix     54177: Status: Use numeric time stamps instead of textual ones to avoid \ 
non-well-formed XML output. Textual timestamps are formatted according to locale \ 
settings and reencoding them to UTF-8
would be cumbersome. (rjung)
fix     56618: Status: Use percent decoding when reading query string \ 
parameters. For example this fixes editing IPv6 addresses via the status worker \ 
if the client encodes ":" as "%3A". Patch
contributed by Christopher Schultz. (rjung)
fix     56452: Fix crash in debug logging for IPv6 adresses. Patch contributed \ 
by Christopher Schultz. (rjung)
fix     34526: Apache: Improve compatibility with mod_deflate request body \ 
inflation. An automatic detection of mod_deflate inflation is not implemented. \ 
Use the new Apache environment variable
JK_IGNORE_CL instead, to let mod_jk ignore an existing Content-Length request \ 
header. (rjung)
update  44454: LB: Add warning to docs about problems with "busyness" \ 
load balancing method. (rjung)
fix     44454: Improve busy counter by using atomics. (rjung)
fix     56703: Status: Improve connected counter. Use atomics and for mod_jk \ 
(Apache) currectly count down connections closed by child processes that are \ 
stopped. (rjung)
fix     44571: Ensure that we return with status 503 if we can not get and \ 
endpoint for a worker. (rjung)
fix     Apache: Improve log handling during graceful or normal restart. (rjung)
fix     Don't update last access time of worker connections during optional \ 
checking of idle connections using CPing. Updating the time stamp breaks closing \ 
idle connections. (rjung)
fix     Adjust linger parameters used during connection shutdown. (rjung)
fix     Fix annoying redefine warnings for the autoconf PACKAGE defines during \ 
configure based builds. (rjung)
fix     Status: Use multi-line table headers and fix invalid xml output. (rjung)
fix     44571: Implement an optional limit on concurrent requests allowed for a \ 
worker (attribute "busy_limit"). Original patch contributed by \ 
zealot0630 at gmail dot com. (rjung)
fix     Correct log message "all endpoints are disconnected" to \ 
"no usable connection found, will create a new one". Tone done from \ 
info log level to debug for the common case. (rjung)
add     57536: AJP: Allow to configure connection source address. This should \ 
only be used on multi-homed hosts. The feature is experimental. (rjung)
add     57540: AJP: Forward name of SSL protocol used for handling the request \ 
(SSLv3, TLSv1, TLSv1.1, TLSv1.2). (rjung)

Fix forwarding of chunked requests, which is broken in version 1.2.39. (rjung)
fix     56352: Fix regression in memory release. (mturk)
fix     Fix status worker display of worker IP address after name or port was \ 
changed. (rjung)
update  56297: Improve key hash function. Copied from APR. (rjung)
fix     55683: Remove quotes from quoted session cookies. (rjung)
fix     53542: ISAPI: Fix grammar in 503 error page. (rjung)
fix     55696: Crash on Mac OS X 10.9 during config parsing. (rjung)

update  Deprecate nt_service from Apache Tomcat Connectors. (mturk)
fix     56133: Fix possible crash when a request fails during request body \ 
transfer to the back end and reply_timeout was set. Patch contributed by Hiroto \ 
Shimizu. (rjung)
fix     Fix status worker not updating parameters for all members. (mturk)
fix     55853: HTTPD: Use the correct API for setting Content-Length. Patch \ 
contributed by areese yahoo-inc.com. (rjung)
add     Add IPV6 support for connection to webserver. New directive prefer_ipv6 \ 
has been added to control the hostname resolution and preserve backward \ 
compatibility. (mturk)
add     Add --disable-sock-cloexec to configure to disable use of SOCK_CLOEXEC \ 
(using FD_CLOEXEC + fnctl instead) so built modules will work with Linux kernels \ 
prior to 2.6.27. (timw)
update  Clean up config file parsing. Worker names are now restricted to 60 \ 
bytes. (rjung)
update  Allow to set a stickyness cookie in case a web framework breaks Tomcat's \ 
adding of the routing ID to the end of the JSESSIONID cookie. (rjung)
update  Use max_packet_size also for request body forwarding. (rjung)
update  Apache 2.4: By default forward logical client address as provided by \ 
mod_remoteip. When setting JkOptions ForwardPhysicalAddress mod_jk will instead \ 
forward the physical peer address. (rjung)
update  Minor documentation improvements. (rjung)
   2018-01-01 11:23:09 by Thomas Klausner | Files touched by this commit (145)
Log message:
apache22: remove, it was eol'd in June 2017

Remove packages that only work with apache22.
Remove apache22 references.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-01 00:47:25 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Look deeper for config.guess/config.sub.
   2014-06-12 15:34:15 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Decouple from removed www/ap-jk.
   2014-06-10 17:22:19 by Joerg Sonnenberger | Files touched by this commit (239)
Log message:
Retire Apache 1.3 and 2.0.
   2014-02-18 16:34:20 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Build against apache24.
   2012-10-28 07:31:10 by Aleksej Saushev | Files touched by this commit (600)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.