The Harmonious Programmer

The Harmonious Programmer

Covering a symphony of technical and sometimes off-topic subjects

  • Home
  • Adobe ColdFusion 9 on Mac Lion - Fix for cfdocument and Hanging Admin

    • 19 Jan 2012
    • 6 Responses
    •  views
    • Adobe CFML Mac Mach-II
    • Edit
    • Delete
    • Tags
    • Autopost

    First let me start off that I am not a Mac owner and therefore please keep this in mind.

    One of the issues with ACF9 on Mac OSX Lion is the use of the java.awt package to get items like the list of available printers.  The AWT package is just a wrapper for a packages that are native on the target operating system.  In this case, there are bugs in the apple.awt.CToolkit class that is the problem on MAC.

    We were having an issue with Mach-II 1.9 hanging on MAC Lion recently and we narrowed it done to our use of java.awt.Toolkit.  You can indicate to the JVM that you want to use the sun.awt.* package instead which appears to have fixed the issue for Mach-II 1.9 for Mac OSX Lion users.  The positive side effect is that it fixed the hung "Info" page in the CFIDE as well.

    You probably already have headless=true in your jvm.config file, however you need another directive to use a different awt toolkit otherwise the JVM will default the buggy apple.awt toolkit.

    Let me know if this fixes other ACF9 issues on Mac OSX Lion like cfdocument.

    -Djava.awt.headless=true
    -Dawt.toolkit=sun.awt.HToolkit

    Update 1: This appears to have fixed generating PDFs using cfdocument as well.

    Update 2: I'd like to thank Sumit Verma at Ten24Web for spending 4 hours nailing down that AWT was causing an issue in Mach-II 1.9. This is what led me down the right path to this JVM config argument change.

    Update 3: Typically it is "CF9/runtime/bin/jvm.config" where CF9 is the location you installed CF.  Be sure to make a back up copy of the jvm.config in case you foo bar something.

    • Tweet
  • Unofficial CF bug database mirror setup = wake up Adobe

    • 1 Jun 2010
    • 1 Response
    •  views
    • Adobe CFML Greedy Corporations User Experience
    • Edit
    • Delete
    • Tags
    • Autopost

    This website is an live unoffical mirror of the Adobe ColdFusion Bug Database created by Elliott Sprehn.

    I was created because the Flex based UI that was provided by Adobe is a real pain to use, specifically lots of text is not selectable, the Bug Areas dropdown is a mile long with no scrollbar, and it won't work on something like an iPhone.

    This website is not affiliated with or owned by Adobe, Inc.

    via elliottsprehn.com

    There is definitely something wrong with the idiotic bug database for ColdFusion at Adobe. The Flex interface is horrible. It's meant as no offense to the developers of the Flex interface but the user experience is painful at best. I can't even use it on my netbook because the there is no way to resize boxes or popups to maximize the lower resolution. Then there is mobile access (iPhone / Blackberry).

    I understand the intentions of Elliot are good, but having to mirror the bug database should be a wake up call to Adobe to fix their issues. However, I don't believe it's totally the Flex interface. I would guess it's the out-dated issue tracking software they use.

    Flame away at me if you want - it won't do any good...

    • Tweet
  • Open letter to Google: free VP8, and use it on YouTube (via FSF)

    • 3 May 2010
    • 0 Responses
    •  views
    • Adobe Apple Google Greedy Corporations Open Source
    • Edit
    • Delete
    • Tags
    • Autopost

    Dear Google,

    With your purchase of On2, you now own both the world's largest video site (YouTube) and all the patents behind a new high performance video codec -- VP8. Just think what you can achieve by releasing the VP8 codec under an irrevocable royalty-free license and pushing it out to users on YouTube? You can end the web's dependence on patent-encumbered video formats and proprietary software (Flash).

    To sit on this technology or merely use it as a bargaining chip would be a disservice to the free world, while bringing at best limited short-term benefits to your company. To free VP8 without recommending it to YouTube users would be a wasted opportunity and damaging to free software browsers like Firefox. We all want you to do the right thing. Free VP8, and use it on YouTube!

    via fsf.org

    It's about time that the debate between Adobe and Apple just ends. Google can end part of it by opening up the VP8 codec. Suddenly, H.264 is not relevant if there is a high performing codec that is being pushed on YouTube.

    • Tweet
  • About

    Hailing from the frigid tundra of Minnesota, Peter J. Farrell has a Bachelor of Music degree from the Peabody Institute at the Johns Hopkins University in Baltimore, Maryland.

    While studying music, Peter took his life-long interest with computers to a new level and started learning about web development technologies. He has been working with CFML since 2001 and is the lead developer of the Mach-II framework.

    Peter is a Senior Technologist for GreatBizTools, a human resources consulting firm. He and his wife, Allyson, live together in Minneapolis, Minnesota.

    326620 Views
  • Archive

    • 2012 (4)
      • January (4)
    • 2011 (10)
      • August (1)
      • May (4)
      • April (3)
      • March (1)
      • February (1)
    • 2010 (58)
      • December (1)
      • November (1)
      • October (1)
      • September (3)
      • August (4)
      • July (1)
      • June (4)
      • May (12)
      • April (15)
      • March (3)
      • February (5)
      • January (8)
    • 2009 (38)
      • December (14)
      • November (22)
      • October (2)

    Get Updates

    Subscribe via RSS
    TwitterFacebookLaconi.ca/Identi.caLinkedInFlickr
  • Resources

    • Lyla Captcha for CFML
    • Rooibos Bean Generator
    • Mach-II Framework for CFML
    • Presentations