Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 63447 invoked from network); 1 Aug 2002 12:09:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Aug 2002 12:09:56 -0000 Received: (qmail 2836 invoked by uid 97); 1 Aug 2002 12:09:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 2820 invoked by uid 97); 1 Aug 2002 12:09:56 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 2808 invoked by uid 98); 1 Aug 2002 12:09:56 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <83F0258A9996D311B14200A0C98F17360202C31C@aas-internet.aas.com> From: "Turner, John" To: 'Tomcat Users List' Subject: RE: About mod_jk. Date: Thu, 1 Aug 2002 08:09:04 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="big5" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, as Ralph already said, if HAVE_SSL is false, your JkMount directives will not be included and apache will just spit out a JSP page as text/html. If you have the two Listener directives in server.xml as you posted, you don't need to put any mod_jk statements whatsoever in httpd.conf. With those two Listener directives, all you have to put in httpd.conf is a line that says: Include /some/path/to/tomcat/conf/auto/mod_jk.conf Obviously, you will have to make sure your Context elements in server.xml make sense, and match what apache is expecting. Things I would check are whether ServerName in httpd.conf matches Host name="" in server.xml, and whether you have a workers.properties file with the same hostname as ServerName and the Host name="" parameter. The apache logs should tell you exactly (or nearly so) what's happening...if you are getting a 200 in the logs for the URL in question, that means that apache isn't even trying to send things to tomcat. John Turner jturner@NOSPAM.aas.com -----Original Message----- From: Tony Mak [mailto:tony.mak@infomaster.com.hk] Sent: Thursday, August 01, 2002 6:24 AM To: tomcat-user@jakarta.apache.org Subject: About mod_jk. Hi ya, I am working on mod_jk. After I set the setting, the jsp page take no effect (The bowser just shows all jsp codes). The setting is as follows, In server.xml, In httpd.conf, LoadModule jk_module modules/mod_jk.so . . . AddModule mod_jk.c JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 ---------------------------- Environment Redhat 7.3, Apache 1.3.23-9(bundle with RH), Tomcat4.0.3(RPM) Tony -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: