com.jaeksoft.searchlib.SearchLibException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I set up a new channel this morning and didn't check my source connection before deploying. I was running test messages through manually so I didn't notice a huge number of errors coming through. The error message indicated an smb connection problem, which allowed me to reduce my search, but I do have quite a few of those. I finally managed to trace the issue back to this channel's source connector. Once I corrected the issue and re-deployed the channel things were fine: The problem is that the error messages didn't tell me what channel the problem was in. These are the two I was getting: [2011-10-27 12:52:37,172] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context and: [2011-10-27 12:52:37,173] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: org.mule.MuleException: Error happened while listing files java.lang.Exception: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662)Caused by: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:147) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) ... 5 moreCaused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:515) at jcifs.smb.SmbTransport.send(SmbTransport.java:629) at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:288) at jcifs.smb.SmbSession.send(SmbSession.java:233) at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154) at jcifs.smb.SmbFile.doConnect(SmbFile.java:847) at jcifs.smb.SmbFile.connect(SmbFile.java:890) at jcifs.smb.SmbFile.connect0(SmbFile.java:816) at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:665) at jcifs.smb.SmbFile.send(SmbFile.java:716) at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1920) at jcifs.smb.SmbFile.doEnum(SmbFile.java:1672) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1649) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1627) at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:133) ... 7 more
    via by David Rothbauer,
  • I set up a new channel this morning and didn't check my source connection before deploying. I was running test messages through manually so I didn't notice a huge number of errors coming through. The error message indicated an smb connection problem, which allowed me to reduce my search, but I do have quite a few of those. I finally managed to trace the issue back to this channel's source connector. Once I corrected the issue and re-deployed the channel things were fine: The problem is that the error messages didn't tell me what channel the problem was in. These are the two I was getting: [2011-10-27 12:52:37,172] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context and: [2011-10-27 12:52:37,173] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: org.mule.MuleException: Error happened while listing files java.lang.Exception: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662)Caused by: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:147) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) ... 5 moreCaused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:515) at jcifs.smb.SmbTransport.send(SmbTransport.java:629) at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:288) at jcifs.smb.SmbSession.send(SmbSession.java:233) at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154) at jcifs.smb.SmbFile.doConnect(SmbFile.java:847) at jcifs.smb.SmbFile.connect(SmbFile.java:890) at jcifs.smb.SmbFile.connect0(SmbFile.java:816) at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:665) at jcifs.smb.SmbFile.send(SmbFile.java:716) at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1920) at jcifs.smb.SmbFile.doEnum(SmbFile.java:1672) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1649) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1627) at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:133) ... 7 more
    via by David Rothbauer,
  • [jcifs] Troubles with hosts/workgroups enumeration
    via by Unknown author,
  • Re: Problem crawling windows share
    via by Karl Wright,
  • jCIFS can't seem to authenticate
    via by Unknown author,
  • Jinterop impersonation
    via Stack Overflow by Amigo
    ,
    • com.jaeksoft.searchlib.SearchLibException: jcifs.smb.SmbAuthException: Access is denied. at com.jaeksoft.searchlib.crawler.file.process.fileInstances.SmbFileInstance.listFilesAndDirectories(SmbFileInstance.java:141) at com.jaeksoft.searchlib.crawler.file.process.ItemDirectoryIterator.<init>(ItemDirectoryIterator.java:49) at com.jaeksoft.searchlib.crawler.file.process.ItemIterator.create(ItemIterator.java:81) at com.jaeksoft.searchlib.crawler.file.process.ItemDirectoryIterator.nextImpl(ItemDirectoryIterator.java:71) at com.jaeksoft.searchlib.crawler.file.process.ItemIterator.next(ItemIterator.java:62) at com.jaeksoft.searchlib.crawler.file.process.FilePathItemIterator.next(FilePathItemIterator.java:61) at com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.runner(CrawlFileThread.java:89) at com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:256) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: jcifs.smb.SmbAuthException: Access is denied. at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:546) at jcifs.smb.SmbTransport.send(SmbTransport.java:640) at jcifs.smb.SmbSession.send(SmbSession.java:238) at jcifs.smb.SmbTree.send(SmbTree.java:119) at jcifs.smb.SmbFile.send(SmbFile.java:775) at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1986) at jcifs.smb.SmbFile.doEnum(SmbFile.java:1738) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1648) at com.jaeksoft.searchlib.crawler.file.process.fileInstances.SmbFileInstance.listFilesAndDirectories(SmbFileInstance.java:136) ... 10 more

    Users with the same issue

    Unknown visitor1 times, last one,
    linxiaolong
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,