[jcifs] Issue for connecting to DFS root

M. D. moder at abv.bg
Mon Dec 15 05:49:08 MST 2014


 Hi,

Are you by any chance using CNAME records in your DNS config for the dfs domain controller?

If yes, then the reason for the "A duplicate name exists on the network" is here:
http://blogs.technet.com/b/thenetworker/archive/2008/08/12/use-of-cname-records-for-availability-in-dfs-offline-files-integration.aspx

Best regards,
M.D




 >-------- Оригинално писмо --------
 >От:  Kambiz Niktabar 
 >Относно: [jcifs] Issue for connecting to DFS root
 >До: jcifs at lists.samba.org
 >Изпратено на: Понеделник, 2014, Декември 15 14:39:46 EET
 >
 >
 >Hi,
 >
 >Actually we are using Apache ManifoldCF windows share/dfs connector 
 >which it uses JCIF in the background to connect to the 
 >
 >shared folders. It works fine with the shared folders on the servers but 
 >we have some issues with connecting to the DFS root 
 >
 >since we got the following errors. Do you have any idea what the issue 
 >is and how it can be resolved?
 >
 >
 >ERROR 2014-12-11 09:36:22,352 (qtp1833398707-295) - SmbException thrown 
 >getting child folder names for 
 >jcifs.smb.SmbException: A duplicate name exists on the network.
 >	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:563)
 >	at jcifs.smb.SmbTransport.send(SmbTransport.java:663)
 >	at jcifs.smb.SmbSession.send(SmbSession.java:238)
 >	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
 >	at jcifs.smb.SmbFile.doConnect(SmbFile.java:911)
 >	at jcifs.smb.SmbFile.connect(SmbFile.java:957)
 >	at 
 >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector
 >.getChildFolderNames
 >
 >(SharedDriveConnector.java:4885)
 >	at 
 >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector
 >.outputSpecificationBody
 >
 >(SharedDriveConnector.java:3301)
 >	at 
 >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.outputS
 >pecificationBody
 >
 >(BaseRepositoryConnector.java:805)
 >	at org.apache.jsp.editjob_jsp._jspService(editjob_jsp.java:2781)
 >	at 
 >org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 >	at 
 >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
 >va:388)
 >	at 
 >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 >	at 
 >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 >	at 
 >org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
 >	at 
 >org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:48
 >0)
 >	at 
 >org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java
 >:119)
 >	at 
 >org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:5
 >20)
 >	at 
 >org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.
 >java:227)
 >	at 
 >org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.
 >java:941)
 >	at 
 >org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409
 >)
 >	at 
 >org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.j
 >ava:186)
 >	at 
 >org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.j
 >ava:875)
 >	at 
 >org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java
 >:117)
 >	at 
 >org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
 >	at 
 >org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
 >	at 
 >org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java
 >:709)
 >	at 
 >org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:6
 >80)
 >	at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:1858)
 >	at 
 >org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 >	at 
 >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
 >va:388)
 >	at 
 >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 >	at 
 >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 >	at 
 >org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
 >	at 
 >org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:48
 >0)
 >	at 
 >org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java
 >:119)
 >	at 
 >org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:5
 >20)
 >	at 
 >org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.
 >java:227)
 >	at 
 >org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.
 >java:941)
 >	at 
 >org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409
 >)
 >	at 
 >org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.j
 >ava:186)
 >	at 
 >org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.j
 >ava:875)
 >	at 
 >org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java
 >:117)
 >	at 
 >org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Context
 >HandlerCollection.java:250)
 >	at 
 >org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.ja
 >va:110)
 >	at org.eclipse.jetty.server.Server.handle(Server.java:349)
 >	at 
 >org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.jav
 >a:441)
 >	at 
 >org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConne
 >ction.java:936)
 >	at 
 >org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
 >	at 
 >org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
 >	at 
 >org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.
 >java:51)
 >	at 
 >org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPo
 >int.java:586)
 >	at 
 >org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoi
 >nt.java:44)
 >	at 
 >org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.j
 >ava:598)
 >	at 
 >org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.ja
 >va:533)
 >	at java.lang.Thread.run(Unknown Source)
 >
 >


More information about the jCIFS mailing list