[Dev] [Blocker] Integration tests hang up when the whole test suite is run

2013-04-18 Thread Tharindu Mathew
Hi, When we run our test suite, after some tests the integration tests hangs up. This is regardless of the tests failing or not. If we run these tests, individually the tests finish. Is there a problem with the integration test framework? PS: You can re-produce this if you run the integration

Re: [Dev] Build broken [was Re: [Commits] [Carbon-platform] svn commit r170526 - in carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cass

2013-04-18 Thread Maninda Edirisooriya
Yes. PortOffsetFetcher.java was not added to svn before committing the patch. Now I see KasunW have fixed the problem in revision r170541. * Maninda Edirisooriya* Software Engineer *WSO2, Inc. *lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *Phone* : +94 777603226 On Wed,

[Dev] What is the suitable Registry stub ?

2013-04-18 Thread Gihan Anuruddha
Hi, I need to used RegistryAdminService for one of Integration testing. Which registry stub should I need to use in order to do operation like getting resource from registry and adding resources to registry. Thanks. -- --- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M:

Re: [Dev] [Blocker] Integration tests hang up when the whole test suite is run

2013-04-18 Thread Krishantha Samaraweera
Hi, Is this the first time you guys experience this behavior. BAM integration tests still depends on old test automation framework which we haven't touched for years. Thanks, Krishantha. On Thu, Apr 18, 2013 at 11:32 AM, Tharindu Mathew thari...@wso2.com wrote: Hi, When we run our test

Re: [Dev] [Blocker] Integration tests hang up when the whole test suite is run

2013-04-18 Thread Kasun Weranga
We faced this issue in BAM 2.2.0 release, before that we didn't get such issue. But couldn't fix it before the release. we ran tests individually for that release. On Thu, Apr 18, 2013 at 12:52 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, Is this the first time you guys

[Dev] Available message Builders and Formatters

2013-04-18 Thread Nalin Chandraratne
Hi, How to identify all the *AVAILABLE* message builders and formatters in run time ? As an example, I want to know whether jsonOmBuilder or JsonStreamBuilder is active. -- Nalin Chamara Software Engineer na...@wso2.com +94715614756 ___ Dev mailing

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nirmal Fernando
Hi Nalin, AxisConfiguration configuration = msgContext.getConfigurationContext().getAxisConfiguration(); Grab the AxisConfiguration and then find the builders and formatters. Will that do? On Thu, Apr 18, 2013 at 3:11 PM, Nalin Chandraratne na...@wso2.com wrote: Hi, How to

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Sagara Gunathunga
On Thu, Apr 18, 2013 at 3:11 PM, Nalin Chandraratne na...@wso2.com wrote: Hi, How to identify all the *AVAILABLE* message builders and formatters in run time ? As an example, I want to know whether jsonOmBuilder or JsonStreamBuilder is active. AFAIK JsonStreamBuilder is a custom builder

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nalin Chandraratne
Hi, @Sagara : The flag strategy only works if the content actually comes through the specific builder. Suppose the content came through a xml builder and we want to find out if the jsonStreamBuilder is active.. Then this method wouldn't work. @Nirmal : Couldn't find the builders from the

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Sagara Gunathunga
On Thu, Apr 18, 2013 at 5:01 PM, Nalin Chandraratne na...@wso2.com wrote: Hi, @Sagara : The flag strategy only works if the content actually comes through the specific builder. Suppose the content came through a xml builder and we want to find out if the jsonStreamBuilder is active.. Then

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nirmal Fernando
On Thu, Apr 18, 2013 at 5:01 PM, Nalin Chandraratne na...@wso2.com wrote: Hi, @Sagara : The flag strategy only works if the content actually comes through the specific builder. Suppose the content came through a xml builder and we want to find out if the jsonStreamBuilder is active.. Then

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nalin Chandraratne
Hi @sagara : active means the builders/formaters which are uncommented in the axis2.xml. (if the Content-Type is application/json either jsomOmBuilder or jsonStreamBuilder is uncommented. want to know which is uncommented in a given time) On Thu, Apr 18, 2013 at 5:08 PM, Sagara Gunathunga

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Sagara Gunathunga
On Thu, Apr 18, 2013 at 5:21 PM, Nalin Chandraratne na...@wso2.com wrote: Hi @sagara : active means the builders/formaters which are uncommented in the axis2.xml. (if the Content-Type is application/json either jsomOmBuilder or jsonStreamBuilder is uncommented. want to know which is

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nalin Chandraratne
Hi, Thanks guys. I could do it with MessageFormatter messageFormatter = axis2MessageContext.getConfigurationContext().getAxisConfiguration().getMessageFormatter(JSON_CONTENT); (Earlier I was using getMessageContext instead of .getConfigurationContext, thats y i couldn't find the correct method.

[Dev] Stats are not updated for one-way JMS messaging in ESB

2013-04-18 Thread Charitha Kankanamge
Hi ESB team, Can we please fix this issue in next ESB release? (ESB-4.7.0). This is an absolute blocker. I think this is applicable for all non HTTP/HTTPS transports. [1]https://wso2.org/jira/browse/ESBJAVA-1887 Thanks! Charitha ___ Dev mailing list

[Dev] Build Failure -patch release 4.1.2

2013-04-18 Thread Kasun Weranga
Hi, I am getting following error. [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar - duplicate declaration of version (?) @ line 182, column 21 [ERROR] Child module

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Sagara Gunathunga
On Thu, Apr 18, 2013 at 5:45 PM, Nalin Chandraratne na...@wso2.com wrote: Hi, Thanks guys. I could do it with MessageFormatter messageFormatter = axis2MessageContext.getConfigurationContext().getAxisConfiguration().getMessageFormatter(JSON_CONTENT); This way of direct accessing

Re: [Dev] Developer oriented content in Carbon documentation

2013-04-18 Thread Isuru Perera
+1 This would be very useful for the WSO2 developer community. On Wed, Apr 17, 2013 at 11:23 PM, Pradeep Fernando prad...@wso2.com wrote: Hi All, Right now our wiki based documentation[1] for Carbon only contains user(middleware user) oriented documentation. However being a server

Re: [Dev] Invitation: [Code Review] LC in RXT Definition @ Fri Apr 19, 2013 2:30pm - 3pm (sen...@wso2.com)

2013-04-18 Thread Senaka Fernando
Hi Eranda, I wont be able to attend due to a pre-sales call @ the exact same time. If unable to move around, please go ahead without me. Thanks, Senaka. On Thu, Apr 18, 2013 at 10:56 AM, Eranda Sooriyabandara era...@wso2.comwrote: more details

Re: [Dev] [Commits] [Carbon-platform] svn commit r170602 - in carbon/platform/branches/4.1.0/patch-releases/4.1.2: components service-stubs

2013-04-18 Thread Sameera Jayasoma
Hi Johan, This commit has broken the patch-release 4.1.2 build. :) I am getting the following error. [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:platform-patch-releases-components:4.1.2

Re: [Dev] [Commits] [Carbon-platform] svn commit r170429 - carbon/platform/branches/4.1.0/patch-releases/4.1.2/features

2013-04-18 Thread Sameera Jayasoma
Because of this commit, I am getting the following build failure. [ERROR] Failed to execute goal on project org.wso2.carbon.humantask: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.humantask:bundle:4.1.2: Could not find artifact

Re: [Dev] Invitation: [Code Review] LC in RXT Definition @ Fri Apr 19, 2013 2:30pm - 3pm (sen...@wso2.com)

2013-04-18 Thread Eranda Sooriyabandara
Hi Senaka, There is no much code changed. But I did move some methods and move validations from Service to the Governance API level which we discussed before.I can show it to you in the architecture review. thanks Eranda On Fri, Apr 19, 2013 at 2:16 AM, Senaka Fernando sen...@wso2.com wrote:

[Dev] Invitation: [Code Review] JMS Message Store / Processor Improvements @ Fri Apr 19, 2013 2:30pm - 3:30pm (is...@wso2.com)

2013-04-18 Thread Ishan Jayawardena
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130419T09Z DTEND:20130419T10Z DTSTAMP:20130419T033910Z ORGANIZER;CN=is...@wso2.com:mailto:is...@wso2.com UID:79371oe28utj724phjvju8h...@google.com

Re: [Dev] [Commits] [Carbon-platform] svn commit r170429 - carbon/platform/branches/4.1.0/patch-releases/4.1.2/features

2013-04-18 Thread Hasitha Aravinda
Hi Sameera, Seems like the org.wso2.carbon.humantask.skeleton:4.1.1 service stub is removed from patch-releases/4.1.1/service-stubs/pom.xml recently (see revision 170564 - After the 4.1.1 patch release). It was there, when I was doing the above change. Since 4.1.1 patch-released is already

Re: [Dev] [Commits] [Carbon-platform] svn commit r170602 - in carbon/platform/branches/4.1.0/patch-releases/4.1.2: components service-stubs

2013-04-18 Thread Krishantha Samaraweera
Seems like 4.1.2 patch release build is still broken. [ERROR] Two or more projects in the reactor have the same identifier, please make sure that groupId:artifactId:version is unique for each project:

Re: [Dev] [Commits] [Carbon-platform] svn commit r170429 - carbon/platform/branches/4.1.0/patch-releases/4.1.2/features

2013-04-18 Thread Reka Thirunavukkarasu
[Adding dev] Hi We have removed except stratos features from 4.1.1, since only stratos2 beta got released with 4.1.1. So, as discussed offline already, appfactory will move to new patch release soon. So that all the BPS features which referred by Appfactory will also get move to new patch

Re: [Dev] [Commits] [Carbon-platform] svn commit r170429 - carbon/platform/branches/4.1.0/patch-releases/4.1.2/features

2013-04-18 Thread Hasitha Aravinda
Hi Ranga, We already added BPS stuffs to 4.1.2 patch release. Only the missing parts in the 4.1.2 patch-release were service stubs. Now those are already added to the 4.1.2 by Sameera. Now problem is solved. Thanks, Hasitha. On Fri, Apr 19, 2013 at 10:01 AM, Ranga Siriwardena ra...@wso2.com

Re: [Dev] Available message Builders and Formatters

2013-04-18 Thread Nalin Chandraratne
Hi Sagara, The method you suggest was what I was doing initially. Builder messageBuilder = MessageProcessorSelector.getMessageBuilder(*JSON_** **CONTENT*, axis2MessageContext); The problem I had with that was, even though I just want to know the available builder for a given ContentType, above