Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Dharshana Warusavitharana
Hi Madhuka, Please refine the instrumentation jars listed in intrumentation.txt. Seems like the jar files which are listed to be instrument were not present in the pack. Id the startup script is different that will be the next point. For that you can have your own server startup module and add

Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Krishantha Samaraweera
It seems like Carbon Home was not set properly. Hence test execution failed at jar instrumentation phase. Need to check whether this is windows specific issue. Thanks, Krishantha. On Thu, Apr 24, 2014 at 11:10 AM, Madhuka Udantha madh...@wso2.com wrote: Getting error start carbon server from

[Dev] ESB Connectors test: Returning -1 as http response code

2014-04-24 Thread Madhawa Bandara
I am using the following sendReuqest() method in the util class in the integration test base to send a request to an API through the ESB connector and get the response. When the *404 Not found *or* 400 Bad request* is returned from the API( API-ESB connector -Test connection), the method

Re: [Dev] HTTP Patch support by ESB 4.8.1

2014-04-24 Thread Malaka Silva
Yes synapse-extensions_2.1.2.wso2v4 is causing this. On Thu, Apr 24, 2014 at 9:49 AM, Madhawa Bandara madh...@wso2.com wrote: I originally put the following patches: *synapse-core_2.1.2.wso2v4* *synapse-nhttp-transport_2.1.2.wso2v4* *synapse-extensions_2.1.2.wso2v4*

[Dev] Please merge DSS integration test commit#5 pull request

2014-04-24 Thread Nuwan Wimalasekara
Hi Chanika Please apply the pull request - https://github.com/wso2/product-dss/pull/5 Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___

Re: [Dev] Global cluster cache invalidation code review Notes

2014-04-24 Thread Amal Gunatilake
Hi Shezni, I have committed the code in my kernel git fork : https://github.com/amalhub/carbon4-kernel Please proceed and let me know if you have any queries. Thank you. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On

[Dev] Cloud URL Mapper Story

2014-04-24 Thread Amani Soysa
Hi, We (Sagara,AmilaM and Amani) had an offline discussion on having URL Mapper functionality in Appserver, and these are the things we discussed. Since AF need the feature to do url mapping for web app's we have done some modifications to the old URL Mapper Component and we are going to make

Re: [Dev] [Data mapper] Declare project constants in a Util class

2014-04-24 Thread Lali Devamanthri
Hi, Aren't we use 'messages.properties' file for declare all constant in a project? Is it only for keep dialog box and wizard messages ? Thanks, Lali On Wed, Apr 23, 2014 at 12:41 PM, Susinda Perera susi...@wso2.com wrote: +1, Move it to a common place so it would be easy for all of us to

Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Krishantha Samaraweera
Hi Dharshana, The startup script naming problems if fixed already - [1]. So the problems is not with startup script name. [1]https://wso2.org/jira/browse/TA-825 Thanks, Krishantha. On Thu, Apr 24, 2014 at 11:43 AM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Madhuka, Please

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Dimuthu Leelarathne
Hi Amani, On Thu, Apr 24, 2014 at 12:29 PM, Amani Soysa am...@wso2.com wrote: Hi, We (Sagara,AmilaM and Amani) had an offline discussion on having URL Mapper functionality in Appserver, and these are the things we discussed. Since AF need the feature to do url mapping for web app's we

Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Madhuka Udantha
Hi, I found the cause for the failure. It is about jaggery file structure By debugging automation.engine [CodeCoverageUtils (line 136)] Where try to access \plugins. jaggery file structure bit different[2] to other wso2 products[1]. Jaggery have extra directory called carbon and it is missing in

Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Krishantha Samaraweera
Any particular reason for making Jaggery directory structure differ from normal carbon directory structure? We can make it configurable, however we need to introduce this configuration to all product test modules. Another alternative would be to change jar instrumentation logic to find plugins

Re: [Dev] Jaggery shifting to test-automation-framework 4.3.1

2014-04-24 Thread Madhuka Udantha
On Thu, Apr 24, 2014 at 2:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Any particular reason for making Jaggery directory structure differ from normal carbon directory structure? decision can be found in here[1]. Simple change is that jaggery root have dir called 'carbon' there

Re: [Dev] IS 5.0.0 - QA status update

