Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Other Security APIs, Tools, and Issues
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 28, 2011 5:29 PM by
jsvc security manager
Apr 28, 2011 3:11 PM
I am trying to set a security property for a portlet deployed in a pluto/tomcat container. The portlet fails with a security permission exception.
This is how I start the jsvc daemon:
jsvc.exec -Djava.security.manager -Djava.security.debug=access -Djava.security.policy=/opt/luminis/webapps/luminis/WEB-INF/config/server.policy
This is how I configured server.policy (eventually I will restrict it to a codebase and more specific permission):
I have tried several types of permissions, locations of the policy, editing the default security policy, nothing works.
The only thing that worked so far was disabling the security manager. Then the portlet renders with no errors.
Is there a setting that I am missing? Thank you.
This content has been marked as final.
Show 1 reply
Re: jsvc security manager
Apr 28, 2011 5:29 PM
in response to
(b) clearly your .policy file isn't being found.
(c) run it with java.security.debug=access,failure and you will see exactly what security policy is in effect and exactly what permissions you need to grant.