Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40140

Tomcat does not shutdown properly with sakai.property startScheduler@org.sakaiproject.api.app.scheduler.SchedulerManager=false

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.1, 12.2, 12.3, 12.4, 12.5, 19.0
    • Fix Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Component/s: Quartz Scheduler
    • Labels:
      None
    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Steps

      • in sakai.properties set: startScheduler@org.sakaiproject.api.app.scheduler.SchedulerManager=false
      • start up tomcat
      • shutdown tomcat
      • tomcat will not shutdown properly and there is an exception in the logs and you have to force shutdown tomcat with "sudo kill <pid>"
      4-Jun-2018 09:41:28.241 TRACE [Timer-3] org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession Opening Hibernate Session.  tenant=null, owner=null
      Exception in thread "Timer-3" java.lang.IllegalStateException: No value for key [org.hibernate.internal.SessionFactoryImpl@7a41b83] bound to thread [Timer-3]
      	at org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource(TransactionSynchronizationManager.java:210)
      	at org.sakaiproject.messagebundle.impl.MessageBundleServiceImpl$SaveOrUpdateTask.run(MessageBundleServiceImpl.java:507)
      	at java.util.TimerThread.mainLoop(Timer.java:555)
      	at java.util.TimerThread.run(Timer.java:505)
      14-Jun-2018 09:42:13.217 WARN [SakaiPresenceService.Maintenance] org.sakaiproject.presence.impl.BasePresenceService.run Exception checking for expired presence. If the app server is currently stopped you can safely ignore this warning. Under any other circumstances, enable debug logging to see the cause.
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ern Earle R Nietzel
                Reporter:
                austinUH Austin
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code