werbapp is not running

79 views
Skip to first unread message

jean.paul....@gmail.com

unread,
Feb 24, 2015, 7:34:14 AM2/24/15
to lum...@googlegroups.com
Hey,

I took the latest version and it looks like it broken
i get this exception when trying to run jetty


Servlet context initialized...
2015-02-24 12:27:22.862:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@352aae6{/,file:/tmp/jetty-0.0.0.0-8080-root.war-_-any-5279439015610179432.dir/webapp/,STARTING}{/root.war}
com.google.inject.ProvisionException: Guice provision errors:||1) Error injecting constructor, com.google.common.util.concurrent.UncheckedExecutionException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[OjMqxS-hRv6P2mL2qwCJHg][securegraph][0]: SearchParseException[[securegraph][0]: from[0],size[10000]: Parse Failure [Failed to parse source [{"from":0,"size":10000,"query":{"function_score":{"query":{"filtered":{"query":{"bool":{"must":{"has_child":{"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"authorizations":["ontology"]},{"term":{"http://lumify.io#conceptType_exactMatch":"concept"}}]}}}},"child_type":"property","score_type":"avg"}}}},"filter":{"and":{"filters":[{"terms":{"__elementType":["vertex"]}},{"authorizations":["ontology"]}]}}}},"functions":[{"script_score":{"script":"_score  * sqrt(     1    + (inEdgeMultiplier * doc['__inEdgeCount'].value)     + (outEdgeMultiplier * doc['__outEdgeCount'].value)    )","lang":"groovy","params":{"outEdgeMultiplier":1.1,"inEdgeMultiplier":1.2}}}]}}}]]]; nested: QueryParsingException[[securegraph] script_score the script could not be loaded]; nested: ScriptException[dynamic scripting for [groovy] disabled]; }|  at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.<init>(SecureGraphOntologyRepository.java:68)|  at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.class(SecureGraphOntologyRepository.java:40)|  while locating io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository|  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:140)|  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:140)|  while locating io.lumify.core.model.ontology.OntologyRepository|    for parameter 3 at io.lumify.securegraph.model.user.SecureGraphUserRepository.<init>(SecureGraphUserRepository.java:60)|  at io.lumify.securegraph.model.user.SecureGraphUserRepository.class(SecureGraphUserRepository.java:39)|  while locating io.lumify.securegraph.model.user.SecureGraphUserRepository|  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:131)|  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:131)|  while locating io.lumify.core.model.user.UserRepository|    for parameter 0 at io.lumify.web.ApplicationBootstrap.setUserRepository(ApplicationBootstrap.java:107)|  while locating io.lumify.web.ApplicationBootstrap||1 error


(attached by the log file)

can you assist
jetty.log

Shishir Kumar

unread,
Feb 25, 2015, 1:58:22 AM2/25/15
to lum...@googlegroups.com
Hi,
This issue is because of the recent release of elastic search which has dynamic scripting disabled. Please add "script.disable_dynamic: false" to the elasticsearch.yml file in docker/dev/elasticsearch folder and rebuild the docker image.

David Singley

unread,
Feb 25, 2015, 8:00:43 AM2/25/15
to lum...@googlegroups.com
We discovered this error the other day, https://github.com/lumifyio/lumify/commit/d474a00f686c1279d632d8daf9c5c4f012fa2cc8

Pull the latest code and then run the docker/build-dev.sh script to update the docker image.
Reply all
Reply to author
Forward
0 new messages