Just following up on this. Putting the cfsavecontent outside of the cfthread worked but inside it would through the java.io (sandbox permission) error. Everything permissions wise is correct. I could only deduce that this is a bug of some sort with cfthread and sandboxing.

John
ma...@fusionlink.com



Clarke Bishop wrote:

Thanks Shawn and Steve for your ideas!

Fusionlink is doing my server hosting, and John Mason went through all the permissions. But, no luck.

So, I just decided to move the <cfsavecontent> outside the <cfthread>. Then, inside the thread, I did a replace() to personalize the content.

Thanks again for the ideas.

   Clarke

*From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Steve Drucker
*Sent:* Saturday, May 30, 2009 10:01 AM
*To:* discuss...@acfug. Org
*Cc:* discuss...@acfug. Org
*Subject:* Re: [ACFUG Discuss] cfthread and cfsavecontent

Or you might be using a sandbox that has restricted I/o rights....

Sent from my iPhone


On May 30, 2009, at 8:41 AM, shawn gorrell <chees...@yahoo.com <mailto:chees...@yahoo.com>> wrote:

    Clarke that looks like the account being used to run CF doesn't
    have write access to that directory. If you're running you
    developer version as localsystem, you wouldn't get that message.
    Not a bug....

    ------------------------------------------------------------------------

    *From:* Clarke Bishop <cbis...@resultantsys.com
    <mailto:cbis...@resultantsys.com>>
    *To:* discussion@acfug.org <mailto:discussion@acfug.org>
    *Sent:* Saturday, May 30, 2009 8:19:00 AM
    *Subject:* [ACFUG Discuss] cfthread and cfsavecontent

    The code below throws an error on my production server.

    <cfdump var="#server#">

    <cfthread name="testThread" action="run" >

        <cfsavecontent variable="eMailBody">This is some sample
    content</cfsavecontent>

    </cfthread>

    <cfthread action="join" name="testThread"/>

    <cfdump var="#testThread#" />

    The error message is: access denied (java.io
    <http://java.io.Fi>.FilePermission
    C:\ColdFusion8\wwwroot\WEB-INF\cftags\savecontent.cfm execute).

    It works on my developer version, but fails with CF standard. Both
    are running ColdFusion version 8,0,1,195765.

    Is this a known bug and is there a work around? If you are running
    CF Standard, please do me a favor and try the code on your server,
    and let me know what happens.

    Thanks,

       Clarke


    -------------------------------------------------------------
    To unsubscribe from this list, manage your profile @
    http://www.acfug.org?fa=login.edituserform

    For more info, see http://www.acfug.org/mailinglists
    Archive @ http://www.mail-archive.com/discussion%40acfug.org/
    List hosted by FusionLink <http://www.fusionlink.com>
    -------------------------------------------------------------


    -------------------------------------------------------------
    To unsubscribe from this list, manage your profile @
    http://www.acfug.org?fa=login.edituserform

    For more info, see http://www.acfug.org/mailinglists
    Archive @ http://www.mail-archive.com/discussion%40acfug.org/
    List hosted by FusionLink <http://www.fusionlink.com>
    -------------------------------------------------------------


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to