Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 88833 invoked from network); 30 Jun 2003 10:12:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jun 2003 10:12:55 -0000 Received: (qmail 24304 invoked by uid 97); 30 Jun 2003 10:15:32 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 24297 invoked from network); 30 Jun 2003 10:15:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jun 2003 10:15:31 -0000 Received: (qmail 87807 invoked by uid 500); 30 Jun 2003 10:12:44 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 87791 invoked from network); 30 Jun 2003 10:12:44 -0000 Received: from smtp.infores.com (192.152.134.67) by daedalus.apache.org with SMTP; 30 Jun 2003 10:12:44 -0000 Received: FROM chiexbr0.infores.com BY smtp.infores.com ; Mon Jun 30 05:12:54 2003 -0500 Received: from FRMSE01.fr.infores.com ([170.118.115.19]) by chiexbr0.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 30 Jun 2003 05:12:53 -0500 Received: from infores.com ([170.118.99.22]) by FRMSE01.fr.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 30 Jun 2003 12:12:51 +0200 Message-ID: <3F000D23.8080009@infores.com> Date: Mon, 30 Jun 2003 12:12:51 +0200 From: Laurent Blume User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: fr, en, de MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Fw: Howto compile mod_jk2 under windows? Content-Type: multipart/mixed; boundary="------------030207010904000500070000" X-OriginalArrivalTime: 30 Jun 2003 10:12:51.0923 (UTC) FILETIME=[2A4C6A30:01C33EF0] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------030207010904000500070000 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Here is a small explanation on how I managed to do it myself. I spent a while looking for detailed documentation with no success. If you find anything better, please keep me informed :-) HTH, Laurent --------------030207010904000500070000 Content-Type: message/rfc822; name="Re: [users@httpd] mod_jk2 binary for Apache2/Win32 [SOLVED]" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: [users@httpd] mod_jk2 binary for Apache2/Win32 [SOLVED]" Received: from chiexbr1.infores.com ([170.118.120.99]) by FRMSE01.fr.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 18:26:07 +0200 Received: from SMTPSCAN.infores.com ([192.152.134.68]) by chiexbr1.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 11:26:05 -0500 Received: From infores.com ([192.152.134.73]) by SMTPSCAN.infores.com (WebShield SMTP v4.5 MR1a); id 1054916764348; Fri, 6 Jun 2003 11:26:04 -0500 Received: from ([208.185.179.12]) by smtpmail1.infores.com with SMTP ; Fri, 06 Jun 2003 11:19:36 -0500 (CDT) Received: (qmail 45500 invoked by uid 500); 6 Jun 2003 16:19:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 45430 invoked from network); 6 Jun 2003 16:19:19 -0000 Received: from smtp.infores.com (192.152.134.67) by daedalus.apache.org with SMTP; 6 Jun 2003 16:19:19 -0000 Received: FROM chiexbr0.infores.com BY smtp.infores.com ; Fri Jun 06 11:19:21 2003 -0500 Received: from FRMSE01.fr.infores.com ([170.118.115.19]) by chiexbr0.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 11:19:21 -0500 Received: from infores.com ([170.118.99.22]) by FRMSE01.fr.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 18:19:18 +0200 Message-ID: <3EE0BF05.6020008@infores.com> Date: Fri, 06 Jun 2003 18:19:17 +0200 From: Laurent Blume User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: fr, en, de MIME-Version: 1.0 To: users@httpd.apache.org References: <3EC9F446.5060806@infores.com> <23003.1053585619@www2.gmx.net> <3ECC84A7.9080902@infores.com> In-Reply-To: <3ECC84A7.9080902@infores.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2003 16:19:18.0405 (UTC) FILETIME=[61595350:01C32C47] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] mod_jk2 binary for Apache2/Win32 [SOLVED] Return-Path: users-return-28510-laurent.blume=infores.com@httpd.apache.org Laurent Blume wrote: > No, it's part of Tomcat, and I think the most relevant sources are those > available in the Tomcat source dist, and also as a separate file: > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/ > > I tried with the complete Tomcat distribution (it looked easier), but > couldn't go anywhere (I'm not that used to compiling on Win32, and I > didn't have enough time to spend on it). To answer my own question, since I could take some time to try building that connector, and finally did it, here are some notes I took, that might be of use to someone else... Feel free to correct me if needed. If useful, I might improve it and put it online somewhere. Lines starting with c:> are for the command prompt. Tomcat 4.1 Connectors --------------------- Version: 4.1.24 I used the zip file containing only the connectors code (jakarta-tomcat-connectors-4.1.24-src.zip) MS Visual Studio 98 ------------------- By default, the connector config file looks for RC.EXE in C:\Program Files\Microsoft Visual Studio\VC98\Bin For me, it was in C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin Rather than modifying the config files, I simply copied the file (it'as already twice in the MSVC dir, so what the heck). Example in the Windows command prompt c:> copy "C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\rc.exe" "C:\Program Files\Microsoft Visual Studio\VC98\Bin" C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin must be in the PATH (some DLLs need it) Example in the Windows command prompt: c:> PATH=%PATH%;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin Apache2 ------- Version: 2.0.46 It must be installed using the "Custom" choice, and "Build headers and libraries" must be selected. The APACHE2_HOME environment variable must be set to the Apache 2 directory. Example in the Windows command prompt: c:> set APACHE2_HOME=C:\Program Files\Apache Group\Apache2 Ant --- Version: 1.5.3 It must be installed, and the bin/ subdir in the PATH Example in the Windows command prompt: c:> PATH=%PATH%;C:\Program Files\Apache Group\apache-ant-1.5.3\bin JDK2 ---- Version: 1.4.1_02 The JAVA_HOME environment variable should be set Example in the Windows command prompt: c:> set JAVA_HOME=c:\j2sdk1.4.1_02 * Unzip the connectors' source file in a convenient directory. %CONNROOT% indicates the base of the extracted directory. * Adapt the properties file to your needs c:> cd %CONNROOT%/jk/ c:> notepad build.properties * I only put those two lines in it, since I want to disable debugging and enable code optimization: so.debug=false so.optimize=true * Then, first build, for some dependencies: c:> ant jkant * Finally, the connectors (Apache2 and IIS): c:> cd native2/ c:> ant * The resulting DLLs will be in: %CONNROOT%/jk/build/jk2/apache2/mod_jk2.dll and %CONNROOT%/jk/build/jk2/isapi/redirector2.dll * Just follow the usual installation to replace old binaries Laurent --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------030207010904000500070000 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------030207010904000500070000--