Hi Team ,
currently after upgrade I was getting some errors while accessing with user admin which i discussed on this admin login issue with cuba 7.2.1
Then i tried to some workaround for that
- Create new cuba
7.2.1
project - open database by db editor
- export
SEC_USER
,SEC_USER_ROLE
Tables using scripts - delete all users roles and user roles using below scripts some of them are system tables which has relation ship with users table
DELETE FROM VTOWER_COUNTRY_USER;
DELETE FROM VTOWER_APPLICATION_ROLE_TEMPLATE_LINE;
DELETE FROM SEC_USER_ROLE;
DELETE FROM SEC_ROLE;
DELETE FROM SEC_USER_SETTING;
DELETE FROM SEC_FILTER;
DELETE FROM SEC_SCREEN_HISTORY;
DELETE FROM SEC_REMEMBER_ME;
DELETE FROM SEC_USER;
- Then execute below scripts
INSERT INTO PUBLIC.SEC_USER_ROLE (ID, CREATE_TS, CREATED_BY, VERSION, UPDATE_TS, UPDATED_BY, DELETE_TS, DELETED_BY, USER_ID, ROLE_ID, ROLE_NAME) VALUES ('6736effb-9dfc-4430-973a-69868606b09c', '2020-02-12 06:14:08.609000', null, 0, null, null, null, null, '60885987-1b61-4247-94c7-dff348347f93', null, 'system-full-access');
INSERT INTO PUBLIC.SEC_USER (ID, CREATE_TS, CREATED_BY, VERSION, UPDATE_TS, UPDATED_BY, DELETE_TS, DELETED_BY, SYS_TENANT_ID, LOGIN, LOGIN_LC, PASSWORD, PASSWORD_ENCRYPTION, NAME, FIRST_NAME, LAST_NAME, MIDDLE_NAME, POSITION_, EMAIL, LANGUAGE_, TIME_ZONE, TIME_ZONE_AUTO, ACTIVE, GROUP_ID, GROUP_NAMES, IP_MASK, CHANGE_PASSWORD_AT_LOGON,IS_EMPLOYEE,IS_GLOBAL_USER,CAN_BE_ASSIGNED_TO_COUNTRY) VALUES ('60885987-1b61-4247-94c7-dff348347f93', '2020-02-12 06:14:08.604000', null, 0, null, null, null, null, null, 'admin', 'admin', '$2a$10$vQx8b8B7jzZ0rQmtuK4YDOKp7nkmUCFjPx6DMT.voPtetNHFOsaOu', 'bcrypt', 'Administrator', null, null, null, null, null, null, null, null, true, '0fa2b1a5-1d68-4d69-9fbd-dff348347f93', null, null, null,FALSE,FALSE,FALSE);
INSERT INTO PUBLIC.SEC_USER (ID, CREATE_TS, CREATED_BY, VERSION, UPDATE_TS, UPDATED_BY, DELETE_TS, DELETED_BY, SYS_TENANT_ID, LOGIN, LOGIN_LC, PASSWORD, PASSWORD_ENCRYPTION, NAME, FIRST_NAME, LAST_NAME, MIDDLE_NAME, POSITION_, EMAIL, LANGUAGE_, TIME_ZONE, TIME_ZONE_AUTO, ACTIVE, GROUP_ID, GROUP_NAMES, IP_MASK, CHANGE_PASSWORD_AT_LOGON,IS_EMPLOYEE,IS_GLOBAL_USER,CAN_BE_ASSIGNED_TO_COUNTRY) VALUES ('a405db59-e674-4f63-8afe-269dda788fe8', '2020-02-12 06:14:08.606000', null, 0, null, null, null, null, null, 'anonymous', 'anonymous', null, null, 'Anonymous', null, null, null, null, null, null, null, null, true, '0fa2b1a5-1d68-4d69-9fbd-dff348347f93', null, null, null,FALSE,FALSE,FALSE);
After that i tries to rebuild and deploy the application but i’m getting below issues
Using CATALINA_BASE: "D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat"
Using CATALINA_HOME: "D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat"
Using CATALINA_TMPDIR: "D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_211\jre"
Using CLASSPATH: "D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\bin\bootstrap.jar;D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\bin\tomcat-juli.jar"
Listening for transport dt_socket at address: 8787
Mar 10, 2020 3:43:24 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_211\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;%JAVA_HOME%\bin;%JRE_HOME%\bin;C:\Program Files\PuTTY\;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\sqlite;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Haulmont\CUBA Studio 2019.2\bin;C:\Users\User\AppData\Roaming\Composer\vendor\bin;C:\Users\User\AppData\Local\GitHubDesktop\bin;;.]
Mar 10, 2020 3:43:25 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 10, 2020 3:43:25 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Mar 10, 2020 3:43:25 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [649] milliseconds
Mar 10, 2020 3:43:25 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Mar 10, 2020 3:43:25 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.27]
Mar 10, 2020 3:43:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\webapps\vtower]
LogbackConfigurator INFO Setting up CUBA default logging configuration
LogbackConfigurator INFO Could NOT find resource [D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat/../app_home/logback.xml]
LogbackConfigurator INFO Could NOT find resource [app-logback.xml]
LogbackConfigurator INFO Configuring console output with WARN threshold
Mar 10, 2020 3:43:33 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\webapps\vtower] has finished in [8,486] ms
Mar 10, 2020 3:43:33 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\webapps\vtower-core]
15:43:42.730 [main] ERROR com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Error initializing application
java.lang.RuntimeException: Unable to create anonymous session. It is required for system to start
at com.haulmont.cuba.security.auth.AnonymousSessionHolder.initializeAnonymousSessions(AnonymousSessionHolder.java:109)
at com.haulmont.cuba.security.auth.AnonymousSessionHolder.applicationStarted(AnonymousSessionHolder.java:54)
at com.haulmont.cuba.core.sys.AppContext.startContext(AppContext.java:239)
at com.haulmont.cuba.core.sys.AppContext$Internals.startContext(AppContext.java:302)
at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:91)
at com.haulmont.cuba.core.sys.AppContextLoader.contextInitialized(AppContextLoader.java:51)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
Caused by: com.haulmont.cuba.security.global.LoginException: Unknown login name or bad password 'anonymous'
at com.haulmont.cuba.security.auth.providers.AnonymousAuthenticationProvider.authenticate(AnonymousAuthenticationProvider.java:63)
at com.haulmont.cuba.security.auth.AuthenticationManagerBean.authenticateInternal(AuthenticationManagerBean.java:252)
at com.haulmont.cuba.security.auth.AuthenticationManagerBean.login(AuthenticationManagerBean.java:117)
at com.haulmont.cuba.security.auth.AnonymousSessionHolder.loginAnonymous(AnonymousSessionHolder.java:118)
at com.haulmont.cuba.security.auth.AnonymousSessionHolder.initializeAnonymousSessions(AnonymousSessionHolder.java:103)
... 46 common frames omitted
15:43:42.765 [main] ERROR com.haulmont.cuba.core.sys.remoting.RemotingServlet - Context initialization failed
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:177)
at org.springframework.context.support.AbstractApplicationContext.getAutowireCapableBeanFactory(AbstractApplicationContext.java:339)
at com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext.createBeanFactory(CubaXmlWebApplicationContext.java:29)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:637)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:702)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:668)
at com.haulmont.cuba.core.sys.remoting.RemotingServlet.initWebApplicationContext(RemotingServlet.java:95)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:530)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:170)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at com.haulmont.cuba.core.sys.remoting.RemotingServlet.init(RemotingServlet.java:177)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4871)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
Mar 10, 2020 3:43:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [D:\Work\Cost Control Application\VTSS\vTower\deploy\tomcat\webapps\vtower-core] has finished in [9,138] ms
Mar 10, 2020 3:43:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Mar 10, 2020 3:43:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Mar 10, 2020 3:43:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in [17,686] milliseconds
15:44:11.599 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:45:11.587 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:45:35.349 [http-nio-8080-exec-18] ERROR com.haulmont.cuba.web.AppUI - Unable to init ui
java.lang.RuntimeException: Unable to login as anonymous!
at com.haulmont.cuba.web.DefaultApp.loginOnStart(DefaultApp.java:314)
at com.haulmont.cuba.web.AppUI.setupUI(AppUI.java:510)
at com.haulmont.cuba.web.AppUI.init(AppUI.java:340)
at com.vaadin.ui.UI.doInit(UI.java:738)
at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:209)
at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:67)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1578)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:425)
at com.haulmont.cuba.web.sys.CubaApplicationServlet.serviceAppRequest(CubaApplicationServlet.java:329)
at com.haulmont.cuba.web.sys.CubaApplicationServlet.service(CubaApplicationServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108)
at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74)
at com.haulmont.cuba.web.sys.CubaHttpFilter.doFilter(CubaHttpFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1579)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.haulmont.cuba.security.global.InternalAuthenticationException: Exception is thrown by login provider
at com.haulmont.cuba.web.security.ConnectionImpl.loginInternal(ConnectionImpl.java:208)
at com.haulmont.cuba.web.security.ConnectionImpl.login(ConnectionImpl.java:91)
at com.haulmont.cuba.web.DefaultApp.loginOnStart(DefaultApp.java:312)
... 38 common frames omitted
Caused by: com.haulmont.cuba.web.sys.remoting.LocalServiceAccessException: Unable to connect to middleware. Service vtower-core/cuba_TrustedClientService is not registered in LocalServiceDirectory
at com.haulmont.cuba.web.sys.remoting.LocalServiceProxy$LocalServiceInvocationHandler.invoke(LocalServiceProxy.java:105)
at com.sun.proxy.$Proxy30.getAnonymousSession(Unknown Source)
at com.haulmont.cuba.web.security.WebAnonymousSessionHolder.getAnonymousSessionFromService(WebAnonymousSessionHolder.java:74)
at com.haulmont.cuba.web.security.WebAnonymousSessionHolder.initializeAnonymousSession(WebAnonymousSessionHolder.java:65)
at com.haulmont.cuba.web.security.WebAnonymousSessionHolder.checkInitialized(WebAnonymousSessionHolder.java:54)
at com.haulmont.cuba.web.security.WebAnonymousSessionHolder.getAnonymousSession(WebAnonymousSessionHolder.java:43)
at com.haulmont.cuba.web.security.providers.AnonymousLoginProvider.login(AnonymousLoginProvider.java:51)
at com.haulmont.cuba.web.security.ConnectionImpl.loginInternal(ConnectionImpl.java:192)
... 40 common frames omitted
15:46:11.588 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:47:11.588 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:48:11.588 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:49:11.589 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:50:11.589 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:51:11.589 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:52:11.590 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:53:11.590 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:54:11.591 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:55:11.592 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
15:56:11.592 [ServerInfoTimer] ERROR com.haulmont.cuba.core.app.ServerInfo - Unable to update SYS_SERVER: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
Thanks