Hello Marco,
Thank you for your reply.
I checked it and the version is 1.1.3, i used the same .war (syncope and
syncope-console) on both the Windows and Linux machine.So this can't be the
issue to my opinion.
Kind regards,Ronald
From: marco.disabat...@tirasa.net
Subject: Re: Session expired message
Date: Mon, 6 Oct 2014 09:56:15 +0200
To: user@syncope.apache.org
Hi Ronald,
Il giorno 05/ott/2014, alle ore 22:05, Ronald S ronald_s...@outlook.com ha
scritto:I have to setup Syncope on Windows R2 x64, but I am constantly getting
the error session expired when logging on to the web-console. I am making use
of MySQL as database for Syncope checked everything with a setup on Ubuntu
Linux where I have Syncopeworking without any issues. - First problems
I did run into was the auto creation of tables and views for syncope in the
MySQL database that made my MySQL crash and did leave an uncomplete created
syncope database behind- I created a backup from the syncope database
on my Linux machine and imported on Windows MySQL, this solved all my database
related errors I had before in catalina.out and tomcat7-stderr.log -
I still receive the session expired in the Syncope web console- In the
tomcat localhost.{date}.log I receive an error that is probably the cause of
this behavior but I have no clue how to resolve it Hopefully someone can help
me out on this error Oct 04, 2014 11:15:17 AM
org.apache.catalina.core.StandardContext listenerStartSEVERE: Exception sending
context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'accountPolicyEnforcer': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.apache.syncope.core.policy.UserSuspender
org.apache.syncope.core.policy.AccountPolicyEnforcer.userSuspender; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'workflowUserSuspender': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.apache.syncope.core.workflow.user.UserWorkflowAdapter
org.apache.syncope.core.workflow.WorkflowUserSuspender.uwfAdapter; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'uwfAdapter': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.activiti.engine.RuntimeService
org.apache.syncope.core.workflow.user.activiti.ActivitiUserWorkflowAdapter.runtimeService;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'processEngine': FactoryBean threw exception on
object creation; nested exception is org.activiti.engine.ActivitiException:
Version of activiti database (5.14) is more recent than the engine (5.13) at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
It seems that the syncope version deployed on window is different from that on
linux.Which version are you using?
Below are my settings in tomcat conf/context.xml Context!-- Default set
of monitored resources --
WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this to
disable session persistence across Tomcat restarts --Manager pathname=
/ Resource name=jdbc/syncopeDataSource auth=Container
type=javax.sql.DataSource
factory=org.apache.tomcat.jdbc.pool.DataSourceFactory
maxActive=100 minIdle=2 maxWait=1
initialSize=2 removeAbandonedTimeout=2
removeAbandoned=true logAbandoned=true
suspectTimeout=2 timeBetweenEvictionRunsMillis=5000
minEvictableIdleTimeMillis=5000
jdbcInterceptors=org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
username=username password=password
driverClassName=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/syncope?characterEncoding=UTF-8//Context
Below are my settings in syncope-console
/WEB-INF/classes/configuration.propertiesscheme=httphost=localhostport=8040rootPath=/syncope/rest/
Below are my settings in syncope /WEB-INF/web.xml !-- Uncomment this when
using JNDI DataSource -- resource-ref
res-ref-namejdbc/syncopeDataSource/res-ref-name
res-typejavax.sql.DataSource/res-typeres-authContainer/res-auth
/resource-ref
/WEB-INF/classes/persistence.propertiesjpa.driverClassName=com.mysql.jdbc.Driverjpa.url=jdbc:mysql://localhost:3306/syncope