Got invalid result from search engine. : Error 500 / Server not running

Author Message

Brandon Chambers

Tuesday 02 November 2010 9:14:33 am

Problem: When I click "Synchronise" in the eZ Find tab it gives me the error

"An unknown error occured in updating Solr's elevate configuration."

Then in the var/log there's a thread/stack dump with:

Got invalid result from search engine.<html>

<head>

<meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"/>

<title>Error 500 </title>

</head>

<body><h2>HTTP ERROR: 500</h2><pre>null



java.lang.AbstractMethodError

        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:151)

        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1301)

        at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)

        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)

        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)

        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)

        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

        at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)

        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

        at org.mortbay.jetty.Server.handle(Server.java:285)

        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)

        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)

        at 
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)

        at 
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)

        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)

        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Using:

-eZ Publish 4.4 / eZ Find 2.3

-JRE 6 : In response to the eZ Find installation manual can someone clarify the requirements? one page it says it requires 6, another it's okay to have 5 or 6.

http://doc.ez.no/Extensions/eZ-Find/2.2/Requirements

http://doc.ez.no/Extensions/eZ-Find/2.2/Installation

-Elevate table schema is correctly installed -- confirmed in admin interface when searching for an elevated object via browse or by its search string.

-Cleared caches

-Regenerated autoloads

-Reindexed search

-CentOS

Also when attempting to browse to the /content/search page on my site the system says "Server not running". However. "ps aux | grep java" shows Java is running as root.

Thanks for any help in advance!

Brandon Chambers
brandon@granitehorizon.com
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

Paul Borgermans

Wednesday 03 November 2010 12:07:57 pm

Hi Brandon

About the error you get: double check if you dont have an outdated ezsystems-ezfind-solr-extension-2.1.jar in the solr tree (solr/lib). I cannot reproduce

On which version to use: with eZ Find 2.3, JRE 6/1.6 is a requirement (Sun/Oracle provided one is used in certification and development).

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Richard Bayet

Monday 22 November 2010 10:08:13 am

"

- JRE 6 : In response to the eZ Find installation manual can someone clarify the requirements? one page it says it requires 6, another it's okay to have 5 or 6.

http://doc.ez.no/Extensions/eZ-Find/2.2/Requirements

http://doc.ez.no/Extensions/eZ-Find/2.2/Installation

"

Hi Paul,

Could you address this discrepancy in the online docs about the required JRE version with eZ Find 2.2 ?

The "Requirements" page simply asks for a JRE 1.6.
The "Installation" page tells that JRE 1.5 is required on a Linux environment, 1.6 on others.
Is one of the page outdated or misleading ?

The shipped doc in eZ 4.3 strongly recommends a JRE 1.5 :
(ezfind_2.0_manual.pdf says)

"

3.Installation
The extension requires the Java Runtime Environment (JRE) version 5. (JRE version 6 is unstable with eZ Find).

"

Thanks

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:58:28
Script start
Timing: Jan 30 2025 00:58:28
Module start 'layout'
Timing: Jan 30 2025 00:58:28
Module start 'content'
Timing: Jan 30 2025 00:58:28
Module end 'content'
Timing: Jan 30 2025 00:58:28
Script end

Main resources:

Total runtime0.0179 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.6406151.2734
Module start 'layout' 0.00530.0034 739.914136.7344
Module start 'content' 0.00870.0075 776.648495.5469
Module end 'content' 0.01620.0017 872.195337.9766
Script end 0.0179  910.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.6593140.0002
Check MTime0.00115.8762140.0001
Mysql Total
Database connection0.00063.390210.0006
Mysqli_queries0.004323.995030.0014
Looping result0.00000.061310.0000
Template Total0.00137.210.0013
Template load0.00105.574010.0010
Template processing0.00031.557910.0003
Override
Cache load0.00063.540710.0006
General
dbfile0.002011.250580.0003
String conversion0.00000.028040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs