October 17th, 2002, 08:52 PM
Setting up Apache 2.0.43 and Tomcat 4.1.12 on Windows
After much searching and pulling out of hair, I discovered this document, and found it to be really useful.
I had found the official documentation, complicated and unfriendly towards Windows users. This documentation was refreshingly different.
The versions specified in the document weren't the latest, but I tried it with apache 2.0.43 and tomcat 4.1.12 on Win2K and it worked. So I hope it proves useful to other newbies.
Last edited by delboy_trotter; October 22nd, 2002 at 11:46 AM.
October 17th, 2002, 09:09 PM
Thanks delboy, it's always nice to have some extra documentation links to help answer questions a little quicker (or to point people who don't read it in the right direction )
October 18th, 2002, 12:32 PM
GREAT document!!! Thanks for the input.
I'd add a link to a webpage about Tomcat & IIS for the Ms loving folks.
If only the Apache Foundation puts up a complete package ...
November 30th, 2002, 12:09 AM
The Document does work
I followed the instruction of the document named how2install_apache_w_php_jsp_support.doc but I had trouble
my mod_jk.conf-auto is
LoadModule jk_module "C:/WINNT/system32/mod_jk2-2.0.43.dll"
JkWorkersFile "C:/Program Files/Apache Group/Tomcat 4.1/conf/workers.properties"
JkLogFile "C:/Program Files/Apache Group/Tomcat 4.1/logs/mod_jk.log"
JkMount /manager ajp13
JkMount /manager/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
JkMount /*.jsp ajp13
And I edited the http.conf and inserted,
Include "C:\Program Files\Apache Group\Tomcat 4.1\conf\mod_jk.conf-auto"
When I tested the http.conf, as a result, it prompted
"C:\Program Files\Apache Group\Apache2\bin\Apache.exe" -t -f "C:\Program Files\Apache Group\Apache2\conf\httpd.conf" -d "C:\Program Files\Apache Group\Apache2\."
Syntax error on line 2 of C:/Program Files/Apache Group/Tomcat 4.1/conf/mod_jk.conf-auto:
Cannot load C:/WINNT/system32/mod_jk2-2.0.43.dll into server: %1 is not a valid Win32 application.
the file mod_jk2-2.0.43.dll was downloaded from http://jakarta.apache.org/builds/jak...0.2/bin/win32/
What is wrong?
Perl Kids Kiss Perl
April 27th, 2003, 04:13 PM
mod_jk2-2.0.43.dll is not the same as mod_jk-2.0.43.dll
for the discussed instructions to work, you need to download mod_jk, not mod_jk2
You may get the latest win32 binary version of mod_jk here:
I hope that this clarification helps.
I'm a newbie to Struts. I installed Apache 2.0, I copied the connector
in my D:\WINNT\SYSTEM32 foler, I installed tomcat 4.1. When I run a
sample jsp (without struts code), it worked fine. But, when I tried to
execute a simple jsp with this code in it
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
When I run this jsp, it gave me error "Cannot find message resources
under key org.apache.struts.action.MESSAGE". Any help is appreciated.