[Dev] Error when building 4.0.2 patch-release POM

2012-09-10 Thread Tishan Dahanayaka
I get the following error when doing $Subject [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:platform-patch-releases-components:4.0.2 (/home/tishan/repo/platform/branches/4.0.0/patch-releases/4.0.2/components/pom.xml) has 1 error [ERROR]

Re: [Dev] P2 Repository for Carbon 4.0.1 releases

2012-09-10 Thread Dileepa Jayakody
Yes please, can we have it expanded and hosted as an online repo like in previous releases? Thanks, Dileepa On Sun, Sep 9, 2012 at 12:53 AM, Kasun Gajasinghe kas...@wso2.com wrote: On Sun, Sep 9, 2012 at 12:40 AM, Senaka Fernando sen...@wso2.com wrote: Hi all, I found that we have a

[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 raj...@wso2.com 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

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 dile...@wso2.com wrote: Hi Rajika, Is the repository you are adding a local-repository or a remote repository? Thanks, Dileepa On Mon, Sep 10, 2012 at

[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

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

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 raj...@wso2.com 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

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();

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

[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 https://wso2.org/jira/browse/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

[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.

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 s...@wso2.comwrote: Hi Whats the progress of this ? Suho On Fri, Aug 17, 2012 at 5:12 PM, Suhothayan Sriskandarajah s...@wso2.comwrote: Hi Tharindu, Thanks

[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/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog:

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

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Afkham Azeez
On Mon, Sep 10, 2012 at 8:29 PM, Senaka Fernando sen...@wso2.com 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,

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 s...@wso2.comwrote: Hi Please fix this we have the final session of QA ahead. Suho On Tue, Sep 4, 2012 at 11:17 AM, Suhothayan Sriskandarajah s...@wso2.comwrote: Hi Whats the progress

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

[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

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

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-

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

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 sen...@wso2.com 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

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 if

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 sen...@wso2.com 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

[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} -

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Amani Soysa
Hi Senaka, On Mon, Sep 10, 2012 at 10:33 PM, Senaka Fernando sen...@wso2.com 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

[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

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 prab...@wso2.comwrote: 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,

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 am...@wso2.com wrote: Hi Senaka, On Mon, Sep 10, 2012 at 10:33 PM,

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Afkham Azeez
On Tue, Sep 11, 2012 at 10:03 AM, Senaka Fernando sen...@wso2.com 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

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 sen...@wso2.com 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

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Amani Soysa
On Tue, Sep 11, 2012 at 10:03 AM, Senaka Fernando sen...@wso2.com 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

Re: [Dev] CarbonContext refactoring hackathon

2012-09-10 Thread Muhammed Shariq
On Mon, Sep 10, 2012 at 8:48 PM, Afkham Azeez az...@wso2.com wrote: On Mon, Sep 10, 2012 at 8:29 PM, Senaka Fernando sen...@wso2.com 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

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 miy...@wso2.com 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 prad...@wso2.com wrote: Hi, I'm afraid we cant assign a person on this task from the kernel team at this point, (full time).