Affects Version/s: 1.1 Beta 3
Fix Version/s: None
Environment:Operating System: All
(NOTE: Version is 1.1 Beta 3, not yet available here)
As of ActionServlet revision 1.138, Struts fails to initialize when deployed on
J2EE-RI 1.3.1, which employs quite strict security restrictions. More
preceisely, the problem surfaces when trying to use the Validator plugin, I
haven't tested other plugins.
The exact problem seems to be that BeanUtils is trying to call setAccessible()
on the method that is not found on the ValidatorPlugin, which triggers an
AccessControlException to be thrown.
The attempted solution with revision 1.139 doesn't fix the problem, because
BeanUtils.setProperty() doesn't throw a NoSuchMethodException but rather a
security related exception.
This problem should be easily reproducable by trying to deploy and run the
Validator example web-app under the J2EE-RI server 1.3.1, without the default