From owner-freebsd-questions Sun Mar 24 11:33:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.stofanet.dk (mail1.stofanet.dk [212.10.10.6]) by hub.freebsd.org (Postfix) with SMTP id 41D3537B400 for ; Sun, 24 Mar 2002 11:33:46 -0800 (PST) Received: (qmail 7559 invoked from network); 24 Mar 2002 19:33:44 -0000 Received: from unknown (HELO eiffel.dk) (62.107.86.8) by mail1.stofanet.dk with SMTP; 24 Mar 2002 19:33:44 -0000 Message-ID: <3C9E280E.AE11402@eiffel.dk> Date: Sun, 24 Mar 2002 20:25:02 +0100 From: Flemming Froekjaer X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Ulrich Kruppa Cc: freebsd-questions@FreeBSD.ORG Subject: Re: apache/tomcat/mod_jserve ???? References: <20020324183229.N10895-100000@small.pukruppa.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 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