You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2007/10/30 13:29:50 UTC

[jira] Commented: (VFS-174) VFS is not Supported Network Attached Storage by using smb

    [ https://issues.apache.org/jira/browse/VFS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538754 ] 

Sergey Vladimirov commented on VFS-174:
---------------------------------------

Please, check if you are using correct user name and password, because  root exception is:

Caused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. 
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:281) 


> VFS is not Supported Network Attached Storage by using smb
> ----------------------------------------------------------
>
>                 Key: VFS-174
>                 URL: https://issues.apache.org/jira/browse/VFS-174
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Window,java
>            Reporter: vikas
>
> When I am not able to connect network Attached Storage by usng sbm .
> I am trying this by using jars:jcifs1.2.9,jcifs1.2.10,jcifs1.2.17.
> What is problem in this.
> If there is any fix for this please gives yours coments on this  
> org.apache.commons.vfs.FileSystemException: Could not determine the type of file "smb://vikas:vishnu@adeptia-nas/vikas/vikas.txt".
> 	at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1214)
> 	at org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject.java:391)
> 	at com.adeptia.indigo.services.transport.lanfile.LanFileSource.connect(LanFileSource.java:349)
> 	at com.adeptia.indigo.services.transport.lanfile.LanFileSource.testConnection(LanFileSource.java:366)
> 	at com.adeptia.indigo.utils.IOUtils.testConnection(IOUtils.java:265)
> 	at org.apache.jsp.testConnection$jsp._jspService(testConnection$jsp.java:91)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1776)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1726)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:196)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:487)
> Caused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
> 	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:281)
> 	at jcifs.smb.SmbSession.send(SmbSession.java:233)
> 	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)
> 	at jcifs.smb.SmbFile.doConnect(SmbFile.java:816)
> 	at jcifs.smb.SmbFile.connect(SmbFile.java:854)
> 	at jcifs.smb.SmbFile.connect0(SmbFile.java:793)
> 	at jcifs.smb.SmbFile.queryPath(SmbFile.java:1248)
> 	at jcifs.smb.SmbFile.exists(SmbFile.java:1330)
> 	at jcifs.smb.SmbFile.isDirectory(SmbFile.java:1403)
> 	at org.apache.commons.vfs.provider.smb.SmbFileObject.createSmbFile(SmbFileObject.java:81)
> 	at org.apache.commons.vfs.provider.smb.SmbFileObject.createSmbFile(SmbFileObject.java:76)
> 	at org.apache.commons.vfs.provider.smb.SmbFileObject.doAttach(SmbFileObject.java:63)
> 	at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1200)
> Vikas

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.