From owner-freebsd-java Tue Apr 25 6:20:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop3.dnvr.uswest.net (dnvrpop3.dnvr.uswest.net [206.196.128.5]) by hub.freebsd.org (Postfix) with SMTP id 9EF8B37BB03 for ; Tue, 25 Apr 2000 06:20:23 -0700 (PDT) (envelope-from wolpert@methodsystems.com) Received: (qmail 7253 invoked by alias); 25 Apr 2000 13:20:20 -0000 Delivered-To: fixup-java@FreeBSD.ORG@fixme Received: (qmail 7207 invoked by uid 0); 25 Apr 2000 13:20:20 -0000 Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195) by dnvrpop3.dnvr.uswest.net with SMTP; 25 Apr 2000 13:20:20 -0000 Content-Length: 2210 Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004251257.OAA50170@gil.physik.rwth-aachen.de> Date: Tue, 25 Apr 2000 07:19:18 -0600 (MDT) From: Edward Wolpert To: Christoph Kukulies Subject: RE: the latest - tomcat etc. Cc: java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To make it short: yes ;-) (I assume your doing this under freebsd... and using the port installation version. I don't think there is a port or package of the Tomcat 3.1 version yet... ) First, you need to modify the http.conf file in /usr/local/etc/apache as it stipulates in the installation directions for tomcat. (Check the website) it's actually easy. They have 'default' instructions, and check the userguide as well for more complete information) Second, the tomcat.conf file needs to point to the proper location of the mod_jserv.so file. I found it best to explictly point to the one that the jserv installed. (Tomcat and jserv use the same version.) This is the LoadModule line. Mine looks like this: LoadModule jserv_module /usr/local/libexec/apache/mod_jserv.so I think this is the location where the jserv port automatically installs the mod_jserv.so file. You'll notice that you'll have to start tomcat manually. Do this first to test the installation. Once you know it works, create a script in the /usr/local/etc/rc.d directory, so tomcat starts automatically on reboot. Mine looks like this: #!/bin/sh TOMCATDIR=/usr/local/tomcat/current if [ -d $TOMCATDIR ] then /usr/local/tomcat/current/bin/tomcat.sh start echo -n ' tomcat' fi Note that I installed tomcat on my system in /usr/local/tomcat/current and modified the tomcat.sh script that came with it to include the correct system variables. On 25-Apr-2000 Christoph Kukulies wrote: > > Now that I have apach13 and apache-jserv running again I find that > the servlets it is using are still JSDK2.0 (so they are 2.0 servlets, right?) > > The 2.2 Servlet API seems to be the current and I'm having troubles with > a servlet I want to write and find myself with not existing methods > in the 2.0 API. > > To make it short: Is there a way to run the latest (tomcat) release > under apache13? > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message Virtually, Edward Wolpert http://www.methodsystems.com/ 4e75 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message