SV: RE: [jcifs] About the long crawling time again...

torjo845 at student.liu.se torjo845 at student.liu.se
Wed Aug 8 20:21:21 EST 2001


Here we go. I've attached the log to this mail.
It took me about 20-25 minutes to get this exception...


----- Original Message -----
From: "Michael B. Allen" <mballen at erols.com>
Date: Friday, August 3, 2001 8:30 pm
Subject: Re: SV: RE: [jcifs] About the long crawling time again...

> On Fri, Aug 03, 2001 at 02:45:52PM +0200, Torgny Johansson wrote:
> > I don't know if the host really exists, but it happens even if 
> the name
> > isn't a number.
> > I can get this error sometimes on a share and sometimes it works 
> just fine,
> > so in that case the share must exist but are occasionally turned 
> off.
> Is the ThreadedSmbCrawler doing anything during this time? Can you get
> a trace of that by adding log=ALL to your properties?
> 
> Mike
> 
> > >
> > > Now this _is_ wierd. Does host 750 really exist? Does it only 
> happen> > with names that begin with numbers? I think that might 
> get interpreted
> > > as an IP. Mmmm.
> > >
> > > Nice test, I think you found a genuine bug.
> > >
> > > I'll look at this tomarrow (err ... today 8^)
> > > Mike
> > >
> > >
> > > On Fri, Aug 03, 2001 at 09:47:36AM +0200, 
> torjo845 at student.liu.se wrote:
> > > > Now, after about 20-30 minutes I got an exception:
> > > >
> > > > torgny at p13:~/java$ java -Djcifs.properties=LinGet.prp
> > > > ThreadedSmbCrawler smb://750 1 1
> > > > Aug 3 08:50:11.280 - SmbFile exception
> > > > java.net.NoRouteToHostException: Connection timed out
> > >
> > >
> 
> 
-------------- next part --------------
#properties loaded
#Wed Aug 08 12:01:32 CEST 2001
log=all
wins=130.236.230.9
java.version=1.3.0
java.home=/sw/j2sdk-1.3.0/usr/j2se/jre
java.ext.dirs=/sw/j2sdk-1.3.0/usr/j2se/jre/lib/ext
java.vm.version=1.3.0
java.vm.name=Java HotSpot(TM) Client VM
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.class.version=47.0
java.class.path=.
java.runtime.version=1.3.0
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.specification.version=1.3
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.io.tmpdir=/var/tmp/
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.fonts=
java.library.path=/sw/j2sdk-1.3.0/usr/j2se/bin/../jre/lib/sparc/client:/sw/j2sdk-1.3.0/usr/j2se/bin/../jre/lib/sparc::/sw/j2sdk-1.3.0/usr/j2se/bin/../jre/../lib/sparc:/sw/X11/lib:/usr/dt/lib:/usr/openwin/lib:/sw/gnu/lib:/student/lib:/sw/matlab-6.0/extern/lib/sol2:/usr/lib
java.vendor.url=http://java.sun.com/
java.protocol.handler.pkgs=jcifs
file.separator=/
file.encoding.pkg=sun.io
jcifs.properties=LinGet.prp
os.version=5.7
os.name=SunOS
os.arch=sparc
user.name=torjo845
user.dir=/home/torjo845/java
user.timezone=Europe/Paris
user.region=SE
user.home=/home/torjo845
user.language=sv
sun.boot.library.path=/sw/j2sdk-1.3.0/usr/j2se/jre/lib/sparc
sun.boot.class.path=/sw/j2sdk-1.3.0/usr/j2se/jre/lib/rt.jar:/sw/j2sdk-1.3.0/usr/j2se/jre/lib/i18n.jar:/sw/j2sdk-1.3.0/usr/j2se/jre/lib/sunrsasign.jar:/sw/j2sdk-1.3.0/usr/j2se/jre/classes
sun.cpu.endian=big
sun.cpu.isalist=sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
sun.io.unicode.encoding=UnicodeBig
line.separator=\n
path.separator=:

aug 8 12:01:33.098 - name service address cache
 JCIFS186_15_4C<00> JCIFS186_15_4C<00>/130.236.186.15

aug 8 12:01:33.125 - nbt name service packet sent
NameQueryRequest[nameTrnId=1,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=A171<1D>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]
aug 8 12:01:33.131 - datagram packet sent to: 255.255.255.255/255.255.255.255
00000: 00 01 01 10 00 01 00 00 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 42 4E 00 00 20  |ACACACACACABN.. |
00030: 00 01                                            |..              |

aug 8 12:01:33.133 - nbt name service packet sent
NameQueryRequest[nameTrnId=2,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=false,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=A171<20>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]
aug 8 12:01:33.134 - nbt name service debugging
 new data read from socket
