Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-9940

Excessive logging for OneToMany annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.5.0
    • 6.3.2.2, 6.3.7, 6.3.9.2
    • None

    Description

      JIRA 6.1
      JIRA Agile 6.3.2.2

      Method to reproduce 1:
      • New JIRA installation
      • Install JIRA Agile via UPM
      • Notice the logs filled with the following messages:
        2013-10-14 09:58:55,038 UpmAsynchronousTaskManager:thread-3 WARN admin 598x207x2 yuaz41 0:0:0:0:0:0:0:1%0 /rest/plugins/1.0/ [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.manager.workingdays.WorkingDaysAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getWorkingDays() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        2013-10-14 09:58:55,038 UpmAsynchronousTaskManager:thread-3 WARN admin 598x207x2 yuaz41 0:0:0:0:0:0:0:1%0 /rest/plugins/1.0/ [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.service.rapid.view.SwimlaneAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getSwimlanes() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        2013-10-14 09:58:55,038 UpmAsynchronousTaskManager:thread-3 WARN admin 598x207x2 yuaz41 0:0:0:0:0:0:0:1%0 /rest/plugins/1.0/ [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.service.rapid.view.QuickFilterAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getQuickFilters() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        ...
        ...
        
      Method to reproduce 2:
      • With JIRA Agile installed, restart JIRA
      • Login/access the dashboard
      • The following appears in logs:
        2013-10-14 10:08:38,791 http-bio-8080-exec-24 WARN admin 608x49x1 3wel0y 0:0:0:0:0:0:0:1%0 /secure/Dashboard.jspa [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.service.rapid.view.ColumnAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getColumns() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        2013-10-14 10:08:38,792 http-bio-8080-exec-24 WARN admin 608x49x1 3wel0y 0:0:0:0:0:0:0:1%0 /secure/Dashboard.jspa [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.service.rapid.view.subquery.SubqueryAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getSubqueries() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        2013-10-14 10:08:38,792 http-bio-8080-exec-24 WARN admin 608x49x1 3wel0y 0:0:0:0:0:0:0:1%0 /secure/Dashboard.jspa [java.ao.schema.SchemaGenerator] public abstract com.atlassian.greenhopper.service.rapid.view.BoardAdminAO[] com.atlassian.greenhopper.service.rapid.view.RapidViewAO.getBoardAdmins() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
        ...
        ...
        
      • Doing a count, this dashboard load caused 134 of these WARNs

      Workaround

      Reduce the logging level to from WARN to ERROR

      1. Shutdown JIRA
      2. Open atlassian-jira/WEB-INF/classes/log4j.properties in file editor
      3. Find and edit the following line
            log4j.logger.net.java.ao  = WARN, console, filelog
        

        to

            log4j.logger.net.java.ao  = ERROR, console, filelog
        
      4. Restart JIRA

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dchan David Chan
              Votes:
              25 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: