[midPoint] ERROR 404 : The requested resource (/midpoint) is not available.
Ivan Noris
ivan.noris at evolveum.com
Mon Apr 3 15:35:41 CEST 2017
Hi,
well that explains it.
You need to have the same version of DB creation script. Your error is
exactly the case what happens if the versions are mismatched.
For simplicity you can download midPoint "dist" archive
(https://evolveum.com/downloads/midpoint/3.5/) - either zip, tar.gz or
tar-bz2 and in the archive there is WAR file and also config/sql/_all
directory with corresponding SQL scripts.
Regards,
Ivan
On 04/03/2017 03:24 PM, licence Uni Spé_-_Administarttion Ds Sys Appl wrote:
> Hi,
> i used postgresql-3.4-all.sql
> <https://github.com/Evolveum/midpoint/blob/v3.4/config/sql/_all/postgresql-3.4-all.sql> with midpoint-3.5-dist.zip.
>
>
> 2017-04-03 13:36 GMT+01:00 Ivan Noris <ivan.noris at evolveum.com
> <mailto:ivan.noris at evolveum.com>>:
>
> 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 <mailto:midPoint at lists.evolveum.com>
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>
> --
> Ivan Noris
> Senior Identity Engineer
> evolveum.com <http://evolveum.com>
>
> _______________________________________________ midPoint mailing
> list midPoint at lists.evolveum.com
> <mailto:midPoint at lists.evolveum.com>
> http://lists.evolveum.com/mailman/listinfo/midpoint
> <http://lists.evolveum.com/mailman/listinfo/midpoint>
>
> _______________________________________________
> 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/05a8f04c/attachment.htm>
More information about the midPoint
mailing list