Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99316 invoked by uid 500); 6 May 2003 19:15:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 99261 invoked from network); 6 May 2003 19:15:56 -0000 Received: from unknown (HELO squarehosting.com) (12.158.191.98) by daedalus.apache.org with SMTP; 6 May 2003 19:15:56 -0000 Received: from mars.uni (squarehosting.com [12.158.191.98]) by squarehosting.com (8.12.8/8.11.6) with SMTP id h46JBWx3003379 for ; Tue, 6 May 2003 14:11:33 -0500 Date: Tue, 6 May 2003 15:28:16 -0400 From: Jurgen To: users@httpd.apache.org Message-Id: <20030506152816.3793a926.apache@squarehosting.com> In-Reply-To: References: <44754002@mailbox2.Hitchcock.ORG> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Tomcat. Hi, after you load mod_jk you will have to use JkMount in your server configuration. With a line like 'JkMount /somepath ajp3' you direct everything that comes with domain.com/somepath to the Tomcat engine. One other issue is that .java files are source code files and need to be compiled first to .class files. The the servlets are called without any ending. There is no need to add a type. Jurgen On Tue, 06 May 2003 12:39:19 -0400 Jonathan Laberge wrote: > On 5/6/03 12:36 PM, "James B. Muir" > wrote: With you knowledge of mod_jk, how is it possible to tell > Apache, that .java files are to be treated as a servlet? >=20 > I think that that might be the only reason why this isn't working > because I had the same type of problem with php, but I just put in the > AddType clause for my type of files. >=20 > > We're not using Apache 2.0 here yet, and I'm only familiar with the > > mod_jk and mod_webapp connectors. My ~guess~ is that you need to > > experiment with how you have configured the connector in your > > httpd.conf file. Maybe someone with more knowledge of your > > configuration will chime in.-James > >=20 > >=20 > > --- You wrote: > > Sorry for bothering all of you again. > >=20 > > After installing my j2k connector, and putting the LoadModule in my > > httpd.conf, I still can't get my .java to run properly. > >=20 > > What happens is that my source code is just printed out. > > Is their and AddType I must include into my httpd.conf? > >=20 > > I am running Apache 2.0.43 with RedHat 8.0. > > Thank you. > > --- end of quote --- > >=20 > >=20 > > ------------------------------------------------------------------- > > -- The official User-To-User support forum of the Apache HTTP Server > > Project. See for more > > info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > >=20 >=20 > --=20 >=20 > Art visuel, communication, multim=E9dia et internet >=20 > Jonathan Laberge > jlaberge@redboxstudios.com >=20 > Les Studios RedBox inc. > 9643 boul. LaSalle > LaSalle (Qu=E9bec) > Canada H8R 2N7 >=20 > www.redboxstudios.com >=20 > 514 368 3962 bur/off > 514 368 9212 tel/fax > 514 865 2554 cell/mob >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. See for more > info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org