RE: CF9 cfexecute issues.

2011-04-04 Thread Rick Faircloth

Hi, Michael...

Have you eliminated the possibility that some of the
files you working with on this run through are causing
problems?

Did you run these files through CF8 to see if they work
there?

I haven't worked with converting images  avi  mpg, so I
have no experience with the process, but thought it could
perhaps be a corrupt source file causing a problem.

Rick


-Original Message-
From: Michael Reick [mailto:mich...@widgethq.com] 
Sent: Monday, April 04, 2011 1:45 AM
To: cf-talk
Subject: CF9 cfexecute issues.


Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been an
absolute nightmare.

The current nightmare I'm dealing with is a template that will not return or
timeout.

I've got a global timeout set in the admin.

I've tried setting a page timeout with cfsetting requesttimeout.

On the template itself, I've got a bunch of cfexecutes doing command line
batch processing.
Roughly 30 doing imageMagick image manipulations (which I could probably
combine into one batch file, now that I think about it.)
And two problem children.  One that runs a batch file that converts the
images into an .avi file.  This one takes awhile, about 9 minutes.
And a second batch file that runs ffmpeg to add an mp3 file and convert that
avi into an mpg.

I've tried putting timeouts on the cfexecutes for the last two and nothing.
The page never returns.  The thread shows up in Server Monitor, and goes
away 10 minutes or so later,
but the page just hangs.  I've even tried putting a cfabort after the last
cfexecute, but nothing. The log file just shows the steps in the batch file,
which is simply migrating 
to the directory and calling the .vbs file, or ffmpeg on the appropriate
files.  When I run the bat files on the server logging in with the same
account 
as CF runs under, the command prompt pops up for the appropriate amount of
time, then goes away.

cfexecute name=c:\windows\system32\cmd timeout=600 arguments=/c
#pathToBatFile#createAVI.bat outputFile=c:\logs\createAVI#IDField#.txt /

Once I get it running correctly, I'll probably move it to another server and
schedule it, but I need it working correctly first.

Any ideas?  I'm going nuts here. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343519
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 cfexecute issues.

2011-04-04 Thread Russ Michaels

are the batch files actually being executed and doing their job?
Are any errors occurring in the batch file ?
you need to do some tests to determine what is causing the problem.
Make a simple batch file that does something basic like an echo command or
somehting, and see if that works,
If not, then it would tell you that executing batch file sis the problem or
cfexecute itself.

If it does work, then try doing the original image manipulation but just 1
image and see if that works.
Then work forward from here, if 1 image works, then increase the iterations
of images processed until you get the problem, and then check if it was just
perhaps that image causing a problem, or does it seem related to number of
iterations, oer perhaps it could be the time it takes to execute,
If you gradually exclude all the possible causes, you should be left with
the prime suspect.





On Mon, Apr 4, 2011 at 2:30 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 Hi, Michael...

 Have you eliminated the possibility that some of the
 files you working with on this run through are causing
 problems?

 Did you run these files through CF8 to see if they work
 there?

 I haven't worked with converting images  avi  mpg, so I
 have no experience with the process, but thought it could
 perhaps be a corrupt source file causing a problem.

 Rick


 -Original Message-
 From: Michael Reick [mailto:mich...@widgethq.com]
 Sent: Monday, April 04, 2011 1:45 AM
 To: cf-talk
 Subject: CF9 cfexecute issues.


 Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been
 an
 absolute nightmare.

 The current nightmare I'm dealing with is a template that will not return
 or
 timeout.

 I've got a global timeout set in the admin.

 I've tried setting a page timeout with cfsetting requesttimeout.

 On the template itself, I've got a bunch of cfexecutes doing command line
 batch processing.
 Roughly 30 doing imageMagick image manipulations (which I could probably
 combine into one batch file, now that I think about it.)
 And two problem children.  One that runs a batch file that converts the
 images into an .avi file.  This one takes awhile, about 9 minutes.
 And a second batch file that runs ffmpeg to add an mp3 file and convert
 that
 avi into an mpg.

 I've tried putting timeouts on the cfexecutes for the last two and nothing.
 The page never returns.  The thread shows up in Server Monitor, and goes
 away 10 minutes or so later,
 but the page just hangs.  I've even tried putting a cfabort after the
 last
 cfexecute, but nothing. The log file just shows the steps in the batch
 file,
 which is simply migrating
 to the directory and calling the .vbs file, or ffmpeg on the appropriate
 files.  When I run the bat files on the server logging in with the same
 account
 as CF runs under, the command prompt pops up for the appropriate amount of
 time, then goes away.

 cfexecute name=c:\windows\system32\cmd timeout=600 arguments=/c
 #pathToBatFile#createAVI.bat outputFile=c:\logs\createAVI#IDField#.txt
 /

 Once I get it running correctly, I'll probably move it to another server
 and
 schedule it, but I need it working correctly first.

 Any ideas?  I'm going nuts here.



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF9 cfexecute issues.

2011-04-03 Thread Michael Reick

Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been an 
absolute nightmare.

The current nightmare I'm dealing with is a template that will not return or 
timeout.

I've got a global timeout set in the admin.

I've tried setting a page timeout with cfsetting requesttimeout.

On the template itself, I've got a bunch of cfexecutes doing command line batch 
processing.
Roughly 30 doing imageMagick image manipulations (which I could probably 
combine into one batch file, now that I think about it.)
And two problem children.  One that runs a batch file that converts the images 
into an .avi file.  This one takes awhile, about 9 minutes.
And a second batch file that runs ffmpeg to add an mp3 file and convert that 
avi into an mpg.

I've tried putting timeouts on the cfexecutes for the last two and nothing.  
The page never returns.  The thread shows up in Server Monitor, and goes away 
10 minutes or so later,
but the page just hangs.  I've even tried putting a cfabort after the last 
cfexecute, but nothing. The log file just shows the steps in the batch file, 
which is simply migrating 
to the directory and calling the .vbs file, or ffmpeg on the appropriate files. 
 When I run the bat files on the server logging in with the same account 
as CF runs under, the command prompt pops up for the appropriate amount of 
time, then goes away.

cfexecute name=c:\windows\system32\cmd timeout=600 arguments=/c 
#pathToBatFile#createAVI.bat outputFile=c:\logs\createAVI#IDField#.txt /

Once I get it running correctly, I'll probably move it to another server and 
schedule it, but I need it working correctly first.

Any ideas?  I'm going nuts here. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343516
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm