[jcifs] Every 2nd Connection fails

nicholas new new at mdw.ac.at
Wed Jan 25 12:18:48 GMT 2006


Hallo everybody!

I am new to jcifs but have managed to get it to work. I am using it to connect 
to a Windows 2003 Server from a PL-SQL programme running in an Oracle database,
in order to download and view a PDF file.
Every 2nd time I run the Programm I get the error message below. 
I have tried connecting to another Windows machine and have also run the 
programme itself on a different machine (both Solaris).
The behaviour was the same.
If I make and close the connection twice in the Java part of the programme 
there is no error. So I am very perplexed.
Any ideas would be most welcome! 
jcifs version: jcifs-1.2.7.jar
java version on the DB: 1.3.1

Thanks a lot!

Best Wishes

Nicholas New


jcifs.smb.SmbException: 
jcifs.util.transport.TransportException: Transport1 timedout waiting for 
response to SmbComNTCreateAndX
[command=SMB_COM_NT_CREATE_ANDX,received=false,errorCode=0,flags=0x0018,flags2=
0xC007,signSeq=318,tid=53250,pid=39867,uid=47105,mid=1449,wordCount=24,by
teCount=35,andxCommand=0xFF,andxOffset=0,flags=0x00,rootDirectoryFid=0,desiredA
ccess=0x0089,allocationSize=0,extFileAttributes=0x0080,shareAccess=0x0007,creat
eDisposition=0x0001,createOptions=0x00000040,impersonationLevel=0x0002,security
Flags=0x03,name=\1
\D\0000D1.ados]
  at jcifs.util.transport.Transport.sendrecv(Transport.java:74)
  at jcifs.smb.SmbTransport.send(SmbTransport.java:595)
  at jcifs.smb.SmbSession.send(SmbSession.java:229)
  at jcifs.smb.SmbTree.send(SmbTree.java:102)
  at jcifs.smb.SmbFile.send(SmbFile.java:688)
  at jcifs.smb.SmbFile.open0(SmbFile.java:828)
  at jcifs.smb.SmbFile.open(SmbFile.java:846)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:69)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:62)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:49)
  at at.ac.mdw.ados.extractor.PdfExtractor.extractPdfBlob
(PdfExtractor.java:155)
  at at.ac.mdw.ados.extractor.PdfExtractor.getPdfBlob(PdfExtractor.java:104)
  at jcifs.smb.SmbTransport.send(SmbTransport.java:600)
  at jcifs.smb.SmbSession.send(SmbSession.java:229)
  at jcifs.smb.SmbTree.send(SmbTree.java:102)
  at jcifs.smb.SmbFile.send(SmbFile.java:688)
  at jcifs.smb.SmbFile.open0(SmbFile.java:828)
  at jcifs.smb.SmbFile.open(SmbFile.java:846)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:69)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:62)
  at jcifs.smb.SmbFileInputStream.<init>(SmbFileInputStream.java:49)
  at at.ac.mdw.ados.extractor.PdfExtractor.extractPdfBlob
(PdfExtractor.java:155)
  at at.ac.mdw.ados.extractor.PdfExtractor.getPdfBlob(PdfExtractor.java:104)



More information about the jcifs mailing list