This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Security and the fly likes java.security.AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "java.security.AccessControlException " Watch "java.security.AccessControlException " New topic
Author

java.security.AccessControlException

ni shj
Greenhorn

Joined: Feb 23, 2010
Posts: 1
Hi All,
I am trying to build an already existing code. The tomcat installation is fine. There are no issue during startup. But once the code is deployed in tomcat is throws the following exception.

java.security.AccessControlException: access denied (javax.management.MBeanTrust
Permission register)

Kindly help me out !
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
It sounds like Tomcat is running with a security manager that does not permit web apps to do this. The standard security policy is configured in the conf/catalina.policy file.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: java.security.AccessControlException
 
It's not a secret anymore!