Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems getting ES 1.4.1 to start on Jetty 1.2.1 #72

Open
rimpi05 opened this issue Jan 13, 2015 · 0 comments
Open

Problems getting ES 1.4.1 to start on Jetty 1.2.1 #72

rimpi05 opened this issue Jan 13, 2015 · 0 comments

Comments

@rimpi05
Copy link

rimpi05 commented Jan 13, 2015

Hello,
We recently updated to ES 1.4.1 from ES 1.3.4 with the following setting:
"http.type" => "com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport"

However, on testing some ES nodes start and some don't. Following is the stack trace thrown on failed nodes:

WARN [main] o.e.j.x.XmlConfiguration Config error at
127.0.0.16000002

2015-01-13 19:51:34,703 ERROR [main] c.s.e.h.j.JettyHttpServerTransport [host1] Jetty Startup Failed
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_51]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_51]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_51]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_51]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:807) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1141) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1044) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:735) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:400) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:355) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:296) ~[jetty-xml-8.1.14.v20131031.jar:8.1.14.v20131031]
at com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport$1.onPortNumber(JettyHttpServerTransport.java:125) ~[elasticsearch-jetty-1.2.1.jar:na]
at org.elasticsearch.common.transport.PortsRange.iterate(PortsRange.java:58) [elasticsearch-1.4.1.jar:na]
at com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport.doStart(JettyHttpServerTransport.java:100) [elasticsearch-jetty-1.2.1.jar:na]
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.http.HttpServer.doStart(HttpServer.java:89) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:255) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:122) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:206) [elasticsearch-1.4.1.jar:na]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) [elasticsearch-1.4.1.jar:na]
Caused by: java.lang.NoSuchMethodError: org.eclipse.jetty.server.AbstractConnector: method ()V not found
at org.eclipse.jetty.server.nio.AbstractNIOConnector.(AbstractNIOConnector.java:30) ~[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
at org.eclipse.jetty.server.nio.SelectChannelConnector.(SelectChannelConnector.java:82) ~[jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
... 21 common frames omitted
2015-01-13 19:51:34,704 ERROR [main] bootstrap [host1] {1.4.1}: Startup Failed ...

  • BindHttpException[Failed to bind to [9200]]
    InvocationTargetException
    NoSuchMethodError[org.eclipse.jetty.server.AbstractConnector: method ()V not found]
    2015-01-13 19:51:34,706 INFO [Thread-1] node [host1] stopping ...

Any pointers to what may be going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant