Re: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, Vince Collins wrote: 15 minutes and then it emails me the start and end times and the browser then loads a complete statement or shows the errors. However, the next time I run it (and all subsequent times), the browser says it completes in just one second, sometimes

Re: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Vince Collins
Tom Chiverton wrote: Store the start/end times in a database, and have a task that looks there to see if/when it ran ? Thanks Tom, the trouble is that the page does load or complete. But the java hasn't. I was wondering if there was a way to ensure CF waits until the JAVA completes.

Re: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Larry Lyons
Tom Chiverton wrote: Store the start/end times in a database, and have a task that looks there to see if/when it ran ? Thanks Tom, the trouble is that the page does load or complete. But the java hasn't. I was wondering if there was a way to ensure CF waits until the JAVA completes.

RE: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Gaulin, Mark
Just a random suggestion, but make sure that your readWMS class isn't smart enough to know that it already ran... Maybe it sets static variables or something like that that would prevent it from running twice. I suppose you could test that by making a simple stand-alone java app that creates and

Re: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Vince Collins
Thanks Larry, It is CF 8, sorry. I have never used CFTHREAD. I'll take a look at the CF docs. It's worth a shot if it allows me to follow the thread until completion. Anyone want to chime in? I.E. take my code below and show me how cfthread could work in this case? :) Vince You didn't

RE: CF running a Java Process- Making sure that it completes

2008-06-11 Thread Bryan Hogan
within a class. It would run sometimes and sometimes not but when run from the command line it would always run. -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 9:23 AM To: CF-Talk Subject: Re: CF running a Java Process- Making sure