cfdocument hanging

I'm having a problem with <cfdocument> hanging and
eventually timing out on one of my servers. The server is running
CF 7,0,2,142559 Enterprise version with the latest hot fixes. The
JVM is Sun 1.4.2_11. I've been through many of the ssl/https issues
with <cfdocument>, but this seems to be something different.
I've stripped the code down to the following:
<cfdocument
format="PDF"><html><head><title>test</title></head><body>test</body></html></cfdocument>
Still doesn't work on an http site on this one server, but
works on the three other similarly configured servers that I've
tried it on. Thanks in advance for any suggestions.

This seems to summarize the current problem I'm having with
<cfdocument> on one particular server:
I've taken out all of the potential image/stylesheet/ssl
issues by putting a cfm in an unsecured website on the server with
the following code:
<cfdocument format="pdf">
<html><head><title>test</title></head><body>test</body></html>
</cfdocument>
Server is Win2k running CF 7,0,2,142559 Enterprise with
latest cumulative hot fix (chf7020003.jar) in single server
configuration. (Although the same was happening before upgrading
from CF 7.0.1 .)
After a reboot with the CF service set to start
automatically, everything runs fine including <cfdocument>.
After restarting the CF service, everything runs fine EXCEPT all
calls to <cfdocument>. The first call to <cfdocument>
times out after 30 seconds (default timeout set in CF Admin) and I
get a "Document has no pages" error in my browser. Subsequent calls
to <cfdocument> don't timeout -- they just hang.
I've tried running the CF service under different user
accounts including "Local System" -- all have the same problem.
I've tried setting the CF service to start manually -- after
reboot, <cfdocument> doesn't work even on the initial manual
start of the CF service.
I thought that I would start CF from the command line (i.e.,
using ...CFusionMX7/bin>cfstart) so that I could get a thread
dump. When CF is started from the command line instead of as a
service <cfdocument> works just fine.
I have other servers that (I believe) have identical
configurations where <cfdocument> is running fine.
Any ideas? Does anyone from Adobe monitor these
forums?

