AW: crashing IdP db connection

Ortner Nikolaus N.Ortner at fh-kaernten.at
Mon Apr 3 02:38:46 EDT 2017


> I assume because of what it says, the connection is timing out. That's a
> network/database/whatever issue. I don't know what you mean by crashing
> Tomcat. What's the stack trace? Java actually crashed?

I've encountered the same Exception when Users enter their Username uppercase and sometimes lowercase - seems like the system tries to update the consent entries but fails.

(previousely hat <util:constant id="shibboleth.authn.Password.Lowercase" static-field="java.lang.Boolean.TRUE"/> activated in conf/authn/password-authn-config.xml, but to get rid of those Exception I hat to put the same line into conf/c14n/simple-subject-c14n-config.xml). Collation at the database is case insensitive - maybe this causes the problems.

Stracktrace:
2017-03-17 07:39:18,104 - ERROR [org.opensaml.storage.impl.JPAStorageService:348] - 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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)
2017-03-17 07:39:18,119 - ERROR [org.opensaml.storage.impl.JPAStorageService:348] - 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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)
2017-03-17 07:39:18,151 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - 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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	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 intercept/attribute-release:edukuesus001:_key_idx to intercept/attribute-release:Edukuesus001:_key_idx
	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:80)
2017-03-17 07:39:18,166 - WARN [org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event occurred while processing the request: RuntimeException


Kind regards.


More information about the users mailing list