I appreciate your response Chuck. I'm using ant to build and execute my system. I wasn't able to figure out how to set the java.security.manager and java.security.policy args in my ant target. I assumed that it was ant's jvmarg but that option didn't work. I finally realized that the ant permissions flags could be set. This got me a long way towards a solution. Within my ant target for executing my system my permissions were specified as follows:
<permissions> <grant class="java.util.PropertyPermission" name="*" actions="read,write"/> <grant class="javax.management.MBeanTrustPermission" actions="register"/> </permissions> The PropertyPermission covered my program's need to set system properties and the MBean permission avoided my initial set of problems AccessControlException. Unfortunately, using this approach resulted in a new problem. I now received a NoClassDefFoundError. More specifically I received java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator I definitely have the appropriate jar file in my lib directory and the lib directory is definitely in the path that the ant target uses. I'm guessing that there is another permission I must set to include the 3rd party jars but I'm not sure which permission. Any suggestions? Thanks in advance, SD ===== From "Caldarale, Charles R" <[EMAIL PROTECTED]> Subject RE: AccessControlException with Embedded Tomcat 5.5.23 Date Tue, 18 Sep 2007 20:11:18 GMT > From: S D [mailto:[EMAIL PROTECTED] > Subject: AccessControlException with Embedded Tomcat 5.5.23 > > 1. How do I enforce the use of the catalina.policy file > with embedded Tomcat? You need to set the following _two_ system properties: -Djava.security.manager -Djava.security.policy=$CATALINA_BASE/conf/catalina.policy Sorry, can't answer your second question. - Chuck