Fwd: solr-5.3.1 admin console not show properly
Hi there, 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
Re: solr-5.3.1 admin console not show properly
> Solr problem. You probably have some kind of system-level classpath > problem where the wrong version of a critical jar is being used instead > of the jar that's included with Jetty in the Solr download. Since our bin/solr script starts Jetty using java -jar, any CLASSPATH environment variables are ignored, so the only place to mess things up would be if IBM VM somehow includes servlet-api 2.4 before Solr’s own 3.1 version. That’s why it would be interesting to try with Oracle Java. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com
Re: solr-5.3.1 admin console not show properly
Very strange, a fresh install should run without issues. Perhaps Uwe Schindler can comment on any known bugs in your IBM J9? If I were you I’d try the following * Install Oracle Java 8 or OpenJDK 8 and set JAVA_HOME accordingly * Download Solr 5.4.0 * Unpack and start Solr as before -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 14. jan. 2016 kl. 16.03 skrev David Cao: > > Hi Jan, > > The JVM is from IBM based on jre 1.7. > > IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References > 20141216_227497 (JIT enabled, AOT enabled) > > > The box I am using is just a dev vm box, using 'root' is temporary ... > > Thanks > david > > On Thu, Jan 14, 2016 at 6:53 AM, David Cao wrote: > >> Hi there, >> >> 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 >> >> >> >>
Re: solr-5.3.1 admin console not show properly
On 1/14/2016 8:03 AM, David Cao wrote: > The JVM is from IBM based on jre 1.7. > > IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References > 20141216_227497 (JIT enabled, AOT enabled) > > > The box I am using is just a dev vm box, using 'root' is temporary ... The specific method that is not found is part of the Servlet API, and the exception does not mention any Solr classes. I don't think it's a Solr problem. You probably have some kind of system-level classpath problem where the wrong version of a critical jar is being used instead of the jar that's included with Jetty in the Solr download. Getting to specifics, the isAsyncSupported method that your log mentions as not found was added in the 3.0 version of the Servlet API. If the classpath that is active when you start Solr includes the jar for a 2.x version of the Servlet API, that could cause this problem. 5.x Solr downloads include javax-servlet-api-3.1.0.jar. Other things to mention, not really related: I don't think IBM Java can cause the particular problem you're experiencing, but IBM's Java has known problems with Lucene, so it should not be used for Solr. I would not expect running as root to be a problem. It is not recommended, but should still work. Thanks, Shawn
Re: solr-5.3.1 admin console not show properly
Hi Jan, The JVM is from IBM based on jre 1.7. IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20141216_227497 (JIT enabled, AOT enabled) The box I am using is just a dev vm box, using 'root' is temporary ... Thanks david On Thu, Jan 14, 2016 at 6:53 AM, David Caowrote: > Hi there, > > 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 > > > >
Re: solr-5.3.1 admin console not show properly
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: > > 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
solr-5.3.1 admin console not show properly
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