You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by sunnyfr <jo...@gmail.com> on 2008/10/08 10:04:52 UTC

solr 1.2 to solr 1.3, I've some error

Hello,

I've updated solr 1.2 to solr 1.3, so I've generated the new .war and add it
to tomcat like I used to do and it used to work.
For information I didn't change conf files : solrconfig, data-config, schema
and scripts.
I just changed the name multicore.xml to solr.xml
And now I've this error. So actually I've just changed a name of the file
multicore and the war file.
Did I miss something?

My conf:
Java version : 1.6.0
My servlet container is : tomcat5.5
Solr version :1.3 (apache-solr-1.4-dev.war)
I'm taking solr by PHP, but for the moment I don't use it.

http://www.nabble.com/file/p19874210/data-config.xml data-config.xml 
http://www.nabble.com/file/p19874210/multicore.xml multicore.xml 
http://www.nabble.com/file/p19874210/solrconfig.xml solrconfig.xml 
http://www.nabble.com/file/p19874210/schema.xml schema.xml 
http://www.nabble.com/file/p19874210/scripts.conf scripts.conf 

This is my error :
Oct  8 09:51:05 solr-test jsvc.exec[28013]: Oct 8, 2008 9:51:05 AM
org.apache.solr.common.SolrException log SEVERE:
java.lang.NoClassDefFoundError: net/sf/snowball/ext/EnglishStemmer ^Iat
org.apache.solr.analysis.EnglishPorterFilter.<init>(EnglishPorterFilterFactory.java:69)
^Iat
org.apache.solr.analysis.EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:52)
^Iat
org.apache.solr.analysis.EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:33)
^Iat
org.apache.solr.analysis.TokenizerChain.tokenStream(TokenizerChain.java:48)
^Iat
org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.tokenStream(IndexSchema.java:317)
^Iat
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:473)
^Iat
org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:114)
^Iat org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1248)
^Iat org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1135)
^Iat org.apache.lucene.queryParser.QueryParser.Query(QueryParse

Thanks,

-- 
View this message in context: http://www.nabble.com/solr-1.2-to-solr-1.3%2C-I%27ve-some-error-tp19874210p19874210.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr 1.2 to solr 1.3, I've some error

Posted by sunnyfr <jo...@gmail.com>.
it's ok ..sorry it was my fault.
forgot a jar.


Grant Ingersoll-6 wrote:
> 
> 
> On Oct 8, 2008, at 4:04 AM, sunnyfr wrote:
> 
>>
>> Hello,
>>
>> I've updated solr 1.2 to solr 1.3, so I've generated the new .war  
>> and add it
>> to tomcat like I used to do and it used to work.
> 
> Define "generated the new .war"?  Is there something wrong with the  
> WAR that comes w/ Solr? What steps did you do?  The error below is due  
> to you missing the Lucene Snowball JAR in your war.  See
> http://repo1.maven.org/maven2/org/apache/solr/solr-lucene-snowball/1.3.0/ 
>   or just look in the distribution.
> 
> 
>>
>> For information I didn't change conf files : solrconfig, data- 
>> config, schema
>> and scripts.
>> I just changed the name multicore.xml to solr.xml
>> And now I've this error. So actually I've just changed a name of the  
>> file
>> multicore and the war file.
>> Did I miss something?
>>
>> My conf:
>> Java version : 1.6.0
>> My servlet container is : tomcat5.5
>> Solr version :1.3 (apache-solr-1.4-dev.war)
>> I'm taking solr by PHP, but for the moment I don't use it.
>>
>> http://www.nabble.com/file/p19874210/data-config.xml data-config.xml
>> http://www.nabble.com/file/p19874210/multicore.xml multicore.xml
>> http://www.nabble.com/file/p19874210/solrconfig.xml solrconfig.xml
>> http://www.nabble.com/file/p19874210/schema.xml schema.xml
>> http://www.nabble.com/file/p19874210/scripts.conf scripts.conf
>>
>> This is my error :
>> Oct  8 09:51:05 solr-test jsvc.exec[28013]: Oct 8, 2008 9:51:05 AM
>> org.apache.solr.common.SolrException log SEVERE:
>> java.lang.NoClassDefFoundError: net/sf/snowball/ext/EnglishStemmer  
>> ^Iat
>> org 
>> .apache 
>> .solr 
>> .analysis.EnglishPorterFilter.<init>(EnglishPorterFilterFactory.java: 
>> 69)
>> ^Iat
>> org 
>> .apache 
>> .solr 
>> .analysis 
>> .EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:52)
>> ^Iat
>> org 
>> .apache 
>> .solr 
>> .analysis 
>> .EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:33)
>> ^Iat
>> org 
>> .apache.solr.analysis.TokenizerChain.tokenStream(TokenizerChain.java: 
>> 48)
>> ^Iat
>> org.apache.solr.schema.IndexSchema 
>> $SolrIndexAnalyzer.tokenStream(IndexSchema.java:317)
>> ^Iat
>> org 
>> .apache 
>> .lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:473)
>> ^Iat
>> org 
>> .apache 
>> .solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:114)
>> ^Iat org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java: 
>> 1248)
>> ^Iat  
>> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java: 
>> 1135)
>> ^Iat org.apache.lucene.queryParser.QueryParser.Query(QueryParse
>>
>> Thanks,
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/solr-1.2-to-solr-1.3%2C-I%27ve-some-error-tp19874210p19874210.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
> 
> --------------------------
> Grant Ingersoll
> 
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-solr-1.2-to-solr-1.3%2C-I%27ve-some-error-tp19878896p19878982.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr 1.2 to solr 1.3, I've some error

Posted by Grant Ingersoll <gs...@apache.org>.
On Oct 8, 2008, at 4:04 AM, sunnyfr wrote:

>
> Hello,
>
> I've updated solr 1.2 to solr 1.3, so I've generated the new .war  
> and add it
> to tomcat like I used to do and it used to work.

Define "generated the new .war"?  Is there something wrong with the  
WAR that comes w/ Solr? What steps did you do?  The error below is due  
to you missing the Lucene Snowball JAR in your war.  See http://repo1.maven.org/maven2/org/apache/solr/solr-lucene-snowball/1.3.0/ 
  or just look in the distribution.


>
> For information I didn't change conf files : solrconfig, data- 
> config, schema
> and scripts.
> I just changed the name multicore.xml to solr.xml
> And now I've this error. So actually I've just changed a name of the  
> file
> multicore and the war file.
> Did I miss something?
>
> My conf:
> Java version : 1.6.0
> My servlet container is : tomcat5.5
> Solr version :1.3 (apache-solr-1.4-dev.war)
> I'm taking solr by PHP, but for the moment I don't use it.
>
> http://www.nabble.com/file/p19874210/data-config.xml data-config.xml
> http://www.nabble.com/file/p19874210/multicore.xml multicore.xml
> http://www.nabble.com/file/p19874210/solrconfig.xml solrconfig.xml
> http://www.nabble.com/file/p19874210/schema.xml schema.xml
> http://www.nabble.com/file/p19874210/scripts.conf scripts.conf
>
> This is my error :
> Oct  8 09:51:05 solr-test jsvc.exec[28013]: Oct 8, 2008 9:51:05 AM
> org.apache.solr.common.SolrException log SEVERE:
> java.lang.NoClassDefFoundError: net/sf/snowball/ext/EnglishStemmer  
> ^Iat
> org 
> .apache 
> .solr 
> .analysis.EnglishPorterFilter.<init>(EnglishPorterFilterFactory.java: 
> 69)
> ^Iat
> org 
> .apache 
> .solr 
> .analysis 
> .EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:52)
> ^Iat
> org 
> .apache 
> .solr 
> .analysis 
> .EnglishPorterFilterFactory.create(EnglishPorterFilterFactory.java:33)
> ^Iat
> org 
> .apache.solr.analysis.TokenizerChain.tokenStream(TokenizerChain.java: 
> 48)
> ^Iat
> org.apache.solr.schema.IndexSchema 
> $SolrIndexAnalyzer.tokenStream(IndexSchema.java:317)
> ^Iat
> org 
> .apache 
> .lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:473)
> ^Iat
> org 
> .apache 
> .solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:114)
> ^Iat org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java: 
> 1248)
> ^Iat  
> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java: 
> 1135)
> ^Iat org.apache.lucene.queryParser.QueryParser.Query(QueryParse
>
> Thanks,
>
> -- 
> View this message in context: http://www.nabble.com/solr-1.2-to-solr-1.3%2C-I%27ve-some-error-tp19874210p19874210.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