tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From theseros <se...@trazen.org>
Subject java.security.AccessControlException
Date Tue, 03 Apr 2007 01:15:38 GMT

I'm new at this but I've been trying to figure this out for days.  I'm trying
to deploy an open-source webapp and I'm running into this permission
problem:

Exception sending context initialized event to listener instance of class
org.openmrs.web.Listener

java.security.AccessControlException: access denied
(java.lang.RuntimePermission getenv.OPENMRS_RUNTIME_PROPERTIES_FILE)

The environment variable OPENMRS_RUNTIME_PROPERTIES_FILE is properly set to
to the correct path, using an absolute path - but even when it's set to some
incorrect, garbage path, I get this error.

What seems obvious to me is that somehow I need to grant my OpenMRS webapp
permissions call java.lang.RuntimePermission.getenv(), is this correct? 
I've tried to edit catalina.policies but I'm really unsure of what to put in
there, and any changes I make to the file seem to evaporate whenever Tomcat
restarts.

I'd be very grateful for your help.  Peace.
-- 
View this message in context: http://www.nabble.com/java.security.AccessControlException-tf3509261.html#a9802030
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message