Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 16:36:36 -0600
From:      Rik Scarborough <RikSca@kc.rr.com>
To:        Flemming Froekjaer <flemming@eiffel.dk>
Cc:        Peter Ulrich Kruppa <root@pukruppa.de>, freebsd-questions@FreeBSD.ORG
Subject:   Re: apache/tomcat/mod_jserve ????
Message-ID:  <20020324223636.GA78855@gruffy.kc.rr.com>
In-Reply-To: <3C9E280E.AE11402@eiffel.dk>
References:  <20020324183229.N10895-100000@small.pukruppa.de> <3C9E280E.AE11402@eiffel.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> <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

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324223636.GA78855>