SOLR ISSUE

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SOLR ISSUE

Shah, Rimple (LNG-RDU)
Hi,

https://lucene.apache.org/solr/guide/7_2/aws-solrcloud-tutorial.html
I am trying to follow these instructions for running SOLR on EC2. Somehow I am getting this error each and every time when I try to access the dashboard. Is anyone able to help in this?

HTTP ERROR 404
Problem accessing /solr/. Reason:

    Not Found
Caused by:
javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:342)
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)
                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
                at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
                at org.eclipse.jetty.server.Server.handle(Server.java:534)
                at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
                at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
                at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
                at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
                at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
                at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
                at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
                at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
                at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
                at java.lang.Thread.run(Thread.java:748)

Thanks.
Rimple
Reply | Threaded
Open this post in threaded view
|

Re: SOLR ISSUE

Shawn Heisey-2
On 5/16/2018 9:27 AM, Shah, Rimple (LNG-RDU) wrote:
> https://lucene.apache.org/solr/guide/7_2/aws-solrcloud-tutorial.html
> I am trying to follow these instructions for running SOLR on EC2. Somehow I am getting this error each and every time when I try to access the dashboard. Is anyone able to help in this?
>
> HTTP ERROR 404
> Problem accessing /solr/. Reason:
>
>     Not Found
> Caused by:
> javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.

That message is the clue.  To figure out why there's a problem with
CoreContainer, you're going to need to find and examine the solr.log file.

If looking at the logfile doesn't give you any information you can
understand, you'll probably need to share any ERROR or WARN logs in the
file with us so we can pursue it further.  Note that these messages are
frequently quite long, and we will need all of it, not just the first
line or two.  Some of the information can't be properly interpreted
without the Solr version, so include that too.

Having access to the entire logfile would give us the best chance at
determining what's wrong.  Because the mailing list tends to eat all
email attachments, you'll need to use a file sharing website or a paste
website and provide a URL for us to access the file.

If I had to guess what might be wrong, reading the instructions you're
following, I am betting that there is no file named solr.xml in the
defined solr home, and there is no solr.xml in zookeeper either.  You
might be able to get this working by copying solr.xml from the
server/solr directory in the installation location to the defined solr
home.  Alternately, you could copy the file to zookeeper:

https://lucene.apache.org/solr/guide/7_2/using-zookeeper-to-manage-configuration-files.html#preparing-zookeeper-before-first-cluster-start

Thanks,
Shawn