Weird! It almost feels like the program is waiting for you to respond
to it or something like that...
I was going to say that since it works on smaller files then it must not
be a permissions issue but I guess it could still be, if it uses temp
files only when the input is large. (I'm not saying that makes sense...
just that it could be related.) If it's possible to log in as the same
account that the cf service is running as then you might be able to
eliminate that kind of thing as a possible source of the problem.
Are the too-short files that it leaves around all the same size for
different inputs, or does it look like they are all just a little short?
Do your cfexecute tag specify an output file? A timeout?
Do you run htmldoc directly from cfexecute, or is there a script
involved? You might try creating a script just to see if that changes
anything...
(BTW, if you haven't already noticed, I'm just throwing ideas out... I
haven't used cfexecute in a while. Hope this helps, but good luck
either way.)
Mark
-----Original Message-----
From: Ryan Stille [mailto:[EMAIL PROTECTED]
Sent: Monday, February 12, 2007 2:28 PM
To: CF-Talk
Subject: Re: Issues with cfexecute in cfmx7?
Yes it does work on the smaller files, but when I feed it a larger one
it hangs. I've checked the process list and both cmd.exe and the
htmldoc process are there. Each time I run the page I'll get another
cmd and htmldoc process in the list. They stay there until I restart
ColdFusion. They do not consume any CPU or increase their memory
allocation.
Also should have mentioned that the PDF file *does* get generated, but
its a few kb short. If I try to open the PDF, the viewer says the file
is corrupt. If I run htmldoc manually at a prompt, the PDF is a few Kb
larger and I can open it just fine.
-Ryan
Gaulin, Mark wrote:
> Have you ever gotten in to work on cfmx7, or does it fail on every
file?
>
> If it fails all of time, even on trivial inputs, then I would suspect
> permissions problems... Maybe temp directories or something like that.
> One way to test that angle is to login using the same account that
> cfmx will run as. (Check the service settings.)
>
> Can you see if the htmldoc process is actually running (using CPU,
> etc) when it "hangs", or is the process there but not "doing anything"
> (0 cpu)?
>
> Mark
>
> -----Original Message-----
> From: Ryan Stille [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 12, 2007 12:37 PM
> To: CF-Talk
> Subject: Issues with cfexecute in cfmx7?
>
> I am converting an app from CF5 to CF7. This application makes use of
> an external program (htmdoc) to convert html into PDFs. The problem
> is when I feed it large html documents (200-300kb), it hangs when I
> cfexecute it. When I run the exact same command at a command prompt,
> it runs just fine. Any tips or tricks to using cfexecute on cf7?
> This is on Windows. The process only takes a second or two to execute
> when I run it at the cmd prompt.
>
> Thanks,
> -Ryan
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269573
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4