I am in the process of evaluating Syncope as our university is in the
process of selecting a new identity management solution. My first step
is to install Syncope and investigate the out of the box features.
I have followed the directions for the wiki documentation:
1) Create a new Syncope project
2) Run Syncope in real environment
However, when I navigate to http://localhost:8080/syncope-console, I get
the message : "Alert : *Session**expired*: please login again." I
checked log files and discovered the following:
*core-rest.log*
10:47:53.153 ERROR org.springframework.web.context.ContextLoader -
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'reportDataBinder': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not
autowire field: private
org.springframework.scheduling.quartz.SchedulerFactoryBean
org.apache.syncope.core.rest.data.ReportDataBinder.scheduler; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'scheduler' defined in file [C:\Program
Files\Apache Software Foundation\Tomcat
7.0\webapps\syncope\WEB-INF\classes\schedulingContext.xml]: Invocation
of init method failed; nested exception is
org.springframework.transaction.CannotCreateTransactionException: Could
not open JPA EntityManager for transaction; nested exception is
<openjpa-2.2.1-r422266:1396819 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Specified key was
too long; max key length is 767 bytes {stmnt 66373625 CREATE TABLE
ConnInstance (id BIGINT NOT NULL, bundleName VARCHAR(255) NOT NULL,
connectorName VARCHAR(255) NOT NULL, displayName VARCHAR(255), version
VARCHAR(255) NOT NULL, xmlConfiguration TEXT, PRIMARY KEY (id), UNIQUE
U_CNNNTNC_DISPLAYNAME (displayName)) ENGINE = innodb} [code=1071,
state=42000]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
~[spring-beans-3.1.4.RELEASE.jar:3.1.4.RELEASE]
*localhost.log*
SEVERE: Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'reportDataBinder': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not
autowire field: private
org.springframework.scheduling.quartz.SchedulerFactoryBean
org.apache.syncope.core.rest.data.ReportDataBinder.scheduler; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'scheduler' defined in file [C:\Program
Files\Apache Software Foundation\Tomcat
7.0\webapps\syncope\WEB-INF\classes\schedulingContext.xml]: Invocation
of init method failed; nested exception is
org.springframework.transaction.CannotCreateTransactionException: Could
not open JPA EntityManager for transaction; nested exception is
<openjpa-2.2.1-r422266:1396819 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: Specified key was
too long; max key length is 767 bytes {stmnt 66373625 CREATE TABLE
ConnInstance (id BIGINT NOT NULL, bundleName VARCHAR(255) NOT NULL,
connectorName VARCHAR(255) NOT NULL, displayName VARCHAR(255), version
VARCHAR(255) NOT NULL, xmlConfiguration TEXT, PRIMARY KEY (id), UNIQUE
U_CNNNTNC_DISPLAYNAME (displayName)) ENGINE = innodb} [code=1071,
state=42000] at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
*Infrastructure
*Server: Windows Server 2008 R2 Standard
App Serv: Tomcat 7.0
Database: MySQL 5.6
Java: Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
--
Adam Davenport
Programmer/Analyst, Information Technology Services
Western University
Support Services Building 4300
519-661-2111 x82716