Bugfix
If a service is restarted whose restart terminates the current session (e.g. the FormatterService), the system no longer boots properly and the application must be restarted.
After the restart, login is no longer possible:
com.top_logic.knowledge.service.KnowledgeBaseRuntimeException: Session revision invalid. Unable to get all updates from revision 244 to revision 261 in cache com.top_logic.knowledge.service.db2.ValueQueryCache@2bb070c9 at com.top_logic.knowledge.service.db2.AbstractKBCache.getCurrentCache(AbstractKBCache.java:185) at com.top_logic.knowledge.service.db2.AbstractKBCache.getValue(AbstractKBCache.java:106) at com.top_logic.knowledge.service.db2.AbstractQueryCache.getValue(AbstractQueryCache.java:1) at com.top_logic.element.model.PersistentModuleSingletons.getAllSingletons(PersistentModuleSingletons.java:308) at com.top_logic.model.util.TLModelUtil.getAllGlobalClassesUncached(TLModelUtil.java:2271) at com.top_logic.model.cache.TLModelOperations.computeGlobalClasses(TLModelOperations.java:222) at com.top_logic.model.cache.TLModelCacheEntry.getGlobalClasses(TLModelCacheEntry.java:189) at com.top_logic.model.cache.TLModelCacheEntry.isGlobal(TLModelCacheEntry.java:234) at com.top_logic.model.cache.TLModelCacheEntry.canBeCached(TLModelCacheEntry.java:223) at com.top_logic.model.cache.TLModelCacheEntry.getAttribute(TLModelCacheEntry.java:135) at com.top_logic.element.meta.kbbased.KBBasedMetaElement.getPart(KBBasedMetaElement.java:131) at com.top_logic.model.TLObject.tValueByName(TLObject.java:123) at com.top_logic.model.TLNamed.getName(TLNamed.java:37) at com.top_logic.base.accesscontrol.LoginCredentials.<init>(LoginCredentials.java:93) at com.top_logic.base.accesscontrol.LoginCredentials.fromUserAndPassword(LoginCredentials.java:68) at com.top_logic.base.accesscontrol.Login.login(Login.java:291) at com.top_logic.base.accesscontrol.LoginPageServlet.checkRequest(LoginPageServlet.java:282) at com.top_logic.base.accesscontrol.LoginPageServlet.doPost(LoginPageServlet.java:214)
Test
Restart the "Styles" service in the service editor. The current session is terminated, but a re-login is possible.