java.io.FilePermission for CFDOCUMENT PDF files

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default java.io.FilePermission for CFDOCUMENT PDF files

    Our users are getting an error (access denied (example: java.io.FilePermission
    c:\winnt\fonts\arialbd.ttf read) ) when trying to generate PDF files from
    CFDOCUMENT. We are usnig CFMX7 with Sandbox Security. This is obviously what
    is causing the problem because our Windows directory is actually
    'C:\WINNT\Fonts\' and I do believe the java.io sandbox is case sensitive. We
    tried updating the C:\CFusionMX7\lib\neo-document.xml file to reflect the
    mixed-case path, but CF seems to overwite them back to lower case when the
    service is restarted. Seems the only way to solve this currently seems to be
    to manually re-add all the fonts via the CF Admin 'Font Management' section,
    but this seems just wrong. FYI, CFDOCUMENT with type=FlashPapaer does not have
    this problem. Can anyone else verify this issue?

    Ayera Tech Guest

  2. Similar Questions and Discussions

    1. java.io.FilePermission ERROR
      I enabled sandbox security to block a few tags and once I enable it I am getting the following error when I try uploading an image or PDF using the...
    2. java.io.IOException: Too many open files
      How can I avoid the error "java.io.IOException: Too many open files" when copying a large number of files? Hint: the correct answer is not to copy...
    3. CFdocument on local files
      I am working on a paperless transaction system, that will make use of the new cfdocument tag. How ever I am not using a remote webpage or file. I am...
    4. configuring cfx java using jar files on a per-server basis
      Under CFMX6.1, I would like to deploy my cfx java tags using a jar file, but only have the tags available to one JRun server instance. So far,...
    5. Cfdocument and merging PDF files?
      Hello, I?m using cfdocument tag to create individual PDF files. I was wondering if there is a way to merge them into a single PDF file in an...
  3. #2

    Default Re: java.io.FilePermission for CFDOCUMENT PDF files

    And, by the way...yes, the 'C:\WINNT\Fonts\' is added to the user's sandbox directory for read access
    Ayera Tech Guest

  4. #3

    Default Re: java.io.FilePermission for CFDOCUMENT PDF files

    Does the user that the ColdFusion service is running have access to this
    folder as well?

    Dean

    "Ayera Tech" <webforumsuser@macromedia.com> wrote in message
    news:d00dvh$5rn$1@forums.macromedia.com...
    > And, by the way...yes, the 'C:\WINNT\Fonts\' is added to the user's
    sandbox directory for read access


    Dean Harmon Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139