Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 17th, 2002, 07:52 PM
delboy_trotter delboy_trotter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: United States of Europe (USE)
Posts: 4 delboy_trotter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 10:46 AM.

Reply With Quote
  #2  
Old October 17th, 2002, 08:09 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
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 )

Reply With Quote
  #3  
Old October 18th, 2002, 11:32 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,917 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 14 h 31 m 53 sec
Reputation Power: 279
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 ...

Reply With Quote
  #4  
Old November 29th, 2002, 11:09 PM
stanley1610's Avatar
stanley1610 stanley1610 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 251 stanley1610 User rank is Corporal (100 - 500 Reputation Level)stanley1610 User rank is Corporal (100 - 500 Reputation Level)stanley1610 User rank is Corporal (100 - 500 Reputation Level)stanley1610 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 16 h 18 m 32 sec
Reputation Power: 8
Unhappy 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

<IfModule !mod_jk.c>
LoadModule jk_module "C:/WINNT/system32/mod_jk2-2.0.43.dll"
</IfModule>
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"
JkLogLevel info
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/ja....0.2/bin/win32/

What is wrong?
__________________
------------------------------------------
Perl Kids Kiss Perl
Stanley
------------------------------------------

Reply With Quote
  #5  
Old April 27th, 2003, 03:13 PM
bernieda bernieda is offline
Some guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: North America
Posts: 4 bernieda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Stanley1610:

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:
URL

I hope that this clarification helps.

Reply With Quote
  #6  
Old May 18th, 2003, 11:11 AM
rangak rangak is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Chicago
Posts: 1 rangak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to rangak
Hi,
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" %>
<html:html locale="true">
<head>
<html:base/>
<title>
<bean:message key="index.title"/>
</title>
</head>
<body>
<h2>BookView</h2>
</body>
</html:html>

When I run this jsp, it gave me error "Cannot find message resources
under key org.apache.struts.action.MESSAGE". Any help is appreciated.

Thanks
Kumar
630-729-9626
URL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Setting up Apache 2.0.43 and Tomcat 4.1.12


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT