On 18 Sep 2007, at 03:08, Mark Thomas wrote:
I am not sure if my mail client is mangling the urls you are using but
it looks like you are using '/' characters after 'file:'
Must be your e-mail client... I've tried
jar and file (no slash after file:)
"jar:file:${catalina.home}/webapps/scanner/W
On 17 Sep 2007, at 18:16, Mark Thomas wrote:
Sam Halliday wrote:
Hmm, where should I expect to see the extra debugging output. It
isn't
in any of the log files.
Should be on standard out.
Aah! That's why I wasn't seeing it. There is a pretty bad bug in
Ubuntu which puts
nt to that?
On 17 Sep 2007, at 17:14, Mark Thomas wrote:
Sam Halliday wrote:
That doesn't give me any additional input... I already know which
permissions I need, I just want to restrict them to the one Servlet.
The debug output should tell you what coedbase is requesting what
permission. I
ager.checkPermission
(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:
779)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at thinktank.scanner.server.ScanImage.scan(ScanImage.java:116)
On 17 Sep 2007, at 16:26, Mark Thomas
Hello all,
I have a Servlet running on tomcat-5.5.20, Ubuntu Feisty Fawn, which
is accessing some hardware through a shell script. The following
provides adequate permissions for everything to work
grant {
permission java.io.FilePermission "/bin/sh", "execute";
permission java.io.Fi