-----Original Message-----
From: Brian Maniex [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 10:10 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.1 and Apache 1.3.14 On Win98All,How do I get these products to work together?- Tomcat 3.1 is installed at C:\Program Files\Tomcat- Apache 1.3.14 is installed at C:\Apache- ApacheModuleJServ.dll is installed at C:\Apache\modules- Tomcat is started by running C:\Program Files\Tomcat\bin\startup.bat- When I then start Apache I get this semi-reassuring message: Apache/1.3.14 (Win32) tomcat/1.0 running...- When I run a JSP page, I get an app server error :(Any ideas?Thanks in advance,BrianHere is my standard and unmodified Tomcat.conf file:###############################################################################
# Apache JServ Configuration File #
###############################################################################
# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
LoadModule jserv_module libexec/mod_jserv.so
<IfModule mod_jserv.c>
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007
#################### All jsp files will go to tomcat ####################
ApJServMount default /root
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
############################## Context mapping - all requests go to tomcat
ApJServMount /examples /root
############################## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##
# ApJservMount /CONTEXT/servlet /root
# <Location /CONTEXT/WEB-INF/ >
# AllowOverride None
# deny from all
# </Location>
</IfModule>
I've
run both Tomcat 3.1 and 3.2 under Win98 with Apache 1.3.12 with no problem after
initial frustrations. Looks like your problem is using the .so loadmodule line
instead of the .dll one.
To get
it to work, these are the steps besides installing Apache and
Tomcat
1. Get
the JSERV dll from the Win32/i386 directory in Tomcat download section and put
in /modules
2. Add
the Tomcat include line to httpd.conf
3. Run
tomcat env to set up environment variables
4. Run
tomcat start to create tomcat conf file
5. run
Apache
Did
you download the tomcat version as a zip file or some other format? I don't
recall having to make the edit on the loadmodule for JServ.
Marc
McDonald
Design
Intelligence
- RE: Tomcat 3.1 and Apache 1.3.14 On Win98 Umbert Borruel
- RE: Tomcat 3.1 and Apache 1.3.14 On Win98 Umbert Borruel
- Marc . McDonald
