<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.gmail-message
        {mso-style-name:gmail-message;}
span.gmail-highlight
        {mso-style-name:gmail-highlight;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hello, do you have other log information in the midpoint.log file ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">In my case it happened when I have more than one org with the same name, or shadow link to this org. Check with repository
 objects if something is wrong.  <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">(but it what in V3.6)
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Calibri",sans-serif;color:black">Cordialement,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border:none;border-top:solid #00BBDF 3.0pt">
<tbody>
<tr>
<td width="708" valign="top" style="width:225.75pt;border:none;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:105%"><span lang="EN-GB" style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><img width="174" height="22" id="Image_x0020_1" src="cid:image001.png@01D4468B.E0B2A6F0" alt="cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45"></span><span lang="EN-GB" style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-GB" style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><b><span lang="EN-GB" style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Sylvaire-Kevin TIPA</span></b><i><span lang="EN-GB" style="font-size:10.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#757B80;mso-fareast-language:EN-US">
<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><i><span lang="EN-GB" style="font-size:10.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#767171;mso-fareast-language:EN-US">Thales Services / OIC / DevOps Automatisation Infrastructures<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-GB" style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US">…………………………………………</span><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US">………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:9.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:gray;mso-fareast-language:EN-US">THALES SERVICES SAS<br>
44 Quai Charles de Gaulle<br>
CS 20100<br>
69463 Lyon Cedex 06<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><a href="http://www.thalesgroup.com/"><span style="font-size:8.5pt;line-height:105%;font-family:"Arial",sans-serif;color:gray">www.thalesgroup.com</span></a></span><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;display:none"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">De :</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> midPoint [mailto:midpoint-bounces@lists.evolveum.com]
<b>De la part de</b> Alcides Carlos de Moraes Neto<br>
<b>Envoyé :</b> jeudi 6 septembre 2018 21:08<br>
<b>À :</b> midpoint <midpoint@lists.evolveum.com><br>
<b>Objet :</b> [midPoint] Problem after migration from 3.7 to 3.8 - Org Tree Page won't open<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hello list,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Today we migrated our production server from 3.7 to 3.8<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Previously we migrated our development server without issues.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">But on our production servers, after migration, we cannot open the Org Tree Page. Everything else seems to be working fine.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">We get a CouldNotLockPageException. It seems midPoint hangs while loading the Organizational Tree.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Turning on hibernate.SQL debug, the last query that is called  by the thread is this one:<o:p></o:p></p>
</div>
<div>
<p><span class="gmail-message">DEBUG [org.hibernate.SQL] (</span><span class="gmail-highlight">http-nio-8080-exec-26</span><span class="gmail-message">) select robject0_.oid as col_0_0_, robject0_.fullObject as col_1_0_, robject0_.stringsCount as col_2_0_,
 robject0_.longsCount as col_3_0_, robject0_.datesCount as col_4_0_, robject0_.referencesCount as col_5_0_, robject0_.polysCount as col_6_0_, robject0_.booleansCount as col_7_0_ from m_object robject0_ where robject0_.objectTypeClass=? and (robject0_.oid in
 (select robjectref1_.owner_oid from m_reference robjectref1_ where robjectref1_.reference_type=0 and (robjectref1_.targetOid in (select rorgclosur2_.descendant_oid from m_org_closure rorgclosur2_ where rorgclosur2_.ancestor_oid=?)))) order by robject0_.name_orig
 asc fetch first ? rows only</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span class="gmail-message">Any help would be appreciated, thanks.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Exception and Thread dump:<o:p></o:p></p>
</div>
<div>
<p><span class="gmail-message">2018-09-06T15:45:56.281 WARN [org.apache.wicket.page.PageAccessSynchronizer] (http-nio-8080-exec-26) Thread 'http-nio-8080-exec-26' failed to acquire lock to page with id '33', attempted for 1 minute out of allowed 1 minute. The
 thread that holds the lock has name 'http-nio-8080-exec-24'.</span><o:p></o:p></p>
<p><span class="gmail-message">2018-09-06T15:45:56.285 WARN [org.apache.wicket.page.PageAccessSynchronizer] (http-nio-8080-exec-26) "http-nio-8080-exec-24" daemon prio=5 tid=810 state=RUNNABLE</span><br>
<span class="gmail-message"> org.apache.wicket.util.lang.Threads$ThreadDump: null</span><br>
<span class="gmail-message"> at java.net.SocketInputStream.socketRead0(Native Method)</span><br>
<span class="gmail-message"> at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)</span><br>
<span class="gmail-message"> at java.net.SocketInputStream.read(SocketInputStream.java:171)</span><br>
<span class="gmail-message"> at java.net.SocketInputStream.read(SocketInputStream.java:141)</span><br>
<span class="gmail-message"> at oracle.net.ns.Packet.receive(Packet.java:311)</span><br>
<span class="gmail-message"> at oracle.net.ns.DataPacket.receive(DataPacket.java:105)</span><br>
<span class="gmail-message"> at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:305)</span><br>
<span class="gmail-message"> at oracle.net.ns.NetInputStream.read(NetInputStream.java:249)</span><br>
<span class="gmail-message"> at oracle.net.ns.NetInputStream.read(NetInputStream.java:171)</span><br>
<span class="gmail-message"> at oracle.net.ns.NetInputStream.read(NetInputStream.java:89)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:123)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:79)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CMAREngineStream.unmarshalUB1(T4CMAREngineStream.java:429)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:397)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:225)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:53)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:943)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:957)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1111)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4798)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:4845)</span><br>
<span class="gmail-message"> at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1501)</span><br>
<span class="gmail-message"> at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)</span><br>
<span class="gmail-message"> at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)</span><br>
<span class="gmail-message"> at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:60)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p style="font-size:8pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
 notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</body>
</html>