Slow to authenticate user to instantiate userver
Author: marco.aquino@dedalus.eu (Marco)
Hi,
I have a java application that invoke a Uniface webservice via urouter.
I notate that it is very slow to execute the call.
On the urouter log I saw that it takes 2 second on the follow bold lines
0:48.261.58 t=3676: From Client:chn=305;len=114: CLTCON;
0:48.261.60 t=3676: clt=(hst=192.168.128.105,CSRVAPPNFS;pid=0;tid=0;sid=0;usr=nobody;ust=)
0:48.261.62 t=3676: log=(hst=TCP:CSRVAPPNFS+14000;usr=intranet\\nfsuser;ust=ws)
0:48.261.63 t=3676: reguser: nid=192.168.128.105, node=CSRVAPPNFS, pid=0, ust=
0:50.309.81 t=3676: To Client:chn=305;len=2: CONANS; continue:
I think that relates to user authentication.
On uniface servlet (web.xml), the urouter is call with a network user with this line:
<servlet id="Servlet_Standard">
<servlet-name>srd</servlet-name>
<servlet-class>com.compuware.uniface.urd.SRDServlet</servlet-class>
<init-param id="InitParam_Standard">
<param-name>MIDDLEWARE</param-name>
<param-value>UV8:csrvappnfs+13000|domain\\user|password|ws</param-value>
</init-param>
<init-param id="InitParam_asvtimeout">
<param-name>ASVTIMEOUT</param-name>
<param-value>500</param-value>
</init-param>
</servlet>
I tried with a local user but the time is the same.
Any idea??
Marco