This issue can be resolved by downgrading registry related version to org.wso2.carbon.governance.api_4.7.1 below 4.6.0 and the range to [4.4.0, 5.0.0). But, downgrading a library might break some functionality, So I followed the earlier approach in the above mail.
This issue won't occur if all the bundles follow providing version range like [current major version, next major version) On Fri, Nov 4, 2016 at 2:48 PM, Abimaran Kugathasan <[email protected]> wrote: > Hi All, > > I was able to fix the issue. The root cause of the issue is following. > > While installing Key Manager feature, org.wso2.carbon.governance.api_4.7.1 > was installed as transitive bundle of org.wso2.carbon.apimgt.impl_6.0.4.jar > bundle. > > org.wso2.carbon.governance.api_4.7.1 require > org.wso2.carbon.registry.indexing.service_4.6.0, and it has version range > of [4.6.0, 5.0.0) for registry related bundles, but Identity Server 5.2.0 > has org.wso2.carbon.registry.indexing.service_4.5.4. > > And org.wso2.carbon.apimgt.impl_6.0.4 uses [4.4.0, 4.6.0) range for > registry related bundles. So, I have to increase this version to accomadate > org.wso2.carbon.registry.indexing.service_4.6.0 like [4.4.0, 4.7.0). Have > to copy org.wso2.carbon.registry.indexing.service_4.6.0.jar and add this > to bundle.info was resolved the issue. > > On Wed, Nov 2, 2016 at 3:36 PM, Harsha Thirimanna <[email protected]> > wrote: > >> Hi All, >> >> This is kind of not packaging relevant bundle with the KM features to the >> IS i think. DineshW is investigating this. >> >> *Harsha Thirimanna* >> Associate Tech Lead | WSO2 >> >> Email: [email protected] >> Mob: +94715186770 >> Blog: http://harshathirimanna.blogspot.com/ >> Twitter: http://twitter.com/harshathirimann >> Linked-In: linked-in: http://www.linkedin.com/pub/ha >> rsha-thirimanna/10/ab8/122 >> <http://wso2.com/signature> >> >> On Wed, Nov 2, 2016 at 3:02 PM, Ayesha Dissanayaka <[email protected]> >> wrote: >> >>> Hi Abimaran, >>> >>> If this helps, wso2is-5.2.0/modules/carbon/ module comes from a >>> jaggery-extension , carbon [1]. >>> >>> This dependency in product-is can be found at [2]. >>> >>> [1] https://github.com/wso2/jaggery-extensions/tree/release-1.5.3/carbon >>> [2] https://github.com/wso2/product-is/blob/release-5.2.0/module >>> s/p2-profile-gen/pom.xml#L1287 >>> >>> Thanks! >>> -Ayesha >>> >>> >>> On Mon, Oct 31, 2016 at 3:34 PM, Abimaran Kugathasan <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> The reason for asking this, in Identity Server 5.2.0, after installing >>>> Key Manager feature, dashboard doesn't work. Through Key Manager feature, >>>> following bundles are installed >>>> >>>> om.google.gson_2.2.4.jar, >>>> maven-scm_1.7.0.wso2v2.jar, >>>> org.apache.velocity_1.7.0.jar, >>>> org.wso2.carbon.apimgt.api_6.0.4.jar, >>>> org.wso2.carbon.apimgt.gateway.stub_6.0.4.jar, >>>> org.wso2.carbon.apimgt.handlers.security.stub_6.0.4.jar, >>>> org.wso2.carbon.apimgt.impl_6.0.4.jar, >>>> org.wso2.carbon.apimgt.keymgt_6.0.4.jar, >>>> org.wso2.carbon.apimgt.keymgt.client_6.0.4.jar, >>>> org.wso2.carbon.apimgt.keymgt.stub_6.0.4.jar, >>>> org.wso2.carbon.apimgt.statsupdate.stub_6.0.4.jar, >>>> org.wso2.carbon.apimgt.tier.cache.stub_6.0.4.jar, >>>> org.wso2.carbon.event.processor.stub_2.1.4.jar, >>>> org.wso2.carbon.governance.api_4.7.1.jar, >>>> org.wso2.carbon.identity.user.registration.stub_5.2.0.jar, >>>> org.wso2.carbon.registry.extensions_4.6.0.jar, >>>> pdfbox_1.8.10.wso2v2.jar, >>>> wso2-uri-templates_1.6.5.jar >>>> >>>> When I diagnose each bundle, I can see following error for >>>> org.wso2.carbon.governance.api_4.7.1 bundle >>>> >>>> osgi> diag 272 >>>> reference:file:../plugins/org.wso2.carbon.governance.api_4.7.1.jar >>>> [272] >>>> Direct constraints which are unresolved: >>>> Missing optionally imported package org.wso2.carbon.registry.index >>>> ing.service_4.6.0. >>>> >>>> Since artifacts.js is accessing registry content, I suspect, this >>>> could be an issue with not satisfying above constraint, but it was marked >>>> as optional. >>>> >>>> Please put some shades on. >>>> >>>> >>>> >>>> On Thu, Oct 27, 2016 at 5:05 PM, Abimaran Kugathasan <[email protected] >>>> > wrote: >>>> >>>>> Any hint on this? >>>>> >>>>> On Thu, Oct 27, 2016 at 10:12 AM, Abimaran Kugathasan < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi IS/Registry Teams, >>>>>> >>>>>> >>>>>> I want to know the usage of >>>>>> wso2is-5.2.0/modules/carbon/scripts/registry/artifacts.js >>>>>> script? >>>>>> >>>>>> It was referred through wso2is-5.2.0/modules/carbon/scripts/module.xml >>>>>> and wso2is-5.2.0/modules/carbon/module.xml files. >>>>>> >>>>>> I guess, Identity Server doesn't use any registry related >>>>>> functionalities and this was shipped by some carbon kernel features. >>>>>> Please >>>>>> confirm. >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks >>>>>> Abimaran Kugathasan >>>>>> Senior Software Engineer - API Technologies >>>>>> >>>>>> Email : [email protected] >>>>>> Mobile : +94 773922820 >>>>>> >>>>>> <http://stackoverflow.com/users/515034> >>>>>> <http://lk.linkedin.com/in/abimaran> >>>>>> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> >>>>>> <https://twitter.com/abimaran> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks >>>>> Abimaran Kugathasan >>>>> Senior Software Engineer - API Technologies >>>>> >>>>> Email : [email protected] >>>>> Mobile : +94 773922820 >>>>> >>>>> <http://stackoverflow.com/users/515034> >>>>> <http://lk.linkedin.com/in/abimaran> >>>>> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> >>>>> <https://twitter.com/abimaran> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thanks >>>> Abimaran Kugathasan >>>> Senior Software Engineer - API Technologies >>>> >>>> Email : [email protected] >>>> Mobile : +94 773922820 >>>> >>>> <http://stackoverflow.com/users/515034> >>>> <http://lk.linkedin.com/in/abimaran> >>>> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> >>>> <https://twitter.com/abimaran> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Ayesha Dissanayaka* >>> Software Engineer, >>> WSO2, Inc : http://wso2.com >>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> >>> 20, Palmgrove Avenue, Colombo 3 >>> E-Mail: [email protected] <[email protected]> >>> >> >> > > > -- > Thanks > Abimaran Kugathasan > Senior Software Engineer - API Technologies > > Email : [email protected] > Mobile : +94 773922820 > > <http://stackoverflow.com/users/515034> > <http://lk.linkedin.com/in/abimaran> > <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> > <https://twitter.com/abimaran> > > -- Thanks Abimaran Kugathasan Senior Software Engineer - API Technologies Email : [email protected] Mobile : +94 773922820 <http://stackoverflow.com/users/515034> <http://lk.linkedin.com/in/abimaran> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimarank> <https://twitter.com/abimaran>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
