Could you let us know what is the exact stack trace and when you are hitting it?
Since you are replacing the policy file, it would be worthwhile to try doing a Policy.getPolicy().refresh() after setting the system property.
HTH
Nithya
[Message sent by forum member 'nitkal' (nitkal)]
http://forums.java.net/jive/thread.jspa?messageID=332612