lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "banished phantom" <kermit2...@gmail.com>
Subject Re: Going insane with requestHandler definition.
Date Tue, 11 Nov 2008 18:52:41 GMT
Thank you very much for your response (and sorry for bothering and NOT
paying attention to the warning at the top of the URL).

Regards,
Lucas.

2008/11/11 Shalin Shekhar Mangar <shalinmangar@gmail.com>

> Hi Lucas,
>
> The new replication is targeted for Solr 1.4 (the next major release) which
> is yet to happen. For 1.3, you still need to use the rsync based
> replication.
>
> On Wed, Nov 12, 2008 at 12:08 AM, banished phantom <kermit2611@gmail.com
> >wrote:
>
> > Hello everyone ! I'm new in the Solr list. I'va been using Solr 1.2 for a
> > while and also the replication through rsync. As the new Solr was
> released
> > I
> > tried the new replication method,
> > so I read : http://wiki.apache.org/solr/SolrReplication. There it says :
> >
> > "Replication feature is implemented as a RequestHandler .So, the
> > configuration is similar to any normal RequestHandler"
> >
> > and an example is shown :
> >
> > <requestHandler name="/replication" class="solr.ReplicationHandler" >
> >    <lst name="master">
> >        <!--Replicate on 'optimize' it can also be  'commit' , 'startup'.
> It
> > is possible to have mutiple entries  -->
> >        <str name="replicateAfter">commit</str>
> >        <!--If configuration files need to be replicated give the names
> here
> > . comma separated -->
> >        <str name="confFiles">schema.xml,stopwords.txt,elevate.xml</str>
> >    </lst>
> > </requestHandler>
> >
> > So, I put the same example in my solrconfig.xml. However when Solr is
> fired
> > up, I get :
> >
> > SEVERE: org.apache.solr.common.SolrException: Error loading class
> > 'solr.ReplicationHandler'
> >    at
> >
> >
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:273)
> >    at
> >
> >
> org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:278)
> >    at
> >
> >
> org.apache.solr.util.plugin.AbstractPluginLoader.create(AbstractPluginLoader.java:83)
> >    at
> > org.apache.solr.core.RequestHandlers$1.create(RequestHandlers.java:152)
> >    at
> > org.apache.solr.core.RequestHandlers$1.create(RequestHandlers.java:161)
> >    at
> >
> >
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:140)
> >    at
> >
> >
> org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:169)
> >    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:444)
> >    at
> >
> >
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:119)
> >    at
> >
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
> >    at
> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
> >    at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >    at
> >
> >
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
> >    at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> >    at
> >
> >
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
> >    at
> > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
> >    at
> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> >    at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >    at
> >
> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> >    at
> >
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
> >    at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >    at
> >
> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> >    at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >    at
> > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
> >    at org.mortbay.jetty.Server.doStart(Server.java:210)
> >    at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >    at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
> >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >    at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >    at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >    at java.lang.reflect.Method.invoke(Method.java:585)
> >    at org.mortbay.start.Main.invokeMain(Main.java:183)
> >    at org.mortbay.start.Main.start(Main.java:497)
> >    at org.mortbay.start.Main.main(Main.java:115)
> >
> > Could someone please tell me what I'm doing (or NOT doing) wrong ?.
> >
> > Thanks a lot,
> > Lucas.
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message