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 3FD60FBFD for ; Tue, 6 Aug 2013 10:53:41 +0000 (UTC) Received: (qmail 55983 invoked by uid 500); 6 Aug 2013 10:53:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55906 invoked by uid 500); 6 Aug 2013 10:53:34 -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 55897 invoked by uid 99); 6 Aug 2013 10:53:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:53:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of appy74@dsl.pipex.com) Received: from [62.24.128.243] (HELO out1.ip07ir2.opaltelecom.net) (62.24.128.243) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:53:27 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQGACPVAFJRVnIp/2dsb2JhbABbgwbAAoEcF3SCJAEBBQgCHhIUCC8BAwIGAxEEAQEoBxkYCA0JCAIECAcEAQoFDQSHc7YpjmSBPQaECAOnTYFigV6BOjsygQM X-IPAS-Result: AmQGACPVAFJRVnIp/2dsb2JhbABbgwbAAoEcF3SCJAEBBQgCHhIUCC8BAwIGAxEEAQEoBxkYCA0JCAIECAcEAQoFDQSHc7YpjmSBPQaECAOnTYFigV6BOjsygQM X-IronPort-AV: E=Sophos;i="4.89,825,1367967600"; d="scan'208";a="81252643" Received: from 81-86-114-41.dsl.pipex.com (HELO Ustane) ([81.86.114.41]) by out1.ip07ir2.opaltelecom.net with ESMTP; 06 Aug 2013 11:52:44 +0100 From: "Martin O'Shea" To: "'Tomcat Users List'" References: <1375745418.5200358a59739@netmail.pipex.net> In-Reply-To: <1375745418.5200358a59739@netmail.pipex.net> Subject: RE: Why does JDBC application logging SQL instructions in Apache Tomcat lists 545 repeatedly Date: Tue, 6 Aug 2013 11:52:44 +0100 Message-ID: <000601ce9293$150e2760$3f2a7620$@dsl.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQG7ZOKDEHyxxGlsiSgwltH6IzHuJpmuXFQg Content-Language: en-gb X-Virus-Checked: Checked by ClamAV on apache.org This is now resolved. Thanks anyway. -----Original Message----- From: appy74@dsl.pipex.com [mailto:appy74@dsl.pipex.com] Sent: 06 Aug 2013 00 30 To: users@tomcat.apache.org Subject: Why does JDBC application logging SQL instructions in Apache Tomcat lists 545 repeatedly 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org