File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark " " Watch " " New topic

ni shj

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. access denied (
Permission register)

Kindly help me out !
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
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 agree. Here's the link:
It's not a secret anymore!