<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Lately, we have been experiencing Shibboleth IdP freezing which  required a restart.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">These are two primary errors that keeps showing up. Any insights would be very helpful. Thanks.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2020-10-19 08:09:23,179 - ERROR [org.springframework.webflow.execution.repository.NoSuchFlowExecutionException:76] -
<o:p></o:p></p>
<p class="MsoNormal">org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s2' -- perhaps this executing flow has ended or expired? This could happen if your users are relying on browser
 history (typically via the back button) that references ended flows.<o:p></o:p></p>
<p class="MsoNormal">               at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '1' -- perhaps this conversation has ended?
<o:p></o:p></p>
<p class="MsoNormal">               at org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:126)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When we check SQL we don’t see any dead locks, so it’s not clear why IdP is not able to read it.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2020-10-19 08:08:21,849 - ERROR [net.shibboleth.idp.session.impl.UpdateSessionWithAuthenticationResult:178] - Profile Action UpdateSessionWithAuthenticationResult: Error creating session for principal testUser<o:p></o:p></p>
<p class="MsoNormal">net.shibboleth.idp.session.SessionException: Exception while storing new session<o:p></o:p></p>
<p class="MsoNormal">               at net.shibboleth.idp.session.impl.StorageBackedSessionManager.createSession(StorageBackedSessionManager.java:530)<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.io.IOException: javax.persistence.PersistenceException: org.hibernate.exception.LockAcquisitionException: could not load an entity: [org.opensaml.storage.impl.JPAStorageRecord#component[context,key]{context=7ca527826ca73f106622f100e12a77b768956acbbf0d76a17075d6f9fd070143,
 key=_session}]<o:p></o:p></p>
<p class="MsoNormal">               at org.opensaml.storage.impl.JPAStorageService.create(JPAStorageService.java:182)<o:p></o:p></p>
<p class="MsoNormal">Caused by: javax.persistence.PersistenceException: org.hibernate.exception.LockAcquisitionException: could not load an entity: [org.opensaml.storage.impl.JPAStorageRecord#component[context,key]{context=7ca527826ca73f106622f100e12a77b768956acbbf0d76a17075d6f9fd070143,
 key=_session}]<o:p></o:p></p>
<p class="MsoNormal">               at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.hibernate.exception.LockAcquisitionException: could not load an entity: [org.opensaml.storage.impl.JPAStorageRecord#component[context,key]{context=7ca527826ca73f106622f100e12a77b768956acbbf0d76a17075d6f9fd070143, key=_session}]<o:p></o:p></p>
<p class="MsoNormal">               at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:140)<o:p></o:p></p>
<p class="MsoNormal">Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 112) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.<o:p></o:p></p>
<p class="MsoNormal">               at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:Consolas;color:#44546A"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:Consolas;color:#44546A"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:Consolas;color:#44546A"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt">Moses Feinstein<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>