You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Roy Teeuwen (Jira)" <ji...@apache.org> on 2021/12/01 10:07:00 UTC

[jira] [Created] (SM-4962) Solrj needs zookeeper dependency which is not embedded / available as OSGi bundle

Roy Teeuwen created SM-4962:
-------------------------------

             Summary: Solrj needs zookeeper dependency which is not embedded / available as OSGi bundle
                 Key: SM-4962
                 URL: https://issues.apache.org/jira/browse/SM-4962
             Project: ServiceMix
          Issue Type: Bug
            Reporter: Roy Teeuwen


I am trying to use the org.apache.servicemix.bundles.solr-solrj bundle, but when using it in an OSGi application, I get the following stacktrace:


{{java.lang.NoClassDefFoundError: org/apache/zookeeper/server/ByteBufferInputStream}}
{{at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:698) [org.apache.servicemix.bundles.solr-solrj:8.8.2.1]}}
{{at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266) [org.apache.servicemix.bundles.solr-solrj:8.8.2.1]}}
{{at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248) [org.apache.servicemix.bundles.solr-solrj:8.8.2.1]}}
{{at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient.request(ConcurrentUpdateSolrClient.java:489) [org.apache.servicemix.bundles.solr-solrj:8.8.2.1]}}
{{at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)}}
{{at org.apache.solr.client.solrj.SolrClient.ping(SolrClient.java:986)}}



Could the zookeeper servicemix bundle also be provided or embedded in the solrclient? I'm not an Apache committer myself, but if there is a guide on what steps I should do, I don't mind doing it myself



--
This message was sent by Atlassian Jira
(v8.20.1#820001)