[jcifs] SmbException wih SMB_COM_Transaction

Michael B Allen ioplex at gmail.com
Sun Sep 27 15:38:27 MDT 2009


Hi Raffael,

What are you writing to the pipe and what pipe is it? The other end of
the pipe will not write a response unless it reads everything that it
is expecting.

Mike

On Sun, Sep 27, 2009 at 4:43 AM, Raffael Maio <raffael.maio at gmail.com> wrote:
> Question in the example CallNamedPipe, if I change the type of Call to
> transact, I get an timeout waiting respose. Does anyone experience the same
> problem?
>
>
> Exception in thread "main" jcifs.smb.SmbException:
> Transport1[netguard-gevo/192.168.0.103:445] timedout waiting for response to
> TransTransactNamedPipe[command=SMB_COM_TRANSACTION,received=false,errorCode=
> 0,flags=0x0018,flags2=0xC803,signSeq=0,tid=20484,pid=43182,uid=45058,mid=6,w
> ordCount=16,byteCount=39,totalParameterCount=0,totalDataCount=24,maxParamete
> rCount=0,maxDataCount=65535,maxSetupCount=0,flags=0x00,timeout=0,parameterCo
> unt=0,parameterOffset=82,parameterDisplacement=0,dataCount=24,dataOffset=82,
> dataDisplacement=0,setupCount=2,pad=0,pad1=0,pipeFid=12]
> jcifs.util.transport.TransportException:
> Transport1[netguard-gevo/192.168.0.103:445] timedout waiting for response to
> TransTransactNamedPipe[command=SMB_COM_TRANSACTION,received=false,errorCode=
> 0,flags=0x0018,flags2=0xC803,signSeq=0,tid=20484,pid=43182,uid=45058,mid=6,w
> ordCount=16,byteCount=39,totalParameterCount=0,totalDataCount=24,maxParamete
> rCount=0,maxDataCount=65535,maxSetupCount=0,flags=0x00,timeout=0,parameterCo
> unt=0,parameterOffset=82,parameterDisplacement=0,dataCount=24,dataOffset=82,
> dataDisplacement=0,setupCount=2,pad=0,pad1=0,pipeFid=12]
>        at jcifs.smb.SmbTransport.send(SmbTransport.java:613)
>        at jcifs.smb.SmbSession.send(SmbSession.java:224)
>        at jcifs.smb.SmbTree.send(SmbTree.java:111)
>        at jcifs.smb.SmbFile.send(SmbFile.java:770)
>        at
> jcifs.smb.TransactNamedPipeOutputStream.write(TransactNamedPipeOutputStream.
> java:65)
>        at CallNamedPipe.main(CallNamedPipe.java:72)
>
>



-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list