• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cf10 cfdocument of a pdf hangs on one server and not the other

Community Beginner ,
Dec 28, 2012 Dec 28, 2012

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

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 28, 2012 Dec 28, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 28, 2012 Dec 28, 2012

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 28, 2012 Dec 28, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 02, 2013 Jan 02, 2013

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 02, 2013 Jan 02, 2013

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 03, 2013 Jan 03, 2013

Copy link to clipboard

Copied

There is also some really good information in LearnCFInAWeek http://learncfinaweek.com/week1/cfdocument/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2017 Apr 25, 2017

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation