Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12639

Fix administrative status scheduler

    XMLWordPrintable

    Details

      Description

      The administrative status is changed using a scheduler, run every 5 minutes, that's triggering the following warn in logs:

      13:20:50,569 WARN  [TransactionalCoreSessionWrapper] Session invoked in a container without a transaction active: turn on debug logs for more information about the faulty call.
      13:20:50,569 DEBUG [TransactionalCoreSessionWrapper] Session invoked in a container without a transaction
      java.lang.Throwable
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.checkTxActiveRequired(TransactionalCoreSessionWrapper.java:105)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:133)
      	at com.sun.proxy.$Proxy88.query(Unknown Source)
      	at org.nuxeo.ecm.core.management.storage.DocumentModelStatusPersister$StatusFetcher.run(DocumentModelStatusPersister.java:195)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:156)
      	at org.nuxeo.ecm.core.management.storage.DocumentModelStatusPersister.getStatus(DocumentModelStatusPersister.java:253)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl.getStatus(AdministrativeStatusManagerImpl.java:218)
      	at org.nuxeo.ecm.platform.web.common.admin.AdministrativeStatusListener.handleEvent(AdministrativeStatusListener.java:90)
      	at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:140)
      	at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:107)
      	at org.nuxeo.ecm.core.management.statuses.RuntimeEventNotifier.notifyEvent(RuntimeEventNotifier.java:30)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl.notifyEvent(AdministrativeStatusManagerImpl.java:80)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl.notifyOnStatus(AdministrativeStatusManagerImpl.java:136)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl.doNotifyAllStatuses(AdministrativeStatusManagerImpl.java:115)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl$NotifyStatusesHandler.run(AdministrativeStatusManagerImpl.java:122)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: