[jcifs] NTLM HTTP Authentication Filter broken with Tomcat 5. 0.2?
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Wed May 28 09:21:00 EST 2003
This is pretty strange. After getting the SMB_COM_NEGOTIATE response jCIFS blocks
trying to read for about 2:04min and then the socket get's reset. If this were a new
untested version of jCIFS I would be suspicous. However based on the test you
performed I think it's much more likely to be a tomcat issue. Something is preventing
jCIFS from transmitting the next message. Something to do with threads prehaps. I
would try and find out what really changed in Tomcat because even if it's a problem in
jCIFS it is pretty clear that it's linked to those changes.
Mike
> -----Original Message-----
> From: marc.lehmann at infineon.com [SMTP:marc.lehmann at infineon.com]
> Sent: Tuesday, May 27, 2003 5:28 AM
> To: jcifs at lists.samba.org
> Subject: [jcifs] NTLM HTTP Authentication Filter broken with Tomcat 5.0.2?
>
> Dear All,
> Has anyone encountered problems with running NTLM HTTP Authentication Filter
> with Tomcat 5.0.2? I get the following exception after a wait interval of
> approx. 2 minutes:
>
> java.net.SocketException: Connection reset
> at java.net.SocketInputStream.read(Unknown Source)
> at
> jcifs.netbios.SessionServicePacket.readPacketType(SessionServicePacket.java:
> 68)
> at jcifs.netbios.SocketInputStream.read(SocketInputStream.java:73)
> at jcifs.netbios.SocketInputStream.read(SocketInputStream.java:39)
> at java.io.FilterInputStream.read(Unknown Source)
> at java.io.PushbackInputStream.read(Unknown Source)
> at jcifs.smb.SmbTransport.run(SmbTransport.java:304)
> at java.lang.Thread.run(Unknown Source)
>
> The same web app (100% identical) works fine with Tomcat 4.1.24! I have
> attached the respective logs (jcifs.util.log=ALL). I'm using J2SDK 1.4.2
> beta.
>
> Regards,
> Marc
>
> <<jcifs0_7_6_tomcat5_0_2.log>> <<jcifs0_7_6_tomcat4_1_24.log>> << File: jcifs0_7_6_tomcat5_0_2.log >> << File: jcifs0_7_6_tomcat4_1_24.log >>
More information about the jcifs
mailing list