Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-27

[beanutils] Excessive exceptions log under security manager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 14394

    Description

      I'm currently forced to use BeanUtils/Struts under the J2EE-RI server, which by
      default has much a stricter security policy than Tomcat etc. To my surprise,
      this resulted in an initial 400+kB of logs generated, filled with
      AccessControlExceptions including stack traces, and always the same. Apparently
      during Struts parsing it's config file using Digester, and thus BeanUtils.

      However, the problem does not at all hurt the functionality of the
      application. IMHO, the exception should just be logged once (on first
      encounter). There could be a static boolean variable to indicated the situation
      for further invocations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmlenz Christopher Lenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: