Hi Martin,
see my replies below.

Regards.

On 28/06/2017 16:44, Böhmer, Martin wrote:

Hi,

I tried to activate the notification feature, but ran into an error I am unable to tackle.

Here is what I did:

1.Adjusted mail.properties file according to our local setup (i.e. changed the server name)

2.Via the Console UI I changed the parameter “notificationjob.cronExpression” from empty string to: * 0/5 * * * ? *

3.Restarted Tomcat

4.Opened Notifications page in Console UI: Configuration àNotifications (in order to create a notification task to check e-mail config)

At step 4 I was redirected to the login screen showing the message “Error while contacting Syncope core”.

I attached the Core and Console log files. Root cause seems to be:

org.apache.syncope.common.lib.SyncopeClientException: DataIntegrityViolation [Cannot commit when autoCommit is enabled.]

Did I do something wrong?


No, you didn't.
The Admin Console's behavior is due to an unhanded exception raised by the Core. Unfortunately, the message above does not help in recognizing what could have happened.

Can you please stop Tomcat, clear all logs, replicate the problem and paste all of your logs via pastebin or similar?

My setup is: Apache Syncope 2.0.3 Redhat distribution, JDK 1.8.0_131-b11 from Oracle, Tomcat 8.0.32-1ubuntu1, Ubuntu 16.04 LTS.


You might want to give a try to the latest 2.0.4-SNAPSHOT from:

* https://repository.apache.org/content/groups/snapshots/org/apache/syncope/syncope-deb-core/2.0.4-SNAPSHOT/ * https://repository.apache.org/content/groups/snapshots/org/apache/syncope/syncope-deb-console/2.0.4-SNAPSHOT/ * https://repository.apache.org/content/groups/snapshots/org/apache/syncope/syncope-deb-enduser/2.0.4-SNAPSHOT/

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to