2ezpublish 1 server - How many ezfind

Author Message

Fabien GALLARD

Tuesday 22 March 2011 7:44:10 am

Hello,

On my server i have two ezpublish : one with ezpublish 4.2 and ezfind 2.1 ; the other one is ezpublish 4.4 and ezfind 2.3.

The ezfind search actually work on the first install.

I'm trying to install ezfind on the other install. I follow this tutorial : http://doc.ez.no/Extensions/eZ-Find/2.3/Installation

I try a $search=fetch( 'ezfind', 'search', hash( query, $search_text, limit, '9999'))
but i have this error in debug log :

Got invalid result from search engine.<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 400 </title> </head> <body><h2>HTTP ERROR: 400</h2><pre>undefined field meta_installation_id_ms</pre> <p>RequestURI=/solr/select</p><p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>  

In $search|attribute(show) i got :

SearchResult boolean false
SearchCount integer 0
StopWordArray array Array(0)
SearchExtras object[ezfSearchResultInfo] Object
>facet_fields NULL  
>facet_queries NULL  
>engine string 'eZ Find 2.3 search plugin © 1999-2010 eZ Systems AS, powered by Apache Solr 1.5-dev'
>hasError boolean true
>error string 'Server not running'
>responseHeader NULL  
>spellcheck boolean false
>spellcheck_collation boolean false

So i try to run this command :

java -Dezfind -jar start.jar

and it get this error :

2011-03-22 14:54:34.586::WARN: failed SocketConnector @ 0.0.0.0:8983
java.net.BindException: Address already in use

How can i get this to work

Thanks

Fabien

Ivo Lukac

Tuesday 22 March 2011 8:14:51 am

Two services can't use the same port so the easiest thing would be to change the port setting of the second solr instance to some other port, not 8983.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Philippe VINCENT-ROYOL

Tuesday 22 March 2011 8:22:16 am

"

Two services can't use the same port so the easiest thing would be to change the port setting of the second solr instance to some other port, not 8983.

"

just edit jetty.xml on the second instance :) You can change port number...

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

Marko Žmak

Wednesday 23 March 2011 12:27:11 am

See here some info on how to change the port:

Note that the official and recommended way of changing the port is to use a command line parameter:

-Djetty.port=12345

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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:14:19
Script start
Timing: Jan 30 2025 00:14:19
Module start 'layout'
Timing: Jan 30 2025 00:14:19
Module start 'content'
Timing: Jan 30 2025 00:14:19
Module end 'content'
Timing: Jan 30 2025 00:14:19
Script end

Main resources:

Total runtime0.0158 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.0046 588.2813151.2266
Module start 'layout' 0.00460.0037 739.507836.6875
Module start 'content' 0.00830.0061 776.1953100.3750
Module end 'content' 0.01440.0014 876.570337.9766
Script end 0.0158  914.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002214.1874140.0002
Check MTime0.00116.7918140.0001
Mysql Total
Database connection0.00063.852210.0006
Mysqli_queries0.003622.486630.0012
Looping result0.00000.069310.0000
Template Total0.00106.610.0010
Template load0.00084.876210.0008
Template processing0.00031.679110.0003
Override
Cache load0.00042.823610.0004
General
dbfile0.002918.190280.0004
String conversion0.00000.030140.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