From owner-freebsd-java Thu Jun 15 14:37:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 2F2FB37B5D8 for ; Thu, 15 Jun 2000 14:37:31 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 15 Jun 2000 22:37:27 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id WAA25509; Thu, 15 Jun 2000 22:37:26 +0100 (BST) Date: Thu, 15 Jun 2000 22:37:26 +0100 (BST) From: Jan Grant To: java@freebsd.org Subject: Tomcat query Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm posting this here first because of the generally friendly bunch of folks who hang out here :-) I've built the mod_jserv.c that comes with the Tomcat source into Apache. This works. I've also got Tomcat working. Now, in httpd.conf I can do: ApJServMount /mntpoint /zonename and in Tomcat's server.xml, have an entry that reads: And, sure enough, apache will direct accesses to http://localhost/mntpoint/servlet1 to the appropriate servlet as defined in /home/jan/servlet/WEB-INF/web.xml Note, however, this doesn't appear to work if I use path="/zonename" But I'm certain that that is not what should be happening: because the /zonename entry in the ApJServMount line appears to be completely ignored. In other words, if I want to move the web application instance from http://localhost/mntpoint to http://localhost/other then I need to change _both_ the httpd.conf entry for Apache (as I'd expected) _and_ the server.xml file (which I don't think I ought to have to do). Is the zonename information used at all? Have I got the wrong end of the stick or is this a tomcat/jserv bug that I should dive into the source to fix? Thanks in advance - jan PS. This is with patchset 8 currently; however, patchset 9 seems to be pretty good on the machine I tested it on. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk perl -e 's?ck?t??print:perl==pants if $_="Just Another Perl Hacker\n"' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message