Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FBF97AC2 for ; Fri, 15 Jul 2011 00:25:52 +0000 (UTC) Received: (qmail 50051 invoked by uid 500); 15 Jul 2011 00:25:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49779 invoked by uid 500); 15 Jul 2011 00:25:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49770 invoked by uid 99); 15 Jul 2011 00:25:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 00:25:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lkolchin@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 00:25:42 +0000 Received: by fxe6 with SMTP id 6so1487403fxe.3 for ; Thu, 14 Jul 2011 17:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sEGCn58WXGWVnCIKhYzb+OJVqxjzWK1mKy5M0w/fEN8=; b=CmUJiGvuyOrQtqJt2k5o3kHM+cevQTBZ+j6LnbLNmO1+sqPfCWOBhgZNm9aRZ5f6Q1 BcxsSC+Fd5AiPsjtWUrkvhObk7PUCoXeodsVeSIMTzWz61noFPOmdDrb6erV1Sdvd6CD n/mCSBQRkiO3OvtGvoGy/O0BxtIbyF6i8dwog= Received: by 10.205.65.67 with SMTP id xl3mr1045159bkb.356.1310689521172; Thu, 14 Jul 2011 17:25:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.123.8 with HTTP; Thu, 14 Jul 2011 17:25:01 -0700 (PDT) In-Reply-To: <0C62E684C9A10C4D8DC0A080F1E38EB70455B290@naeajaxsez07v.nadsusea.nads.navy.mil> References: <0C62E684C9A10C4D8DC0A080F1E38EB7044E8BB3@naeajaxsez07v.nadsusea.nads.navy.mil> <4E1C8E64.2050609@ice-sa.com> <0C62E684C9A10C4D8DC0A080F1E38EB704524506@naeajaxsez07v.nadsusea.nads.navy.mil> <4E1F1A74.9070709@christopherschultz.net> <0C62E684C9A10C4D8DC0A080F1E38EB70455B290@naeajaxsez07v.nadsusea.nads.navy.mil> From: Leon Kolchinsky Date: Fri, 15 Jul 2011 10:25:01 +1000 Message-ID: Subject: Re: Binary of mod_jk.so for Apache 2.2.x To: Tomcat Users List Content-Type: multipart/alternative; boundary=00235440bd7952016204a810af0a --00235440bd7952016204a810af0a Content-Type: text/plain; charset=ISO-8859-1 Hi, Hmm, I didn't know that you're not managing this box ;) I'm actually a Linux SysAdmin and not a big specialist in mod_jk ;) What version of RedHat it is? What application do you want to run on Tomcat behind Apache Httpd? If you want I could help your SysAdmin with compilation and basic configuration. Cheers, Leon Kolchinsky On Fri, Jul 15, 2011 at 03:03, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote: > Thanks, Chris. Unfortunately, I don't have root access, and I know just > enough Linux to be dangerous! LOL! The Linux S.A. doesn't know anything > about compiling (don't get me started on THAT), so he was asking if there > were a binary module to drop into the modules folder. I was hoping to avoid > having to learn how to do his job FOR him. :-D > > JL > > > -----Original Message----- > From: Christopher Schultz [mailto:chris@christopherschultz.net] > Sent: Thursday, July 14, 2011 12:34 PM > To: Tomcat Users List > Subject: Re: Binary of mod_jk.so for Apache 2.2.x > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Leon, > > On 7/12/2011 7:42 PM, Leon Kolchinsky wrote: > > Go to http://tomcat.apache.org/download-connectors.cgi and download > > the source code: > > > > # tar -xvzf tomcat-connectors-1.2.30-src.tar.gz > > > > Read docs/webserver_howto/apache.html or native/BUILDING.txt for > > options. > > > > # cd tomcat-connectors-1.2.30-src/native/ # which apxs # ./configure > > --with-apxs=/usr/sbin/apxs --enable-api-compatibility # make # make > > install > > All that as root? Hmm. > > Also, not everyone has a C compiler, especially on a production machine. > (The answer, of course, is to build somewhere else and upload.) > > Jonathan, I understand that you want convenience, but there are several > factors to consider, here: > > 1. Unless you download a binary from a trusted source (i.e. not anyone > on this list, but something like something.apache.org, or from your > distro's package manager), you should consider yourself compromised. > > 2. If you build your own mod_jk, you know it will work with your exact > environment. No weird problems with slight version mismatches between > httpd version or other libraries. No questions about which > architecture's files you need to download, etc. > > 3. Building mod_jk from source is relatively trivial. See above. Most > Linux distros some with a C compiler by default, and all of them > can trivially install gcc. > > Consider trying it. > > Recently, the Tomcat team decided to stop providing binaries for *NIX > platforms because of the above (maybe that was just for tcnative, but I > wouldn't be surprised if the policy is now to avoid rolling binaries for > any non-Java components). > > Why? Because if we wanted to provide binaries for, say, mod_jk, we need > to support (at least) two architectures: x86 and x86_64. Also, there are > 4 major versions of Apache httpd: 1.3, 2.0, 2.2, and 2.4. Sometimes, > even httpd patch level can affect compatibility (though it really > shouldn't) or maybe it was built against 2.2.11 but the user has 2.2.13 > and wants to know "why no binary?". > > We cannot possibly provide enough binaries to make everyone happy. Since > it's so easy to build mod_jk, we ask users in *NIX environments to just > do it. > > We do provide binaries for both 32- and 64-bit Microsoft Windows > environments for Apache httpd, Microsoft IIS and (wtf?) Netscape, > because those folks rarely have compilers handy. > > If you have any trouble building mod_jk, please don't hesitate to come > back for help. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk4fGnQACgkQ9CaO5/Lv0PCRlgCfd41tx9q8BpKfY35elKUCmokO > b9oAoIC3QamvoAhLvtageSz0/zQzEVxE > =0myN > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --00235440bd7952016204a810af0a--