Copy link to clipboard
Copied
The same code running on 2x different physical servers. Hangs on one and not the other. Servers aren't under load. Are there server or network setup that might create this?
No issues creating .csv files or flash output in case that matters.
Jason
Copy link to clipboard
Copied
Is it *any* PDF that hangs, or one with specific content? IE: are you just running [some code], and it doesn't work and you haven't investigated further, or have you created a solid reproduction case, or what?
--
Adam
Copy link to clipboard
Copied
Any pdf...even as simple as:
<cfdocument format="pdf">Test</cfdocument>
consistently reproducable as working on server 1 but not on server 2.
Copy link to clipboard
Copied
Another thing I noticed is if i include an image such as:
<img src="/art/test.png" width="250" height="174">
if the file eventually returns (some times after a long long wait it does) the image is always broken.
I saw another post about CF needing to make a network request...wondering if some type of dns is timing out kind of thing
http://forums.adobe.com/message/3400237?tstart=0
Jason
Copy link to clipboard
Copied
Is the version the same on both machines? Are you using Developer on one and Standard on the other? I ask because in Standard Edition Adobe throttles the PDF functions to a single thread, meaning you can not do more than one PDF function at a time. If you have multiples running it could cause a block.Note: Developer Edition runs like Enterprise.
Copy link to clipboard
Copied
Okay, got it fixed...like the referenced link pointed out, cF needs to contacts itself to pull the pdf. I needed to add a /etc/hosts entry. thanks for your responses...good to know about the single thread on pdf though...didn't know that.
Jason
Copy link to clipboard
Copied
There is also some really good information in LearnCFInAWeek http://learncfinaweek.com/week1/cfdocument/
Copy link to clipboard
Copied
what did you have to add an entry for? i have the same problem on a new server, but from command line i can ping localhost and the servername so not sure what its looking for?