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

Joined: Mar 22, 2005
Posts: 39548
    
  27
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 - updated with new look and Ping home screen widget
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.security.AccessControlException
 
Similar Threads
java. security. AccessControlException
Deploying a Visual Web Pack Application from Netbeans 5.5.1 to Tomcat 5.5
THreads Problem Complex
SEVERE: Error initializing endpoint
Unable To Write Image on Web Host Directory