[Dev] Feature manager is slow

2012-09-10 Thread Rajika Kumarasiri
I just tried to add the feature repository of 4.0.1 into a AS (built from 4.0.1 branch) and it seems it just take too much time. I still can see the message "Adding repository.." and it just there. This need to improve. We just need to load the list features (just names) and install any selected

Re: [Dev] Feature manager is slow

2012-09-10 Thread Dileepa Jayakody
Hi Rajika, Is the repository you are adding a local-repository or a remote repository? Thanks, Dileepa On Mon, Sep 10, 2012 at 2:44 PM, Rajika Kumarasiri wrote: > I just tried to add the feature repository of 4.0.1 into a AS (built from > 4.0.1 branch) and it seems it just take too much time.

Re: [Dev] Feature manager is slow

2012-09-10 Thread Rajika Kumarasiri
It's a local repository. I download the repository into my local file system. Rajika On Mon, Sep 10, 2012 at 2:47 PM, Dileepa Jayakody wrote: > Hi Rajika, > > Is the repository you are adding a local-repository or a remote repository? > > Thanks, > Dileepa > > On Mon, Sep 10, 2012 at 2:44 PM, R

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #276 has FAILED. Change made by 8 authors.

2012-09-10 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #276 failed. --- This build occurred because it is a dependant of WCB001-KER000-187. No failed tests found, a possible c

Re: [Dev] WSO2 developer studio UI testing: SWTBot, Maven Integration

2012-09-10 Thread Kanarupan Kularatnarajah
Hi all, I have been working on DeveloperStudio UI test automation (SWTBot + Maven). The framework has been set and I have started to write tests. I found some custom controls are not very straight forward to be tested. SWTBot [1] has its own API to to find swt components. And the custom control

Re: [Dev] Feature manager is slow

2012-09-10 Thread Rajika Kumarasiri
If you have not done already, here how it should be done. There should be an instance of blocking queue instance which keeps track of requested features to install. There should be a producer task which drop next requested feature list to install into the blocking queue. There should be a consumer

Re: [Dev] Feature manager is slow

2012-09-10 Thread Rajika Kumarasiri
I meant the consumer task should do the feature installation asynchronously. Rajika On Mon, Sep 10, 2012 at 3:54 PM, Rajika Kumarasiri wrote: > If you have not done already, here how it should be done. > > There should be an instance of blocking queue instance which keeps track > of requested f

Re: [Dev] Feature manager is slow

2012-09-10 Thread Dileepa Jayakody
Hi Rajika, Thanks for the pointers. In the feature-manager we are using p2 sdk, calling the p2-api under the hood. For eg: to add and load a repository following code is used by us. IMetadataRepositoryManager metadataRepositoryManager = ServiceHolder.getMetadataRepositoryManager(); IArtifactRepo

Re: [Dev] Feature manager is slow

2012-09-10 Thread Chethiya Abeysinghe
AFAIK, installing a p2 feature means not just copying set of files. It computes required dependency trees too. Looking at the content.xml I think it can take sometime for computation. But always better to check with p2-dev as there can be cases which can be configured to avoid unnecessary dependenc

[Dev] Developer Studio 2.1.0 Milestone 6 Released !

2012-09-10 Thread Kalpa Senanayake
Hi All, *Developer Studio 2.1.0 Milestone 6 Released !* Milestone available at [1] and installed eclipse distribution available at [2]. Bug - [TOOLS-1211 ] - Collaborative Development in multiple environments is broken due to O/S specific metadata

Re: [Dev] Feature manager is slow

2012-09-10 Thread Dileepa Jayakody
Yes Chethiya p2 computes the dependencies before installing features. It is called a provisioning plan. But Rajika's concern is that it's taking a long time at repository adding stage, which should not be performing any dependency computations. But I suspect p2 might be loading all the features in

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #277 was SUCCESSFUL (with 1724 tests). Change made by 13 authors.

2012-09-10 Thread Bamboo
--- WSO2 Carbon BRANCH > Platform_4.0.0 > #277 was successful. --- This build occurred because it is a dependant of WCB001-KER000-188. 1724 tests in total. http:

Re: [Dev] Databridge Cassandra stream definition store cannot be used for storing events in to Cassandra

2012-09-10 Thread Suhothayan Sriskandarajah
Hi Please fix this we have the final session of QA ahead. Suho On Tue, Sep 4, 2012 at 11:17 AM, Suhothayan Sriskandarajah wrote: > Hi > Whats the progress of this ? > > Suho > > > On Fri, Aug 17, 2012 at 5:12 PM, Suhothayan Sriskandarajah > wrote: > >> Hi Tharindu, >> >> Thanks for the quick

[Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Afkham Azeez
Senaka, Pradeep, Can we start on this? I also will join. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * ** email: **az...@wso2.com* * cell: +94 77 3320919 blog: **http://blog.afkham.org*

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Pradeep Fernando
noted. lets do it. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Senaka Fernando
+1, I believe that we're already on it, :). So Azeez, in the context of the perf improvements, what's the CarbonApplicationContext? Can't we replace it with CarbonContext. Also, are people actually reusing CarbonContext from ConfigurationContext, AxisService, MessageContext, HTTPSession etc? or is

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Afkham Azeez
On Mon, Sep 10, 2012 at 8:29 PM, Senaka Fernando wrote: > +1, I believe that we're already on it, :). > > So Azeez, in the context of the perf improvements, what's the > CarbonApplicationContext? Can't we replace it with CarbonContext. > I'm not familiar with CarbonApplicationContext, but the id

Re: [Dev] Databridge Cassandra stream definition store cannot be used for storing events in to Cassandra

2012-09-10 Thread Tharindu Mathew
Will provide a complete fix around Wed. On Mon, Sep 10, 2012 at 8:07 PM, Suhothayan Sriskandarajah wrote: > Hi > Please fix this we have the final session of QA ahead. > > > Suho > > > > On Tue, Sep 4, 2012 at 11:17 AM, Suhothayan Sriskandarajah > wrote: > >> Hi >> Whats the progress of this ? >

Re: [Dev] Feature manager is slow

2012-09-10 Thread Chethiya Abeysinghe
OK. Got it. We can reason out loading meta data of all the features to the memory for computing the dependency tree. But I don't think that needs feature artifacts to be loaded into memory too. I guess how it works is, first it hash all features in memory and then create dependency tree for the use

[Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Senaka Fernando
Hi Tharindu, Job Submission failed with exception 'java.io.IOException(Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified)' [2012-09-10 22:10:03,389] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver} - Job Submission failed with exception 'java.io.IOExcep

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Senaka Fernando
BTW, is this error due to that too? [2012-09-10 22:15:36,921] ERROR {org.apache.hadoop.hive.ql.exec.Task} - D:\Work\DOWNLO~1\WSO2BA~1.0\bin\../repository/logs//wso2carbon.log [2012-09-10 22:15:36,922] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver} - Execution failed with exit status: 2 FAILED

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Tharindu Mathew
Refer [1] and [2]. [1] - http://docs.wso2.org/wiki/display/BAM200/Installation+Prerequisites [2] - http://docs.wso2.org/wiki/display/BAM200/FAQ#FAQ-Igetanexceptionstating- ERRORorgapachehadoophiveqlexecExecDriver-JobSubmissionfailedwithexceptionjavaioIOExceptionCannotrunprogramchmodCreateProcesse

Re: [Dev] BAM ESB integration error..Any reason why?

2012-09-10 Thread Dushan Abeyruwan
Hi Above has resolved once I change the stream name, anyway If I change stream properties that wont get reflected in the published data, and for that I need to create a new stream, another issue is that how to delete OLD streams which I have created is there any GUI feature? cheres Dushan

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Senaka Fernando
Hi Tharindu, Thanks. Actually I just figured that out by reading the doc just now too. That's helpful. By the way, about that other error, I found [1]. Will install Cygwin and check this out. [1] https://wso2.org/jira/browse/BAM-643 Thanks, Senaka. On Mon, Sep 10, 2012 at 10:18 PM, Tharindu Mat

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Senaka Fernando
Hi Amani, I found that CarbonApplicationContext was added in r128928. What's this used for? Thanks, Senaka. On Mon, Sep 10, 2012 at 8:48 PM, Afkham Azeez wrote: > > > On Mon, Sep 10, 2012 at 8:29 PM, Senaka Fernando wrote: > >> +1, I believe that we're already on it, :). >> >> So Azeez, in th

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Senaka Fernando
Hi all, BTW, AFAIU we should be able to use "Bootup Validator" to validate whether Cygwin is installed for BAM on Windows. Thanks, Senaka. On Mon, Sep 10, 2012 at 10:23 PM, Senaka Fernando wrote: > Hi Tharindu, > > Thanks. Actually I just figured that out by reading the doc just now too. > Tha

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Buddhika Chamith
On Mon, Sep 10, 2012 at 10:41 PM, Senaka Fernando wrote: > Hi all, > > BTW, AFAIU we should be able to use "Bootup Validator" to validate whether > Cygwin is installed for BAM on Windows. > +1. Regards Buddhika > > Thanks, > Senaka. > > > On Mon, Sep 10, 2012 at 10:23 PM, Senaka Fernando wro

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Senaka Fernando
Hi guys, Tried with Cygwin and works perfectly. By the way also add the following to the BAM docs to make this complete. "After installing Cygwin, please update your PATH variable by appending ";C:\cygwin\bin". This is required since the default installation of Cygwin might not do this." Better

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Buddhika Chamith
On Mon, Sep 10, 2012 at 11:12 PM, Senaka Fernando wrote: > Hi guys, > > Tried with Cygwin and works perfectly. By the way also add the following > to the BAM docs to make this complete. > > "After installing Cygwin, please update your PATH variable by appending > ";C:\cygwin\bin". This is require

[Dev] [Carbon 4.0.2] ResourceNotFoundException when login in to tenants

2012-09-10 Thread Prabath Siriwardena
Do we need to fix anything from the product side..? Looks like /_system/governance/repository/theme/images/is-mgt-logo.gif is not found... Thanks & regards, -Prabath [2012-09-11 06:17:00,410] @facilelogin.com [1] [WSO2 Identity Server]ERROR {org.wso2.carbon.registry.app.ResourceServlet} - Erro

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Amani Soysa
Hi Senaka, On Mon, Sep 10, 2012 at 10:33 PM, Senaka Fernando wrote: > Hi Amani, > > I found that CarbonApplicationContext was added in r128928. What's this > used for? > > > CarbonApplicationContext is currently used in URL mapper component and > logging component. This is used to store applicat

[Dev] Avoiding svn conflicts possibilities in worker nodes by executing "svn revert" before "svn update" in deployment syncronizer

2012-09-10 Thread Miyuru Wanninayaka
Hi all, If deployment synchronizer do "svn revert -R ." in worker nodes before svn update, won't it avoid any possible svn conflicts in worker node repositories? -- Thanks, Miyuru ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listin

Re: [Dev] [Carbon 4.0.2] ResourceNotFoundException when login in to tenants

2012-09-10 Thread Ajith Vitharana
On Tue, Sep 11, 2012 at 6:22 AM, Prabath Siriwardena wrote: > Do we need to fix anything from the product side..? Looks > like /_system/governance/repository/theme/images/is-mgt-logo.gif is not > found... > > Hi Prabath, I can't find such a .gif file even in the IS source. However, It's name has

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Senaka Fernando
Hi Amani, Alright, but why can't we store that application context information inside the Carbon Context itself. That would reduce the setup overhead by half. Thanks, Senaka. On Tue, Sep 11, 2012 at 6:49 AM, Amani Soysa wrote: > Hi Senaka, > > On Mon, Sep 10, 2012 at 10:33 PM, Senaka Fernando

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Afkham Azeez
On Tue, Sep 11, 2012 at 10:03 AM, Senaka Fernando wrote: > Hi Amani, > > Alright, but why can't we store that application context information > inside the Carbon Context itself. That would reduce the setup overhead by > half. > Yeah, we should be able to do that, and reduce the overhead further.

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Dileepa Jayakody
Hi Senaka, On Mon, Sep 10, 2012 at 10:41 PM, Senaka Fernando wrote: > Hi all, > > BTW, AFAIU we should be able to use "Bootup Validator" to validate whether > Cygwin is installed for BAM on Windows. > > Yes, we can write a validator for BAM extending the BootupValidator to validate whether Cygw

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Amani Soysa
On Tue, Sep 11, 2012 at 10:03 AM, Senaka Fernando wrote: > Hi Amani, > > Alright, but why can't we store that application context information > inside the Carbon Context itself. That would reduce the setup overhead by > half. > > +1 . AS long as we can keep urlMappingOfApp map (for URL mapping)

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Muhammed Shariq
On Mon, Sep 10, 2012 at 8:48 PM, Afkham Azeez wrote: > > > On Mon, Sep 10, 2012 at 8:29 PM, Senaka Fernando wrote: > >> +1, I believe that we're already on it, :). >> >> So Azeez, in the context of the perf improvements, what's the >> CarbonApplicationContext? Can't we replace it with CarbonCont

Re: [Dev] Avoiding svn conflicts possibilities in worker nodes by executing "svn revert" before "svn update" in deployment syncronizer

2012-09-10 Thread Afkham Azeez
On Tue, Sep 11, 2012 at 9:11 AM, Miyuru Wanninayaka wrote: > Hi all, > > If deployment synchronizer do "svn revert -R ." in worker nodes before svn > update, won't it avoid any possible svn conflicts in worker node > repositories? +1. Good suggestion. > > > -- > Thanks, > Miyuru > > _

Re: [Dev] JNDI lookup wont work inside a web-app

2012-09-10 Thread Dimuthu Leelarathne
Hi all, We need this for 4.0.2 at least. Are we progressing on this? Is someone working on this? thanks, dimuthu On Tue, Jul 10, 2012 at 10:34 PM, Pradeep Fernando wrote: > Hi, > > I'm afraid we cant assign a person on this task from the kernel team at > this point, (full time). Of course we a

Re: [Dev] Doesn't BAM run on Windows?

2012-09-10 Thread Tharindu Mathew
We have been getting this question a few times now from first time users as well as experienced users and I'm not convinced that the bootup validator in it's present state will help to reduce the queries. It will present a warning on the command line console and that can be easily missed by users,

[Dev] [Bamboo-Build] Developer Studio > Eclipse-Tools > #323 has FAILED. Change made by jasintha.

2012-09-10 Thread Bamboo
--- Developer Studio > Eclipse-Tools > #323 failed. --- Code has been updated by jasintha. No failed tests found, a possible compilation error. http://wso2.org/b

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #193 was SUCCESSFUL. Change made by azeez.

2012-09-10 Thread Bamboo
--- WSO2 Carbon BRANCH > Kernel_4.0.0 > #193 was successful. --- Code has been updated by azeez. http://wso2.org/bamboo/browse/WCB001-KER000-193/ ---