On a customers installation the User Details in the workflow ui are loading very slow. About 50 seconds.

URL: http://localhost:8081/ivy/wf/Webapp/index.html?pageId=admin%2Fuserform&user=GFKLK

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.

LogId 119510222
SessionId 199
LogLevel 5
LogTimestamp 2017-08-04 10:07:30.080
SequenceNumber 87
LogMessage Open directory context to naming and directory server 'ldap://SOME_SERVER_ADDRESS'
LogDetailMessage -> client: 0:0:0:0:0:0:0:1 SOME_SERVER_ADDRESS -> thread: http-8081-Processor5  Class: JndiAuthenticationAndAuthorization Method: getJndiContext


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?

I disabled ipv6 in Windows but that didn't changed anything.

Have you seen a similar case? What can I do to investigate?

Server Info: Detail Version 3.9.52.5 (Version 3.9 Build 52 Patch 5) Build Date 21.11.2011

asked 08.08.2017 at 09:59

HaraldWeber's gravatar image

HaraldWeber
(suspended)
accept rate: 33%


It looks like an ipv6 issue.

You have to configure the corresponding ilc file and set the java property -Djava.net.preferIPv4Stack=true.

A default .ilc file is locatedf in <engine>/bin/default.ilc. 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 XpertIvyServer2Service.exe is used, so and the ilc file must have the name XpertIvyServer2Service.ilc.

In the ilc file adapt the below line. If there is already a option set, add the property to the end of the line.

Before

#
# Additional vm arguments.
#
#ivy.vm.additional.options=

After the change, the # was removed and property was added:

#
# Additional vm arguments.
#
ivy.vm.additional.options=-Djava.net.preferIPv4Stack=true

A restart of the engine is required, for the changes to take effect.

link

answered 08.08.2017 at 11:00

Flavio%20Sadeghi's gravatar image

Flavio Sadeghi ♦♦
(suspended)
accept rate: 75%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24
×15
×7

Asked: 08.08.2017 at 09:59

Seen: 1,770 times

Last updated: 08.08.2017 at 11:00