Forums / Extensions / eZ Find / 2ezpublish 1 server - How many ezfind

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

eZ debug

Timing: Jan 29 2025 13:36:49
Script start
Timing: Jan 29 2025 13:36:49
Module start 'content'
Timing: Jan 29 2025 13:36:49
Module end 'content'
Timing: Jan 29 2025 13:36:49
Script end

Main resources:

Total runtime0.1756 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.0781180.7813
Module start 'content' 0.00750.0233 768.8594104.1172
Module end 'content' 0.03080.1448 872.9766535.1094
Script end 0.1756  1,408.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00331.8913200.0002
Check MTime0.00130.7502200.0001
Mysql Total
Database connection0.00120.675810.0012
Mysqli_queries0.099156.39511410.0007
Looping result0.00120.69461390.0000
Template Total0.144282.110.1442
Template load0.00100.552910.0010
Template processing0.143281.554210.1432
Override
Cache load0.00060.370010.0006
Sytem overhead
Fetch class attribute can translate value0.00120.682110.0012
XML
Image XML parsing0.00030.153810.0003
General
dbfile0.032018.1974200.0016
String conversion0.00000.003330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs