Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 24512 invoked by uid 500); 9 May 2001 18:55:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24420 invoked from network); 9 May 2001 18:55:04 -0000 Received: from texlog2.texas.rr.com (24.93.35.223) by h31.sny.collab.net with SMTP; 9 May 2001 18:55:04 -0000 Received: from patrick (cs24167104-192.satx.rr.com [24.167.104.192]) by texlog2.texas.rr.com (8.12.0.Beta5/8.12.0.Beta5) with SMTP id f49It3dQ026451 for ; Wed, 9 May 2001 13:55:03 -0500 (CDT) From: "J. Patrick Lanigan" To: Subject: RE: Jsp's not executing server-side code Date: Wed, 9 May 2001 13:55:40 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The mod_jk.conf file was missing the AddModule line. Anyhow, I've got tomcat serving jsp's/servlets now, but if I try and hit domain/examples/ I get an apache directory listing. If I then hit refresh I get a 'Not Found' error. Also, if I try to hit some of the static pages within tomcats examples directory, I get a 404 error. Ideas and suggestions? Thanks, Patrick > I wrote: > > I finally got Apache to load mod_jk without err. I seem to have > been missing > some needed libraries, but I upgraded to RedHat 7.1 and installed all the > libraries. Now, mod-jk builds fine and apache loads it. > > My problem now is, server side code in the jsp's is being spit > right out to > the browser rather than being executed on the server. If I add > port 8080 to > the domain to get Tomcat to do ALL the work, the jsp works as it > is supposed > to. > > I have added the ajp13 connection handeler to the server.xml. I have > modified the workers.properties file for my enviroment. And I have tried > including each of the mod_jk.conf and mod_jk.conf-auto files in my > httpd.conf file > > Any help would be great! > > Thanks, > Patrick >