[midPoint] ERROR 404 : The requested resource (/midpoint) is not available.
Ivan Noris
ivan.noris at evolveum.com
Mon Apr 3 14:36:04 CEST 2017
Hi,
I can see at least this:
Missing column: lifecycleState in public.m_assignment at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
Which means your midPoint version does not match the midPoint database
schema version.
Can you please send me exact URL which you followed on our website, and,
what SQL scripts for which DB have you used?
Regards,
Ivan
On 04/03/2017 02:26 PM, licence Uni Spé_-_Administarttion Ds Sys Appl wrote:
> hello Ivan,
> thas is my idm.log
> "2017-04-03 11:35:20,359 [] [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.SqlRepositoryFactory): Initializing
> SQL repository factory 2017-04-03 11:35:20,436 []
> [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.SqlRepositoryFactory): Repository is
> not running in embedded mode. 2017-04-03 11:35:21,075 []
> [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.SqlPerformanceMonitor): SQL
> Performance Monitor initialized (level = 0). 2017-04-03 11:35:21,076
> [] [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.SqlRepositoryFactory): Repository
> initialization finished. 2017-04-03 11:35:21,298 []
> [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.DataSourceFactory): Loading
> datasource. 2017-04-03 11:35:21,304 [] [localhost-startStop-1] INFO
> (com.evolveum.midpoint.repo.sql.DataSourceFactory): Constructing
> default C3P0 datasource with connection pooling. 2017-04-03
> 11:35:30,769 [] [localhost-startStop-1] WARN
> (org.springframework.web.context.support.XmlWebApplicationContext):
> Exception encountered during context initialization - cancelling
> refresh attempt:
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'repositoryService': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper
> com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.sequenceHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sequenceHelper': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper.objectRetriever;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment 2017-04-03 11:35:30,773 [] [localhost-startStop-1]
> INFO (com.evolveum.midpoint.repo.sql.SqlRepositoryFactory): Repository
> is not running in embedded mode, shutdown complete. 2017-04-03
> 11:35:30,800 [] [localhost-startStop-1] ERROR
> (org.springframework.web.context.ContextLoader): Context
> initialization failed
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'repositoryService': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper
> com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.sequenceHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sequenceHelper': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper.objectRetriever;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
> ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
> ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
> ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
> ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
> [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4754)
> [catalina.jar:8.5.12] at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5216)
> [catalina.jar:8.5.12] at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [catalina.jar:8.5.12] at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
> [catalina.jar:8.5.12] at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
> [catalina.jar:8.5.12] at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> [catalina.jar:8.5.12] at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
> [catalina.jar:8.5.12] at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
> [catalina.jar:8.5.12] at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [na:1.8.0_121] at
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [na:1.8.0_121] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_121] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_121] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
> Caused by: org.springframework.beans.factory.BeanCreationException:
> Could not autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper
> com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.sequenceHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sequenceHelper': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper.objectRetriever;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 26 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sequenceHelper': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper.objectRetriever;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 28 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever
> com.evolveum.midpoint.repo.sql.helpers.SequenceHelper.objectRetriever;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 39 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'objectRetriever': Injection of autowired
> dependencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 41 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Could not
> autowire field: private
> com.evolveum.midpoint.repo.sql.helpers.BaseHelper
> com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.baseHelper;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 52 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'baseHelper' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.class]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 54 common frames
> omitted Caused by:
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in URL
> [jar:file:/opt/apache-tomcat-8.5.12/webapps/midpoint/WEB-INF/lib/repo-sql-impl-3.5.jar!/ctx-repository-session.xml]:
> Invocation of init method failed; nested exception is
> org.hibernate.HibernateException: Missing column: lifecycleState in
> public.m_assignment at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1244)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1194)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 63 common frames
> omitted Caused by: org.hibernate.HibernateException: Missing column:
> lifecycleState in public.m_assignment at
> org.hibernate.mapping.Table.validateColumns(Table.java:366)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1338)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:175)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:525)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1930)
> ~[hibernate-core-4.3.11.Final.jar:4.3.11.Final] at
> org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372)
> ~[spring-orm-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454)
> ~[spring-orm-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439)
> ~[spring-orm-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
> ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 72 common frames
> omitted"
> thank you
>
> 2017-03-29 16:20 GMT+01:00 licence Uni Spé_-_Administarttion Ds Sys
> Appl <asa.lus at gmail.com <mailto:asa.lus at gmail.com>>:
>
> Hello
> I followed the instructions of the installation of the wiki of
> midpoint
> <https://wiki.evolveum.com/display/midPoint/midPoint+on+Ubuntu%2C+Tomcat%2C+PostgreSQL+HOWTO>
> on ubuntu step by step but I receive a error that I can not solve :
>
> Type Status report
> Message /midpoint /
> Description The requested resource (/midpoint) is not available.
> Apache Tomcat / 8.5.12
>
> Can you help me please
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Senior Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170403/bca51c16/attachment.htm>
More information about the midPoint
mailing list