I am trying to run a struts webapp with tomcat 4.1
under the security manager (configured with
catalina.policy).  The struts install docs say that to
do this i need to add the permission:

permission java.lang.RuntimePermission
accessDeclaredMembers";

so i did.

however, both commons-beanutils and commons-digester
caused security exceptions until i granted them the
following permissions as well:

permission java.lang.RuntimePermission
"defineClassInPackage";
        permission java.lang.RuntimePermission
"defineClassInPackage.*";
        permission java.lang.reflect.ReflectPermission
"suppressAccessChecks";

note: i started with the default catalina.policy that
came with tomcat 4.1.18

the struts.jar and commons-*.jar files are in
/WEB-INF/lib/

any idea why these "extra" permissions are needed? 
or, is this a side-effect of some other problem?  if
so, any debuging advice?

thanks,
cory

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to