Hey guys,
I've been googling my particualar issue for a while now and still don't seem to have an answer. I've been through the guide multiple times and at this point I'm really hopping to just find someone who has a similar issue or knows the problem. First things first let me give you my set up.
Centros: 6.4 x86_64
Tomcat6
apache-solr-3.6.2
Drupal 7 (latest)
The root of drupal sits in a folder that is not the root of the URL (not sure if this matters)
Now I've read that in some cases people needed a php solr library but I assumed this was only for Drupal 6 so I ignored that. At first I also had no idea that tomcat was needed but with a simple yum tomcat6 i "believe" it is running fine. It returns with an "OK" when I start the service.
I copied all the files over to my example folder as told and final went to start up solr. Once it started everything appear to work fine however when I went to siteipaddress.com:8983/solr/ it simple would hang. Finally when I clicked on test within the drupal module I saw this spit back out from the console
2013-05-14 19:23:14.146:WARN::/solr/admin/ping
java.lang.NoClassDefFoundError: org.apache.jasper.compiler.JDTJavaCompiler
at java.lang.Class.initializeClass(libgcj.so.10)
at java.lang.Class.newInstance(libgcj.so.10)
at org.apache.jasper.compiler.Compiler.initJavaCompiler(Compiler.java:735)
at org.apache.jasper.compiler.Compiler.<init>(Compiler.java:131)
at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:288)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:306)
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:230)
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.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
The few lines before that simply said:
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
May 14, 2013 7:23:09 p.m. org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
2013-05-14 19:23:09.563:INFO::Started SocketConnector@0.0.0.0:8983
Each time I restart or test I get this same response. I've search this error, but haven't come up with anything that explains it. I follow the instructions multiple times, but unless I'm missing a step, it lands me in the same error. Has anyone seen this? HElp!
Comments
Comment #1
pwolanin commentedThis looks like a server config or package error - probably you need javac in addition to java based on the error: org.apache.jasper.compiler.JDTJavaCompiler
install the java SDK, not just the runtime.
Comment #2
Media Crumb commentedThanks I'll give that a shot.
Comment #3
nick_vhClosing to clean the issue queue a bit