Which brand and version of Java have you installed?
Looks like you run Solr as root? Should work, but not recommended. Try 
installing and running as an ordinary user.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 13. jan. 2016 kl. 17.01 skrev David Cao <govel...@gmail.com>:
> 
> I installed and started solr following instructions from solr wiki as this
> ... (on a Redhat server)
> 
> cd ~/
> tar zxf /tmp/solr-5.3.1.tgz
> cd solr-5.3.1/bin
> ./solr start -f
> 
> 
> Solr starts fine. But when opening console in a browser ("
> http://server-ip:8983/solr/admin.html";), it shows a partially rendered page
> with highlighted messages "*SolrCore Initialization Failures*"; and a whole
> bunch of WARN messages in this nature,
> 
> 55724 WARN  (qtp1018134259-20) [   ] o.e.j.s.ServletHandler Error for
> /solr/css/styles/common.css
> java.lang.NoSuchMethodError:
> javax/servlet/http/HttpServletRequest.isAsyncSupported()Z
>        at
> org.eclipse.jetty.servlet.DefaultServlet.sendData(DefaultServlet.java:922)
>        at
> org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:533)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>        at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
>        at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:206)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)
>        at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>        at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
>        at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>        at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>        at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>        at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>        at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>        at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>        at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>        at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>        at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>        at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
>        at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>        at org.eclipse.jetty.server.Server.handle(Server.java:499)
>        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
>        at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>        at
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
>        at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>        at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>        at java.lang.Thread.run(Thread.java:801)
> 
> 
> There was also a line at the start of the console log,
> 
> 1784 WARN  (main) [   ] o.e.j.s.SecurityHandler
> ServletContext@o.e.j.w.WebAppContext@1c662fe5{/solr,file:/root/solr-5.3.1/server/solr-webapp/webapp/,STARTING}{/root/solr-5.3.1/server/solr-webapp/webapp}
> has uncovered http methods for path: /
> 
> 
> Any ideas? is there any work I need to do to config the classpath?
> 
> thanks a lot!
> david

Reply via email to