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 13D63C9FB for ; Mon, 5 Aug 2013 23:30:52 +0000 (UTC) Received: (qmail 21855 invoked by uid 500); 5 Aug 2013 23:30:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 21725 invoked by uid 500); 5 Aug 2013 23:30:48 -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 21715 invoked by uid 99); 5 Aug 2013 23:30:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 23:30:48 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of appy74@dsl.pipex.com designates 212.74.114.7 as permitted sender) Received: from [212.74.114.7] (HELO mk-outboundfilter-3-a-1.mail.uk.tiscali.com) (212.74.114.7) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 23:30:41 +0000 X-Trace: 2803074/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$ON_NET_AUTH_ACCEPTED/pipex-tiscali-ips/212.74.113.222/None/appy74@dsl.pipex.com X-SBRS: None X-RemoteIP: 212.74.113.222 X-IP-MAIL-FROM: appy74@dsl.pipex.com X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Pipex Webmail (IMP3.1) X-IP-BHB: Once X-IP-Webmail: TRUE X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgcFAFs0AFLUSnHe/2dsb2JhbABbgwaBBbwChBoWdIJdAW4UNIh1lHygUpA0g3cDnXI2iTiBT4FegTo X-IronPort-AV: E=Sophos;i="4.89,822,1367967600"; d="scan'208";a="2803074" X-IP-Direction: IN Received: from unknown (HELO mk-netmail-1.mail.uk.tiscali.com) ([212.74.113.222]) by smtp.pipex.tiscali.co.uk with ESMTP; 06 Aug 2013 00:30:20 +0100 Received: from mk-netmail-1.mail.uk.tiscali.com (localhost.localdomain [127.0.0.1]) by mk-netmail-1.mail.uk.tiscali.com (8.13.8/8.13.8) with ESMTP id r75NUJmr017117 for ; Tue, 6 Aug 2013 00:30:19 +0100 Received: (from apache@localhost) by mk-netmail-1.mail.uk.tiscali.com (8.13.8/8.13.8/Submit) id r75NUIxY017116 for users@tomcat.apache.org; Tue, 6 Aug 2013 00:30:18 +0100 Received: from 193.61.29.142 ( [193.61.29.142]) as user appy74@dsl.pipex.com by netmail.pipex.net with HTTP; Tue, 06 Aug 2013 00:30:18 +0100 Message-ID: <1375745418.5200358a59739@netmail.pipex.net> Date: Tue, 06 Aug 2013 00:30:18 +0100 From: appy74@dsl.pipex.com To: users@tomcat.apache.org Subject: Why does JDBC application logging SQL instructions in Apache Tomcat lists 545 repeatedly MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Pipex Webmail (IMP3.1) X-Originating-IP: 193.61.29.142 X-Pipex-Username: appy74@dsl.pipex.com X-Usage: Pipex Webmail is subject to the standard Pipex terms and conditions of use X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure of this is an Apache Tomcat issue or not but here goes: I am currently running a number of programs in batch which dynamically create and populate a number of tables in MySQL Server Version 5.5. When I do this, I am logging the SQL to an Apache Tomcat log file. Sometimes the SQL listings will list a particular series of queries reading the elements of RSS feeds one by one such as: SELECT TITLE FROM _rss_172_917617_01012011_1293889632011 WHERE CreatedDateTime BETWEEN '2011-07-01 00:00:00' AND '2011-07-31 23:59:00'; SELECT TITLE FROM _rss_173_353205_01012011_1293889643042 WHERE CreatedDateTime BETWEEN '2011-07-01 00:00:00' AND '2011-07-31 23:59:00'; Then the name of the system will be printed as follows in the log file: [myApp] And then there will be a series of lines reading: 545 Before the next series of queries run. And when the next series of queries does run, the text of each query is listed, and then another line lists the system name. SELECT TITLE FROM _rss_121_298920_24122010_1293174184748 WHERE CreatedDateTime BETWEEN '2011-07-01 00:00:00' AND '2011-07-01 23:59:00'; [myApp] MyApp is written in Java and running under Tomcat 6.0.26. I should add that sometimes the number of queries producing the data for one table, which may number in the hundreds, appear to be fine. Other times the 545 message is listed: this appears to be sporadic with no apparent pattern. Though the queries appear to be running, can anyone tell me what 545 might mean? It seems to happen on two separate servers running the same programs but over different data. -- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org