Date: Thu, 15 Jun 2000 22:37:26 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: java@freebsd.org Subject: Tomcat query Message-ID: <Pine.GHP.4.21.0006152225260.25322-100000@mail.ilrt.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
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: <Context path="/mntpoint" docBase="/home/jan/servlet" debug="0" reloadable="true" /> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GHP.4.21.0006152225260.25322-100000>
