We just upgraded to CF11 build 19. Right after that, one of our SOLR search indexes stopped working, and throws the following errors.
A second server that had the older CF11 (prior to build 19) continued to work fine. We upgraded that to build 19 and the same collection stopped working. So it looks like CF11 build 19 is having issues with some SOLR indexs of previous builds.
Any help is greatly appreciated.
(names were replaced with xxxxxxxx and zzzzzzz)
java.io.FileNotFoundException: \\zzzzzzzzzz\search_collections\solr\xxxxxxxxx\data\index\_g1x3.fnm (The system cannot find the file specified)
Aug 23, 2019 3:20:48 PM org.apache.solr.common.SolrException log
Also, that particular collection is completely removed from CF admin, and when we try to add it back, it gives this error:
Unable to create collection xxxxxxx.
Unable to create Solr collection xxxxxxx.
An error occurred while creating the collection: org.apache.solr.common.SolrException. Check the Solr logs for more detail.
And the following is from stderr log:
INFO: created /debug/dump: solr.DumpRequestHandler
Aug 26, 2019 11:10:24 AM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Error executing default implementation of CREATE
at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:3 15)
at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:11 5)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:309 )
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:185)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at coldfusion.filter.HTTPMethodFilter.doFilter(HTTPMethodFilter.java:64)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:2 30)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: \\zzzzzzzzzzzzzz\search_collections\solr\xxxxxxx\data\index\_g1x3.fnm (The system cannot find the file specified)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1099)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:585)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:3 10)
... 23 more
Caused by: java.io.FileNotFoundException: \\zzzzzzzzzzzzzzzzz\search_collections\solr\xxxxxxx\data\index\_g1x3.fnm (The system cannot find the file specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:214)
at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:345)
at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:74)
at org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:73)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:93)
at org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:113)
at org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryReader.java:29)
at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:81)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:754)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:421)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:364)
at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java :38)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1088)
... 26 more