Hi Manoj/Chandana,

Problem here is, we not used content-search feature(
org.wso2.carbon.registry.contentsearch.feature) in jaggery-product. instead
we only bundles the registry indexing component and solr inside jaggeryjs
server feature [1].

> <importBundleDef
> >org.wso2.carbon.registry:org.wso2.carbon.registry.indexing</
> importBundleDef>
> <importBundleDef>org.wso2.apache.solr:solr</importBundleDef>
>

With the solr update, we have to include more bundles which is required by
solr (lucene, zookeeper, commons-io, httpclient etc). Since these are not
bundle inside jaggeryjs server feature, above error occurs while
initializing solr server. These additional bundles are bundled in the
registry content-search feature (org.wso2.carbon.registry.
contentsearch.feature) [2].

As the solution, we either need to add those missing bundles inside the
jaggeryjs server feature or include content-search feature in the
jaggery-product.

1.
https://github.com/wso2/jaggery/blob/master/features/org.jaggeryjs.server.feature/pom.xml
2.
https://github.com/wso2/carbon-registry/blob/master/features/content-search/org.wso2.carbon.registry.contentsearch.server.feature/pom.xml

Thanks
Danesh

On Tue, May 26, 2015 at 2:54 PM, Manoj Kumara <[email protected]> wrote:

> Hi Registry Team,
>
> We are still getting this issue. Will you be able to provide a solution.
>
> Regards,
> Manoj
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
> On Wed, Apr 29, 2015 at 1:41 PM, Thusitha Thilina Dayaratne <
> [email protected]> wrote:
>
>> Hi,
>>
>> I've built the product-as with carbon-registry 4.4.1.
>> When I shutdown the AS server, I'm getting following error
>>
>> Exception in thread "Thread-19" java.lang.NoClassDefFoundError:
>>> org/apache/zookeeper/KeeperException
>>> at
>>> org.wso2.carbon.registry.indexing.solr.SolrClient.<init>(SolrClient.java:119)
>>> at
>>> org.wso2.carbon.registry.indexing.solr.SolrClient.getInstance(SolrClient.java:131)
>>> at
>>> org.wso2.carbon.registry.indexing.AsyncIndexer.<init>(AsyncIndexer.java:100)
>>> at
>>> org.wso2.carbon.registry.indexing.IndexingManager.<init>(IndexingManager.java:61)
>>> at
>>> org.wso2.carbon.registry.indexing.IndexingManager.getInstance(IndexingManager.java:71)
>>> at
>>> org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent$1.startingShutdown(IndexingServiceComponent.java:80)
>>> at
>>> org.wso2.carbon.core.ServerManagement.waitForServerTaskCompletion(ServerManagement.java:113)
>>> at
>>> org.wso2.carbon.core.ServerManagement.startMaintenanceForShutDown(ServerManagement.java:97)
>>> at
>>> org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:878)
>>> at
>>> org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:901)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.zookeeper.KeeperException cannot be found by solr_5.0.0.wso2v1
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> ... 10 more
>>
>>
>> Any idea on this?
>>
>> Thanks
>> Best Regards
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog      alokayasoya.blogspot.com
>> About    http://about.me/thusithathilina
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to