From owner-freebsd-java Thu Feb 27 13:29:11 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18BB537B401 for ; Thu, 27 Feb 2003 13:29:10 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E6343F93 for ; Thu, 27 Feb 2003 13:29:09 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1RLT4l69565; Thu, 27 Feb 2003 13:29:04 -0800 (PST) Message-ID: <3E5E830E.7070906@codysbooks.com> Date: Thu, 27 Feb 2003 13:28:46 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: GB Clark Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <3E5E7B6B.4080308@codysbooks.com> <20030227151346.14544d3c.gclarkii@vsservices.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org GB Clark wrote: > On Thu, 27 Feb 2003 12:56:11 -0800 > Scott Reese wrote: > >>[Please cc: me in any replies as I am not currently subbed to this list. >> Thank you.] >> >>Hello, >> >>My ISP is going to be upgrading our server within the next few weeks and >>we also wanted to upgrade Tomcat to version 4.1.18. There is one small >>problem with this, however. There is currently no port of jk or jk2 >>that will allow us to let Tomcat 4 and Apache play together. mod_webapp >>is not really an option because that is only for Apache 2 and (according >>to the Tomcat docs) is a poor substitute for jk. I know there is a lot >>of interest in something like this as I've found numerous other >>instances of people asking my same question, but there seems to be no >>answer currently. In light of this, I was wondering if there were plans >>to make a port of jk or jk2 for Tomcat 4 so that we may take advantage >>of the newer features and better perfomance of Tomcat 4. Or, if no >>plans are in the works, does anyone have a working set up where Apache >>1.3.27 and Tomcat 4.1.18 are working together as they should? If so, >>I'd be very interested in hearing about how this was accomplished. >> > > I've got those two working fine (as far as I can tell). > I will admit that it took me 2 or 3 days to figure it due to the > funky build system that tomcat uses. But what it came down to is a > works config file in the apache conf dir and a mod_jk2.so file in the > apache libexec directory. How did you actually get the module? That's my stumbling block right there. The documentation on how to actually get the mod_jk2.so file to put into /usr/local/libexec/apache is extremely poor and very non-specific. I tried downloading the connectors source from the jakarta site and then building them, but even though the build was supposedly successful, no modules were produced. Of course, it is entirely possible that I did something wrong, but there are no docs to tell me what that might have been and this lack of information is my main frustration. > Now mind you, I've only played with it, not used it in production as > I felt I should just stick with C++ server side as I know that alot > better than Java. > > There is NO jni in this system BTW. > > GB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message