<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Ivy 3.9 User Details loading very slow</title><link>https://answers.axonivy.com/questions/2801/ivy-3-9-user-details-loading-very-slow</link><description>&lt;p&gt;On a customers installation the User Details in the workflow ui are loading very slow. About 50 seconds.&lt;/p&gt;
&lt;p&gt;URL: &lt;a href="http://localhost:8081/ivy/wf/Webapp/index.html?pageId=admin%2Fuserform&amp;amp;user=GFKLK"&gt;http://localhost:8081/ivy/wf/Webapp/index.html?pageId=admin%2Fuserform&amp;amp;user=GFKLK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The AAA System is set to Active Directory.
After a click on user details i wait 50 seconds and then the following line appears in the server log.&lt;/p&gt;
&lt;table border="1'"&gt;
 &lt;tbody&gt;&lt;tr height="21"&gt;
  &lt;td height="21"&gt;
&lt;span&gt;LogId&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span&gt;119510222&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;SessionId&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span&gt;199&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;LogLevel&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span&gt;5&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;LogTimestamp&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span&gt;2017-08-04
  10:07:30.080&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;SequenceNumber&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span&gt;87&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;LogMessage&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span lang="EN-US"&gt;Open directory context to naming and directory
  server 'ldap://SOME_SERVER_ADDRESS'&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="21"&gt;
  &lt;td height="21"&gt;&lt;span&gt;LogDetailMessage&lt;/span&gt;&lt;/td&gt;
  &lt;td&gt;&lt;span lang="EN-US"&gt;-&amp;gt; client: 0:0:0:0:0:0:0:1
 SOME_SERVER_ADDRESS -&amp;gt; thread: http-8081-Processor5 
  Class: JndiAuthenticationAndAuthorization Method: getJndiContext&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height="0"&gt;
  &lt;td width="121"&gt;&lt;/td&gt;
  &lt;td width="1026"&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
It seems that the server tries to get some information from the ldap server and runs in a timeout. After that the user details page is shown. 
Confusing is the part "client: 0:0:0:0:0:0:0:1". Its an ipv6 address. 
Does the server try to fetch something via ipv6? &lt;/p&gt;
&lt;p&gt;I disabled ipv6 in Windows but that didn't changed anything.&lt;/p&gt;
&lt;p&gt;Have you seen a similar case? What can I do to investigate?&lt;/p&gt;
&lt;p&gt;Server Info:
Detail Version 3.9.52.5 (Version 3.9 Build 52 Patch 5) 
Build Date 21.11.2011 &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2801/ivy-3-9-user-details-loading-very-slow" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 08 Aug 2017 11:00:08 -0400</lastBuildDate><item><title>Answer by Flavio Sadeghi</title><link>https://answers.axonivy.com/questions/2801/ivy-3-9-user-details-loading-very-slow/2802</link><description>&lt;p&gt;It looks like an ipv6 issue.&lt;/p&gt;
&lt;p&gt;You have to configure the corresponding ilc file and set the java property &lt;code&gt;-Djava.net.preferIPv4Stack=true&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A default .ilc file is locatedf in &lt;code&gt;&amp;lt;engine&amp;gt;/bin/default.ilc&lt;/code&gt;. Copy it and rename it to the same name as the used .exe file. E.g. when you start the engine as a service, the &lt;code&gt;XpertIvyServer2Service.exe&lt;/code&gt; is used, so and the ilc file must have the name &lt;code&gt;XpertIvyServer2Service.ilc&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;In the ilc file adapt the below line. If there is already a option set, add the property to the end of the line.&lt;/p&gt;
&lt;p&gt;Before&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#
# Additional vm arguments.
#
#ivy.vm.additional.options=
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After the change, the &lt;code&gt;#&lt;/code&gt; was removed and property was added:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#
# Additional vm arguments.
#
ivy.vm.additional.options=-Djava.net.preferIPv4Stack=true
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;A restart of the engine is required, for the changes to take effect.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Flavio Sadeghi</dc:creator><pubDate>Tue, 08 Aug 2017 11:00:08 -0400</pubDate><guid>https://answers.axonivy.com/questions/2801/ivy-3-9-user-details-loading-very-slow/2802</guid></item></channel></rss>