Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 37719 invoked from network); 27 Feb 2004 20:48:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 20:48:29 -0000 Received: (qmail 42898 invoked by uid 500); 27 Feb 2004 20:48:12 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 42840 invoked by uid 500); 27 Feb 2004 20:48:12 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 42826 invoked from network); 27 Feb 2004 20:48:11 -0000 Received: from unknown (HELO prv-mail20.provo.novell.com) (137.65.81.122) by daedalus.apache.org with SMTP; 27 Feb 2004 20:48:11 -0000 Received: from INET-PRV-MTA by prv-mail20.provo.novell.com with Novell_GroupWise; Fri, 27 Feb 2004 13:48:17 -0700 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta Date: Fri, 27 Feb 2004 13:48:03 -0700 From: "Jeff Tulley" To: Subject: Re: allowTrace attribute causing problems in the admin application Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartA988DB13.0__=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=__PartA988DB13.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually, if I am not mistaken, the attached txt file patches the problem. An IntrospectionHelper.setProperty was needed for allowTrace. On 5.0.x this was done "automatically" by setting a property in the setAllowTrace setter. Then the properties were set into IntrospectionHelper en masse later. This patch works for me, at least. Attached: patch.txt >>> JTULLEY@novell.com 2/27/04 1:13:02 PM >>> When I browse to a Coyote Connector in Tomcat's admin in 4.1.30, I get an HTTP 500 error - "Error retrieving attribute allowTrace". I know the allowTrace functionality was added about a month ago, and was not a required attribute on the connector. This functionality works in Tomcat 5.0.19, but not 4.1.30 Jeff Tulley (jtulley@novell.com) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org Jeff Tulley (jtulley@novell.com) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com --=__PartA988DB13.0__= Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="patch.txt" Index: org/apache/coyote/tomcat4/CoyoteConnector.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector.java,v retrieving revision 1.34 diff -u -r1.34 CoyoteConnector.java --- org/apache/coyote/tomcat4/CoyoteConnector.java 24 Feb 2004 08:54:29 -0000 1.34 +++ org/apache/coyote/tomcat4/CoyoteConnector.java 27 Feb 2004 20:45:01 -0000 @@ -1198,6 +1198,8 @@ "" + tomcatAuthentication); IntrospectionUtils.setProperty(protocolHandler, "compression", compression); + IntrospectionUtils.setProperty(protocolHandler, "allowTrace", + "" + allowTrace); if (address != null) { IntrospectionUtils.setProperty(protocolHandler, "address", address); --=__PartA988DB13.0__= Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --=__PartA988DB13.0__=--