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/02 08:48:00 UTC

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

    [ https://issues.apache.org/jira/browse/SM-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452244#comment-17452244 ] 

Roy Teeuwen commented on SM-4962:
---------------------------------

It seems that the zookeeper is available, sorry! I didnt find it in the maven repo, but I did find it when going to the servicemix-bundles repo

> 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
>            Priority: Major
>
> 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. 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
> {{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)}}
>  



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