Re: Quartz falling down on database restart

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 6/12/12 9:27 AM, Stein, Eric wrote: > I don't explicitly set testOnBorrow, and it defaults to true. I did > just notice, however, that I'm using > org.apache.tomcat.jdbc.pool.DataSourceFactory. Is that valid for > Tomcat 6.0.33? I'm going to

RE: Quartz falling down on database restart

2012-06-12 Thread Stein, Eric
ssage- From: Hedrick, Brooke - 43 [mailto:brooke.hedr...@rainhail.com] Sent: Tuesday, June 12, 2012 9:08 AM To: users@tomcat.apache.org Subject: RE: Quartz falling down on database restart > -Original Message- > From: Stein, Eric [mailto:ste...@locustec.com] > Sent: Tuesday, Ju

RE: Quartz falling down on database restart

2012-06-12 Thread Hedrick, Brooke - 43
> -Original Message- > From: Stein, Eric [mailto:ste...@locustec.com] > Sent: Tuesday, June 12, 2012 7:25 AM > To: users@tomcat.apache.org > Subject: FW: Quartz falling down on database restart > > Sorry if this is a duplicate .. my email server was acting up ye

FW: Quartz falling down on database restart

2012-06-12 Thread Stein, Eric
Sorry if this is a duplicate .. my email server was acting up yesterday so I don't know if this went through. Eric -Original Message- From: Stein, Eric Sent: Monday, June 11, 2012 4:58 PM To: users@tomcat.apache.org Subject: Quartz falling down on database restart I'm runnin

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/26/2009 11:52 AM, André Warnier wrote: > Assuming there is a single (and default) Host, like this : > > > > > and multiple requests comes in with a header > Host: somealias.company.com > > then indeed the fact of having this Alias,

RE: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-26 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: How can I prevent Quartz multiple execution after > tomcatrestart > > Assuming there is a single (and default) Host, like this : > > > > > and multiple requests comes in with a header > Host

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-26 Thread André Warnier
Christopher, thanks for the masterful analysis. I'll pick out just one aspect : Christopher Schultz wrote: ... If it happened to be (2), then one could argue that adding an matching the real "Host:" of the calls, is actually slightly faster than not doing so. My point exactly. ... One

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/23/2009 5:36 PM, André Warnier wrote: > Sorry Mark, I did just now, and figure that it must be happening > somewhere around line 600 of that piece of art, but my Java knowledge is > too limited to figure out what exactly it is doing. It'

RE: How can I prevent Quartz multiple execution after tomcat restart

2009-10-26 Thread Karthik Nanjangude
Hi Try Load on startup in web.xml configuration for Quartz . I have done the same and have good results The configuration is as PER QUARTZ API QuartzInitializer Quartz Initializer Servlet

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Mark Thomas wrote: Pid wrote: On 23/10/2009 15:25, André Warnier wrote: Well, let's get to the bottom of this. When Tomcat gets a request, does it : 1) figure immediately that it has only one Host, and thus not even look at the "Host:" header, and respond with the one and only default Host ? or

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Mark Thomas
Pid wrote: > On 23/10/2009 15:25, André Warnier wrote: >> Well, let's get to the bottom of this. >> When Tomcat gets a request, does it : >> 1) figure immediately that it has only one Host, and thus not even look >> at the "Host:" header, and respond with the one and only default Host ? >> or >> 2)

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Pid
On 23/10/2009 15:25, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: RE: How can I prevent Quartz multiple execution after tomcatrestart Note that if you have only one , elements are completely superfluous. But maybe still useful

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: RE: How can I prevent Quartz multiple execution after tomcatrestart Note that if you have only one , elements are completely superfluous. But maybe still useful, from a documentation point of view

RE: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: RE: How can I prevent Quartz multiple execution after > tomcatrestart > > > Note that if you have only one , elements are > > completely superfluous. > But maybe still useful, from a documentation point of v

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Caldarale, Charles R wrote: From: Elli Albek [mailto:e...@sustainlane.com] Subject: Re: How can I prevent Quartz multiple execution after tomcatrestart If all you need is multiple domains mapped to the same application, try replacing ... ... With: XXX.com ... Note that if you have only one

