I managed to fix it by fixing versions correctly in the 3.2.x branch version of shindig.
Nuwan/Achala, as we are using a branch version of shindig in the trunk version of the dashboard *I can't fix this in the trunk build*. We have to change shindig trunk code to the 3.2.x version of shindig, which is 1.1.0.wso2v5. Then, we can apply any fix without breaking the dashboard. I have attached the patch, can you change the shindig version in trunk accordingly and apply the patch? On Tue, May 15, 2012 at 12:18 PM, Tharindu Mathew <[email protected]> wrote: > I believe the reason this happens in BAM is because, > > Cassandra brings in Guava, and Shindig binds to that... > > Dashboard binds to google collect... > > I'm also building with a fresh update now. I feel that the resolution is > to make Shindig to explicitly bind to google collect. > > > On Tue, May 15, 2012 at 12:14 PM, Achala Aponso <[email protected]> wrote: > >> Hi, >> >> I will try to build bam2 with the json version of the trunk. It will help >> to identify the exact reason for the issue. >> >> >> >> On Tue, May 15, 2012 at 11:52 AM, Nuwan Bandara <[email protected]> wrote: >> >>> I dont think this is the issue resulted the problem ur having. Achala >>> can you build bam2 with the json version which is available in trunk. its >>> not good to change version at this stage unless its absolute necessity >>> >>> On Tue, May 15, 2012 at 11:36 AM, Tharindu Mathew <[email protected]>wrote: >>> >>>> What is stopping you from committing this change? :) >>>> >>>> >>>> On Tue, May 15, 2012 at 11:32 AM, Achala Aponso <[email protected]>wrote: >>>> >>>>> Hi Tharindu, >>>>> >>>>> I took a svn up. bam2 builds successfully. I made the following >>>>> change to orbit/trunk/json/pom.xml . >>>>> >>>>> - <version>20090211</version> >>>>> + <version>20070829</version> >>>>> >>>>> And the dashboard bundle is in ACTIVE state. >>>>> >>>>> osgi> ss dashboard >>>>> >>>>> Framework is launched. >>>>> >>>>> id State Bundle >>>>> 176 ACTIVE org.wso2.carbon.dashboard_4.0.0.SNAPSHOT >>>>> 177 ACTIVE org.wso2.carbon.dashboard.common_4.0.0.SNAPSHOT >>>>> 178 ACTIVE >>>>> org.wso2.carbon.dashboard.dashboardpopulator_4.0.0.SNAPSHOT >>>>> 179 ACTIVE org.wso2.carbon.dashboard.stub_4.0.0.SNAPSHOT >>>>> 180 ACTIVE org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT >>>>> >>>>> Thanks, >>>>> Achala >>>>> >>>>> >>>>> On Mon, May 14, 2012 at 11:19 PM, Tharindu Mathew >>>>> <[email protected]>wrote: >>>>> >>>>>> Take an up of p2-profile-gen and try now. >>>>>> >>>>>> >>>>>> On Mon, May 14, 2012 at 10:39 PM, Achala Aponso <[email protected]>wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I tried to build bam2 and getting the following error. >>>>>>> >>>>>>> Installing >>>>>>> org.wso2.carbon.identity.authenticator.token.feature.group >>>>>>> 4.0.0.SNAPSHOT. >>>>>>> Installing org.wso2.carbon.ntask.feature.group 4.0.0.SNAPSHOT. >>>>>>> Installing org.wso2.carbon.ntask.feature.group 4.0.0.SNAPSHOT. >>>>>>> Installation failed. >>>>>>> Cannot complete the install because one or more required items could >>>>>>> not be found. >>>>>>> Software being installed: WSO2 Carbon - bam2 Analyzer Feature >>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.bam2.analyzer.feature.group >>>>>>> 4.0.0.SNAPSHOT) >>>>>>> Missing requirement: WSO2 Carbon - bam2 Analyzer Feature >>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.bam2.analyzer.server.feature.group >>>>>>> 4.0.0.SNAPSHOT) requires 'org.apache.synapse.wso2.feature.group >>>>>>> [2.1.0.wso2v6,2.2.0)' but it could not be found >>>>>>> Cannot satisfy dependency: >>>>>>> From: WSO2 Carbon - bam2 Analyzer Feature 4.0.0.SNAPSHOT >>>>>>> (org.wso2.carbon.bam2.analyzer.feature.group 4.0.0.SNAPSHOT) >>>>>>> To: org.wso2.carbon.bam2.analyzer.server.feature.group >>>>>>> [4.0.0.SNAPSHOT] >>>>>>> Application failed, log file location: >>>>>>> /home/achala/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1337014596430.log >>>>>>> >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------ >>>>>>> [INFO] Reactor Summary: >>>>>>> [INFO] >>>>>>> [INFO] WSO2 Business Activity Monitor .................... SUCCESS >>>>>>> [0.244s] >>>>>>> [INFO] WSO2 Business Activity Monitor Styles Parent ...... SUCCESS >>>>>>> [0.010s] >>>>>>> [INFO] WSO2 BAM UI styles ................................ SUCCESS >>>>>>> [2.931s] >>>>>>> [INFO] WSO2 Business Activity Monitor Features Parent .... SUCCESS >>>>>>> [0.007s] >>>>>>> [INFO] WSO2 BAM - Features Aggregator Module ............. SUCCESS >>>>>>> [0.006s] >>>>>>> [INFO] WSO2 BAM - Style Features ......................... SUCCESS >>>>>>> [0.153s] >>>>>>> [INFO] WSO2 Business Activity Monitor P2 Profile Generation Parent >>>>>>> SUCCESS [0.015s] >>>>>>> [INFO] WSO2 BAM Server - BAM Server Profile Generation ... FAILURE >>>>>>> [14.374s] >>>>>>> [INFO] WSO2 Business Activity Monitor Distribution Parent SKIPPED >>>>>>> [INFO] WSO2 Business Activity Monitor - Product .......... SKIPPED >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------ >>>>>>> [INFO] BUILD FAILURE >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------ >>>>>>> [INFO] Total time: 18.491s >>>>>>> [INFO] Finished at: Mon May 14 22:26:40 IST 2012 >>>>>>> [INFO] Final Memory: 33M/1939M >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------ >>>>>>> [ERROR] Failed to execute goal >>>>>>> org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen >>>>>>> (3-p2-profile-generation) on project wso2bam-profile-gen: P2 publisher >>>>>>> return code was 13 -> [Help 1] >>>>>>> [ERROR] >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, May 14, 2012 at 6:25 PM, Tharindu Mathew >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> There seems to be a weird package conflict coming up... I will try >>>>>>>> to dig deeper. >>>>>>>> >>>>>>>> Any help on this is appreciated... >>>>>>>> >>>>>>>> >>>>>>>> osgi> ss dashboard >>>>>>>> >>>>>>>> Framework is launched. >>>>>>>> >>>>>>>> >>>>>>>> id State Bundle >>>>>>>> 175 ACTIVE org.wso2.carbon.dashboard_4.0.0.SNAPSHOT >>>>>>>> 176 ACTIVE org.wso2.carbon.dashboard.common_4.0.0.SNAPSHOT >>>>>>>> 177 ACTIVE >>>>>>>> org.wso2.carbon.dashboard.dashboardpopulator_4.0.0.SNAPSHOT >>>>>>>> 178 ACTIVE org.wso2.carbon.dashboard.stub_4.0.0.SNAPSHOT >>>>>>>> 179 INSTALLED org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT >>>>>>>> >>>>>>>> osgi> start 179 >>>>>>>> org.osgi.framework.BundleException: The bundle >>>>>>>> "org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT [179]" could not be >>>>>>>> resolved. >>>>>>>> Reason: Package uses conflict: Import-Package: org.apache.shindig.auth; >>>>>>>> version="0.0.0", Package uses conflict: Import-Package: >>>>>>>> org.apache.shindig.gadgets.servlet; version="0.0.0", Package uses >>>>>>>> conflict: >>>>>>>> Import-Package: org.apache.shindig.protocol; version="0.0.0" >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333) >>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>>> at >>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>>>>> at >>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140) >>>>>>>> at >>>>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104) >>>>>>>> at java.lang.Thread.run(Thread.java:680) >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> Tharindu >>>>>>>> >>>>>>>> blog: http://mackiemathew.com/ >>>>>>>> M: +94777759908 >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> [email protected] >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Achala Aponso >>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com, >>>>>>> Email: [email protected] Mobile: +94 (77) 5234925 >>>>>>> Blog: http://achala11.blogspot.com/ >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> Tharindu >>>>>> >>>>>> blog: http://mackiemathew.com/ >>>>>> M: +94777759908 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Achala Aponso >>>>> Software Engineer; WSO2 Inc.; http://wso2.com, >>>>> Email: [email protected] Mobile: +94 (77) 5234925 >>>>> Blog: http://achala11.blogspot.com/ >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Tharindu >>>> >>>> blog: http://mackiemathew.com/ >>>> M: +94777759908 >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Thanks & Regards, >>> >>> Nuwan Bandara >>> Associate Technical Lead & Member, MC, Development Technologies >>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 >>> 9629 >>> * >>> <http://www.nuwanbando.com/> >>> >> >> >> >> -- >> Achala Aponso >> Software Engineer; WSO2 Inc.; http://wso2.com, >> Email: [email protected] Mobile: +94 (77) 5234925 >> Blog: http://achala11.blogspot.com/ >> >> >> > > > -- > Regards, > > Tharindu > > blog: http://mackiemathew.com/ > M: +94777759908 > > -- Regards, Tharindu blog: http://mackiemathew.com/ M: +94777759908
shindig.patch
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
