[jcifs] "DCERPC pipe is no longer open" in DcerpcPipeHandle.doSendFragment()
Marasim
marasim at gmail.com
Mon Aug 16 12:39:15 MDT 2010
I am getting a lot of these messages and somehow cannot make sense of it. Can
anybody please point me to the documentation or the reason so that I can
understand and avoid getting into this?
Thanks a lot for your help!
Marasim
--
protected void doSendFragment(byte[] buf,
int off,
int length,
boolean isDirect) throws IOException {
if (out != null && out.isOpen() == false)
throw new IOException("DCERPC pipe is no longer open");
if (in == null)
in = (SmbFileInputStream)pipe.getNamedPipeInputStream();
if (out == null)
out = (SmbFileOutputStream)pipe.getNamedPipeOutputStream();
if (isDirect) {
out.writeDirect( buf, off, length, 1 );
return;
}
out.write(buf, off, length);
}
More information about the jCIFS
mailing list