CMDBuild Forum

Cannot install CMDBuild 3.1

Hello, Everyone

 

Install cmdbuild for the first time.

However, a 404 error is displayed from the browser.

I'm looking at the technical manual, where is the problem that cmdbuild won't start?

 

###

The environment is as follows.

   Red Hat Enterprise Linux 7.3

   Apatch Tomcat 8.5.43

   PostgreSQL 10.7

   Java 1.8.0_152

   CMDBuild 3.1

 

###

deploy <tomcat>/webapps/<cmdbuild>.war

          -> Path created <tomcat>/webapps/<cmdbuild>

copy   <tomcat>/lib/postgresql-42.2.5.jar

edit   <tomcat>/conf/<cmdbuild>/database.conf

edit   <tomcat>/conf/tomcat-users.xml

          -> add "<user username="root" password="" roles="manager-gui"/>"

###

 

Apatch Tomcat and PostgreSQL are running

The cmdbuild database was created by executing the <cmdbuild> .sh command.

From tomcat Web Application Manager, the path /(cmdbuild) status is false.

Logs other than INFO from <tomcat>/logs/<cmdbuild>.log are as follows.

 

 [system] INFO  o.c.w.LogbackConfigurationContextListener - logger ready

 [system] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization started

 [system] INFO  o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Fri Aug 23 14:17:32 JST 2019]; root of context hierarchy

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/web-application-context.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/core-application-context.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/rest/rest_v2.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/rest/rest_v3.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/soap/soapws.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/soap/soapws-r1.xml]

 [system] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/cmdbuild/soap/soapws-r2.xml]

 [system] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [class org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$64b1ace2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'objectPostProcessor' of type [class org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@11e01184' of type [class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$89864f94] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'methodSecurityMetadataSource' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configBeanRepositoryImpl' of type [class org.cmdbuild.config.service.ConfigBeanRepositoryImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configListenerBeansRepositoryImpl' of type [class org.cmdbuild.config.service.ConfigListenerBeansRepositoryImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'minionBeanRepository' of type [class org.cmdbuild.minions.MinionBeanRepository] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'systemEventServiceImpl' of type [class org.cmdbuild.system.SystemEventServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'annotatedMethodJobService' of type [class org.cmdbuild.scheduler.annotatedmethodjobs.AnnotatedMethodJobService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

 [system] INFO  o.c.w.s.WebappDirectoryServiceImpl - cmdbuild webapp dir = /opt/Tools/CMDBuild/apache-tomcat-8.5.43/webapps/cmdbuild

 [system] INFO  o.c.w.s.WebappDirectoryServiceImpl - cmdbuild config dir = /opt/Tools/CMDBuild/apache-tomcat-8.5.43/conf/cmdbuild

 [system] INFO  o.c.w.s.WebappDirectoryServiceImpl - container dir = /opt/Tools/CMDBuild/apache-tomcat-8.5.43

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = clusterServiceImpl ( org.cmdbuild.cluster.ClusterServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method clusterServiceImpl#stopSafe for PreShutdown hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method clusterServiceImpl#startIfEnabled for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method platformServiceImpl#fixPermissions for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method rawDataSource#checkAndConfigureSqlLogger for PostStartup hook

 [system] INFO  o.c.d.orm.services.CardMapperLoader - scanClassesForHandlers BEGIN

 [system] INFO  o.c.d.orm.services.CardMapperLoader - scanClassesForHandlers END

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = multitenantServiceImpl ( org.cmdbuild.auth.multitenant.MultitenantServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method multitenantServiceImpl#check for PostStartup hook

 [system] INFO  o.c.a.s.dao.SessionRepositoryImpl - init

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = SessionRepositoryImpl (sessionRepositoryImpl) method = cleanupSessionStore trigger = '0 0 * * * ?'

 [system] INFO  org.cmdbuild.lock.LockRepositoryImpl - init

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = LockRepositoryImpl (lockRepositoryImpl) method = cleanupLockTable trigger = '0 10 * * * ?'

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method sharkWebserviceClientImpl#startSharkWsClient for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method planServiceDelegateSupplierImpl#loadConfig for PostStartup hook

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = cmisDmsProviderService ( org.cmdbuild.dms.cmis.CmisDmsProviderService )

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = pgDmsProviderServiceImpl ( org.cmdbuild.dms.dao.PgDmsProviderServiceImpl )

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = dmsServiceImpl ( org.cmdbuild.dms.core.DmsServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method workflowServiceDelegates#loadConfig for PostStartup hook

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = workflowServiceFacadeImpl ( org.cmdbuild.workflow.core.WorkflowServiceFacadeImpl )

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = emailQueueServiceImpl ( org.cmdbuild.email.queue.EmailQueueServiceImpl )

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = EmailQueueServiceImpl (emailQueueServiceImpl) method = processEmailQueue trigger = '0 */10 * * * ?'

 [system] INFO  o.c.d.config.inner.PatchServiceImpl - init

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method databaseStatusServiceImpl#init for PostStartup hook

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = geoserverServiceImpl ( org.cmdbuild.gis.geoserver.GeoserverServiceImpl )

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = gisService ( org.cmdbuild.gis.GisServiceImpl )

 [system] INFO  o.cmdbuild.minions.SystemServiceImpl - received application context PostConstruct event

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = ConfigBackupService (configBackupService) method = backupConfig trigger = '0 0 04 * * ?'

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = jobServiceImpl ( org.cmdbuild.jobs.JobServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method easyuploadLoaderService#checkUploadsFolderAndLoadContent for PostStartup hook

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = EasyuploadLoaderService (easyuploadLoaderService) method = checkUploadsFolderAndLoadContent trigger = '*/10 * * * * ?'

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = easyuploadFtpService ( org.cmdbuild.easyupload.ftp.EasyuploadFtpService )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method easyuploadFtpService#startFtpServerIfEnabled for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method easyuploadFtpService#stopSafe for PreShutdown hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method sysmonServiceImpl#logSystemInfo for PostStartup hook

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = SysmonServiceImpl (sysmonServiceImpl) method = logSystemStatus trigger = '0 * * * * ?'

 [system] INFO  o.c.l.ErrorOrWarningLogbackAppenderService - init

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = TempServiceImpl (tempServiceImpl) method = removeExpiredRecords trigger = '0 */10 * * * ?'

 [system] WARN  o.c.r.impl.RequestContextServiceImpl - invoked getRequestContext(), but there is no request context set on this thread! generating sys request context = RequestContext{id=sys_localhost-startStop-_8u5x4yzqf4a2hunbvaidsddh}

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = RequestTrackingServiceImpl (requestTrackingServiceImpl) method = doCleanupRequestTable trigger = '0 0 * * * ?'

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = schedulerServiceImpl ( org.cmdbuild.scheduler.quartz.SchedulerServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method schedulerServiceImpl#startup for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method schedulerServiceImpl#stopService for PreShutdown hook

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = bimserverClientServiceImpl ( org.cmdbuild.bim.bimserverclient.BimserverClientServiceImpl )

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method bimserverClientServiceImpl#init for PostStartup hook

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method bimserverClientServiceImpl#cleanup for PreShutdown hook

 [system] INFO  o.c.minions.MinionAnnotationHandler - register minion bean = bimServiceImpl ( org.cmdbuild.bim.BimServiceImpl )

 [system] INFO  o.cmdbuild.webapp.log.LogServiceImpl - init

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method databaseHousekeepingService#runDatabaseHousekeepingAtStartup for PostStartup hook

 [system] INFO  o.c.s.a.ScheduledJobsAnnotationHandler - processing scheduled job from annotated method, bean = DatabaseHousekeepingService (databaseHousekeepingService) method = runDatabaseHousekeepingJob trigger = '0 0 4 * * ?'

 [system] INFO  o.c.m.LifecycleBeanMethodAnnotationHandler - register method postgresDateServiceImpl#printInfo for PostStartup hook

 [system] INFO  org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be /v2

 [system] INFO  org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be /v3

 [system] INFO  o.a.c.w.s.f.ReflectionServiceFactoryBean - Creating Service {http://soap.services.cmdbuild.org}WebservicesImplService from class org.cmdbuild.services.soap.Webservices

 [system] INFO  org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be /Webservices

 [system] INFO  o.a.c.w.s.f.ReflectionServiceFactoryBean - Creating Service {http://soap.services.cmdbuild.org}PrivateImplService from class org.cmdbuild.services.soap.Private

 [system] INFO  org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be /Private

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/services/rest/v*/boot/status', GET], []

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/services/rest/v*/boot/status/', GET], []

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/services/rest/v*/boot/**'], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3feb43d0, org.springframework.security.web.context.SecurityContextPersistenceFilter@4b4d5e7f, org.springframework.security.web.header.HeaderWriterFilter@12a34943, org.springframework.web.filter.CorsFilter@1d5a4b5b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@65ed028c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6087c42f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6182faee, org.springframework.security.web.session.SessionManagementFilter@540d1a94, org.springframework.security.web.access.ExceptionTranslationFilter@5cb58cce, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4b1878eb]

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/services/rest/v*/sessions/**'], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@274d2e2f, org.springframework.security.web.context.SecurityContextPersistenceFilter@74824d64, org.springframework.security.web.header.HeaderWriterFilter@47dd91cd, org.springframework.web.filter.CorsFilter@430980b6, org.cmdbuild.webapp.security.LenientSessionTokenFilter@2f3b486f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@841c04d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@23b96b71, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4124f132, org.springframework.security.web.session.SessionManagementFilter@6083b127, org.springframework.security.web.access.ExceptionTranslationFilter@41f0415, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1dde65e7]

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/services/**'], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2e1b049a, org.springframework.security.web.context.SecurityContextPersistenceFilter@37b5ba5c, org.springframework.security.web.header.HeaderWriterFilter@28e50058, org.springframework.web.filter.CorsFilter@12a453cc, org.cmdbuild.webapp.security.SessionTokenFilter@67c0b9c3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d894e50, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3dee6e79, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4ed5e6a1, org.springframework.security.web.session.SessionManagementFilter@56d86f1, org.springframework.security.web.access.ExceptionTranslationFilter@139324ae, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1707d765]

 [system] INFO  o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6472b3d2, org.springframework.security.web.context.SecurityContextPersistenceFilter@2494498a, org.springframework.security.web.header.HeaderWriterFilter@5406119e, org.springframework.security.web.authentication.logout.LogoutFilter@364c7b08, org.cmdbuild.webapp.security.UiSessionTokenFilter@6b9ae286, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7ed15538, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1abf319d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@126e3bb3, org.springframework.security.web.session.SessionManagementFilter@216b248, org.springframework.security.web.access.ExceptionTranslationFilter@6be63f27, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@d7fd68d]

 [system] INFO  o.cmdbuild.minions.SystemServiceImpl - spring context is ready

 [system] ERROR o.s.web.context.ContextLoader - Context initialization failed

java.lang.IllegalArgumentException: invalid OS user detected: this webapp has been started with ROOT user; this is NOT allowed, use a regular/limited user instead

        at org.cmdbuild.platform.PlatformUtils.checkOsUser(PlatformUtils.java:14) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at org.cmdbuild.minions.SystemServiceImpl.checkStartupConditions(SystemServiceImpl.java:295) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at org.cmdbuild.minions.SystemServiceImpl.handleContextRefresh(SystemServiceImpl.java:128) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:253) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:174) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:137) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) ~[spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) ~[spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699) [catalina.jar:8.5.43]

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165) [catalina.jar:8.5.43]

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.43]

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) [catalina.jar:8.5.43]

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) [catalina.jar:8.5.43]

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) [catalina.jar:8.5.43]

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970) [catalina.jar:8.5.43]

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1841) [catalina.jar:8.5.43]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_152]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_152]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_152]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_152]

        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_152]

 [system] INFO  o.c.w.ServletContextShutdownListener - received context destroyed event

 [system] ERROR o.c.w.ServletContextShutdownListener - error processing context destroyed event

java.lang.IllegalArgumentException: invalid OS user detected: this webapp has been started with ROOT user; this is NOT allowed, use a regular/limited user instead

        at org.cmdbuild.platform.PlatformUtils.checkOsUser(PlatformUtils.java:14) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at org.cmdbuild.minions.SystemServiceImpl.checkStartupConditions(SystemServiceImpl.java:295) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at org.cmdbuild.minions.SystemServiceImpl.handleContextRefresh(SystemServiceImpl.java:128) ~[cmdbuild-core-all-3-SNAPSHOT.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:253) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:174) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:137) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) ~[spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) ~[spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) ~[spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699) ~[catalina.jar:8.5.43]

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165) ~[catalina.jar:8.5.43]

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[catalina.jar:8.5.43]

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) [catalina.jar:8.5.43]

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) [catalina.jar:8.5.43]

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) [catalina.jar:8.5.43]

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970) [catalina.jar:8.5.43]

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1841) [catalina.jar:8.5.43]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_152]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_152]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_152]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_152]

        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_152]

 [system] INFO  o.s.w.c.s.XmlWebApplicationContext - Closing Root WebApplicationContext: startup date [Fri Aug 23 14:17:32 JST 2019]; root of context hierarchy

 [system] INFO  o.c.audit.RequestTrackingServiceImpl - cleanup

 

Thanks for your help.

 

I thought the supported postgresql version included 10.7.
However, I found a log in the cmdbuild installation log that this version does not support.
It was confirmed that there was no error in the log by using an old version.

I didn’t understand that WAR file deployment and CMDBuild (cmdbuild.sh) installation required communication with Maven.
By placing /.m2/settings.xml and setting the proxy settings, the installation process seems to have finished without problems.

but, Starting the Tomcat service did not start cmdbuild.
I want to know what else to do.

Thanks for your help.