Accessing non-class files from JAR when using a Security Manager

Discussion in 'Java' started by Rob, Apr 20, 2004.

  1. Rob

    Rob Guest

    I have a web application in Tomcat 5, using j2sdk 1.4.2-03 that uses
    the itext library from sourceforge for writing PDF files. The font
    files for use in the PDF documents come from the itext JAR. When
    running Tomcat 5 without a security manager it works ok, but when
    using a security manager I get an error that says the font file cannot
    be found.

    If I use the AllPermissions permission in my catalina.policy (the
    policy file for Tomcat) the font file is found - so what are the
    actual Permissions I need to set to get it to work without having to
    resort to AllPermissions?

    Rob
     
    Rob, Apr 20, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cyril
    Replies:
    2
    Views:
    3,922
    cyril
    Aug 25, 2004
  2. Arnold Peters
    Replies:
    0
    Views:
    611
    Arnold Peters
    Jan 5, 2005
  3. muttley
    Replies:
    0
    Views:
    2,767
    muttley
    Oct 20, 2005
  4. cyberco
    Replies:
    4
    Views:
    3,843
    Roedy Green
    Feb 14, 2006
  5. Arnold Peters
    Replies:
    0
    Views:
    689
    Arnold Peters
    Jan 5, 2005
Loading...

Share This Page