From dev-return-30364-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Feb 8 22:45:25 2012 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 592F89C43 for ; Wed, 8 Feb 2012 22:45:25 +0000 (UTC) Received: (qmail 41406 invoked by uid 500); 8 Feb 2012 22:45:25 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 41305 invoked by uid 500); 8 Feb 2012 22:45:24 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 41292 invoked by uid 99); 8 Feb 2012 22:45:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 22:45:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 22:45:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 41ADA1AB6D8 for ; Wed, 8 Feb 2012 22:45:00 +0000 (UTC) Date: Wed, 8 Feb 2012 22:45:00 +0000 (UTC) From: "Adrian Michael Nida (Updated) (JIRA)" To: dev@activemq.apache.org Message-ID: <1504663085.17035.1328741100270.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1645552393.17034.1328741100208.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AMQ-3709) Patch to fix invalid XHTML in web-console's 404 and 500 pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Michael Nida updated AMQ-3709: ------------------------------------- Attachment: activemq.patch The patch that was listed in the original submission > Patch to fix invalid XHTML in web-console's 404 and 500 pages > ------------------------------------------------------------- > > Key: AMQ-3709 > URL: https://issues.apache.org/jira/browse/AMQ-3709 > Project: ActiveMQ > Issue Type: Bug > Components: activemq-camel > Environment: This is really N/A for this issue, but we are on Linux (RHEL6) VMs. > Reporter: Adrian Michael Nida > Labels: patch, webconsole > Attachments: activemq.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > We created a monitor that utilizes calls to the web-console to determine stuck messages. Occasionally, requests come back 404 (because the message disappears between calls) and the monitor dies because the XHTML for that page is invalid. This patch makes the 404 and 500 pages valid in the eyes of the w3c markup validation service. > Note: I'm placing the patch here because I do not see a place to upload it on this form. If it appears later, I will attached. > Index: activemq-web-console/src/main/webapp/500.html > =================================================================== > --- activemq-web-console/src/main/webapp/500.html (revision 1242141) > +++ activemq-web-console/src/main/webapp/500.html (working copy) > @@ -22,8 +22,7 @@ > > > > - > - > + > > > Apache ActiveMQ > @@ -67,7 +66,7 @@ >