Date: Sun, 24 Mar 2002 20:25:02 +0100 From: Flemming Froekjaer <flemming@eiffel.dk> To: Peter Ulrich Kruppa <root@pukruppa.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: apache/tomcat/mod_jserve ???? Message-ID: <3C9E280E.AE11402@eiffel.dk> References: <20020324183229.N10895-100000@small.pukruppa.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Ulrich Kruppa wrote: > Hi! > > I would like to run JAVA-servlets on my (small home) http server. > I am running -STABLE and have got a working apache/2.0.28 . > I installed jakarta-tomcat from ports, which i can startup and > shutdown. > I put an include line to my http.conf wich points to tomcat.conf > and when want to restart httpd, it fails with > ------------------------------ > Syntax error on line 13 of > /usr/local/jakarta-tomcat3.2.4/conf/tomcat.conf: > Cannot load /usr/local/libexec/mod_jserv.so into server: Cannot > open "/usr/local/libexec/mod_jserv.so" > ------------------------------ You should use mod_jk instead. Just install mod_jk, and add this to you httpd.conf file: LoadModule jk_module libexec/apache/mod_jk.so AddModule mod_jk.c <IfModule mod_jk.c> JkWorkersFile /usr/local/jakarta-tomcat3.2.4/conf/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 JkMount /examples/* ajp12 </IfModule> mod_jserv is for jserv, not jakarta-tomcat \Flemming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9E280E.AE11402>