Hello!

I am working on getting our vibe 3.4 environment updated to 4.0.1, but am running into all sorts of problems. The main problem I am having now is after upgrading from 3.4 HP2 to 4.0 (either 4.0.0 HP4 or 4.0.1) we are missing 75% of the teams in our environment. Our LDAP sync time has increased from an hour to 22 hours, and I'm seeing all sorts of Java errors in the appserver.log while using Vibe, and even more errors when doing LDAP Syncs or reindexing. I am running JDK 8u73 with the appropriate crypto extensions installed and an Oracle 11g database.

Any help is appreciated - here are snippets of some of the errors I am seeing in the logs... There are plenty of other errors, but these seem to be the ones that repeat themselves...

Code:
During LDAP Sync:
2016-04-20 08:45:18,705 ERROR [http-bio-8443-exec-4] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - An error occurred trying to create the user the 2nd time: whitm03
2016-04-20 08:45:18,705 INFO  [http-bio-8443-exec-4] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - 2nd attempt to create the user: rorik02
2016-04-20 08:45:18,722 WARN  [http-bio-8443-exec-4] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1, SQLState: 23000
2016-04-20 08:45:18,722 ERROR [http-bio-8443-exec-4] [org.hibernate.util.JDBCExceptionReporter] - ORA-00001: unique constraint (SITESCAPE.SYS_C006197) violated
2016-04-20 08:45:18,722 ERROR [http-bio-8443-exec-4] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - An error occurred trying to create the user the 2nd time: rorik02


and

2016-04-20 19:48:53,403 INFO  [http-bio-8443-exec-4] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - --> Creating group: SCANNER
2016-04-20 19:48:56,386 WARN  [http-bio-8443-exec-4] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1, SQLState: 23000
2016-04-20 19:48:56,386 ERROR [http-bio-8443-exec-4] [org.hibernate.util.JDBCExceptionReporter] - ORA-00001: unique constraint (SITESCAPE.SYS_C006197) violated
2016-04-20 19:48:56,396 ERROR [http-bio-8443-exec-4] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - Error adding group
org.springframework.dao.DataIntegrityViolationException: could not insert: [org.kablink.teaming.domain.Group]; SQL [insert into SS_Principals (lockVersion, zoneId, workspaceId, internalId, deleted, disabled, logVersion, emailAddress, name, foreignName, typelessDN, ldapGuid, objectSid, samAccountName, domainName, theme, parentBinder, description_text, description_format, title, normalTitle, iconName, definitionType, entryDef, creation_date, creation_principal, modification_date, modification_principal, internal, fromLdap, fromLocal, fromOpenid, diskQuota, fileSizeLimit, downloadEnabled, webAccessEnabled, adHocFoldersEnabled, adHocFoldersLastModified, memberOfLastModified, membersLastModified, dynamic, ldapQuery, ldapContainer, groupType, type, id) values (?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'group', ?)]; constraint [SITESCAPE.SYS_C006197]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [org.kablink.teaming.domain.Group] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643) ...
and during normal use, I'm seeing

Code:
2016-04-21 09:13:05,971 ERROR [http-bio-8443-exec-14] [org.kablink.teaming.servlet.forum.ReadFileController] - Error reading file
org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [org.kablink.teaming.domain.User] with identifier [1]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kablink.teaming.domain.User#1]

and

2016-04-21 09:11:09,593 WARN  [http-bio-8443-exec-8] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 17401, SQLState: 99999
2016-04-21 09:11:09,593 ERROR [http-bio-8443-exec-8] [org.hibernate.util.JDBCExceptionReporter] - Protocol violation: [ 118, ]
2016-04-21 09:11:09,593 ERROR [http-bio-8443-exec-8] [org.hibernate.transaction.JDBCTransaction] - JDBC rollback failed
java.sql.SQLException: Protocol violation: [ 0, ]