debian/0000755000000000000000000000000012202123106007153 5ustar debian/control0000644000000000000000000000321512152455455010602 0ustar Source: libapache-mod-jk Section: httpd Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: apache2-dev, autotools-dev, debhelper (>= 8.1.3~), dh-apache2, libtool Build-Depends-Indep: lynx, xsltproc Standards-Version: 3.9.4 Homepage: http://tomcat.apache.org/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libapache-mod-jk Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libapache-mod-jk Package: libapache2-mod-jk Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Suggests: libapache-mod-jk-doc, tomcat6 Conflicts: libapache2-mod-jk2 Replaces: libapache2-mod-jk2 Description: Apache 2 connector for the Tomcat Java servlet engine Apache Tomcat is the reference implementation for the Java Servlet and JavaServer Pages (JSP) specification from the Apache Jakarta project. . This package contains an Apache 2 module (mod_jk) to forward requests from Apache to Tomcat using the AJP 1.3 or 1.4 protocol. It can either talk to Tomcat on the local machine or to a remote engine using TCP. Package: libapache-mod-jk-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libapache2-mod-jk Conflicts: libapache-mod-jk (<= 1.2.5-2) Replaces: libapache-mod-jk (<= 1.2.5-2) Description: Documentation of libapache2-mod-jk package Documentation and examples of the Apache jk connector for the Tomcat Java servlet engine. . For uptodate documentation about Tomcat connectors please take a look at the home page at http://tomcat.apache.org/connectors-doc/. debian/source.lintian-overrides0000644000000000000000000000017411713157156014057 0ustar # override: using compat=9 with debhelper 8.1.3 for build-hardening flags package-needs-versioned-debhelper-build-depends 9 debian/libapache2-mod-jk.apache20000644000000000000000000000006312152372067013570 0ustar mod native/apache-2.0/mod_jk.so mod debian/jk.load debian/rules0000755000000000000000000000306612202116272010246 0ustar #!/usr/bin/make -f # Enable LFS, build system doesn't respect CPPFLAGS. export DEB_CFLAGS_MAINT_APPEND = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(shell dpkg-buildflags --get CPPFLAGS) %: dh $@ --with autotools_dev,apache2 --sourcedirectory=native override_dh_auto_configure: dh_auto_configure -- --with-apxs=/usr/bin/apxs2 sed -i -e 's/^LIBTOOL = .*$$/LIBTOOL = \/bin\/sh ..\/libtool/' native/common/Makefile override_dh_auto_build: dh_auto_build cp conf/httpd-jk.conf conf/jk.conf override_dh_auto_clean: rm -f conf/jk.conf # ac_config_files rm -f Makefile apache-1.3/Makefile apache-1.3/Makefile.apxs \ apache-2.0/Makefile apache-2.0/Makefile.apxs common/Makefile \ common/list.mk common/jk_types.h jni/Makefile # MAINTAINERCLEANFILES rm -f native/config.{status,log,cache} rm -f native/apache-2.0/mod_jk.{o,la,lo,a} native/apache-2.0/mod_jk.so* rm -f native/common/*.{lo,o} rm -rf native/apache-2.0/.libs native/common/.libs override_dh_auto_install: ifneq (,$(filter libapache-mod-jk-doc, $(shell dh_listpackages))) cd xdocs && install -d ../build/docs/ && cp -R * ../build/docs/ cd build/docs && for i in `find . -name '*.xml'`; do xsltproc style.xsl $$i > `dirname $$i`/`basename $$i .xml`.html; done cd build/docs && find . -name '*.xml' -exec rm -f {} \; cd build/docs && rm -f style.xsl BUILDING cd build/docs/miscellaneous && lynx -dump -nolist changelog.html > ../changelog endif override_dh_compress: dh_compress -Xchangelog.html # No check target override_dh_auto_test: get-orig-source: uscan --force-download --rename debian/libapache2-mod-jk.install0000644000000000000000000000030311755502417013732 0ustar conf/jk.conf /etc/apache2/mods-available/ debian/jk.load /etc/apache2/mods-available/ debian/workers.properties /etc/libapache2-mod-jk/ native/apache-2.0/mod_jk.so /usr/lib/apache2/modules/ debian/source/0000755000000000000000000000000012202121007010451 5ustar debian/source/format0000644000000000000000000000001411422415431011671 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012202121007010600 5ustar debian/patches/series0000644000000000000000000000022212202117610012016 0ustar 0001-disable-logo.patch 0002-debianize-log-directory.patch 0003-upgrade-info-to-error-message.patch 0004-corrupted-worker-activation-status.patch debian/patches/0003-upgrade-info-to-error-message.patch0000644000000000000000000000113711755504105017774 0ustar From: Michael Koch Date: Sat, 24 Jul 2010 00:26:24 +0200 Subject: [PATCH] upgrade info to error message --- native/apache-2.0/mod_jk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- a/native/apache-2.0/mod_jk.c +++ b/native/apache-2.0/mod_jk.c @@ -2793,7 +2793,7 @@ } } else { - jk_log(xconf->log, JK_LOG_INFO, "Could not find a worker" + jk_log(xconf->log, JK_LOG_ERROR, "Could not find a worker" " for worker name=%s", worker_name); JK_TRACE_EXIT(xconf->log); debian/patches/0001-disable-logo.patch0000644000000000000000000000176411755504105014570 0ustar From: Arnaud Vandyck Date: Sat, 24 Jul 2010 00:26:16 +0200 Subject: [PATCH] disable logo --- xdocs/style.xsl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) --- a/xdocs/style.xsl +++ b/xdocs/style.xsl @@ -93,15 +93,15 @@ {$alt} - + - + APACHE LOGO debian/patches/0002-debianize-log-directory.patch0000644000000000000000000000334011755504105016733 0ustar Author: Arnaud Vandyck Author: Damien Raude-Morvan Last-Update: 2011-07-13 Description: Debianize log directory (in source code and default configuration) --- a/conf/httpd-jk.conf +++ b/conf/httpd-jk.conf @@ -16,26 +16,21 @@ # Configuration Example for mod_jk # used in combination with Apache 2.2.x -# Change the path and file name of the module, in case -# you have installed it outside of httpd, or using -# a versioned file name. -LoadModule jk_module modules/mod_jk.so - # We need a workers file exactly once # and in the global server - JkWorkersFile conf/workers.properties + JkWorkersFile /etc/libapache2-mod-jk/workers.properties # Our JK error log # You can (and should) use rotatelogs here - JkLogFile logs/mod_jk.log + JkLogFile /var/log/apache2/mod_jk.log # Our JK log level (trace,debug,info,warn,error) JkLogLevel info # Our JK shared memory file - JkShmFile logs/mod_jk.shm + JkShmFile /var/log/apache2/jk-runtime-status # Define a new log format you can use in any CustomLog in order # to add mod_jk specific information to your access log. --- a/native/apache-2.0/mod_jk.c +++ b/native/apache-2.0/mod_jk.c @@ -98,8 +98,8 @@ #include "jk_shm.h" #include "jk_url.h" -#define JK_LOG_DEF_FILE ("logs/mod_jk.log") -#define JK_SHM_DEF_FILE ("logs/jk-runtime-status") +#define JK_LOG_DEF_FILE ("/var/log/apache2/mod_jk.log") +#define JK_SHM_DEF_FILE ("/var/log/apache2/jk-runtime-status") #define JK_ENV_REMOTE_ADDR ("JK_REMOTE_ADDR") #define JK_ENV_REMOTE_PORT ("JK_REMOTE_PORT") #define JK_ENV_REMOTE_HOST ("JK_REMOTE_HOST") debian/patches/0004-corrupted-worker-activation-status.patch0000644000000000000000000000213412202120404021200 0ustar Description: Worker activation state corrupted when using jkmanager We use jkmanager to selectively disable (DIS state) workers to do rolling releases. This worked fine in Squeeze (mod_jk 1.2.30), but does not work properly anymore in Wheezy (mod_jk 1.2.37). The effect is: When I set a worker to disabled, it flips back and forth between disabled an active, and the load on the worker does not decrease as it should. Same with stopped. Happens on multiple Apache servers independently. . The following change from the upcoming 1.2.38 release fixes the problem at least for our setup. . Author: David Gubler Last-Update: 2013-08-12 Bug: http://bugs.debian.org/cgi-bin/711934 --- a/native/common/jk_status.c +++ b/native/common/jk_status.c @@ -3647,7 +3647,7 @@ } } if (sync_needed == JK_TRUE) { - wr->sequence = 0; + wr->sequence = -1; if (!rc) rc = 3; } debian/libapache-mod-jk-doc.doc-base0000644000000000000000000000060111607424274014423 0ustar Document: libapache-mod-jk-doc Title: The Apache Jakarta Tomcat Connector Author: The Apache Jakarta team Abstract: This manual contains general documentation and configuration information of the Apache Tomcat connector for Apache 2.0 Section: System/Administration Format: HTML Index: /usr/share/doc/libapache-mod-jk-doc/index.html Files: /usr/share/doc/libapache-mod-jk-doc/*.html debian/libapache-mod-jk-doc.examples0000644000000000000000000000012710464222574014566 0ustar tools/reports/README.txt tools/reports/tomcat_reports.pl tools/reports/tomcat_trend.pl debian/libapache2-mod-jk.NEWS0000644000000000000000000000276411607424274013055 0ustar libapache2-mod-jk (1:1.2.32-1) unstable; urgency=low libapache2-mod-jk now provide a default configuration file for Apache 2.x. This file is located at /etc/apache2/mods-available/jk.conf. Please note, that this configuration will be activated on first installation or when (re-)enabling jk module with "a2enmod jk". -- Damien Raude-Morvan Thu, 14 Jul 2011 01:15:52 +0200 libapache2-mod-jk (1:1.2.31-1) unstable; urgency=low Since 1.2.31 libapache2-mod-jk is compiled under kernels with support for the SOCK_CLOEXEC flag in socket(2) syscall. Because of this, on Linux systems, libapache-mod-jk only works with kernel versions >= 2.6.27. -- Miguel Landaeta Sun, 13 Feb 2011 19:17:43 -0430 libapache2-mod-jk (1:1.2.26-1) unstable; urgency=low Since 1.2.26, please note that by default no mounts will be inherited from the global scope to any VirtualHost. See JkMountCopy option documentation for more information (and Debian bug #460398). -- Damien Raude-Morvan Thu, 14 Jul 2011 01:15:52 +0200 libapache2-mod-jk (1:1.2.14.1-1) unstable; urgency=low This package replaces the previously libapache2-mod-jk2 package which is now unsupported upstream and therefore removed from the archive. Its recommended to switch to this package. Due to building packages for Apache 1.3 and 2 the documentation is now packaged separately (libapache-mod-jk-doc). -- Wolfgang Baer Thu, 23 Jun 2005 22:42:54 +0200 debian/libapache2-mod-jk.links0000644000000000000000000000011111607424274013401 0ustar /etc/apache2/mods-available/jk.conf /etc/libapache2-mod-jk/httpd-jk.conf debian/jk.load0000644000000000000000000000007010260600036010421 0ustar LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so debian/changelog0000644000000000000000000002724312202120647011044 0ustar libapache-mod-jk (1:1.2.37-3) unstable; urgency=low * d/rules: Fix "Hardening CPPFLAGS missing" (Closes: #710809). Thanks to Simon Ruderich for providing patch. * d/patches/0004-corrupted-worker-activation-status.patch: Fix "Worker activation state corrupted when using jkmanager", Thanks to David Gubler for patch (Closes: #711934). -- Damien Raude-Morvan Mon, 12 Aug 2013 10:28:44 +0200 libapache-mod-jk (1:1.2.37-2) unstable; urgency=low * Re-enable Apache 2.4 transition after wheezy release (Closes: #666851): - d/control: Add Build-Depends apache2-dev and dh-apache2. - d/rules: Call apache2 dh addon. - d/libapache2-mod-jk.{postinst,postrm}: Replace with d/libapache2-mod-jk.apache2. - d/control: Remove explicit Depends on apache2.2-common. * d/control: Bump Standards-Version to 3.9.4: no changes needed. * d/control: Use canonical URL for Vcs-* fields. -- Damien Raude-Morvan Sat, 01 Jun 2013 15:14:00 +0200 libapache-mod-jk (1:1.2.37-1) unstable; urgency=low * New upstream release. -- Damien Raude-Morvan Sun, 03 Jun 2012 23:09:32 +0200 libapache-mod-jk (1:1.2.36-1) unstable; urgency=low * New upstream release. * Revert Apache 2.4 transition (ie. just for wheezy release). * Refresh patches. -- Damien Raude-Morvan Fri, 18 May 2012 19:20:50 +0200 libapache-mod-jk (1:1.2.35-1) experimental; urgency=low * New upstream release: - d/patches/0004-compiler-hardening.patch: Merged upstream. * d/rules: Just use dh_auto. No need to force using sub-directory as debhelper is doing it for us. * Prepare Apache 2.4 transition (Closes: #666851): - d/control: Add Build-Depends apache2-dev and dh-apache2. - d/rules: Call apache2 dh addon. - d/libapache2-mod-jk.{postinst,postrm}: Replace with d/libapache2-mod-jk.apache2. - d/control: Remove explicit Depends on apache2.2-common. * d/control: Bump Standards-Version to 3.9.3, no changes needed. * d/copyright: Upgrade to copyright-format 1.0. -- Damien Raude-Morvan Wed, 04 Apr 2012 22:32:12 +0200 libapache-mod-jk (1:1.2.32-2) unstable; urgency=low * Team upload. * Set debian/compat to 9; bump debhelper dependency to 8.1.3. * Modify debian/rules to enable hardening flags and add patches/0004-compiler-hardening.patch (Closes: #656876) * Remove Michael Koch from Uploaders. (Closes: #654045) -- tony mancill Sat, 04 Feb 2012 07:17:54 +0000 libapache-mod-jk (1:1.2.32-1) unstable; urgency=low * New upstream release: - Fix whitespace trimming when parsing attribute lists. LP: #592576. * Add myself in Uploaders. * Include a sensible default configuration in /etc/apache2/mods-available/jk.conf and remove old sample in /usr/share/doc/libapache2-mod-jk/. LP: #118649. * Describe changes in upstream handling of JkMount in global scope vs in VirtualHost scope (in d/README and default configuration). Closes: #460398. * Bump Standards-Version to 3.9.2: - d/control: Add recommended get-orig-source target. * d/watch: Update to new upstream layout. * Refresh patches. * d/copyright: Upgrade to DEP-5 format. * d/README.source: Removed (aka dpatch one) * d/libapache-mod-jk.*: Remove old traces from Apache 1.3 (dropped since lenny). * d/rules: Switch to dh7 handling. * d/compat: Switch to debhelper compat level 8. * Replace d/patches/0004 by autotools_dev dh sequence addons. * d/rules: Enable LFS with -D_FILE_OFFSET_BITS=64. Closes: #590075. -- Damien Raude-Morvan Thu, 14 Jul 2011 01:15:52 +0200 libapache-mod-jk (1:1.2.31-1) unstable; urgency=low * Team upload. * Bump debhelper compatibility level to 7. * Bump Standards-Version to 3.9.1. No changes were required. * Remove duplicated control fields in binary packages. * Fix lintian warning about dh_clean -k deprecation. * Update package section to httpd. * Document in NEWS the minimal Linux version needed (>= 2.6.27) to use this module. -- Miguel Landaeta Tue, 15 Feb 2011 09:29:23 -0430 libapache-mod-jk (1:1.2.30-1) unstable; urgency=low * Team upload * New upstream release * Convert patches to dep3 format. * Switch to source format 3.0. * Remove Stefan (Gybas) and Arnaud from Uploaders list. Thanks to your contribution in the past! * Add Vcs-* headers. * Add missing Depends: ${misc:Depends}. * Update Standards-Version: 3.9.0 (no changes). * Update patch for config.guess and config.sub. * Switch to tomcat6 and default-java in workers.properties. Thanks to Olivier Berger. (Closes: #590078) -- Torsten Werner Sat, 24 Jul 2010 01:04:36 +0200 libapache-mod-jk (1:1.2.28-2) unstable; urgency=low * Added debian/patches/05_config_update.dpatch which updates config.{guess|sub} in native/scripts/build/unix/ (Closes: #540392). * debian/control: Let libapache2-mod-jk suggest tomcat6 instead of tomcat5.5. * Added debian/README.source. * Updated Standards-Version to 3.8.3. -- Michael Koch Thu, 20 Aug 2009 20:04:39 +0200 libapache-mod-jk (1:1.2.28-1) unstable; urgency=low * New upstream release. - Removed debian/patches/05_bug_451494.dpatch. Applied upstream. - Removed debian/patches/06_CVE-2008-5519.dpatch. Applied upstream. * Updated Build-Depends to debhelper (>= 5) as 4 is deprecated. * Link /usr/share/common-licenses/Apache-2.0 in debian/copgyright. * Updated Standards-Version to 3.8.2. -- Michael Koch Sat, 25 Jul 2009 23:08:41 +0200 libapache-mod-jk (1:1.2.26-2.1) unstable; urgency=high * Non-maintainer upload by the security-team. * CVE-2008-5519: Fix information disclosure vulnerability when clients abort connection before sending POST body (closes: #523054). -- Stefan Fritsch Sat, 30 May 2009 15:49:20 +0200 libapache-mod-jk (1:1.2.26-2) unstable; urgency=low * Apply patch to fix JkOptions handling for virtual hosts. Thanks to Toshihiro Sasajima for the patch, Closes: #451494 * Fixed debian/copyright to mention copyright and license properly. * debian/libapache-mod-jk-doc.doc-base: Moved to section System/Administration. * Remove unused lintian override for libapache-mod-jk-doc. -- Michael Koch Wed, 02 Apr 2008 23:09:41 +0200 libapache-mod-jk (1:1.2.26-1) unstable; urgency=low * New upstream release. * Updated Standards-Version to 3.7.3. * Fixed URL in Homepage field. * Fixed typo in debian/libapache2-mod-jk.NEWS. -- Michael Koch Thu, 27 Dec 2007 13:04:55 -0100 libapache-mod-jk (1:1.2.25-2) unstable; urgency=low * debian/workers.properties: Renamed worker.loadbalancer.balanced_workers to worker.loadbalancer.balance_workers. Closes: #448062. -- Michael Koch Thu, 25 Oct 2007 21:18:33 +0200 libapache-mod-jk (1:1.2.25-1) unstable; urgency=low * New upstream release. * Don't suggest tomcat5 anymore. * Use Homepage: field in debian/control -- Michael Koch Sat, 15 Sep 2007 09:07:30 +0200 libapache-mod-jk (1:1.2.23-4) unstable; urgency=low * libapache2-mod-jk: Removed Suggests on tomcat4. * libapache-mod-jk-doc: Removed Suggests on libapache-mod-jk. -- Michael Koch Thu, 5 Jul 2007 13:44:24 +0200 libapache-mod-jk (1:1.2.23-3) unstable; urgency=low * Don't build libapache-mod-jk binary package anymore. Closes: #429125. * Removed Wolfgang from Uploaders. -- Michael Koch Sun, 24 Jun 2007 18:34:33 -0100 libapache-mod-jk (1:1.2.23-2) unstable; urgency=low * Point workers.tomcat_home to /usr/share/tomcat5 and workers.java_home to /usr/lib/jvm/java-gcj. * Generate changelog from changelog.html correctly. -- Michael Koch Sat, 09 Jun 2007 16:06:13 -0100 libapache-mod-jk (1:1.2.23-1) unstable; urgency=high * New upstream release. - Forward unparsed URI to tomcat. Closes: #425836. CVE-2007-1860 -- Michael Koch Sat, 2 Jun 2007 23:14:13 +0200 libapache-mod-jk (1:1.2.22-1) unstable; urgency=low * New upstream release - works when no JkWorkersFile option set (Closes: #419448). * Added debian/patches/04_no-worker-error.dpatch to make the message "Could not find worker" an error and more visible (Closes: #418887). -- Michael Koch Tue, 17 Apr 2007 08:12:38 +0200 libapache-mod-jk (1:1.2.21-1) unstable; urgency=low * New upstream release -- Michael Koch Thu, 12 Apr 2007 07:21:37 +0000 libapache-mod-jk (1:1.2.18-3) unstable; urgency=medium * debian/rules: copy source tree for native part to compile seperately for Apache 2.0 (Closes: #396224, #406636). * Added tomcat5.5 to Depends on tomcat4 | tomcat5 | tomcat5.5. * Updated Standards-Version to 3.7.2. * Added myself to Uploaders. -- Michael Koch Sat, 17 Feb 2007 17:10:27 +0100 libapache-mod-jk (1:1.2.18-2) unstable; urgency=low * debian/control (Depends): updated to apache2.2-common (closes: #391651), thanks to Philippe Marzouk. * debian/patches/03_jk-runtime-status_default_location.dpatch: added. This change the default location of JkShmFile variable (closes: #362004), thanks to Adrian Bridgett. -- Arnaud Vandyck Mon, 9 Oct 2006 15:41:47 +0200 libapache-mod-jk (1:1.2.18-1) unstable; urgency=low * New upstream * debian/watch: added * Added myself to uploaders * debian/rules: modified to revert changes in upstream structure (jk directory does not exist anymore) -- Arnaud Vandyck Wed, 2 Aug 2006 11:11:03 +0200 libapache-mod-jk (1:1.2.14.1-2) unstable; urgency=low * Fixed binary arch only build by splitting arch and indep install targets -- Wolfgang Baer Mon, 03 Oct 2005 13:25:14 +0200 libapache-mod-jk (1:1.2.14.1-1) unstable; urgency=low * New upstream release (closes: #307331) * Removed cdbs dependency - building only with debhelper * Build Apache2 package (closes: #296345) + debian/control: package libapache2-mod-jk added + debian/control: added apache2-threaded-dev build dependency * Split documentation in own package so it does not ship twice + debian/control: package libapache-mod-jk-doc added + debian/control: xsltproc dependency for building + debian/control: added conflicts/replaces with old libapache-mod-jk * Updated workers.properties * Added example httpd.conf files for Apache 1.3 and 2 * Added tomcat5 as alternative to tomcat4 to suggests * Only provide example conf files (for Apache1.3/2) which have to be installed and modified for a specific setup by the user (closes: #321203) * Added conflicts/replaces with libapache2-mod-jk2 and added NEWS.Debian * Registered documentation with doc-base * Added lintian override for changelog html file used in the manual * Updated copyright to new upstream Apache License Version 2.0 * Updated Standards-Version to 3.6.2 - no changes -- Wolfgang Baer Tue, 6 Sep 2005 14:43:49 +0200 libapache-mod-jk (1:1.2.5-2) unstable; urgency=low * Added libtool build dependency (closes: #229395) -- Stefan Gybas Fri, 30 Jan 2004 17:22:12 +0100 libapache-mod-jk (1:1.2.5-1) unstable; urgency=low * New upstream release (libapache-mod-jk was previously built by the tomcat source package) * Updated download location in copyright file * Mention in the long description that this module can talk to a remote Tomcat server so it can go into main * Updated to the new module handling in Apache 1.3.29 and support Apache, Apache-Perl and Apache-SSL -- Stefan Gybas Sat, 10 Jan 2004 17:18:52 +0100 debian/copyright0000644000000000000000000000121711755502417011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache Tomcat JK Connector Upstream-Contact: Source: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/ Files: * Copyright: Copyright (c) 1999-2011 Apache Foundation License: Apache-2.0 Files: debian/* Copyright: 2003, Stefan Gybas 2009, Michael Koch 2011, Damien Raude-Morvan License: Apache-2.0 License: Apache-2.0 A complete copy of the Apache License, Version 2.0, can be found in /usr/share/common-licenses/Apache-2.0 on Debian Systems. debian/libapache-mod-jk-doc.docs0000644000000000000000000000001510464222574013674 0ustar build/docs/* debian/libapache2-mod-jk.README.Debian0000644000000000000000000000170211607424274014406 0ustar libapache2-mod-jk for Debian ---------------------------------- Package works with Apache 2.x HTTP server. The documentation can be found in the libapache-mod-jk-doc package. At install, this module is enabled into existing Apache2 configuration. Default configuration is located here : /etc/apache2/mods-available/jk.conf One default worker named ajp13_worker, which connects to the localhost on port 8009, is configured. If you need more workers or want to connect to a remote tomcat you have to modify the workers.properties file. By default, no webapp is mounted so you'll have to edit jk.conf to enable, at least, a JkMount directive for you webapp. Please pay attention to global scope vs VirtualHost when setting JkMount (see #460398) as, by default, no mounts will be inherited from the global scope to any VirtualHost. See JkMountCopy option documentation for more information. -- Wolfgang Baer Thu, 23 Jun 2005 22:42:54 +0200 debian/workers.properties0000644000000000000000000000560211422420122012771 0ustar # workers.properties - # # This file is a simplified version of the workers.properties supplied # with the upstream sources. The jni inprocess worker (not build in the # debian package) section and the ajp12 (deprecated) section are removed. # # As a general note, the characters $( and ) are used internally to define # macros. Do not use them in your own configuration!!! # # Whenever you see a set of lines such as: # x=value # y=$(x)\something # # the final value for y will be value\something # # Normaly all you will need to do is un-comment and modify the first three # properties, i.e. workers.tomcat_home, workers.java_home and ps. # Most of the configuration is derived from these. # # When you are done updating workers.tomcat_home, workers.java_home and ps # you should have 3 workers configured: # # - An ajp13 worker that connects to localhost:8009 # - A load balancer worker # # # OPTIONS ( very important for jni mode ) # # workers.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # workers.tomcat_home=/usr/share/tomcat6 # # workers.java_home should point to your Java installation. Normally # you should have a bin and lib directories beneath it. # workers.java_home=/usr/lib/jvm/default-java # # You should configure your environment slash... ps=\ on NT and / on UNIX # and maybe something different elsewhere. # ps=/ # #------ ADVANCED MODE ------------------------------------------------ #--------------------------------------------------------------------- # # #------ worker list ------------------------------------------ #--------------------------------------------------------------------- # # # The workers that your plugins should create and work with # worker.list=ajp13_worker # #------ ajp13_worker WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp13_worker and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13_worker.port=8009 worker.ajp13_worker.host=localhost worker.ajp13_worker.type=ajp13 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # ----> lbfactor must be > 0 # ----> Low lbfactor means less work done by the worker. worker.ajp13_worker.lbfactor=1 # # Specify the size of the open connection cache. #worker.ajp13_worker.cachesize # #------ DEFAULT LOAD BALANCER WORKER DEFINITION ---------------------- #--------------------------------------------------------------------- # # # The loadbalancer (type lb) workers perform wighted round-robin # load balancing with sticky sessions. # Note: # ----> If a worker dies, the load balancer will check its state # once in a while. Until then all work is redirected to peer # workers. worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=ajp13_worker debian/watch0000644000000000000000000000016411607424274010227 0ustar version=3 http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-(.*)-src\.tar\.gz debian uupdate debian/compat0000644000000000000000000000000211713157156010373 0ustar 9