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 Joel Bernstein <jo...@gmail.com> on 2014/12/01 18:14:52 UTC

What is the new startup procedure following: SOLR-3619?

Not having much luck starting Solr in trunk with the new startup scripts.
I've scanned the README's but I'm not seeing anything definitive on the how
startup works.

Here is the steps I took:

1) Updated trunk
2) Ran: ant compile; ant dist; ant example;
3) Ran: bin/solr start
4) This error appears in the logs:

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
        at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
        at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
        at
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
        at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
        at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
        at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
        at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
        at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
        at
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
        at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
        at
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
        at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
        at org.eclipse.jetty.server.Server.doStart(Server.java:280)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1259)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
        at org.eclipse.jetty.start.Main.start(Main.java:615)
        at org.eclipse.jetty.start.Main.main(Main.java:96)
Caused by: java.lang.IllegalStateException: No such servlet:
SolrConfigRestApi
        at
org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1274)
        at
org.eclipse.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1368)

Re: What is the new startup procedure following: SOLR-3619?

Posted by Joel Bernstein <jo...@gmail.com>.
Thanks Alex. Updating again did the trick.

Joel Bernstein
Search Engineer at Heliosearch

On Mon, Dec 1, 2014 at 12:28 PM, Alexandre Rafalovitch <ar...@gmail.com>
wrote:

> On 1 December 2014 at 12:14, Joel Bernstein <jo...@gmail.com> wrote:
> > SolrConfigRestApi
> Do it again: https://issues.apache.org/jira/browse/SOLR-6476
>
> Regards,
>    Alex.
>
> Personal: http://www.outerthoughts.com/ and @arafalov
> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>

Re: What is the new startup procedure following: SOLR-3619?

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
On 1 December 2014 at 12:14, Joel Bernstein <jo...@gmail.com> wrote:
> SolrConfigRestApi
Do it again: https://issues.apache.org/jira/browse/SOLR-6476

Regards,
   Alex.

Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853