jCifs stops working....

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jCifs stops working....

Marko.Krejic
Message
Hi!
 
I am using jCifs 1.0.1 as a filter on Tomcat 4.1. The configuration looks like this:
 
<filter>
        <filter-name>NtlmHttpFilter</filter-name>
        <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
 
        <init-param>
            <param-name>jcifs.smb.client.domain</param-name>
            <param-value>xyz</param-value>
        </init-param>
        <init-param>
            <param-name>jcifs.http.domainController</param-name>
            <param-value>1172.16.20.160</param-value>
        </init-param>
        <init-param>
            <param-name>jcifs.util.loglevel</param-name>
            <param-value>10</param-value>
        </init-param>
    </filter>
 
Everything is running on a Sun with Solaris 8 and jdk1.3.
 
This usually works really great, but sometimes jCifs will stop responging and people will not be able to reach the web service.
 
Here is some logs:
 
close: NbtSocket[addr=0.0.0.0<00>/172.16.20.160,port=139,localport=54818]
[GC 105209K->75211K(156192K), 0.0169548 secs]
requesting negotiation with 0.0.0.0<00>/172.16.20.160
session established ok with 0.0.0.0<00>/172.16.20.160
SmbComNegotiate[command=SMB_COM_NEGOTIATE,received=false,errorCode=The operation completed successfully.,flags=0x0018,flags2
=0xC003,signSeq=0,tid=0,pid=40297,uid=0,mid=1,wordCount=0,byteCount=12,wordCount=0,dialects=NT LM 0.12]
00000: 00 00 00 2F FF 53 4D 42 72 00 00 00 00 18 03 C0  |.../ÿSMBr......À|
00010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 9D  |..............i.|
00020: 00 00 01 00 00 0C 00 02 4E 54 20 4C 4D 20 30     |........NT LM 0 |
 
new data read from socket: 0.0.0.0<00>/172.16.20.160
byteCount=50 but readBytesWireFormat returned 30
SmbComNegotiateResponse[command=SMB_COM_NEGOTIATE,received=true,errorCode=The operation completed successfully.,flags=0x0098
,flags2=0xC003,signSeq=0,tid=0,pid=40297,uid=0,mid=1,wordCount=17,byteCount=50,wordCount=17,dialectIndex=0,securityMode=0x3,
security=user,encryptedPasswords=true,maxMpxCount=50,maxNumberVcs=1,maxBufferSize=16644,maxRawSize=65536,sessionKey=0x000000
00,capabilities=0x0000F3FD,serverTime=Thu Jan 19 15:08:59 CET 2006,serverTimeZone=65476,encryptionKeyLength=8,byteCount=50,e
ncryptionKey=0x2E66630CFAD58E43,oemDomainName=xyz]
00000: FF 53 4D 42 72 00 00 00 00 98 03 C0 00 00 00 00  |ÿSMBr......À....|
00010: 00 00 00 00 00 00 00 00 00 00 69 9D 00 00 01 00  |..........i.....|
00020: 11 00 00 03 32 00 01 00 04 41 00 00 00 00 01 00  |....2....A......|
00030: 00 00 00 00 FD F3 00 00 3D CD F2 E4 01 1D C6 01  |....ýó..=Íòä..Æ.|
00040: C4 FF 08 32 00 2E 66 63 0C FA D5 8E 43 45 00 55  |Äÿ.2..fc.úÕ.CE.U|
00050: 00 52 00 4F 00 50 00 4F 00 4C 00 49 00 54 00 41  |.R.O.P.O.L.I.T.A|
00060: 00 4E 00 00 00 56 00 41 00 4E 00 47 00 45 00 4C  |.N...V.A.N.G.E.L|
00070: 00 49 00 53 00 00 00                             |.I.S...         |
 

Can anybody help me?
 
Thanks in advance
 

______________________________________

This message and any files or documents attached are confidential and may also be legally privileged or protected by other legal rules. It is intended only for the individual or entity named. If you are not the named addressee or you have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose.

Thank you.


Please also note that transmission cannot be guaranteed to be secure or error-free.



Reply | Threaded
Open this post in threaded view
|

Re: jCifs stops working....

Michael B Allen-4
On Thu, 19 Jan 2006 15:25:08 +0100
[hidden email] wrote:

> Hi!
>  
> I am using jCifs 1.0.1 as a filter on Tomcat 4.1. The configuration looks

Version 1.0.1 is very old. You really should upgrade. I can't even
remember the problems discovered since 1.0.1 but there were many.

Mike