You have most likely hit a bug (Please file an issue). Is there a more detailed exception trace in server.log
It is not a good idea to have this : java.security.AllPermission;
Are you using V2 or V3 ?.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=322587