This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.security.AccessControlException

 
ni shj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic