>>-Dsolr.solr.home='/some/path'

CORRECT:
-Dsolr.data.dir=..............

It should be in java startup parameters; for instance, JAVA_OPTS="-server
-Zms32768M -Xmx32768M -Dsolr.data.dir=/some/path" inside catalina.sh as a
first statement...


According to the logs you posted probably  mistake in solr.xml which is
multicore definition;  you should post here it's content.

Java 1.4/5/6 supports "nested exceptions".

The root cause of your problem:
java.lang.NoClassDefFoundError: org.apache.solr.core.Config

This exception causes another one:
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
implementation found for the object model:
http://java.sun.com/jaxp/xpath/dom
        at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
        at org.apache.solr.core.Config.<clinit>(Config.java:41)

etc. etc. etc.


NoClassDefFoundError means: classloader didn't have any problem with finding
class def, but it couldn't "define" it due for instance dependency on
another library and/or dependency on configuration file such as solr.xml
etc. 

XPath should be called on DOM (after Config is properly initialized)


Difficult to explain what is wrong with your mess of files in config (you
are obviously using double-core) - you should do following:
1. Install Tomcat
2. Copy SOLR war file to webapps folder
3. Start Tomcat and verify logs; ensure that you have some clear messages in
it (SOLR should use default home? Verify!)
4. Configure SOLR-home with sample solrconfig.xml and schema.xml, restart,
verify 
... ... ...


Don't go to multicore until you play enough with simplest SOLR installation


-----Original Message-----
From: Aaron Aberg [mailto:aaronab...@gmail.com] 
Sent: August-19-09 12:28 AM
To: solr-user@lucene.apache.org
Subject: Re: Cannot get solr 1.3.0 to run properly with plesk 9.2.1 on
CentOS

Tomcat is running fine. It's solr that is having the issue. I keep
seeing people talk about this:

-Dsolr.solr.home='/some/path'

Should I be putting that somewhere? Or is that already taken care of
when I edited the web.xml file in my solr.war file?

On Tue, Aug 18, 2009 at 7:29 PM, Fuad Efendi<f...@efendi.ca> wrote:
> I forgot to add: compiler is inside "tools.jar" in some cases if I am
> correct... doesn't matter really... try to access Tomcat default homepage
> before trying to use SOLR!
>
>
>
> ........
>
> The only difference between JRE and JDK (from TOMCAT viewpoint) is absence
> of javac compiler for JSPs. But it will complain only if you try to use
JSPs
> (via admin console).
>
> Have you tried to install SOLR on your localbox and play with samples
> described at many WIKI pages?
>
>
>
> -----Original Message-----
> From: Aaron Aberg [mailto:aaronab...@gmail.com]
> Sent: August-18-09 9:04 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Cannot get solr 1.3.0 to run properly with plesk 9.2.1 on
> CentOS
>
> Marco might be right about the JRE thing.
> Here is my classpath entry when Tomcat starts up
> java.library.path:
>
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/jav
>
a-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
> /jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
>
> Constantijn,
>
> Here is my solr home file list with permissions:
>
> -bash-3.2$ ll /usr/share/solr/*
> -rw-r--r-- 1 tomcat tomcat 2150 Aug 17 22:51 /usr/share/solr/README.txt
>
> /usr/share/solr/bin:
> total 160
> -rwxr-xr-x 1 tomcat tomcat 4896 Aug 17 22:51 abc
> -rwxr-xr-x 1 tomcat tomcat 4919 Aug 17 22:51 abo
> -rwxr-xr-x 1 tomcat tomcat 2915 Aug 17 22:51 backup
> -rwxr-xr-x 1 tomcat tomcat 3435 Aug 17 22:51 backupcleaner
> -rwxr-xr-x 1 tomcat tomcat 3312 Aug 17 22:51 commit
> -rwxr-xr-x 1 tomcat tomcat 3306 Aug 17 22:51 optimize
> -rwxr-xr-x 1 tomcat tomcat 3163 Aug 17 22:51 readercycle
> -rwxr-xr-x 1 tomcat tomcat 1752 Aug 17 22:51 rsyncd-disable
> -rwxr-xr-x 1 tomcat tomcat 1740 Aug 17 22:51 rsyncd-enable
> -rwxr-xr-x 1 tomcat tomcat 3508 Aug 17 22:51 rsyncd-start
> -rwxr-xr-x 1 tomcat tomcat 2295 Aug 17 22:51 rsyncd-stop
> -rwxr-xr-x 1 tomcat tomcat 2132 Aug 17 22:51 scripts-util
> -rwxr-xr-x 1 tomcat tomcat 3775 Aug 17 22:51 snapcleaner
> -rwxr-xr-x 1 tomcat tomcat 4994 Aug 17 22:51 snapinstaller
> -rwxr-xr-x 1 tomcat tomcat 7980 Aug 17 22:51 snappuller
> -rwxr-xr-x 1 tomcat tomcat 1768 Aug 17 22:51 snappuller-disable
> -rwxr-xr-x 1 tomcat tomcat 1770 Aug 17 22:51 snappuller-enable
> -rwxr-xr-x 1 tomcat tomcat 3269 Aug 17 22:51 snapshooter
>
> /usr/share/solr/conf:
> total 124
> -rw-r--r-- 1 tomcat tomcat  1125 Aug 17 22:51 admin-extra.html
> -rw-r--r-- 1 tomcat tomcat  1310 Aug 17 22:51 elevate.xml
> -rw-r--r-- 1 tomcat tomcat   894 Aug 17 22:51 protwords.txt
> -rw-r--r-- 1 tomcat tomcat 20083 Aug 17 22:51 schema.xml
> -rw-r--r-- 1 tomcat tomcat   921 Aug 17 22:51 scripts.conf
> -rw-r--r-- 1 tomcat tomcat 30281 Aug 17 22:53 solrconfig.xml
> -rw-r--r-- 1 tomcat tomcat    16 Aug 17 22:51 spellings.txt
> -rw-r--r-- 1 tomcat tomcat  1226 Aug 17 22:51 stopwords.txt
> -rw-r--r-- 1 tomcat tomcat  1163 Aug 17 22:51 synonyms.txt
> drwxr-xr-x 2 tomcat tomcat  4096 Aug 17 22:51 xslt
>
>
>
>
>


Reply via email to