RE: access problems related to xml libs?
"Bordet, Simone" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Blaine, > I'm running HttpAdaptor under a security manager. Just as a > starting point, I have opened up read FilePermission on "*" > for every code base (The entire security policy file is at > the bottom of this email). Yet, I am still getting many > FilePermission read failures like this: > > access: access denied (java.io.FilePermission > /usr/local/mx4j-2.0b1/lib/mx4j-tools.jar read) The XSLTProcessor is trying to load the XSL files from the jar. What is the protection domain that fails ? I don't think permission java.util.FilePermission "*", "read"; will work, as you're granting permission to read all files and directories in the directory from where you started the JVM. Simon ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click