Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 55937 invoked from network); 9 Dec 2000 18:56:58 -0000 Received: from mailout03.sul.t-online.com (194.25.134.81) by locus.apache.org with SMTP; 9 Dec 2000 18:56:58 -0000 Received: from fwd04.sul.t-online.com by mailout03.sul.t-online.com with smtp id 144pB2-0003Ct-02; Sat, 09 Dec 2000 19:56:56 +0100 Received: from intland.com (320077106547-0001@[62.227.195.184]) by fmrl04.sul.t-online.com with esmtp id 144pAj-1kMv0CC; Sat, 9 Dec 2000 19:56:37 +0100 Sender: zk@t-online.de Message-ID: <3A328067.20C2F7F0@intland.com> Date: Sat, 09 Dec 2000 19:56:39 +0100 From: Zsolt Koppany Organization: Intland GmbH X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Using Jikes with Tomcat 3.2 final References: <0941E0D29BB1D21184F300105A9CB785C9ED64@PST> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 320077106547-0001@t-dialin.net X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm not sure what you mean. How can be tomcat-3.2 final configure that it uses jikes? Zsolt Arun Katkere wrote: > > We ended up writing our own ContextInterceptor which looked up servlet named > "jsp" and configured it to use jikes: > > public void contextInit(Context ctx) > throws TomcatException > { > if(ctx.getDebug() > 0) { > ctx.log("JikesContextInterceptor - init " + ctx.getPath() + " " + > ctx.getDocBase()); > } > ServletWrapper wrapper = ctx.getServletByName("jsp"); > if(wrapper != null) { > wrapper.addInitParam("jspCompilerPlugin", > "org.apache.jasper.compiler.JikesJavaCompiler"); > } > else { > ctx.log("JikesContextInterceptor - no servlet named \"jsp\": " + > ctx.getPath() + " " + ctx.getDocBase()); > } > } > > and added this class *after* WebXmlReader loading in server.xml. > > Not the cleanest way, but we didn't want to put TomCat specific code in all > our web.xmls. > > -arun > > > -----Original Message----- > > From: Barbara Nelson [mailto:bnelson@extricity.com] > > Sent: Thursday, December 07, 2000 5:58 PM > > To: 'tomcat-user@jakarta.apache.org' > > Subject: Using Jikes with Tomcat 3.2 final > > > > > > Has anyone got Tomcat 3.2 final to use Jikes rather than the > > Sun compiler? > > If so, what did you put in the web.xml file. We had it > > working for Tomcat > > 3.1, but I can't seem to get it to work in Tomcat 3.2. I'll > > start debugging > > it tomorrow, but if someone has already figured it out, that > > would save me > > some time :-) > > > > Barbara Nelson. > > > > > > > > > > -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart Tel: +49-711-7871080 Fax: +49-711-7871017