[jcifs] INVALID NAME EXCEPTION
Michael B. Allen
miallen at eskimo.com
Tue Sep 3 08:24:19 EST 2002
On Mon, 2 Sep 2002 18:52:22 +0200
Sipho Mothobi <SiphoM at discoveryhealth.co.za> wrote:
> I have been working on a system to save uploaded files on to a NT machine
> from a Solaris box, i had lots of options on how i could implement this.
> Most of them looked very complecated and required a two step solution.
> I was happy to realise that the jCIFS was arround implemented a test case on
> a 2000 machine worked fine then moved it to Solaris and got this horrible
> exception PLEASE HELP :
> jcifs.smb.SmbException: Invalid name
> at jcifs.smb.SmbTransport.send(SmbTransport.java:495)
> at jcifs.smb.SmbSession.send(SmbSession.java:135)
> at jcifs.smb.SmbTree.send(SmbTree.java:91)
> at jcifs.smb.SmbFile.send(SmbFile.java:499)
> at jcifs.smb.SmbFile.open(SmbFile.java:555)
> at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:92)
> at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:62)
I can't determine the problem without more information. Please isolate the
operation (e.g. write() ...?) that's causing this exception, create a
simple demo program, and send me a -Dlog=ALL trace of it. For optimal
service an additional Ethereal or Netmon trace would be helpful.
A program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the potential for it to be applied to tasks that are
conceptually similar and more importantly to tasks that have not
yet been conceived.
More information about the jcifs