<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div>Hi, all</div><div>I recently ran into a problem with response time <span style="white-space: pre-wrap;">and </span><span style="white-space: pre-wrap;">I would really appreciate some help.</span></div><div><br></div><div>Here is some description about the problem. I use AdLdap connector(ver 3.5) to connect with domain controller. Then use the rest api to create or delete domain users by midpoint. Normal response time is within one second, however, if the midpoint has been idle for a long time, the response time is about one minute when the midpoint is requested to create a user. How can I make the response time of creating a user for the first time after being idle within one second?</div><div><br></div><div>Following is the rest api I am using:</div><div><br></div><div><font __editorwarp__="1" style="display: inline; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;">curl -u administrator:5ecr3t http://localhost:8080/midpoint/ws/rest/users -H "Content-Type:application/xml" -d @createuser.xml</font></div><font __editorwarp__="1" style="display: inline; font-size: 14px; font-family: Verdana; font-weight: 400; font-style: normal;"><div style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); display: block; font-size: 14px; font-family: Verdana; font-weight: 400; font-style: normal;"><br></div><div style="display: block; font-size: 14px; font-family: Verdana; font-weight: 400; font-style: normal;"><div style="font-family: Verdana; font-size: 14px; line-height: 18px; white-space: pre; display: block; font-weight: 400; font-style: normal;"><div style="display: block; font-size: 14px; font-family: Verdana; font-weight: 400; font-style: normal;"><div style="font-family: Menlo, Monaco, "Courier New", monospace; font-size: 12px; line-height: 18px;"><div style=""><span style="background-color: rgb(255, 255, 255);"><user xmlns=</span><span style="background-color: rgb(255, 255, 255);">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:api="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3"</span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        xmlns:exmpl="http://example.com/xml/ns/midpoint/schema"></span></div><span style="background-color: rgb(255, 255, 255);"><br></span><div style=""><span style="background-color: rgb(255, 255, 255);">        <name>Uretest</name></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        <fullName>Uretest</fullName></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        <credentials></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                <password></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                        <value>Aim2022!</value></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                </password></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        </credentials></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        <activation></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                <validTo>2022-11-19T21:25:00.000+08:00</validTo></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        </activation></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        <assignment></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                <construction></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                        <resourceRef></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                <filter></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                        <q:equal></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                                <q:path>c:name</q:path></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                                <q:value>aimrest</q:value></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                        </q:equal></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                                </filter></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                        </resourceRef></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                </construction></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        </assignment></span></div><span style="background-color: rgb(255, 255, 255);"><br></span><div style=""><span style="background-color: rgb(255, 255, 255);">        <extension></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">                <exmpl:profilePath>//SL2/share/</exmpl:profilePath></span></div><div style=""><span style="background-color: rgb(255, 255, 255);">        </extension></span></div><div style=""><span style="background-color: rgb(255, 255, 255);"></user></span></div><font color="#d4d4d4"><br></font></div></div></div></div></font>