[Dev] ValidationResultPrinter should point to documentation (wiki).

2013-09-22 Thread Senaka Fernando
Hi all, The Production Configuration validation code that runs @ start-up is useful to know that you didn't do something right, but we also need to ensure that the WARN message explains how that can be fixed. Moving forwards, we need to make sure these messages also point to some valid

Re: [Dev] Why was org.wso2.carbon.governance.api 4.2.0 released in chunk01?

2013-09-22 Thread Senaka Fernando
Ping! Thanks, Senaka. On Mon, Sep 16, 2013 at 12:32 PM, Senaka Fernando sen...@wso2.com wrote: Hi Sameera, How is it possible to find out why this feature was released? For instance can I use Maven Dependency Plugin or something similar to figure this out? I need to know what feature used

[Dev] Error while executing integration tests (while running ant command)

2013-09-22 Thread Sanjeewa Malalgoda
Hi Team, I got following error on builder machine while build product(greg) with tests (yesterday). It seems we are trying to execute ant command while running tests. Is this correct behavior? Do we need to install ant in the system or should we use ant jar to run this? [2013-09-22

Re: [Dev] Error while executing integration tests (while running ant command)

2013-09-22 Thread Vijitha Kumara
Hi Sanjeewa, Don't we have ant globally available in the builder? Can you check ant version in builder? I think we should have ant globally anyway? On Sun, Sep 22, 2013 at 6:35 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: Hi Team, I got following error on builder machine while build

Re: [Dev] Error while executing integration tests (while running ant command)

2013-09-22 Thread Dharshana Warusavitharana
Hi Sanjeewa, This is not a normal behavior. Test Automation Framework Core is not depending upon any of ANT tasks. But i do suspect whether TestNg nave internal tasks based on ANT. As per the log the solution would be setting ANT_HOME other than that we do not need to add any jars. Thank You,

Re: [Dev] Build Failure Chunk 02

2013-09-22 Thread Ruwan Yatawara
Encountered a similar error myself. However one thing to note is that you won't get this when running on a clean repo. Thanks, Ruwan On Sep 22, 2013 6:53 PM, Inosh Goonewardena in...@wso2.com wrote: I'm still getting this error. Any idea? On Tue, Sep 17, 2013 at 6:32 PM, Eranda

Re: [Dev] Why was org.wso2.carbon.governance.api 4.2.0 released in chunk01?

2013-09-22 Thread Sameera Jayasoma
Hi Senaka, Test framework depends on the governance.api library. Thats why we had to release this one. We couldn't find a systematic way to find out the dependencies. We used a trusted manual (trial and error) method for this. Thanks, Sameera. On Sun, Sep 22, 2013 at 2:17 PM, Senaka Fernando

Re: [Dev] ValidationResultPrinter should point to documentation (wiki).

2013-09-22 Thread Manoj Kumara
Hi Senaka, +1 about the idea. Currently each product documentation contain this [1] information on configuring the keystore. Since this validation is general to each and every product its better to add this configuration in to Carbon Documentation and provide that link with the WARN message.

Re: [Dev] Error while executing integration tests (while running ant command)

2013-09-22 Thread Sanjeewa Malalgoda
On Sun, Sep 22, 2013 at 8:18 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Sanjeewa, This is not a normal behavior. Test Automation Framework Core is not depending upon any of ANT tasks. But i do suspect whether TestNg nave internal tasks based on ANT. As per the log the

[Dev] Is there any way to check whether Cassandra is up

2013-09-22 Thread Mohanadarshan Vivekanandalingam
Hi All, Is there any way to check whether Cassandra is up or not?? At the moment I have used following method to check for pool hosts and verify Cassandra up or not. Set knownPools = cluster.getKnownPoolHosts(false); But this hector API method continuously retrying to connect with Cassandra and

Re: [Dev] Is there any way to check whether Cassandra is up

2013-09-22 Thread Nirmal Fernando
I'm not sure whether there's some API to do this, but if there's none, you can simply try to connect to the Cassandra port and check whether it's up or not. On Sun, Sep 22, 2013 at 9:36 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: Hi All, Is there any way to check whether

Re: [Dev] How to include source files hosted in Github to the platform build

2013-09-22 Thread Manuranga Perera
do you have to include the source code? I think the best approach is to use it via maven repository. if this version is not in the repo yet , we should release it. (if you need source code , you can use git-svn external, but better if you use the above mentioned approach.) On Sun, Sep 22, 2013

Re: [Dev] How to include source files hosted in Github to the platform build

2013-09-22 Thread Lasantha Fernando
Hi Manu, Releasing this version would be best IMO as well. I don't think ues-1.0.1 feature is in maven repo as yet. Thanks, Lasantha On 22 September 2013 22:57, Manuranga Perera m...@wso2.com wrote: do you have to include the source code? I think the best approach is to use it via maven

Re: [Dev] Is there any way to check whether Cassandra is up

2013-09-22 Thread Mohanadarshan Vivekanandalingam
Hi, Thanks Shelan, It helps a lot.. @Nirmal, yes. That also a got idea but try to find a good solution. Thanks. Regards, Mohan On Sun, Sep 22, 2013 at 10:10 PM, Shelan Perera she...@wso2.com wrote: Hi, I have tried this some time back. If not answer is along that to stop retrying.

[Dev] User Management feature 4.2.1 (was: Fwd: UM, Hazlecast/Caching L1/L2 Issues blocking G-Reg 4.6.0 release)

2013-09-22 Thread Darshana Gunawardana
Hi all, The new User Management feature 4.2.1 which contains fix for [1] added and needed to update respective products p2 poms. Regarding the Chunk-02 release, CEP p2 pom is already updated to $subject and patches for others (APIM and GREG) are attached with this. And other unrelease products,

Re: [Dev] User Management feature 4.2.1 (was: Fwd: UM, Hazlecast/Caching L1/L2 Issues blocking G-Reg 4.6.0 release)

2013-09-22 Thread Darshana Gunawardana
Hi Lasantha, On Mon, Sep 23, 2013 at 1:31 AM, Lasantha Fernando lasan...@wso2.comwrote: Hi Darshana, I think the jira issue [1] should be https://wso2.org/jira/browse/REGISTRY-1957. Can you verify? Yes it is, sorry for the inconvenience. Thanks, Thanks for looking into the issue and

Re: [Dev] Is there any way to check whether Cassandra is up

2013-09-22 Thread Isuru Perera
On Mon, Sep 23, 2013 at 12:10 AM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: Hi, Thanks Shelan, It helps a lot.. @Nirmal, yes. That also a got idea but try to find a good solution. Thanks. Yes! It's good to look for such alternatives instead of directly creating a socket

Re: [Dev] [AF] Error at application creation

2013-09-22 Thread Dimuthu Leelarathne
Hi all, Just checked the control flow. Our EventListeners are singletons. This means they are stateless objects that are invoked by many threads. On app creation, it is calling RestBasedJenkinsCIConnector which is trying to read the username from current carbon context, which breaks it. So we

[Dev] Build failure at patch 0001

2013-09-22 Thread Shelan Perera
Hi, Could you please have a look? [INFO] Scanning for projects... [ERROR] The build could not read 4 projects - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:org.wso2.carbon.user.core:4.2.0