aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Remove server.policy from sun application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Remove server.policy from sun application server " Watch "Remove server.policy from sun application server " New topic
Author

Remove server.policy from sun application server

Ronald Mee
Greenhorn

Joined: Jul 05, 2007
Posts: 15
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remove server.policy from sun application server