[jcifs] InvalidOperationException
Michael B Allen
mba2000 at ioplex.com
Tue Mar 22 06:19:11 GMT 2005
Please send all messages to the jcifs mailing list.
On Tue, 22 Mar 2005 03:17:00 GMT
Shane Downey <shane.downey at epa.qld.gov.au> wrote:
> Hi Michael,
>
> i think I mightr have fixed it.. I was building up the path from a string
> that had MS-DOS '\' characters and not '/'. Some java classes allow this
> but aparently not jcifs. But that's fine - I just did a string replacement
> on it.
>
> I am getting a new error now which I'll dump here (it's probably just a
> config issue though)..
>
> 22-03-05 12:10:13,051 DEBUG HttpRequestHandler-6187805 file.ejb.FileBO:298
> - register the SmbURLHandler
> 22-03-05 12:10:13,051 DEBUG HttpRequestHandler-6187805 file.ejb.FileBO:301
> - move the files
> 22-03-05 12:10:13,051 DEBUG HttpRequestHandler-6187805 file.ejb.FileBO:305
> - smb path:
> smb://user:pass@server/cdimdr/TechOne/SoeOnlineDev/Home/ANZECC_A_10/Curr
> ent/NOXtrends.jpg
> 22-03-05 12:10:13,051 DEBUG HttpRequestHandler-6187805 file.ejb.FileBO:310
> - smb path:
> smb://user:pass@server/cdimdr/TechOne/SoeOnlineDev/Home/ANZECC_A_10/Arch
> ived/2005-03-22/NOXtrends.jpg
> 22-03-05 12:10:13,067 DEBUG HttpRequestHandler-6187805 file.ejb.FileBO:332
> - Exception occured: jcifs.smb.SmbException: Failed to negotiate
> jcifs.smb.SmbException: Timeout trying to open socket
Looks like server/10.16.3.21 isn't a valid target.
> java.io.IOException: Failed to establish session with server/10.16.3.21
> at jcifs.smb.SmbTransport.run(SmbTransport.java:363)
> at java.lang.Thread.run(Unknown Source)
>
> at jcifs.smb.SmbTransport.start(SmbTransport.java:315)
> at jcifs.smb.SmbTransport.negotiate0(SmbTransport.java:865)
> at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:941)
> at jcifs.smb.SmbTree.treeConnect(SmbTree.java:119)
> at jcifs.smb.SmbFile.connect(SmbFile.java:827)
--
IRC - where men are men, women are men, and the boys are FBI agents.
More information about the jcifs
mailing list