configuring tomcat and apache on windows 2000

2004-06-15 Thread Ian Parfitt
greetings
 
I'm trying to get tomcat running with apache on windows 2000.   I used
to work in UNIX a lot but have become lazy with Windows, so please
excuse my questions, the first of which is why isn't there an option to
download a windows version of apache with the tomcat servlet engine
built in? Or at least tomcat with the Jserv module included? I've got
apache http server 2.0.49 running and have downloaded and installed
jakarta-tomcat-4.1.30 and downloaded
jakarta-tomcat-connectors-jk2.0.4-win32-apache2.0.49.zip.  I extracted
the mod_jk2.so file from the latter zip to the modules folder in the
Apache2 folder.   I added a line to load that module to the httpd.conf
file.   I created a workers2.properties file (in notepad) and then cut
and pasted this
 
[channel.socket:localhost:8009]
  port=8009
  host=127.0.0.1
 
  [ajp13:localhost:8009]
  channel=channel.socket:localhost:8009
 
  [uri:/examples/*]
  worker=ajp13:localhost:8009

 
into it.   Then I added 
 
# The default port is 8009 but you can use another one
# channelSocket.port=8009
 
to the bottom of the jk2.properties file (in
c:\jakarta-tomcat-4.1.30\conf)
 
Apache runs, and when I run the startup.bat file tomcat starts, but
then tomcat seems to be hung at 
INFO:  Jk running ID=0 time=0/31
config=C:\jakarta-tomcat-4.1.30\bin\jk2.properties
 
Any clues or help would be greatly appreciated.
 
Ian Parfitt
Selkirk College
Castlegar, BC


Got servlet - cancel that last request

2004-06-15 Thread Ian Parfitt
It seems to be running now after all, sorry for any distractions.
 
Ian Parfitt


Tomcat still ain't working with the Apache webserver

2004-06-15 Thread Ian Parfitt
 
 
Can open the http:/localhost/examples, but the SnoopServlet is giving
HTTP Status 404.  Also I'm not getting the configuration file
Tomcat-Apache.conf showing up in the C:\jakarta-tomcat-4.1.30\conf
directory.   My verdict: Tomcat and Apache are not talking.  Any ideas? 
Workers2.properties and jk2.properties files working on Windows 2000
would be helpful, any other windows tweaks.
 
All the software is on the same machine:
Windows 2000
Apache web server (apache_2.0.49-win32-x86-no_ssl.msi)
Tomcat (jakarta-tomcat-4.1.30.zip)
Apache - Tomcat connector module
(jakarta-tomcat-connectors-jk2.0.4-win32-apache2.0.49.zip)
 
many thanks in advance
 
Ian Parfitt
Selkirk College, Castlegar, BC
[EMAIL PROTECTED]