ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Davies" <aaron.dav...@gmail.com>
Subject RMI Security Manager Issue
Date Wed, 14 Jun 2006 16:52:01 GMT
Hi, I'm having trouble using an ant task to run a Java app that uses
RMI. I've constructed a Java task to run it, but it fails with a
java.security.AccessControlException as soon as it starts the RMI
section. However, when I take a look at the output of ant -verbose and
reconstruct the java command being used (this task has "fork" set to
true), the app runs just fine. I've tried checking my
java.security.policy file (an "allpermissions" one) and passing it to
the ant jvm as well, but it doesn't help. Any ideas?
-- 
Aaron Davies
aaron.davies@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message