users@glassfish.java.net

Remove server.policy from sun application server

From: <glassfish_at_javadesktop.org>
Date: Fri, 30 Jan 2009 08:49:34 PST

I encounter this java.lang.StackOverflowError error after deployment of the java web application (.war). If i remove the server.policy file. I will not encounter this error however it means that there will be no security. I realize that the error will occur if i include the following in server.policy which by default is included permission java.lang.RuntimePermission "modifyThreadGroup";

If inside the server.policy file i just remove this permission java.lang.RuntimePermission "modifyThreadGroup";

I will get access denied as by default the security manager will check for this permission

Anyone have any idea what is wrong and how do i resolve this?

java.lang.StackOverflowError
[Message sent by forum member 'ronaldsoh' (ronaldsoh)]

http://forums.java.net/jive/thread.jspa?messageID=329259