Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 87701 invoked from network); 11 Apr 2011 13:37:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 13:37:17 -0000 Received: (qmail 55195 invoked by uid 500); 11 Apr 2011 13:37:17 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 55149 invoked by uid 500); 11 Apr 2011 13:37:16 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 55135 invoked by uid 99); 11 Apr 2011 13:37:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:37:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Kenneth.V.George@sprint.com designates 216.32.180.11 as permitted sender) Received: from [216.32.180.11] (HELO VA3EHSOBE008.bigfish.com) (216.32.180.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:37:07 +0000 Received: from mail43-va3-R.bigfish.com (10.7.14.245) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.8; Mon, 11 Apr 2011 13:36:46 +0000 Received: from mail43-va3 (localhost.localdomain [127.0.0.1]) by mail43-va3-R.bigfish.com (Postfix) with ESMTP id 66E737B82BA for ; Mon, 11 Apr 2011 13:36:45 +0000 (UTC) X-SpamScore: -21 X-BigFish: VS-21(zz9371O542M1432N98dKzz1202hzz8275dhz2fh2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:plsasdm1.corp.sprint.com;RD:smtpls1.sprint.com;EFVD:NLI Received: from mail43-va3 (localhost.localdomain [127.0.0.1]) by mail43-va3 (MessageSwitch) id 1302528973303081_16842; Mon, 11 Apr 2011 13:36:13 +0000 (UTC) Received: from VA3EHSMHS014.bigfish.com (unknown [10.7.14.239]) by mail43-va3.bigfish.com (Postfix) with ESMTP id 31408830061 for ; Mon, 11 Apr 2011 13:36:12 +0000 (UTC) Received: from plsasdm1.corp.sprint.com (144.230.168.25) by VA3EHSMHS014.bigfish.com (10.7.99.24) with Microsoft SMTP Server (TLS) id 14.1.225.8; Mon, 11 Apr 2011 13:36:10 +0000 Received: from PDAWEH01.ad.sprint.com (PDAWEH01.corp.sprint.com [144.226.110.69]) by plsasdm1.corp.sprint.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p3BDZr6O018699 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 11 Apr 2011 08:36:09 -0500 Received: from pdawm05a.ad.sprint.com ([fe80::1190:6649:9937:212a]) by PDAWEH01.ad.sprint.com ([2002:90e2:6e45::90e2:6e45]) with mapi id 14.01.0270.001; Mon, 11 Apr 2011 08:36:01 -0500 From: "George, Kenneth V [NTK]" To: "jspwiki-user@incubator.apache.org" Subject: RE: Thread processes Thread-Topic: Thread processes Thread-Index: AcvzCGrZ3PJFI3XQTB2TRPGe6OO3UQD28GqAAFpL3zA= Date: Mon, 11 Apr 2011 13:36:01 +0000 Message-ID: <8D422FFA7868A9489E2D75FF766BD4B505DE5B@PDAWM05A.ad.sprint.com> References: <8D422FFA7868A9489E2D75FF766BD4B505B643@PDAWM05A.ad.sprint.com> <733DEC37-1D88-45D9-8EB0-13C2E34F4D47@ecyrd.com> In-Reply-To: <733DEC37-1D88-45D9-8EB0-13C2E34F4D47@ecyrd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.229.76.114] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sprint.com Great idea! Thanks for this assistance. -----Original Message----- From: Janne Jalkanen [mailto:Janne.Jalkanen@ecyrd.com] Sent: Saturday, April 09, 2011 8:30 AM To: jspwiki-user@incubator.apache.org Subject: Re: Thread processes One simple way to do this would be to install a ServletContextListener, sta= rt your Thread in the contextInitialized() method, and clear it away in the= contextDestroyed() -method. You'll need to modify the web.xml tho'. /Janne On Apr 4, 2011, at 23:48 , George, Kenneth V [NTK] wrote: > Is there any way to get JSPWiki to initialize and startup a process witho= ut making it a Initializable plugin? I would like to write a background ta= sk that extends WikiBackgroundThread and does work on a periodic basis, but= , it is not clear to me what I need to do to get it to start when JSPWiki i= s started. > > Any ideas? > > ________________________________ > > This e-mail may contain Sprint Nextel proprietary information intended fo= r the sole use of the recipient(s). Any use by others is prohibited. If you= are not the intended recipient, please contact the sender and delete all c= opies of the message. ________________________________ This e-mail may contain Sprint Nextel proprietary information intended for = the sole use of the recipient(s). Any use by others is prohibited. If you a= re not the intended recipient, please contact the sender and delete all cop= ies of the message.