File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
sun-appserver-ee8.1_02 java.lang.StackOverflowError
struts file upload problem
java.security.AccessControlException: Access denied issue
Sunone server.policy
Java 2 Security Problems