2014-04-24 Thread Pavithra Madurangi
On Tue, Apr 22, 2014 at 11:57 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi, The beta pack was supposed to be released today right? But seems it won't. Can we get a date when it will be released? ​Hi Shani, A stable build/beta release is scheduled for end of this week​. Regards, Pavithra

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Amani Soysa
On Thu, Apr 24, 2014 at 1:27 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Amani, On Thu, Apr 24, 2014 at 12:29 PM, Amani Soysa am...@wso2.com wrote: Hi, We (Sagara,AmilaM and Amani) had an offline discussion on having URL Mapper functionality in Appserver, and these are the things

Re: [Dev] IS 5.0.0 - QA status update

2014-04-24 Thread Suneth Ranasinghe
On Mon, Apr 21, 2014 at 8:43 PM, Pavithra Madurangi pavit...@wso2.comwrote: Hi all, Following is the QA status update of IS 5.0.0 release as at 18/04/2014. New features tested at least for happy path. (Please note some of them are partially tested and full path is not covered) - Chained

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Reka Thirunavukkarasu
Hi On Thu, Apr 24, 2014 at 3:12 PM, Amani Soysa am...@wso2.com wrote: On Thu, Apr 24, 2014 at 1:27 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Amani, On Thu, Apr 24, 2014 at 12:29 PM, Amani Soysa am...@wso2.com wrote: Hi, We (Sagara,AmilaM and Amani) had an offline

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Amila Maha Arachchi
Why do you need to ship it by default. IMO, until the AS team is ready to accept this into the product, we shouldn't ship it. Since this is just a jar, adding it to drop ins in our deployments is enough. WDYT? On Thu, Apr 24, 2014 at 1:27 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Amani Soysa
On Thu, Apr 24, 2014 at 3:33 PM, Reka Thirunavukkarasu r...@wso2.comwrote: Hi On Thu, Apr 24, 2014 at 3:12 PM, Amani Soysa am...@wso2.com wrote: On Thu, Apr 24, 2014 at 1:27 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Amani, On Thu, Apr 24, 2014 at 12:29 PM, Amani Soysa

Re: [Dev] [AppFactory] Publishing Notifications to App Wall and User Wall in App Factory

2014-04-24 Thread Shiroshica Kulatilake
Hi Manisha, Quick question - would category 3 above (i.e. notifications) go to the wall as well ? - for FYI purposes .. Thank you, Shiro On Thu, Apr 24, 2014 at 3:25 PM, Manisha Gayathri mani...@wso2.com wrote: Hi all, Extracting from Dmitry's main uberstories, I have created the doc below

Re: [Dev] [AppFactory] Publishing Notifications to App Wall and User Wall in App Factory

2014-04-24 Thread Manisha Gayathri
Yes Shiro.. They will go either to the App /User wall appropriately. Thanks Manisha On Thu, Apr 24, 2014 at 3:57 PM, Shiroshica Kulatilake sh...@wso2.comwrote: Hi Manisha, Quick question - would category 3 above (i.e. notifications) go to the wall as well ? - for FYI purposes .. Thank

Re: [Dev] [Data mapper] Declare project constants in a Util class

2014-04-24 Thread Gayan Yalpathwala
Hi Lali, We use messages.properties file for localization purposes. Here we include only messages that should be conveyed to the user which can later be translated to a different language. So I don't think this is not a good location to store project constants. Thanks, On Thu, Apr 24, 2014 at

Re: [Dev] Cloud URL Mapper Story

2014-04-24 Thread Reka Thirunavukkarasu
Hi On Thu, Apr 24, 2014 at 3:49 PM, Amani Soysa am...@wso2.com wrote: On Thu, Apr 24, 2014 at 3:33 PM, Reka Thirunavukkarasu r...@wso2.comwrote: Hi On Thu, Apr 24, 2014 at 3:12 PM, Amani Soysa am...@wso2.com wrote: On Thu, Apr 24, 2014 at 1:27 PM, Dimuthu Leelarathne

[Dev] Exception in integrating APIM and BAM

2014-04-24 Thread Pasanthi Amarasekera
Hi, I followed https://docs.wso2.org/display/AM160/Publishing+API+Runtime+Statistics to integrate APIM and BAM, then got the following exception after finishing all the steps and run BAM server. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

Re: [Dev] Exception in integrating APIM and BAM

2014-04-24 Thread Nuwan Dias
What is the OS you are running BAM on? Thanks, NuwanD. On Thu, Apr 24, 2014 at 4:38 PM, Pasanthi Amarasekera pasan...@wso2.comwrote: Hi, I followed https://docs.wso2.org/display/AM160/Publishing+API+Runtime+Statistics to integrate APIM and BAM, then got the following exception after

[Dev] Jenkins build is back to normal : carbon-platform-integration-utils » WSO2 Carbon Platform Integration Utils - Common Test Framework Utilities #49

2014-04-24 Thread cbuilder
See http://54.84.136.218:8080/jenkins/job/carbon-platform-integration-utils/org.wso2.carbon$org.wso2.carbon.integration.common.utils/49/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Build failed in Jenkins: carbon-platform-integration-utils #49

2014-04-24 Thread cbuilder
See http://54.84.136.218:8080/jenkins/job/carbon-platform-integration-utils/49/ -- [...truncated 1664 lines...] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/jmeter/ApacheJMeter_core/2.6/ApacheJMeter_core-2.6.pom

[Dev] Build failed in Jenkins: carbon-platform-integration-utils » WSO2 Carbon Platform Integration Utils - Common Test Framework Extensions #49

2014-04-24 Thread cbuilder
See http://54.84.136.218:8080/jenkins/job/carbon-platform-integration-utils/org.wso2.carbon$org.wso2.carbon.integration.common.extensions/49/ -- [...truncated 335 lines...] Downloading:

Re: [Dev] Please merge carbon-commons #2 pull request.

2014-04-24 Thread Kasun Gajasinghe
Hi Thilini, I have merged your fix. Sorry for the late response. On Mon, Apr 21, 2014 at 11:36 AM, Thilini Ishaka thil...@wso2.com wrote: Ping on this. Please merge this fix. Thanks Thilini On Wed, Apr 2, 2014 at 6:47 PM, Thilini Ishaka thil...@wso2.com wrote: Hi KasunG, I need to

Re: [Dev] Please merge carbon-commons #2 pull request.

2014-04-24 Thread Thilini Ishaka
Thanks Kasun. On Thu, Apr 24, 2014 at 4:53 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Thilini, I have merged your fix. Sorry for the late response. On Mon, Apr 21, 2014 at 11:36 AM, Thilini Ishaka thil...@wso2.com wrote: Ping on this. Please merge this fix. Thanks Thilini On

Re: [Dev] [DEV] MB/ESB Integration Flows

2014-04-24 Thread Pamod Sylvester
Configurations which will demonstrate the above mentioned flows can be found in [1]. Also configurations to validate the behavior of ESB as a publisher/subscriber to a topic also could be found in the same location. You could test it through invoking the following services, 1) In order to test

Re: [Dev] Question on making the single jvm pack HA

2014-04-24 Thread Udara Liyanage
Hi, To my understanding Stratos components are not yet scalable. No coordination among two Auto Scalers or other components. On Wed, Apr 23, 2014 at 12:19 PM, Sajith Kariyawasam saj...@wso2.comwrote: Hi Amila, Seems you have sent the mail to a wrong mailing list.. You need to send it to

[Dev] [Appfactory] BAM upgrade

2014-04-24 Thread Shamika Ariyawansa
Hi all, BAM server in App Factory current installation is upgraded to BAM 2.4.1 RC3. Regards -- Shamika Ariyawansa Senior Software Engineer WSO2, Inc.; http://wso2.com LK - +94 7639629 Ext 5999 US - +1 408 754 7388 Ext 51732 Mob:+ 94 772929486 *twitter:

[Dev] Build failed in Jenkins: product-as » WSO2 AppServer - Integration Test Common Utils Module #53

2014-04-24 Thread cbuilder
See http://54.84.136.218:8080/jenkins/job/product-as/org.wso2.appserver$org.wso2.appserver.integration.common.utils/53/ -- [INFO] [INFO]

[Dev] Build failed in Jenkins: product-as #53

2014-04-24 Thread cbuilder
See http://54.84.136.218:8080/jenkins/job/product-as/53/changes Changes: [Kasun Gajasinghe] removing xfer and mex samples -- [...truncated 4092 lines...] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @

[Dev] Axis2 server shifted with wso2esb-4.9.0-SNAPSHOT can not manage more than one aar service.

