Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 11:26:12 +0100
From:      Joao Schim <joao@bowtie.nl>
To:        katmandu@volcanomail.com
Cc:        freebsd-java@freebsd.org
Subject:   Re: mod_jk
Message-ID:  <20030103112612.2e297ae1.joao@bowtie.nl>
In-Reply-To: <20030103002027.C173545A3@sitemail.everyone.net>
References:  <20030103002027.C173545A3@sitemail.everyone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Mike,

I have got no problems with it what so ever. 
However i am using mod_jk/1.2.1

Don't you need to fill in paths in your worker file
pointing to tomcat's basedir  like :

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4

I don't know what it would do if there's no jakarta-tomcat 
installed.. 

Anyway, it IS possible to use mod_jk with fbsd.
(-stable that is, don't know about -current)

Regards,

Joao Schim


On Thu, 2 Jan 2003 16:20:27 -0800 (PST)
Mike Stevens <katmandu@volcanomail.com> wrote:

> I'm wondering if anyone has been able to get mod_jk working under
> FreeBSD?  I've been able to get it to compile under FreeBSD 4.6, 4.7
> and 5.0 with Apache 1.3.26.  It also compiles under FreeBSD 5.0 with
> Apache 2.0.43.  However, it will not actually run under any of these
> combinations.
> 
> I've downloaded the jakarta-tomcat-connectors-jk-1.2.2-src tarball and
> gone to the ./jk/native directory.  I then did a ./configure
> --with-apxs=/usr/local/apache/bin/apxs followed by a gmake.  Tomcat is
> not on this server, so I need to build it in this fashion.
> 
> The problem in each of these combinations seems to have the same root
> cause: mod_jk can't find the workers.properties file.  The following
> is the error message I get from BSD 4.7 and Apache 1.3.26:
> 
> [error] Error while opening the workers, jk will not work
> [error] (2)No such file or directory: Error while opening the workers,
> jk will not work
> 
> The workers file does indeed exist, despite the message to the contrary.   Changing the JkWorkersFile directive to a non-existent file results in a different error message.  The real problem seems to be where map_read_properties is called in mod_jk.c.  The pointer to the worker file here seems to be NULL.  Does anyone know how to fix this problem?  Any help would be GREATLY appreciated (and possibly save me a Linux install).
> 
> -- 
> Mike 
> 
> _____________________________________________________________
> Get your own FREE e-mail account at http://www.volcanomail.com
> 
> _____________________________________________________________
> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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