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 7DF0E1830C for ; Thu, 2 Jul 2015 07:20:38 +0000 (UTC) Received: (qmail 43909 invoked by uid 500); 2 Jul 2015 07:20:34 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 43844 invoked by uid 500); 2 Jul 2015 07:20: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 43833 invoked by uid 99); 2 Jul 2015 07:20:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 07:20:34 +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: domain of aw@ice-sa.com designates 81.169.250.120 as permitted sender) Received: from [81.169.250.120] (HELO thor.wissensbank.com) (81.169.250.120) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 07:18:19 +0000 Received: from thor.wissensbank.com (localhost [127.0.0.1]) by thor.wissensbank.com (Postfix) with ESMTP id 16BB415A6004E for ; Thu, 2 Jul 2015 09:20:06 +0200 (CEST) Received: by thor.wissensbank.com (Postfix, from userid 500) id 0B62E15A60027; Thu, 2 Jul 2015 09:20:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on h2401423.stratoserver.net X-Spam-Level: Received: from [192.168.245.214] (HSI-KBW-46-237-244-162.hsi.kabel-badenwuerttemberg.de [46.237.244.162]) (Authenticated sender: andre.warnier@ice-sa.com) by thor.wissensbank.com (Postfix) with ESMTPA id A2DF115A60027 for ; Thu, 2 Jul 2015 09:20:05 +0200 (CEST) Message-ID: <5594E621.6090100@ice-sa.com> Date: Thu, 02 Jul 2015 09:20:01 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Spring Scheduled Task is triggered multiple times References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.0 required=6.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 Zoran Avtarovski wrote: > We have a struts2 based app that uses spiring scheduling to trigger a task > every morning at 6am. > > The problem we have is that task in triggered multiple times, > simultaneously. > > We have an Ubuntu 14.04.1 Server using the standard tomcat 7 installed using > apt-get and running on oracle java 8. > > Tomcat is configured as a stand alone not a cluster and I had a look at the > servers.xml file and it only has one host. > > It has to be the way we have tomcat configured, but I can�t see what. I > changed from quartz to spring scheduling thinking the issue was quartz, but > that made no difference. > > I�d really appreciate any pointers at this stage. > And so would we.. If you believe that the issue may be in the configuration, how about copying that configuration file here for instance ? (Remove any comments or sensitive information). Also try to be a bit more precise in terms of what software you have installed. In the "bin" directory of Tomcat (/usr/share/tomcat7/bin), there is a version.sh script. Run it and copy the output here. (You may have a bit of trouble there under Ubuntu, because you probably have to set JRE_HOME first. Do a "which java" and follow the links going through /etc/alternatives, until you find something with "jre/bin/java" in it. JRE_HOME is the path ending in "jre/". Or find out how /etc/init.d/tomcat7 does it.) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org