Thanks for the reply.


*         Following are the jars placed in "tomcat/lib" dir:





annotations-api.jar  el-api.jar                jsp-api.jar                      
  lucene-core.jar          solr-core-1.3.0.jar                      
tomcat-dbcp.jar

catalina-ant.jar     jasper-el.jar             jul-to-slf4j-1.6.6.jar           
  private                  solr-dataimporthandler-4.4.0.jar         
tomcat-i18n-es.jar

catalina-ha.jar      jasper.jar                log4j-1.2.16.jar                 
  servlet-api.jar          solr-dataimporthandler-extras-4.4.0.jar  
tomcat-i18n-fr.jar

catalina.jar         jasper-jdt.jar            log4j.properties                 
  slf4j-api-1.6.6.jar      solr-solrj-4.4.0.jar                     
tomcat-i18n-ja.jar

catalina-tribes.jar  jcl-over-slf4j-1.6.6.jar  
lucene-analyzers-common-4.2.0.jar  slf4j-log4j12-1.6.6.jar  tomcat-coyote.jar





Jars in "tomcat/ webapps/ROOT/WEB-INF/lib/"



commons-cli-1.2.jar                  hadoop-common-2.0.5-alpha.jar        
lucene-core-4.4.0.jar         nps-solr-plugin-1.0-SNAPSHOT.jar

commons-codec-1.7.jar                hadoop-hdfs-2.0.5-alpha.jar          
lucene-grouping-4.4.0.jar     org.restlet-2.1.1.jar

commons-configuration-1.6.jar        httpclient-4.2.3.jar                 
lucene-highlighter-4.4.0.jar  org.restlet.ext.servlet-2.1.1.jar

commons-fileupload-1.2.1.jar         httpcore-4.2.2.jar                   
lucene-memory-4.4.0.jar       protobuf-java-2.4.0a.jar

commons-io-2.1.jar                   httpmime-4.2.3.jar                   
lucene-misc-4.4.0.jar         solr-core-4.4.0.jar

commons-lang-2.6.jar                 joda-time-2.2.jar                    
lucene-queries-4.4.0.jar      solr-dataimporthandler-4.4.0.jar

concurrentlinkedhashmap-lru-1.2.jar  lucene-analyzers-common-4.4.0.jar    
lucene-queryparser-4.4.0.jar  solr-solrj-4.4.0.jar

guava-14.0.1.jar                     lucene-analyzers-kuromoji-4.4.0.jar  
lucene-spatial-4.4.0.jar      spatial4j-0.3.jar

hadoop-annotations-2.0.5-alpha.jar   lucene-analyzers-phonetic-4.4.0.jar  
lucene-suggest-4.4.0.jar      wstx-asl-3.2.7.jar

hadoop-auth-2.0.5-alpha.jar          lucene-codecs-4.4.0.jar              
noggit-0.5.jar                zookeeper-3.4.5.jar





*         I downloaded solr-4.4.0 instance from apache website. 
(http://www.apache.org/dyn/closer.cgi/lucene/solr/4.4.0)



Most of the jars are from the "dist" directory and "example" directory.





*         Custom jars are compiled for Solr 4.4.0 version.  I copied most of 
the jars from apache website. And few jars from www.java2s.com





Thanks

Abhi



-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org]
Sent: Wednesday, September 18, 2013 1:41 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr 4.4.0: Plugin init failure for [schema.xml] analyzer/tokenizer





: I am having trouble in upgrading from Solr 3.6 to Solr 4.4.0. I have

: placed required jars in "lib" directory. When I start the Tomcat

: instance it throws following error. Also pasted part of

: "conf/schema.xml" file.



which jars exactly?

where did you get the jars from?

what version of solr were your custom jars compiled against



: Caused by: java.lang.ClassCastException: class 
com.mycomp.as.sts.nps.solr.analysis.MultiValueTokenizerFactory



According to that, your "MultiValueTokenizerFactory" can not be cast to the 
expected type -- this might be because of a classloader problem (ie:

you may have multiple instances of the MultiValueTokenizerFactory class loaded 
that are confusing things, or multiple isntances of the lucene 
TokenizerFactory, etc...  alternatively it might be because your 
MultiValueTokenizerFactory was compiled against the wrong version of solr (but 
IIRC that should genrate a diff error ... off the top of my head i'm not 
certain).







-Hoss

Reply via email to