-
Bug
-
Resolution: Fixed
-
High
-
2.0.4
Issue found via studio.
We are seeing crowd fail to start because of an issue with the PluginPeristentStateStore and how it uses hibernate.
Objects are being used across multiple sessions and this is resulting in a total failure of Crowd to start up.
Sample error:
7.jun.2010 12:14:55 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.atlassian.crowd.console.listener.UpgradeListener org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661) at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) ... Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:590) ... 62 more
- is duplicated by
-
CWD-1929 org.hibernate.NonUniqueObjectException error during startup
-
- Closed
-
[CWD-1931] The plugin persistent state store is throwing internal hibernate excpetions during startup
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1511084 ] | New: JAC Bug Workflow v3 [ 3364074 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1393128 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1511084 ] |
Workflow | Original: Crowd Development Workflow v2 [ 273495 ] | New: Simplified Crowd Development Workflow v2 [ 1393128 ] |
Description |
Original:
Issue found via studio.
We are seeing crowd fail to start because of an issue with the PluginPeristentStateStore and how it uses hibernate. Objects are being used across multiple sessions and this is resulting in a total failure of Crowd to start up. |
New:
Issue found via studio.
We are seeing crowd fail to start because of an issue with the PluginPeristentStateStore and how it uses hibernate. Objects are being used across multiple sessions and this is resulting in a total failure of Crowd to start up. Sample error: {noformat} 7.jun.2010 12:14:55 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.atlassian.crowd.console.listener.UpgradeListener org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661) at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) ... Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.atlassian.crowd.model.property.Property#com.atlassian.crowd.model.property.PropertyId@75c1b401] at org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:590) ... 62 more {noformat} |
Workflow | Original: JIRA Bug Workflow v2 [ 211695 ] | New: Crowd Development Workflow v2 [ 273495 ] |
Labels | New: jirastudio |
if upgrade is not an option, see work around: http://confluence.atlassian.com/display/CROWDKB/Crowd+Stops+Working+after+a+Restart