So I just got time to take another run at setting up a Bonita Server. Created an Ubuntu 20.04 LTS VM. Installed Java. Installed and configured SQL Server. Installed and configured Bonita. It seems to start OK. Then I went to access the web interface and got a 500 error. So I found and looked at the logs... here's what I found... Suggestions welcome...
2022-05-05T14:13:22,499-0400 | mixmaster | ERROR | [http-nio-8080-exec-2|47] o.a.c.c.C.[.[.[.[livingApplicationServlet] - Servlet.service() for servlet [livingApplicationServlet] in context with path [/bonita] threw exception org.bonitasoft.console.common.server.utils.DefaultTenantIdException: Can't retrieve default tenant id at org.bonitasoft.console.common.server.utils.TenantsManagementUtils.getDefaultTenantId(TenantsManagementUtils.java:170) ~[console-common-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.TenantIdAccessor.getDefaultTenantId(TenantIdAccessor.java:54) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.TenantIdAccessor.ensureTenantId(TenantIdAccessor.java:48) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.getAuthenticationManager(AuthenticationFilter.java:208) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.createLoginPageUrl(AuthenticationFilter.java:222) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.doAuthenticationFiltering(AuthenticationFilter.java:111) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.proceedWithFiltering(AuthenticationFilter.java:95) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37) ~[console-common-7.14.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.58] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.58] at org.bonitasoft.console.common.server.login.filter.TokenValidatorFilter.proceedWithFiltering(TokenValidatorFilter.java:73) ~[console-server-7.14.0.jar:?] at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37) ~[console-common-7.14.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.58] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.58] at org.bonitasoft.console.common.server.login.filter.ContentTypeSecurityFilter.proceedWithFiltering(ContentTypeSecurityFilter.java:65) ~[console-common-7.14.0.jar:?] at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37) ~[console-common-7.14.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.58] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.58] at org.bonitasoft.console.common.server.login.filter.FrameSecurityFilter.proceedWithFiltering(FrameSecurityFilter.java:66) ~[console-common-7.14.0.jar:?] at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37) ~[console-common-7.14.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[catalina.jar:9.0.58] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[catalina.jar:9.0.58] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [catalina.jar:9.0.58] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [catalina.jar:9.0.58] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [catalina.jar:9.0.58] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [catalina.jar:9.0.58] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.58] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:9.0.58] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [catalina.jar:9.0.58] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-coyote.jar:9.0.58] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.58] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) [tomcat-coyote.jar:9.0.58] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735) [tomcat-coyote.jar:9.0.58] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.58] at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.58] at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.58] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.58] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: org.bonitasoft.engine.platform.LoginException: org.bonitasoft.engine.core.login.SLoginException: User name or password is not valid! at org.bonitasoft.engine.api.impl.LoginAPIImpl.login(LoginAPIImpl.java:64) ~[bonita-server-7.14.0.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:431) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIOutsideTransaction(ServerAPIImpl.java:277) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:267) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:125) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79) ~[bonita-common-7.14.0.jar:?] at com.sun.proxy.$Proxy127.login(Unknown Source) ~[?:?] at org.bonitasoft.console.common.server.utils.TenantsManagementUtils.getDefaultTenantId(TenantsManagementUtils.java:165) ~[console-common-7.14.0.jar:?] ... 37 more Caused by: org.bonitasoft.engine.core.login.SLoginException: User name or password is not valid! at org.bonitasoft.engine.core.login.SecuredLoginServiceImpl.checkIsNotBlank(SecuredLoginServiceImpl.java:133) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.core.login.SecuredLoginServiceImpl.login(SecuredLoginServiceImpl.java:84) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.LoginAPIImpl.lambda$loginInternal$0(LoginAPIImpl.java:130) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:269) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.LoginAPIImpl.loginInternal(LoginAPIImpl.java:130) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.LoginAPIImpl.loginInternal(LoginAPIImpl.java:106) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.LoginAPIImpl.login(LoginAPIImpl.java:60) ~[bonita-server-7.14.0.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:431) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIOutsideTransaction(ServerAPIImpl.java:277) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:267) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:125) ~[bonita-server-7.14.0.jar:?] at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79) ~[bonita-common-7.14.0.jar:?] at com.sun.proxy.$Proxy127.login(Unknown Source) ~[?:?] at org.bonitasoft.console.common.server.utils.TenantsManagementUtils.getDefaultTenantId(TenantsManagementUtils.java:165) ~[console-common-7.14.0.jar:?] ... 37 more 2022-05-05T14:13:22,503-0400 | mixmaster | INFO | [http-nio-8080-exec-2|47] o.b.c.c.s.s.ErrorPageServlet - Displaying error page with code 500