[
https://issues.apache.org/jira/browse/SM-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roy Teeuwen updated SM-4962:
----------------------------
Description:
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)}}
was:
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
> 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)