This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.security.AccessControlException