Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 19934 invoked from network); 13 Jun 2002 18:11:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Jun 2002 18:11:11 -0000 Received: (qmail 8720 invoked by uid 97); 13 Jun 2002 18:10:55 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 8704 invoked by uid 97); 13 Jun 2002 18:10:54 -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 8692 invoked by uid 98); 13 Jun 2002 18:10:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Authentication-Warning: viewaskew.ialex.net: alex owned process doing -bs Date: Thu, 13 Jun 2002 14:10:46 -0400 (EDT) From: Alex Short X-X-Sender: alex@viewaskew.ialex.net To: Tomcat Users List Subject: Re: mod_jk and Mapping configuration error In-Reply-To: <1023978373.3d08ab85077db@mail.bitstream.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using Tomcat 4.0.3 I've tried looking all over the place for good documentation of apache+tomcat using mod_jk with Virtual Hosts and found many different (but none that worked for me) solutions. Some said to put Host name= in the server.xml, others said put it in the workers.properties file. Finally i got it sort of working by creating a symbolic link in webapps called www.ialex.net which points to my web dir. But unfortunately that only works if i do www.ialex.net/www.ialex.net/index.jsp. otherwise it just gives me a 404. I've fiddled with Context host name and docBase etc, to no avail. Does anyone have a working set of server.xml config files for a virtual host setup using apache+tomcat4+mod_jk ? I want to have .jsp files within my webdirectory and point them to tomcat by file extention as i tried with JkMount /*.jsp ajp13 in my config. Thanks Alex > Alex, > What version of Tomcat are you using? Also, I'm trying to resolve an issue I > have (mod_jk not working). Do you have a procedure on how to get mod_jk > working? > > Thanks.. > > Quoting Alex Short : > > > I can't for the life of me figure out my problem. I have apache running > > all peachy, and added in mod_jk to service *.jsp to tomcat. > > > > I'm trying to first get a single Virtual host working with this config, > > and my webroot is /opt/web/www.ialex.net > > > > In my VirtualHost i have my JkMount > > JkMount /*.jsp ajp13 > > > > and in my server.xml > > > > > > > port="8009" minProcessors="5" maxProcessors="75" > > acceptCount="10" debug="0"/> > > > > > > > > > > No errors on startup for either apache or tomcat (I start tomcat first) > > and when i try going to a file index.jsp in /opt/web/www.ialex.net from my > > browser i get a > > > > Apache Tomcat/4.0.3 - Error > > report > >

Apache Tomcat/4.0.3 - HTTP Status 404 - > > /index.jsp


type Status > > report

message /index.jsp

description > > The requested resource (/index.jsp) is not available.


> size="1" noshade> > > > > And this in my tomcat logs > > > > 2002-06-13 09:09:35 StandardHost[localhost]: MAPPING configuration error > > for request URI > > > > Help please > > > > Alex > > > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: