Solr admin page timed out and index updating issues [SOLVED]

Author Message

Lo' F.

Monday 28 February 2011 6:59:42 am

Hello there!

I am trying to configure ezfind extension.

So far I've installed java 1.6 (since I had the 1.4 version in my vps), enabled ezfind, which was included in ezwebin package, and then attempted to start Solr.

At this point I don't really understand why when I started Solr direct from the shell launching the command java -jar start.jar from inside ezfind/java directory, only once I was allowed to access the url http://xx.xxx.xxx.xx:8983/solr/admin/, otherwise it kept returning the same message "The server at xx.xxx.xxx.xx is taking too long to respond", though I believe Solr was running bacause when it's not, the website search page displays the message "server not running".

I also don't understand why after I did the steps to start Solr as a service on redhat based system setting SOLR_HOME to the java folder of ezfind extension in /etc/init.d/solr file, copied from /extension/ezfind/bin/scripts/rhel/, it keeps saying "server not running".. wasn't that meant to keep the server running?

Can anybody help me understand?

Thanks a lot, as always!

loredanaebook.it

Lo' F.

Thursday 03 March 2011 3:59:13 am

Well, since this is the first time I do this stuff, I'm going to explain step by step what I have done so far so that if I did something wrong .. might be the reason I am not getting Solr working properly.

I first downloaded and installed the rpm of J(SE)DK 6 (which includes JRE - decided to go for the whole for future uses) for Linux - http://www.oracle.com/technetwork/java/javase/downloads/index.html

[root@xx /]#  ./jdk-6u24-linux-i586-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: jdk-6u24-linux-i586.rpm  
  inflating: sun-javadb-common-10.6.2-1.1.i386.rpm  
  inflating: sun-javadb-core-10.6.2-1.1.i386.rpm  
  inflating: sun-javadb-client-10.6.2-1.1.i386.rpm  
  inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm  
  inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm  
  inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm  
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    tools.jar...
    localedata.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...
error: %post(jdk-1.6.0_24-fcs.i586) scriptlet failed, exit status 5
Installing JavaDB
Preparing...                ########################################### [100%]
   1:sun-javadb-common      ########################################### [ 17%]
   2:sun-javadb-core        ########################################### [ 33%]
   3:sun-javadb-client      ########################################### [ 50%]
   4:sun-javadb-demo        ########################################### [ 67%]
   5:sun-javadb-docs        ########################################### [ 83%]
   6:sun-javadb-javadoc     ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

I removed the previous virtual link to java (previously linked to /etc/alternative/java - a version 1.4) and set the virtual link to the newly installed

[root@xx ~]# ln -s /usr/java/jdk1.6.0_24/jre/bin/java /usr/bin/java
[root@xx ~]# ls -l /usr/bin/java
lrwxrwxrwx 1 root root 34 Feb 23 17:44 /usr/bin/java -> /usr/java/jdk1.6.0_24/jre/bin/java

When I first checked the version it returned the error...

[root@ etc]# java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

..due to the fact that java was trying to allocate an amount of memory the system couldn't spare and so set the environment variables in the /etc/profile file...

[root@xx etc]# vi /etc/profile
...
#force java to limit self in this VPS
export _JAVA_OPTIONS="-Xms20m -Xmx64m"
...
:wq

And then checked again..

[root@xx ~]# java -version
Picked up _JAVA_OPTIONS: -Xms20m -Xmx64m
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

This all about java.

Then followed the steps for enabling ezfind.

Added the parameter ActiveExtensions[]=ezfind (before ezwebin) in /settings/override/site.ini.append.php

Updated the autoloads class..

[root@xx httpdocs]# php bin/php/ezpgenerateautoloads.php

Added the new table ezfind_elevate_configuration in the database

[root@xx httpdocs]# mysql -u 'xxxxxxdb' -p 'xxxxxx' < extension/ezfind/sql/mysql/mysql.sql
Enter password:

Emptied the override cache

[root@xx httpdocs]# php bin/php/ezcache.php --clear-id=template-override --allow-root-user
With great power comes great responsibility.
You have 10 seconds to break the script (press Ctrl-C).
Clearing template-override: Cache degli override dei template

Launched the command to update the index

[root@xx httpdocs]# php extension/ezfind/bin/php/updatesearchindexsolr.php -s private --php-exec=php --allow-root-user
With great power comes great responsibility.
You have 10 seconds to break the script (press Ctrl-C).
Starting object re-indexing
Using fork.
Using 2 concurent process(es)
Number of objects to index: 439

Creating a new thread: 32433
...................................................................... 15.95%
...................................................................... 31.89%
............................................................Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Creating a new thread: 32438
.......... 47.84%
...................................................................... 63.78%
.............................................................
Did not index content correctly: 
array (
).
........ 79.73%
..................................................Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Did not index content correctly: 
array (
)

Creating a new thread: 32462
.................... 95.67%
...................                                                    100.00%
Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Creating a new thread: 32467

Did not index content correctly: 
array (
)
Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Did not index content correctly: 
array (
)

Creating a new thread: 32471
Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Creating a new thread: 32475

Did not index content correctly: 
array (
)
Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the 
root account by appending the parameter --allow-root-user.

Did not index content correctly: 
array (
)
Process finished: 32471
Process finished: 32475
Optimizing. Please wait ...
Indexing took 7.0459620952606 secs ( average: 62.305188995451 objects/sec )
Finished updating the search index.

The index path in the file extension/ezfind/java/solr/conf/solrconfig.xml is..

<dataDir>${solr.data.dir:./solr/data}</dataDir>

Started Solr from the shell

[root@xx ~]# cd /var/www/vhosts/xxxxxxxxxx.net/httpdocs/extension/ezfind/java
[root@62 java]# java -Dezfind -jar start.jar
Picked up _JAVA_OPTIONS: -Xms20m -Xmx64m
2011-02-24 20:32:58.286::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2011-02-24 20:32:59.441::INFO:  jetty-6.1.3
2011-02-24 20:33:00.112::INFO:  Extract jar:file:/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/webapps/solr.war!/ to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
Feb 24, 2011 8:33:02 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Feb 24, 2011 8:33:02 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Feb 24, 2011 8:33:02 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'solr/'
Feb 24, 2011 8:33:02 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/lib/ezsystems-ezfind-solr-extension-2.2.jar' to classloader
Feb 24, 2011 8:33:03 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Feb 24, 2011 8:33:03 PM org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/solr.xml
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'solr/'
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/lib/ezsystems-ezfind-solr-extension-2.2.jar' to classloader
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'solr/./'
Feb 24, 2011 8:33:03 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/lib/ezsystems-ezfind-solr-extension-2.2.jar' to classloader
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrConfig <init>
WARNING: Deprecated syntax found. <highlighting/> should move to <searchComponent/>
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Feb 24, 2011 8:33:04 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
Feb 24, 2011 8:33:04 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=example
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created int: org.apache.solr.schema.TrieIntField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.TrieFloatField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.TrieLongField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.TrieDoubleField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tint: org.apache.solr.schema.TrieIntField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tfloat: org.apache.solr.schema.TrieFloatField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tlong: org.apache.solr.schema.TrieLongField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tdouble: org.apache.solr.schema.TrieDoubleField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.TrieDateField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created tdate: org.apache.solr.schema.TrieDateField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created pint: org.apache.solr.schema.IntField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created plong: org.apache.solr.schema.LongField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created pfloat: org.apache.solr.schema.FloatField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created pdouble: org.apache.solr.schema.DoubleField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created pdate: org.apache.solr.schema.DateField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.SortableIntField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.SortableLongField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.SortableFloatField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created random: org.apache.solr.schema.RandomSortField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_ws: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.ISOLatin1AccentFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SnowballPorterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.ISOLatin1AccentFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SnowballPorterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SnowballPorterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textTight: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textgen: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StandardFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created spell: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StandardTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textSpell: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created elevate_string: org.apache.solr.schema.StrField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.PatternTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.PatternTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created keyword: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.PatternTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.SynonymFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.PatternTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StopFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created lckeyword: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.KeywordTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.TrimFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.PatternReplaceFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created alphaOnlySort: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.StandardTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.DoubleMetaphoneFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created phonetic: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.DelimitedPayloadTokenFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created payloads: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.KeywordTokenizerFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created lowercase: org.apache.solr.schema.TextField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created ignored: org.apache.solr.schema.StrField
Feb 24, 2011 8:33:04 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created geopoint: org.apache.solr.schema.PointType
Feb 24, 2011 8:33:04 PM org.apache.solr.schema.IndexSchema readSchema
INFO: default search field is ezf_df_text
Feb 24, 2011 8:33:04 PM org.apache.solr.schema.IndexSchema readSchema
INFO: query parser default operator is OR
Feb 24, 2011 8:33:04 PM org.apache.solr.schema.IndexSchema readSchema
INFO: unique key field: meta_guid_s
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrCore <init>
INFO: [] Opening new SolrCore at solr/./, dataDir=./solr/data/
Feb 24, 2011 8:33:04 PM org.apache.solr.core.JmxMonitoredMap <init>
INFO: No JMX servers found, not exposing Solr information with JMX.
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[]}
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[{q=solr rocks,start=0,rows=10}, {q=static firstSearcher warming query from solrconfig.xml}]}
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrCore initIndex
WARNING: [] Solr index directory './solr/data/index' doesn't exist. Creating new index...
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrDeletionPolicy onInit
INFO: SolrDeletionPolicy.onInit: commits:num=1
    commit{dir=/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/data/index,segFN=segments_1,version=1298579584660,generation=1,filenames=[segments_1]
Feb 24, 2011 8:33:04 PM org.apache.solr.core.SolrDeletionPolicy updateCommits
INFO: newest commit = 1298579584660
Feb 24, 2011 8:33:04 PM org.apache.solr.response.XSLTResponseWriter init
INFO: xsltCacheLifetimeSeconds=5
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created standard: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created dismax: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created partitioned: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created ezpublish: solr.DisMaxRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created ezfind: org.ezsystems.solr.handler.ezfind.eZFindRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /spell: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /mlt: solr.MoreLikeThisHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created tvrh: org.apache.solr.handler.component.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: org.apache.solr.handler.extraction.ExtractingRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/extract: org.apache.solr.handler.extraction.ExtractingRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /terms: org.apache.solr.handler.component.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /elevate: solr.SearchHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update: solr.XmlUpdateRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/javabin: solr.BinaryUpdateRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/field: solr.FieldAnalysisRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.CSVRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/csv: solr.CSVRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/: org.apache.solr.handler.admin.AdminHandlers
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/ping: PingRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /debug/dump: solr.DumpRequestHandler
Feb 24, 2011 8:33:05 PM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@11a4bd4 main
Feb 24, 2011 8:33:05 PM org.apache.solr.update.DirectUpdateHandler2$CommitTracker <init>
INFO: AutoCommit: disabled
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SpellCheckComponent inform
INFO: Initializing spell checkers
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SpellCheckComponent inform
INFO: Registering newSearcher listener for spellchecker: default
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.QueryElevationComponent inform
INFO: Loading QueryElevation from: /var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java/solr/./conf/elevate.xml
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.SpellCheckComponent@4fe91e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryElevationComponent@51ef4e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.SpellCheckComponent@4fe91e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.SpellCheckComponent@4fe91e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryElevationComponent@51ef4e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.SpellCheckComponent@4fe91e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.QueryComponent@1a7789c
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.FacetComponent@1df5f21
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.MoreLikeThisComponent@1de891b
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.HighlightComponent@fb6c5f
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.StatsComponent@87e704
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.TermVectorComponent@13a34af
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  debug component:org.apache.solr.handler.component.DebugComponent@135f44e
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding  component:org.apache.solr.handler.component.TermsComponent@58dd2d
Feb 24, 2011 8:33:05 PM org.apache.solr.core.CoreContainer register
INFO: registering core: 
Feb 24, 2011 8:33:05 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener sending requests to Searcher@11a4bd4 main
Feb 24, 2011 8:33:05 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/var/www/vhosts/eventionline.net/httpdocs/extension/ezfind/java
Feb 24, 2011 8:33:05 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=null path=null params={start=0&event=firstSearcher&q=solr+rocks&rows=10} hits=0 status=0 QTime=57 
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=5 
Feb 24, 2011 8:33:05 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
Feb 24, 2011 8:33:05 PM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: default
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrCore registerSearcher
INFO: [] Registered new searcher Searcher@11a4bd4 main
Feb 24, 2011 8:33:05 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Feb 24, 2011 8:33:05 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Feb 24, 2011 8:33:05 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Feb 24, 2011 8:33:05 PM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
2011-02-24 20:33:05.528::INFO:  Started SocketConnector @ 0.0.0.0:8983

Attempted to open the URL http://xx.xxx.xxx.xx:8983/solr/admin/ got "the connetcion had timed out" message all the time. The Solr admin page opened only once the next day, but I didn't keep the record of the shell operations to compare..

Can anybody help me figure out what did I do wrong?

loredanaebook.it

Lo' F.

Monday 14 March 2011 8:40:51 am

I am still stuck at the same point.

Alright let's first try to identify the problem related to solr admin page.

Why can't I be able to load the page?

Looking here and there I could read that the memory limit (heap space) may need to be increased to -Xms512M -Xmx512M when launching the java -jar start.jar command. But in my vps I've been forced to set the Xmx limit to maximum Xmx400M since at higher value it returns a VM initialization error and it won't run.

My first question is: could this be the problem not being able to access the solr admin page?

Please...! Thanks!

loredanaebook.it

Lo' F.

Friday 18 March 2011 8:22:13 am

..Well, in the end I think I found a way to make something work!

Regarding the Solr Admin Page, I honestly don't really understand why it lets me access randomly, but I guess it is due to the limited amount of memory allocation I had to set in order to make the script run.

Apart from this detail, I could eventually update the search index and have the web site search functionality work.

This is how:

- I had to set the java heap size in /ect/profile by assigning -Xms128M -Xmx128M -XX:PermSize=128m -XX:MaxPermSize=128m to _JAVA_OPTIONS variable

[root@xx ~]# vi /etc/profile
...
export _JAVA_OPTIONS: "-Xms128M -Xmx128M -XX:PermSize=128m -XX:MaxPermSize=128m"

- Emptied the cache and started solr from ssh:

[root@xx httpdocs]# php bin/php/ezcache.php --clear-id=template-override --allow-root-user
Clearing template-override: Cache degli override dei template

[root@xx ~]# cd /var/www/vhosts/xxxxxxxx.net/httpdocs/extension/ezfind/java
[root@xx java]# java -Dezfind -jar start.jar
Picked up _JAVA_OPTIONS: -Xms128M -Xmx128M -XX:PermSize=128m -XX:MaxPermSize=128m
2011-03-16 16:53:58.759::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2011-03-16 16:54:01.260::INFO:  jetty-6.1.3
2011-03-16 16:54:03.018::INFO:  Extract jar:file:/var/www/vhosts/xxxxxxx.net/httpdocs/extension/ezfind/java/webapps/solr.war!/ to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
...
INFO: SolrUpdateServlet.init() done
2011-03-16 16:54:13.445::INFO:  Started SocketConnector @ 0.0.0.0:8983

- With Solr running, opened a new shell window and launch the command:

[root@xx httpdocs]# php extension/ezfind/bin/php/updatesearchindexsolr.php -s private --php-exec=php --allow-root-user
Starting object re-indexing
Using 1 concurent process(es)
Number of objects to index: 238
sh: pstotext: command not found
...................................................................... 29.41%
...................................................................... 58.82%
...................................................................... 88.24%
............................                                           100.00%
Optimizing. Please wait ...
Indexing took 23.989723920822 secs ( average: 9.9209145042901 objects/sec )
Finished updating the search index.

At least now, (of course while the server is running) the search finally gives the search results!

Note: With regards to java installation I also reconfigured the default java configuration:

[root@xx ~]# alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_24/bin/java 20000
[root@xx ~]# alternatives --config java
There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
 + 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*  2           /usr/java/jdk1.6.0_24/bin/java

Enter to keep the current selection[+], or type selection number: 2
[root@xx ~]# alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2           /usr/java/jdk1.6.0_24/bin/java
...

loredanaebook.it

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