RE: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Caldarale, Charles R
> From: Elli Albek [mailto:e...@sustainlane.com] > Subject: Re: How can I prevent Quartz multiple execution after > tomcatrestart > > If all you need is multiple domains mapped to the same application, try > replacing > > ... > ... > > With: > > XXX.co

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Pid
it in two hosts, you are deploying the entire war file twice. This will create two instances of your quartz object. Actually, now that Elli points that out... www.XXX.com ... The Host XXX.com doesn't have an appBase defined, so it might be using the default - which may mean

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Elli Albek
entire war file twice. This will create two instances of your quartz object. If all you need is multiple domains mapped to the same application, try replacing ... ... With: XXX.com ... E - Original Message - From: zlzc2000 To: users@tomcat.apache.org Sent: Fri, 23 Oct 2009 00:28:16

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Pid
On 23/10/2009 08:28, zlzc2000 wrote: hallo, we have problem with Quartz and Tomcat. Im using tomcat 5.5 i using 'localhost' to deploy a Spring project on server. after deploy run Quartz the job once time. this is right. but after restart tomcat, execute the same jobs twice at the

How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread zlzc2000
hallo, we have problem with Quartz and Tomcat. Im using tomcat 5.5 i using 'localhost' to deploy a Spring project on server. after deploy run Quartz the job once time. this is right. but after restart tomcat, execute the same jobs twice at the same time. (project new deploy then no pro

Log4J error using Quartz scheduler

2008-08-12 Thread Brian Parkinson
Hello - Wondering if anyone can help. I am using: - Tomcat 6.0.14 on Linix - Java 1.5.0_13 - Spring 2.5.1 - Quartz scheduler 1.6.0 - commons logging 1.1.1 I am seeing the following in the tomcat catalina-2008-mm-dd.log file: SEVERE: Runtime error occured in main trigger firing loop

Re: [OT/RANT] Quartz

2007-09-10 Thread David kerber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doesn't anyone know how to use cron anymore? Sheesh... - -chris Andrew Hole wrote: I can't find an example of using Quartz to scheduling jobs on Tomcat Web application. Someone already work with Quartz? Could you share a hello world s

Re: [OT/RANT] Quartz

2007-09-10 Thread Wade Chandler
look bad on me as the scheduled processes need to be configured by simple end users who don't know anything about the server. I guess it really depends on the usages, and these applications run on Windows or *nix. I don't use Quartz, but instead just some custom classes. Wade --- C

Re: [OT/RANT] Quartz

2007-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, Ben Souther wrote: > Hehe. > > It's amazing what you can do with one line of code using cron and wget. For real. I've never found an application where it makes sense to have a scheduled job run inside the webapp. I realize that lots of folks

Re: [OT/RANT] Quartz

2007-09-10 Thread Ben Souther
hris > > Andrew Hole wrote: > > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > > application. > > Someone already work with Quartz? Could you share a hello world sample? > > > > Thanks a lot > > > -BEGIN PGP SIGNATU

Re: [OT/RANT] Quartz

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doesn't anyone know how to use cron anymore? Sheesh... - -chris Andrew Hole wrote: > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Could you share a

Re: Quartz

2007-09-06 Thread Sergey Livanov
Do as you know and as it is more convenient. I can't start with org.quartz.ee.servlet. QuartzInitializerServlet init but when has tried spring - all has worked for 5 minutes. It is very pleased. In Quartz forum answer badly, it is lazy. In spring - it is very good. Support is much better.

Re: Quartz

2007-09-06 Thread Andrew Hole
I found something interesting, maybe is what I need! Spring and Quartz together is a good solution but I don't want another component in my java web application. What's your opinion? 1) It would be helpful to show an example of how to configure Quartz to work without a custom servlet.

Re: Quartz

2007-09-06 Thread Pid
Andrew Hole wrote: > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Could you share a hello world sample? > > Thanks a lot > http://www.opensymphony.com/quartz/wikidocs/Tutorial.html http://www.

Re: Quartz

2007-09-06 Thread Sergey Livanov
this code works for me well baseportal.com.portal.sheduler.SimpleJob baseportal.com.portal.sheduler.Simple2Job 1000 3000 0/15 * 22 * * ? 2007/9/6, Andrew Hole <[EMAIL PROTECTED]>: > > I can't find an exampl

Re: Quartz

2007-09-06 Thread Sergey Livanov
Andrew, It is the best way to use Quartz together with spring. Look the documentation, there all very well is described. 2007/9/6, Andrew Hole <[EMAIL PROTECTED]>: > > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone a

Quartz

2007-09-06 Thread Andrew Hole
I can't find an example of using Quartz to scheduling jobs on Tomcat Web application. Someone already work with Quartz? Could you share a hello world sample? Thanks a lot