Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30358E38E for ; Thu, 17 Jan 2013 04:43:44 +0000 (UTC) Received: (qmail 71917 invoked by uid 500); 17 Jan 2013 04:43:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 71565 invoked by uid 500); 17 Jan 2013 04:43:39 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 71531 invoked by uid 99); 17 Jan 2013 04:43:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 04:43:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.183.112.45] (HELO osiris.accessmontana.com) (206.183.112.45) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Jan 2013 04:43:28 +0000 Received: (qmail 19748 invoked from network); 17 Jan 2013 04:43:05 -0000 Received: from unknown (HELO [127.0.0.1]) (afindly@accessmontana.com@206.183.116.65) by osiris.accessmontana.com with (DHE-RSA-AES256-SHA encrypted) SMTP (5cfa1abc-6060-11e2-96b6-3b4e9147da03); Wed, 16 Jan 2013 21:43:05 -0700 Message-ID: <50F78178.7040309@ronan.net> Date: Wed, 16 Jan 2013 21:43:36 -0700 From: Alan Findly User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tomcat Users List CC: markt@apache.org, Chuck.Caldarale@unisys.com Subject: Re: Question about config and correct start-up References: <50F37307.5070506@ronan.net> <50F380E4.1080002@ronan.net> <50F3B41C.2080309@apache.org> <50F46ABA.2060901@ronan.net> <50F73627.10306@ronan.net> <99C8B2929B39C24493377AC7A121E21FC49B172C0D@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: <99C8B2929B39C24493377AC7A121E21FC49B172C0D@USEA-EXCH8.na.uis.unisys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130116-1, 01/16/2013), Outbound message X-Antivirus-Status: Clean X-MagicMail-UUID: 5cfa1abc-6060-11e2-96b6-3b4e9147da03 X-MagicMail-Authenticated: afindly@accessmontana.com X-Virus-Checked: Checked by ClamAV on apache.org The recommended context "ELEMENT" caused the following warning: Jan 16, 2013 9:10:37 AM org.apache.tomcat.util.digester.Digester endElement WARNING: No rules found matching 'Context/Context'. So I changed the "ELEMENT" to this --as below-- and voila ..... the warning went away. My thread seems out of context(no pun intended) because I made the unwarranted assumption that the original thread would be included in every reply & comment.....as it should be....otherwise I have to re-iterate the problem, ie. thread...every time. The problem I'm trying to solve is making tomcat do cgi, and the Apache.tomcat documentation says to do basically 3 tasks: (1) Uncomment the cgi servlet in the conf/web.xm file. (2) In same file uncomment the cgi servlet mappingl. (3) Add the context "ELEMENT" to the context.xml file. So, now, as already covered in the previous parts of this problem's thread, the cgi functionality is still not working--at least not for perl--cgi files, which are all I've tested since this is my focus. Question; do I need a Tomcat/lib/servlet-cgi.jar file? Previous versions did -- well, version 5. I am working with version 7.0.34 and there is no such jar file in the downloaded tar. Now the servlet in conf/web.xml could be "it" instead of a jar file. However, what has me questioning -- there is also an api servlet in conf/web.xml--as well as a lib/servlet-api.jar file. I'm thinking now that the REAL problem is Windows XP.....always been a dog....I think it has something missing to purposely lock out cgi. I'm thinking i should just throw it away & migrate to a Linux box. Thanks Mark and Chuck for your help, and I'm still listening if someone has a current Tomcat-for-WindowsXP solution. Peace, Alan ...... On 1/16/2013 4:27 PM, Caldarale, Charles R wrote: >> From: Alan Findly [mailto:afindly@ronan.net] >> Subject: Re: Question about config and correct start-up >> That context statement is not correct syntax.... >> should be: > Thank you for providing a clear example of why top-posting is evil: no one has any idea which of the several elements (they're not statements) in the message you are referring to. > > In any event, the angle brackets should not be present in attributes; this is standard XML syntax. The element should look like this: > > > ... > > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org