[jcifs] change from jcifs-0.9.6 to jcifs-1.1.6 cause big delay

Jan Lolling jan.lolling at t-systems.com
Thu Jan 6 15:00:37 GMT 2005


Since I have changed to the latest version from 0.9.6 the NTLM handshakes
prcedure is running very slowly.
Between every request und response is a time delay of 60s (+/- 1s).
With the same configuration I have no problems with version 0.9.6.
Perhaps the configuration-method has been changed, 
unfortunatly I don't find the difference and what I have to change.
I mean it is not useful to stay all times at the old version.

My webapplication runs on SuSE8.2 (production) or Windows XP (development),
Tomcat 4.1.30 and J2SDK1.4.2. 

Many thanks for help

Jan

*************************************************************************
here is the log output from Filter:

session established ok with 0.0.0.0<00>/164.19.100.230
requesting negotiation with 0.0.0.0<00>/164.19.100.230
byteCount=52 but readBytesWireFormat returned 50
treeConnect: unc=\\164.19.100.230\IPC$,service=?????
NtlmHttpFilter: EZ_BERLIN\lolling.jan successfully authenticated against
0.0.0.0<00>/164.19.100.230

*************************************************************************
here is my web.xml:

  <filter>
    <filter-name>AuthenticationFilter</filter-name>
    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
    <init-param>
      <param-name>jcifs.http.domainController</param-name>
      <param-value>164.19.100.230</param-value>
    </init-param>
    <init-param>
      <param-name>jcifs.util.loglevel</param-name>
      <param-value>3</param-value>
    </init-param>
    <init-param>
      <param-name>jcifs.http.loadBalance</param-name>
      <param-value>false</param-value>
    </init-param>
  </filter>

*************************************************************************
here are the HTTP headers (catched by firefox httpHeaders plug-in):
You can see the 1-minute-timedelay in every response section (look at Date).

http://w9l01426:8081/bis-info/index.html

GET /bis-info/index.html HTTP/1.1
Host: w9l01426:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;
q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: BISInfoCenter=lolling.jan|EZ_BERLIN
If-Modified-Since: Thu, 19 Aug 2004 22:51:20 GMT
If-None-Match: W/"1344-1092955880167"

HTTP/1.x 401 Unauthorized
Date: Thu, 06 Jan 2005 14:18:21 GMT
Server: Apache Tomcat/4.1.30 (HTTP/1.1 Connector)
WWW-Authenticate: NTLM
----------------------------------------------------------
http://w9l01426:8081/bis-info/index.html

GET /bis-info/index.html HTTP/1.1
Host: w9l01426:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;
q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: BISInfoCenter=lolling.jan|EZ_BERLIN
If-Modified-Since: Thu, 19 Aug 2004 22:51:20 GMT
If-None-Match: W/"1344-1092955880167"
Authorization: NTLM
TlRMTVNTUAABAAAAB7IIoA8ADwAoAAAACAAIACAAAABXOUwwMTQyNkVaX0JFUkxJTl9JTkZSQQ==

HTTP/1.x 401 Unauthorized
Date: Thu, 06 Jan 2005 14:19:22 GMT
Server: Apache Tomcat/4.1.30 (HTTP/1.1 Connector)
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAAAAAAAABAgAAFl5x3rUfFM0=
Set-Cookie: JSESSIONID=6CF9A32EB00460250BD8AF9CAD7A30F0; Path=/bis-info
----------------------------------------------------------
http://w9l01426:8081/bis-info/index.html

GET /bis-info/index.html HTTP/1.1
Host: w9l01426:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;
q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: BISInfoCenter=lolling.jan|EZ_BERLIN;
JSESSIONID=6CF9A32EB00460250BD8AF9CAD7A30F0
If-Modified-Since: Thu, 19 Aug 2004 22:51:20 GMT
If-None-Match: W/"1344-1092955880167"
Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAHgAAAAYABgAkAAAABIAEgBAAAAAFgAWAFIAAAA
QABAAaAAAAAAAAACoAAAABQIAAEUAWgBfAEIAR
QBSAEwASQBOAGwAbwBsAGwAaQBuAGcALgBqAGEAbgBXADkATAAwADEANAAyA
DYAR3c2zxR+FogEk9eZJAVjbTY3hOEarfZWAhhDROAi2uCRFOLnGQ2a8CgIrFWos+AW

HTTP/1.x 304 Not Modified
Date: Thu, 06 Jan 2005 14:20:22 GMT
Server: Apache Tomcat/4.1.30 (HTTP/1.1 Connector)
Set-Cookie: BISInfoCenter=lolling.jan|EZ_BERLIN; Expires=Wed, 23-May-2068
17:53:43 GMT




More information about the jcifs mailing list