2014-04-24 Thread Nuwan Wimalasekara
Hi, Once multiple services are deployed in axis2 server shifted with wso2esb, It can not serve the requests for all services. It can only serve the one service which is initialized first. Then other services can not be invoked. @ESB Team I am getting this issue when running the integration test

Re: [Dev] Exception in integrating APIM and BAM

2014-04-24 Thread Thayalan
Also let me know the API-M BAM version. - Thayalan On Thu, Apr 24, 2014 at 4:39 PM, Nuwan Dias nuw...@wso2.com wrote: What is the OS you are running BAM on? Thanks, NuwanD. On Thu, Apr 24, 2014 at 4:38 PM, Pasanthi Amarasekera pasan...@wso2.comwrote: Hi, I followed

[Dev] What AF does with Stratos Manager when creating an app

2014-04-24 Thread Amila Maha Arachchi
Hi AF team, When creating an app, I see AF tries to access SM and I get this error. What is the purpose of this? Why is it getting a 401? TID: [0] [AF] [2014-04-24 08:33:37,256] INFO {org.wso2.carbon.appfactory.application.mgt.listners.EnvironmentAuthorizationListener} -

[Dev] Chunk-09 Build failure in clean repo

2014-04-24 Thread Isuru Udana
Hi, I am getting following in andes. wso2.carbon.coordination.server:4.2.0 is not there in nexus. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total

Re: [Dev] Chunk-09 Build failure in clean repo

2014-04-24 Thread Isuru Udana
Updating andes to use coordination.server 4.2.1 will resolve this build failure. Please do the needful. However build fails again with following. [INFO] WSO2 Carbon - Releases - products - Aggregator Module SKIPPED [INFO]

Re: [Dev] Chunk-09 Build failure in clean repo

2014-04-24 Thread Isuru Udana
Adding axis2-client as a dependency for stubs will resolve this build failure. Please do needful. dependency groupIdorg.apache.axis2.wso2/groupId artifactIdaxis2-client/artifactId version${orbit.version.axis2}/version /dependency Thanks. On Thu, Apr 24, 2014 at 10:36 PM,

Re: [Dev] Chunk-09 Build failure in clean repo

2014-04-24 Thread Shammi Jayasinghe
Hi Isuru, Thank you very much for reporting. Will check all these and fix them as soon as possible. Thanks Shammi On Thu, Apr 24, 2014 at 10:40 PM, Isuru Udana isu...@wso2.com wrote: Adding axis2-client as a dependency for stubs will resolve this build failure. Please do needful.

[Dev] Chunk 10 - Build Failure in a clean repo

2014-04-24 Thread Isuru Udana
Hi, I am getting the following. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:43.266s [INFO] Finished at: Thu Apr 24 23:43:23 IST 2014

Re: [Dev] Axis2 server shifted with wso2esb-4.9.0-SNAPSHOT can not manage more than one aar service.

2014-04-24 Thread Sagara Gunathunga
On Thu, Apr 24, 2014 at 8:41 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi, Once multiple services are deployed in axis2 server shifted with wso2esb, It can not serve the requests for all services. It can only serve the one service which is initialized first. Then other services can not be

Re: [Dev] Flush the 4.3.0 Kernel PR queue

2014-04-24 Thread Krishantha Samaraweera
Auto test WSAS1702WebAppUnpackCheckTestCase.java added to cover this critical issue. Please update QA test case document to keep the link with auto test. Thanks, Krishantha. On Wed, Apr 23, 2014 at 4:52 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Also the fix for :

Re: [Dev] Configuration location for jaggery apps

2014-04-24 Thread Chintana Wilamuna
First of all I think the subject of the mail is a bit misleading or my understanding of Jaggery is incomplete. Jaggery, to me should always be like PHP or NodeJS. There shouldn't be any impose from the platform for rigid config locations. This comes from the Java app server mindset. Application

Re: [Dev] What AF does with Stratos Manager when creating an app

2014-04-24 Thread Manjula Rathnayake
Hi Amila, When we create an application, there is a role associated with this application to handle application level isolation. We have to add set of permissions to this role in cloud environments. This is done through SM. SM is the only server that we can see available in any AF deployment

Re: [Dev] svn deployment synchronizer issue

