ERROR org.opensaml.storage.impl.JPAStorageService:337

Jarno Huuskonen jarno.huuskonen at uef.fi
Wed Sep 16 08:50:19 EDT 2015


Hi,

>From time to time (maybe once a day) we get something like this on
idp(3.1.2) warn/process logs. Any hints what might be causing these ?
(There's no errors logged from connection pool / mysql-connector).
(We're using mysql as consent storage).

2015-09-16 09:38:30,673 - ERROR [org.opensaml.storage.impl.JPAStorageService:337] - JSESSIONID=jsessidremoved - Error committing transaction
javax.persistence.RollbackException: Error while committing the transaction
	at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:94)
Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
Caused by: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)
2015-09-16 09:38:30,681 - ERROR [org.opensaml.storage.impl.JPAStorageService:337] - JSESSIONID=jsessidremoved - Error committing transaction
javax.persistence.RollbackException: Error while committing the transaction
	at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:94)
Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
Caused by: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)
2015-09-16 09:38:30,720 - ERROR [net.shibboleth.idp.authn:-1] - JSESSIONID=jsessidremoved - Uncaught runtime exception
javax.persistence.RollbackException: Error while committing the transaction
	at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:94)
Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
Caused by: org.hibernate.HibernateException: identifier of an instance of org.opensaml.storage.impl.JPAStorageRecord was altered from org.opensaml.storage.impl.JPAStorageRecord$RecordId at b2b851a0 to org.opensaml.storage.impl.JPAStorageRecord$RecordId at 774b0980
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)

-Jarno

-- 
Jarno Huuskonen


More information about the users mailing list