craigmcc 2002/07/07 17:55:49 Modified: . STATUS doc/userGuide installation.xml Log: Update the installation page to document the security manager permission you will need to grant when running Struts 1.1 (and thus commons-beanutils) apps that have mapped properties in their form beans. Remove 7579, which has been resolved. Revision Changes Path 1.9 +0 -1 jakarta-struts/STATUS Index: STATUS =================================================================== RCS file: /home/cvs/jakarta-struts/STATUS,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- STATUS 7 Jul 2002 23:46:27 -0000 1.8 +++ STATUS 8 Jul 2002 00:55:49 -0000 1.9 @@ -44,7 +44,6 @@ Unknown: ------- - 7579 Tomcat 4.0.3 + struts fails with -security 10380 DynaActionFormClass not serializable 10501 Error running struts under JRun 3.1 1.4 +17 -8 jakarta-struts/doc/userGuide/installation.xml Index: installation.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/userGuide/installation.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- installation.xml 9 Jun 2002 22:23:25 -0000 1.3 +++ installation.xml 8 Jul 2002 00:55:49 -0000 1.4 @@ -216,13 +216,7 @@ <code>commons-*.jar</code> files (copied earlier) on the CLASSPATH that is submitted to the compiler.</li> </ul> -</section> <section name="Installing Struts with your servlet container" href="Containers"> - -<p><strong>WARNING</strong> - Do <strong>NOT</strong> add -<code>struts.jar</code> to the classpath of your servlet container in an -attempt to avoid placing it in the <code>/WEB-INF/lib</code> directory of -each individual web app! Doing so will cause problems with -<code>ClassNotFoundException</code> exceptions.</p> +</section> <section name="Installing Struts With Your Servlet Container" href="Containers"> <p>For most containers, you need only to: </p> <ul> @@ -230,7 +224,22 @@ containers <code>webapps</code> directory. </li> <li>In some cases, you may need to restart your container if it is running.</li> </ul> -<h3>Status of various containers</h3> + +<h3>Running Struts Applications Under A Security Manager</h3> + +<p>Many application servers execute web applications under the control of a +Java security manager, with restricted permissions on what classes in the web +application can do. If you utilize form beans with mapped properties, you may +encounter security exceptions unless you add the following permission to the +set of permissions granted to your Struts application's codebase:</p> +<pre> + permission java.lang.RuntimePermission "accessDeclaredMembers"; +</pre> + +<p>Consult the documentation on your application server for more information +about how to configure additional security manager permissions.</p> + +<h3>Installing Struts on Various Containers</h3> <ul> <li>Bluestone Universal Business Server - <a href="installation-ubs.html">Additional steps required.</a></li>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>