From owner-freebsd-questions Sun Mar 24 14:37: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail7.kc.rr.com (fe7.rdc-kc.rr.com [24.94.162.160]) by hub.freebsd.org (Postfix) with ESMTP id B224A37B400 for ; Sun, 24 Mar 2002 14:37:02 -0800 (PST) Received: from gruffy.kc.rr.com ([65.26.58.166]) by mail7.kc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Sun, 24 Mar 2002 16:34:23 -0600 Received: (from riksca@localhost) by gruffy.kc.rr.com (8.11.6/8.11.6) id g2OMaah78996; Sun, 24 Mar 2002 16:36:36 -0600 (CST) (envelope-from riksca) Date: Sun, 24 Mar 2002 16:36:36 -0600 From: Rik Scarborough To: Flemming Froekjaer Cc: Peter Ulrich Kruppa , freebsd-questions@FreeBSD.ORG Subject: Re: apache/tomcat/mod_jserve ???? Message-ID: <20020324223636.GA78855@gruffy.kc.rr.com> Mail-Followup-To: Flemming Froekjaer , Peter Ulrich Kruppa , freebsd-questions@FreeBSD.ORG References: <20020324183229.N10895-100000@small.pukruppa.de> <3C9E280E.AE11402@eiffel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C9E280E.AE11402@eiffel.dk> User-Agent: Mutt/1.3.28i 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 Have you been able to get mod_jk to work with Apache2? I cannot. The port will not compile unless Apache1 is installed, and then will not run under Apache2. If I get the newest mod_jk and compile it, it still will not run under Apache2 on FreeBSD. ~Rik * Flemming Froekjaer (flemming@eiffel.dk) [020324 13:36]: > 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 -- Ranger Rik -- RikSca@mac.com Brought to you by FreeBSD 4.5 Joshua 24:15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message