aug 8 12:01:33.135 - datagram packet sent to: ns.student.liu.se/130.236.230.9
00000: 00 02 01 00 00 01 00 00 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 43 41 00 00 20  |ACACACACACACA.. |
00030: 00 01                                            |..              |

aug 8 12:01:33.137 - nbt name service packet receviced
NameQueryResponse[nameTrnId=2,isResponse=true,opCode=QUERY,isAuthAnswer=true,isTruncated=false,isRecurAvailable=true,isRecurDesired=true,isBroadcast=false,resultCode=0,questionCount=0,answerCount=1,authorityCount=0,additionalCount=0,questionName=null,questionType=0x0000,questionClass=IN,recordName=A171<20>,recordType=0x0020,recordClass=IN,ttl=500471,rDataLength=6,addrEntry=A171<20>/130.236.218.171]
aug 8 12:01:33.139 - datagram packet received from: ns.student.liu.se/130.236.230.9
00000: 00 02 85 80 00 00 00 01 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 43 41 00 00 20  |ACACACACACACA.. |
00030: 00 01 00 07 A2 F7 00 06 00 00 82 EC DA AB        |....¢÷.....ìÚ«  |

aug 8 12:01:33.141 - name service address cache
 0.0.0.0<00> 0.0.0.0<00>/0.0.0.0
 A171<20> A171<20>/130.236.218.171
 JCIFS186_15_4C<00> JCIFS186_15_4C<00>/130.236.186.15

aug 8 12:01:33.293 - smb tree connect warning
 requesting tree connect with path=\\A171\IPC$,service=?????
aug 8 12:01:33.303 - smb session setup warning
 requesting session with accountName=GUEST,accountPassword=,primaryDomain=?
aug 8 12:01:33.310 - smb negotiation warning
 requesting negotiation with A171<20>/130.236.218.171
aug 8 12:01:36.142 - nbt name service packet sent
NameQueryRequest[nameTrnId=3,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=A171<1D>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]
aug 8 12:01:36.144 - datagram packet sent to: 255.255.255.255/255.255.255.255
00000: 00 03 01 10 00 01 00 00 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 42 4E 00 00 20  |ACACACACACABN.. |
00030: 00 01                                            |..              |

aug 8 12:01:39.153 - nbt name service packet sent
NameQueryRequest[nameTrnId=4,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=A171<1D>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]
aug 8 12:01:39.154 - datagram packet sent to: 255.255.255.255/255.255.255.255
00000: 00 04 01 10 00 01 00 00 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 42 4E 00 00 20  |ACACACACACABN.. |
00030: 00 01                                            |..              |

aug 8 12:01:42.162 - nbt name service packet sent
NameQueryRequest[nameTrnId=5,isResponse=false,opCode=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDesired=true,isBroadcast=true,resultCode=0,questionCount=1,answerCount=0,authorityCount=0,additionalCount=0,questionName=A171<1D>,questionType=0x0020,questionClass=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=0]
aug 8 12:01:42.164 - datagram packet sent to: 255.255.255.255/255.255.255.255
00000: 00 05 01 10 00 01 00 00 00 00 00 00 20 45 42 44  |............ EBD|
00010: 42 44 48 44 42 43 41 43 41 43 41 43 41 43 41 43  |BDHDBCACACACACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 42 4E 00 00 20  |ACACACACACABN.. |
00030: 00 01                                            |..              |

aug 8 12:01:45.173 - name service address cache
 A171<1D> 0.0.0.0<00>/0.0.0.0
 0.0.0.0<00> 0.0.0.0<00>/0.0.0.0
 A171<20> A171<20>/130.236.218.171
 JCIFS186_15_4C<00> JCIFS186_15_4C<00>/130.236.186.15

aug 8 12:05:17.954 - SmbFile exception
java.net.ConnectException: Anslutningstiden har gått ut
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
	at java.net.Socket.<init>(Socket.java:273)
	at java.net.Socket.<init>(Socket.java:177)
	at jcifs.netbios.NbtSocket.<init>(NbtSocket.java:54)
	at jcifs.netbios.NbtSocket.<init>(NbtSocket.java:50)
	at jcifs.smb.SmbTransport.ensureOpen(SmbTransport.java:215)
	at jcifs.smb.SmbTransport.send(SmbTransport.java:400)
	at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:525)
	at jcifs.smb.SmbTransport.send(SmbTransport.java:362)
	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:154)
	at jcifs.smb.SmbSession.send(SmbSession.java:128)
	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:84)
	at jcifs.smb.SmbTree.sendTransaction(SmbTree.java:49)
	at jcifs.smb.SmbTree.netShareEnum(SmbTree.java:296)
	at jcifs.smb.SmbFile.list(SmbFile.java:702)
	at ThreadedSmbCrawler$SmbCrawlerThread.run(ThreadedSmbCrawler.java:48)


More information about the jcifs mailing list