2014-04-24 Thread Vijayaratha Vijayasingam
In SO , the solution talks about apr folder issue. But we installed NTP in svn server. We haven't faced any issue yet.. On 23 April 2014 22:10, Kishanthan Thangarajah kishant...@wso2.com wrote: The above jira refers to a workaround/solution to this issue at :

Re: [Dev] ESB Connectors - Facebook build error

2014-04-24 Thread Malaka Silva
Hi Dimuthu, You need to add this to [1] and run for the timing. These tests were written for 4.8.1 1. http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/esb/4.8.1/modules/integration/ Best Regards, Malaka On Wed, Apr 23, 2014 at 3:13 PM, Dimuthu De Lanerolle

Re: [Dev] Configuration location for jaggery apps

2014-04-24 Thread Sagara Gunathunga
On Fri, Apr 25, 2014 at 4:44 AM, Chintana Wilamuna chint...@wso2.comwrote: First of all I think the subject of the mail is a bit misleading or my understanding of Jaggery is incomplete. Jaggery, to me should always be like PHP or NodeJS. There shouldn't be any impose from the platform for

[Dev] Jaggery vs Node

2014-04-24 Thread Dakshika Jayathilaka
Hi All, I think its really worth, if we answer this question with proper elaboration.. please have a look.. http://stackoverflow.com/questions/23261698/node-js-vs-wso2-jaggery Thank you, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911

Re: [Dev] Jaggery vs Node

2014-04-24 Thread Madhawa Bandara
It's on hold isn't it? On Fri, Apr 25, 2014 at 9:54 AM, Dakshika Jayathilaka daksh...@wso2.comwrote: Hi All, I think its really worth, if we answer this question with proper elaboration.. please have a look.. http://stackoverflow.com/questions/23261698/node-js-vs-wso2-jaggery Thank you,

Re: [Dev] Jaggery vs Node

2014-04-24 Thread Dakshika Jayathilaka
Yep, but if we add good comparison it will worth. Also we can add it to our library page as wel.. WDYT? On Fri, Apr 25, 2014 at 10:01 AM, Madhawa Bandara madh...@wso2.com wrote: It's on hold isn't it? On Fri, Apr 25, 2014 at 9:54 AM, Dakshika Jayathilaka daksh...@wso2.comwrote: Hi All,

[Dev] WSO2 Platform build failure in clean repo

2014-04-24 Thread Dammina Sahabandu
Hi, I'm getting following error while building the Platform[0] locally in clean repo. It seems like some modules are missing. [ERROR] The build could not read 3 projects - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:carbon-dependents:4.2.0-SNAPSHOT

[Dev] Queries regarding solr based indexing in registry

2014-04-24 Thread Lalaji Sureshika
Hi Ajith, Appreciate your feedback on below queries. 1. Can we add a custom indexer to trigger indexing only in a particular registry path based on particular media types. [For eg: we only need to index registry resources in _system/governance/apimgt/applicationdata/api-docs with media types

[Dev] Update Rampart dependency to version to 1.6.1-wso2v13-SNAPSHOT in Carbon 4.3.0

2014-04-24 Thread Kasun Gajasinghe
Hi, Please note $subject. The people who has migrated the wso2-rampart has forgotten to upgrade the version it seems. It's not upgraded to 1.6.1-wso2v13-SNAPSHOT. Please update your dependency version of rampart. Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email:

[Dev] Need help on AxisFault: Read timed out Exception when reaching a ESB proxy

2014-04-24 Thread Supun Sethunga
Hi, Im trying to secure a non-secured back-end service using a proxy. When i create a secure proxy with policies from the ESB and execute the client, i get the following exception. *Exception in thread main org.apache.axis2.AxisFault: Read timed out at

Re: [Dev] WSO2 Platform build failure in clean repo

2014-04-24 Thread Kasun Gajasinghe
Hi Dammina, Any reason for using this location to build Turing platform? You should use [1]. [1] http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/ On Fri, Apr 25, 2014 at 10:13 AM, Dammina Sahabandu damm...@wso2.comwrote: Hi, I'm getting following error while building the

[Dev] Error in regenerating token due to oauth cache issue

2014-04-24 Thread Sanjeewa Malalgoda
Hi Team, While working on API Manager token generation related issue i found that there are issue in cache invalidation logic. *Problem* When we generate access token in issue() method of AbstractAuthorizationGrantHandler we cache token with consumerkey:authzUser:scope. But when revoke token we