Open kala725 opened 9 years ago
Hello. That servlet container you are using? May be this helps: https://github.com/Heliosearch/heliosearch/issues/25
Hello, "Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native."
I guess you forget to build and include native libraries for heliosearch.
I don't know much details. Could anybody explain how to build and add native lib to classpath?
2015-01-21 14:34 GMT+03:00 argakon notifications@github.com:
Hello. That servlet container you are using?
— Reply to this email directly or view it on GitHub https://github.com/Heliosearch/heliosearch/issues/38#issuecomment-70822824 .
I just extracted & used the java -jar start.jar command as mentioned in the doc. What else I have to do ????
Now error changed to
You have loaded library /data/solr/solr-hs_0.08/example/native/libHS_Linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c
Well I may only guess that you compiled native libs with 64 bit and starting your jar with 32 bit or vice-versa, i.e. something is wrong with compile vs runtime environments (wrong ELF class: ELFCLASS64)
2015-01-22 11:17 GMT+03:00 Arvind notifications@github.com:
Now error changed to
You have loaded library /data/solr/solr-hs_0.08/example/native/libHS_Linux.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. 4895 [main] ERROR org.apache.solr.core.HS – HS: can't load native library: /data/solr/solr-hs_0.08/example/native/libHS_Linux.so: /data/solr/solr-hs_0.08/example/native/libHS_Linux.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
— Reply to this email directly or view it on GitHub https://github.com/Heliosearch/heliosearch/issues/38#issuecomment-70985538 .
I am using heliosearch -0.8
Error Occured while running the following query:
http://localhost:8983/solr/site/elevate?&omitNorms=%22true%22&wt=json&omitHeader=true&indexed=true&enableElevation=true&forceElevation=true&qt=dismax&rows=200&q=_:_&fq=id:1%20id:125%20id:777%20id:321%20id:258
The error is: {"error":{"msg":"java.lang.UnsatisfiedLinkError: org.apache.solr.search.BitDocSetNative.setBits(JJJI)V","trace":"java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: org.apache.solr.search.BitDocSetNative.setBits(JJJI)V\n\tat org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:793)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:434)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)\n\tat