Similar Messages

  • Creating PDF's using cfdocument hangs the server

    We are running two ColdFusion 9 servers on Suse linux 11.3, 64 bit.  We are current on all our hot fixes.
    Over time (a couple of days usually) all of our PDF reports hang.  No exceptions are thrown.  Eventually they timeout.  A server reboot is required to fix the problem.  The rest of the app functions fine.
    Once this condition occures, all of the PDF reports hang (some reports have a lot of data....some have minimal).  If the <cfdocument> tag is empty, the report will execute normally, but even just "hello world" in the cfdocument tag hangs.  I am guessing that there is some system resource that it is waiting for--a thread, memory, etc.  But the rest of the app runs fine, so it appears to be something specific to <cfdocument>.  We are currently configured with 3G jvm, 360 jvm threads.
    These same reports have been running for a couple of years on cf8 and cf9 (with no hotfixes).  We deployed a new app on cf9 (with hotfixes) about a month ago which is when the problem started.
    We are not sure what else to try....server reboots are getting old.  Any comments would be appreciated.

    The best thing you can do in this situation is to examine the server during the failure condition. You do this by generating a stack trace. There are several ways to generate a stack trace from running commands on your Linux server to using features of the ColdFusion Admin API. Here are some links to get your started.
    Generating a snapshot/stack trace via code using the CF Admin API.
    http://awe.st/fX6HEy
    PDF of presentation notes and stack trace options from Charlie Arehart.
    http://awe.st/eVvgpw
    Once you've generated the stack trace you need to look through it for issues with memory (JVM heap), CPU, locked threads etc. Reading stack traces is not the easiest thing to do, especially making decisions on what to do based on what you see. In other words, it'd be hard to cover everything in a forum post. But, this sort of analysis should help you figure out more about what is happening during the failure condition.

  • Cfdocument hanging on moderate documents

    Hello all,
    We're attempting to use cfdocument on a dedicated web server
    at GoDaddy and running into extremely poor performance. Our network
    administrator has locked down the server extremely well: ColdFusion
    runs under a special login and has to be given explicit read/write
    permissions to each folder. Right now it runs very quickly. CF
    sites come up lickety-split. We've got two sites using cfdocument:
    one of them generates tiny, one page PDF files; the other generates
    slightly larger, five page documents.
    Both sites have the proper read/write permissions to the
    folder where cfdocument is putting the PDFs and the code runs fine
    on our local development server. The site generating the tiny
    documents takes about 30 seconds to generate that tiny one page
    document. The wait feels agonizing, but on the five page cfdocument
    site, I get the feeling that the tag is timing out as we get a "
    The request has exceeded the allowable time limit Tag: cfmail". I
    suspect the error _says_ cfmail because of our fusebox error code
    sends e-mails in case of a problem. I'm quite sure there isn't a
    code problem: the PDFs generate fine locally.
    Has anyone else experienced this poor performance? What could
    we possibly be locking down?
    Our server runs Windows Server 2003 and Apache 2.0.59.
    Coldfusion is up-to-date at version 7,0,2,142559.
    Thanks,
    Jordan Roher

    Never mind.. a little. One site (the big one) was SSL, the
    other wasn't. The problem seemed to come down to the stylesheets we
    included at the top of the cfdocument. When they were taken out (or
    cfincluded) the PDF generated very quickly. Ugh.

  • Troubles with cfdocument | cfcontent tag after cf update

    I'm having some issues with the cf document and cfcontent
    tags, they do not function correctly, the cfdocument hangs when
    calling a PDF file and the cfcontent throws a server 500 error when
    I call an Excel file. Is there a Hotfix to solve this issue or is
    there anything I can do to solve this problem.

    I ran the CC Cleaner tool but there are failed records. The instructions say I should contact customer service if that happens.
    Exactly how/where do I do that?
    I need to get this all fixed so I can get back to work! Sorry for thee rant, its been a rough week...
    Thank you for your help.

  • CFDOCUMENT times out on generating simple PDF

    I generate content from query and it takes some seconds to
    show up corresponding HTML piece.
    When I enclose this into cfdocument tag - it hangs, then
    gives me the following error:
    "The content of this document process takes more than 60000
    milliseconds to process.."
    Sometimes, after also quite a long time, it gives me "pdf
    contains no pages" error.
    I tried to remove some tags, like <DIV> - instead, i
    put <P> (i tried this on simple example). Other from this, I
    have <A> tags. Somebody of you said, it could have a problem
    with evaluating some hrefs - so I used <CFSAVECONTENT> tag to
    save whole output to var, and then used content var inside of
    <CFDOCUMENT> - no luck, error is the same...
    I use MX7 Enterprise edition.
    Please, help!

    Thanks for information. Ok, I've created parser (i will
    anyway need parser for content field - i will be evaluating
    variable by names there, etc...) So - parser temporary copies all
    resources into current www folder, especially for cfdocument. Then
    replace command replaces corresponding links. Again - html shows
    ok. But damned cfdocument doesn't work, anyway!
    And now i even can't name all the reasons it doesn't work! It
    works only when i remove almost everything from my output!
    Seems it even doesn't like my css style! I don't have idea
    what to do...
    Here is the code
    quote:
    <cfoutput>
    blablabla...
    <cfdocument
    filename="C:\UserResources\#checkuser.userid#\#drplantemplateDetails.drplan_name#.pdf"
    format="pdf" overwrite="yes">
    <cfdocumentsection>
    <html>
    <head>
    <title>
    </title>
    <link rel="stylesheet"
    title="#client.theme##client.fontSize#" type="text/css"
    href="/#client.theme##client.fontSize#.css" title="Default"/>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    </head>
    <body class="headerStyle">
    #drplantemplateDetails.header#
    </cfdocumentsection>
    <cfloop query="drplantemplatestepDetails">
    <cfdocumentsection>
    <cfdocumentitem type="header">
    <H2>#drplantemplateDetails.header#</H2>
    </cfdocumentitem>
    <p><a
    name="#drstep_id#">#step_name#</a></p>
    <p>#parseDRPlan(content, "pdf",
    GetDirectoryFromPath(GetCurrentTemplatePath()),
    "/members/Planning/resources", "create")#</p>
    <cfloop index="i" from="1" to="3">
    <cfset step_id = Evaluate("step_" & i &
    "_id")>
    <cfset step_header = Evaluate("step_" & i &
    "_header")>
    <cfset step_description = Evaluate("step_" & i &
    "_description")>
    <cfif step_id is not "" and (not
    IsDefined("form.drstep_id") or IsDefined("form.drstep_id") and
    ListFind(form.drstep_id, step_id) is not false)>
    <p><a href="#ListGetAt(CGI.SCRIPT_NAME,
    ListLen(CGI.SCRIPT_NAME, "//"),
    "//")#?#CGI.QUERY_STRING####step_id#"><cfif step_header is
    "">Unnamed<cfelse>#step_header#</cfif></a></p>
    <cfif step_description is not
    ""><p>#step_description#</p></cfif>
    </cfif>
    </cfloop>
    <cfdocumentitem type="pagebreak"/>
    </cfdocumentsection>
    </cfloop>
    <cfdocumentsection>
    #drplantemplateDetails.footer#
    </body>
    </html>
    </cfdocumentsection>
    </cfdocument>
    blabla...
    </cfoutput>

  • cfdocument and cfchart stopped working when moved to Windows 2003/IIS6

    We just moved our content to a new server: from Windows 2000 to Windows  2003 (IIS6).
    We are using Cold Fusion MX 7,0,2,142559.
    Everything works properly after the move except:
    1. <cfdocument> (any, the simpliest one) hangs producing error:"The  document has no pages. null "
    2. <cfchart> crashes producing error: "Invalid attribute: autoAdjust null"
    What can it be? Where should we look? Is it some Windows 2003  feature/problem/blockage? Or does it look like Cold Fusion was not  installed properly?
    Any Hot Fixes are required?
    Any ideas are welcome!!!

    I would avoid installing 7.0.1 hotfixes on an 7.0.2 installation.   The 7.0.2 release notes state that "It also includes all previous ColdFusion MX 7 hot fixes that have been released to date, eliminating the need to install multiple hot fixes and patches."
    CF 7.0.2 Release notes
    http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_releasenotes.html 
    You might try installing the ColdFusion MX 7.02 Cumulative Hot Fix 3 or the CFDocument Cumulative Hot Fix. 
    ColdFusion MX 7.02 Cumulative Hot Fix 3
    http://kb2.adobe.com/cps/402/kb402465.html 
    ColdFusion MX 7.02 - CFDocument Cumulative Hot Fix
    http://kb2.adobe.com/cps/402/kb402093.html

  • Htmldoc.exe cfhtml2pdf hangs on images

    We have a bunch of apps that were happily generating pdf's on
    CF5 from http web page calls. We
    finally upgraded to MX 7, and it doesn't work on images.
    After much investigation, it seems that we can generate text-only
    fine, but throw in an image and it either ignores or hangs the
    process.
    I started to rewrite these using CFDocument/pdf, but alas,
    the scaling is so different, would be a better solution to get the
    original code working properly.
    Has any one else had this issue with HTMLDOC.exe using
    CFhtml2pdf and images embedded in web pages?
    Thanks,
    Chuck

    OK -- by way of update: after many hours of
    testing/troubleshooting, we were able to "fix" our hanging problem
    by putting any images in the very same directory as the template
    that is being "scraped" by CFHTTP and then processed by CFHTML2PDF
    (which calls HTMLDOC.exe via cfexecute). Essentially, <img
    src="./image/blahblah.gif"> would hang, while <img
    src="blahblah.gif"> works fine.
    Odd! The problem we had in converting to cfdocument with pdf
    format was that the scaling was very different. This was a problem
    for users who complained about the smaller format. It became easier
    to try and troubleshoot the "legacy" component rather than rescale
    the HTML.
    Thanks to all who responded.
    -Chuck Wyatt
    Manager of Web Technical Services
    Clark University

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Just installed Firefox 4. It hangs when I open any website and type in, for example, an ID, or even just click on something, for example, "Compose", in my webmail site.

    Here's the detail of what happens.
    1. Turn on computer and then click on Firefox icon on desktop.
    2. Firefox opens. Everything looks OK. Mr Bunsen's graphic is working fine.
    3. Click on any webpage link. For example, a newspaper or an online webmail page. All looks OK until
    4. Click on anything or type anything, such as in ID in a box, and bingo, the top line of Firefox goes from dark blue to very pale blue and the computer is hung. You cannot get out of Firefox or get Firefox to work.
    5. Switch off computer.
    Is this perhaps due to a clash of Add-ons. I run Avast anti-virus. McAfee came with Firefox 4 and I did not reject it. Is it conflicting wth something in my system and causing it to hang?

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • I upgraded to the latest version of Firefox but it hangs when I use a search site such as Google or Bing. How can I fix this?

    putting a search option in the search box to the right of the address bar opens up the full search window but then Firefox hangs.

    Your UserAgent string in Firefox is messed up by another program that you installed, and those websites don't know you are running Firefox 3.6.3 (which is what you do have installed).
    [http://en.wikipedia.org/wiki/User_Agent]
    type '''about:config''' in the URL bar and hit Enter
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''general.useragent.'''
    Right-click the preferences that are '''bold''', one line at a time, and select '''''Reset''''',
    Then restart Firefox

  • It hangs when playing games

    My system is Windows 7 - 64 bit operating system
    I've used Firefox for many many years and always praised it compared to EI. I am afraid I wont be able to praise it much more. It stinks. It hangs mostly when I am playing games or looking at pictures or videos. Its worse when on Facebook but also happens on other web site. I did all the troubleshooting, updates, remove old versions and re install, disable add ons all and all Its driving me insane. Can you solve the problem with a new versionof Firefox or do we have to flush the darn browser for good.
    Thank you

    anyone has a solution until a new version comes out?

  • When I boot up it hangs on the login screen for awhile, why?

    I have a mid 2011 Macbook Air 13".  It came with Lion but I recently updated to Mountain Lion.  When I wake the laptop from sleep everything is fine.  If it's been awhile since it slept (a couple of hours), the login screen hangs.  What happens is that it boots like normal and looks like everything is correct, but it won't let me type in my password.  After 10 seconds or so I can see a cursor come up but it won't let me type (but anything I do type at this point will later fill in the field after another 2-3 seconds or so).  One other thing that's weird is that when the screen first comes up it shows the battery percentage from when I put it back on the charger, then after everything catches up, it changes to show 100%.
    I hope I explained the problem well enough.  Basicly a "wake from sleep" is fine if it hasn't been long since the laptop slept, but if it's been awhile it takes about 15-20 seconds to boot up.
    Ideas?

    Here are some suggestions based on my recent issue with unable to get Mavericks up after upgrade - The Apple geniuses just simply couldnt figure this one out...despite it being in their shop for 3 days (They probably did not look at it...and asked if they can just wipe out everything and install fresh...i had said NO):
    Restart computer and hold Cmd+V when you hear chime. This will start the computer in Verbose mode.
    See the messages and see where the system boot fails. In my case, it was some backtrace IOStorageFamily issue with com.paragon-software.
    Google may be able to solve your Apple issues - just type the error message in and see if you get any useful suggestions. in most cases - this would be some faulty 3rd party drivers.....
    In my case, it was something stupid i had probably installed....I had to boot to safe mode (Hold Shift at boot chime) - open Terminal, delete the folder com.paragon-software.kext from System/Library/Extensions....that fixed the problem. Mavericks is working great now....
    Let me know if your debugging thing works...

  • Firefox hangs on opening requiring force quit I have snow leopard mac It hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise m

    Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
    == This happened ==
    Every time Firefox opened
    == I tried to update firefox add-ons ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Try a new profile. See [[Recovering important data from an old profile]]

  • I am having a problem opening my browser, the broswer is hanging up after slowly opening

    Hello, I have been having trouble with my firefox browser for quite some time now, it just stopped working on me about 5 or 6 months ago. I have switched over to Internet Explorer which has still been working fine. I like using Firefox much more than Explorer these days, but I am unfortunately not good much with fixing computer problems and have pretty much extinguished all my available options for repairing it myself.
    The problem with Firefox is now when I click on the shortcut link on my desktop, it takes a good 5 to 10 minutes to open up the browser now. Once it does finally open, you cannot type or click on anything it is hung up and will not allow you to go to another site(the home page will still load, with current news and other information)
    I cannot remember anything that would have caused it to crash or get hung up like this, but like I said I am not a computer expert by any means. I do know that I am ready to get Mozilla back to running smoothly as before, I had just gotten really used to it(I had been using internet explorer).
    I also uninstalled Firefox completely and reinstalled it, I figured if nothing else I tried worked that usually is the best option...it still did/does the same thing, hangs up everytime you try to run/open it.
    I checked your online solution for what to do on a hanging first page, I saw something about pentium 4's running Windows Vista or XP...my computer runs Windows 7 (was actually purchased running the terribly bug ridden and error-prone Vista, and lucky I was able to obtain a free upgrade to 7). So I was thinking maybe that had something to do with it, I had some problem in the past, with what I cannot remember, but it traced back to something from when Vista was on my computer(even though it was no longer my operating system I'll be darn if it wasn't still causing me headaches! How fitting.)
    My computer in question is a Dell Studio XPS 1640 which I bought new almost two years ago exactly)

    Did you check what I would consider the first place to look:
    * http://kb.mozillazine.org/Problematic_extensions
    If the site is still down (at least 12 hours) when you read this try [http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Problematic_extensions Google's cache]
    Link or url would make it easier to see which page you tried rather than "your online solution for ...".
    * http://kb.mozillazine.org/Firefox_hangs ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_hangs cached version])
    * http://kb.mozillazine.org/Firefox_crashes ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_crashes cached version])
    * [https://support.mozilla.com/kb/Firefox%20hangs#os=mac&amp;browser=fx4 Firefox hangs | Troubleshooting | Firefox Help]

  • When I open Pages from the dock, the page comes up but immediately hangs up with the

    When I open Pages from the Dock,  the page comes up on the screen but immediately hangs up with the rainbow circle spinning.  I finally have to force quite to make it go away.  It does not ask me to choose a template.  This is sporadic, sometimes working, sometimes not.  What is going on?

    Helo,
    Did you try to delete Pages' preferences file(s) in the folder your-user-name/Library/Preferences ?
    There are one or more (depends on your OS X version) file like "com.apple.iWork.Pages.plist"
    You can also repair permissions with Disk Utility in the folder Applications/Utilities.
    Choose the hard drive were Pages is and click the button "Repair permissions".
    Or you can re-install Pages.
    Hope this will help.

Maybe you are looking for

  • Error Installing Dreamweaver CS4 on Windows 7: Installer Database is Corrupt

    Error Message: The Installer Database is Corrupt. Please contact Adobe Customer Service. I bought a new laptop and would like to install Dreamweaver CS4 on it. It is already running fine on my desktop, being installed back in 1/2011. Both PCs are Win

  • Db_hotbackup: assert failure

    I am investigating using Berkeley DB 4.5.20 ( with replication ) at my site. When I run db_hotbackup : db_hotbackup -h ../data/rep/ -b /tmp/dir3 we repeatedly get the error: db_hotbackup: assert failure: ../db/db_dispatch.c/661: "i <= hp->generation"

  • Network shares hang iPhoto '08

    After upgrading to iPhoto 7.0 my network shares no longer work. This feature worked fine with iPhoto 06. iPhoto 08 sees the share but when I click on it, iPhoto simply freezes up with the dreaded spinning beachball. In order to stop the beachball I h

  • Consolidation hanged:HFM a/c movement

    Hi, we started march data consolidation. But we made some metadata changes for entity and custom dimension that we usually do. However, we also moved an a/c from one rollup to another rollup. usually consolidation takes 30 mins. But this time, the co

  • Control with DIAdem

    My Problem: I´m brand new user of DIAdem and I don´t have no experience with controling. I was at a basic DIAdem training, but that was 6 months ago and was focused more on "measuring/analysing", than controling! (and i doubt, if is DIAdem the right