[Dev] Don't commit to APIM old test modules

2015-03-12 Thread Krishantha Samaraweera
Hi APIM Team, Automation team is migrating test suites from old test framework to new one. I've already removed old test modules from integration module POM and applied the pull request four days ago, updated mail thread can be found at "[APIM] Please merge pull request" Note that only following

Re: [Dev] [ESB] wso2esb-4.9.0-M8-SNAPSHOT

2015-03-12 Thread Vanjikumaran Sivajothy
Is the synapse version same in the M7 and M8?? On Fri, Mar 13, 2015 at 12:16 PM, Kathees Rajendram wrote: > Hi, > > I implemented and tested in wso2 esb-4.9.0-M7-SNAPSHOT. I tried to add the > synapse and carbon mediation jar to the wso2 esb-4.9.0-M8-SNAPSHOT pack. > The changes are not picking

[Dev] [ESB] wso2esb-4.9.0-M8-SNAPSHOT

2015-03-12 Thread Kathees Rajendram
Hi, I implemented and tested in wso2 esb-4.9.0-M7-SNAPSHOT. I tried to add the synapse and carbon mediation jar to the wso2 esb-4.9.0-M8-SNAPSHOT pack. The changes are not picking in ESB M8. I built the ESB M8 pack from develop branch. Any suggestion please? Thanks Kathees -- Kathees Software

Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants

2015-03-12 Thread Kala Weerawardana
Hi Shashika, I have attached the error trace in the previous message. (errorLog.txt) Regards, Kala On Thu, Mar 12, 2015 at 9:30 PM, Shashika Karunatilaka wrote: > Hi Kala, > > Can you provide the error trace here. > > Thank you. > > On Thu, Mar 12, 2015 at 8:19 PM, Godwin Amila Shrimal > wrot

Re: [Dev] [App Factory] Getting "java.lang.SecurityException: Illegal access attempt to cache" when trying to access a cache a

2015-03-12 Thread Danushka Fernando
Error says Illegal access attempt to cache ] owned by tenant {[carbon.super],[-1234]} by tenant {[man.com*],[9]}*. I guess that's the cause. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 13, 2015 at 12:08 PM, Gayan Dhanushka wro

[Dev] [App Factory] Getting "java.lang.SecurityException: Illegal access attempt to cache" when trying to access a cache a

2015-03-12 Thread Gayan Dhanushka
Hi all, I am getting $subject while trying to invoke *ApplicationsOfUserCache.getApplicationsOfUserCache().isUserInvitedToApplication(userName);* Following is the stack trace. Any idea on this issue ? [2015-03-13 06:22:18,794] ERROR {module/application/get/list.jag} - Error while getting applica

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Chanaka Jayasena
It's also possible to try with Local Storage. We don't use Local Storage much because of the lack of browser support. But it's possible to use other data storage methods specific to each browser when local storage is not supported ( session storage, globalStorage etc.. ) . [1] is a popular library

Re: [Dev] GSOC 2015

2015-03-12 Thread Imesh Gunaratne
Hi Randika, It's nice to hear your interest on this. The idea of this project is to implement a billing system for WSO2 Private PaaS which could integrate with Google Wallet for invoice generation and payments. The steps to follow would be as follows: - Do a literature review on billing cloud ser

Re: [Dev] STS-Service with security policy

2015-03-12 Thread Godwin Amila Shrimal
Hi, Issue was in the ServicePasswordCallbackHandler, when applying security authorization for resource and do authorization, it has use two resource values. Here we use registry path as the resource value, when applying the security and use same when authorization. Thanks Darshana for the help gi

Re: [Dev] Project proposal 10

2015-03-12 Thread Imesh Gunaratne
Hi Dinanjana, It's nice to hear your interest on this. The idea of this project is to implement a billing system for WSO2 Private PaaS which could integrate with Google Wallet for invoice generation and payments. The steps to follow would be as follows: - Do a literature review on billing cloud s

Re: [Dev] Proposal 5: ESB - AS2 Support

2015-03-12 Thread Amil Shanaka
Hi Sandamal, Thank you very much. I'll look into the details and let you know.. On Thu, Mar 12, 2015 at 10:06 AM, Sandamal Weerasinghe wrote: > Hi Amil, > > Please checkout the master branch from > https://github.com/wso2/product-esb/branches we now use Git. Also take a > look at the inbound en

[Dev] [Carbon] ERROR {org.wso2.carbon.context.internal.OSGiDataHolder} - Before activating Carbon Core bundle, an instance of RegistryService should be in existence When starting the Carbon server

2015-03-12 Thread Thusitha Thilina Dayaratne
Hi, I'm working on adding tomcat 8.0.20 support in Carbon platform. After building the kernel When I'm trying to start the Carbon sever I'm getting the following error. ERROR {org.wso2.carbon.context.internal.OSGiDataHolder} - Before > activating Carbon Core bundle, an instance of RegistryServic

Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription

2015-03-12 Thread Saneth Dharmakeerthi
Cashed invalid request should get overwrite after the subscription or the first invocation after the subscription? first invocation fails and second invocation pass. So the should't the overwrite happened in first call? Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO

Re: [Dev] How to work with remote debug

2015-03-12 Thread Vanjikumaran Sivajothy
you can do remote debugging from your IDE with ESB code. First start the ESB server script with debug option as follows. wso2server.sh -debug 5005 where the number is any port number used for remote debugging from your IDE. Then run debug in your IDE with whatever the port number you assigned. thi

Re: [Dev] How to work with remote debug

2015-03-12 Thread Anuruddha Liyanarachchi
Hi Naasheer, Please have a look in the following blog post. [1]http://dweebslair.blogspot.com/2014/02/wso2-esb-4.html On Fri, Mar 13, 2015 at 10:58 AM, Naasheer Ali wrote: > Hi, > > I'm trying to fix a jira issue (ESBJAVA-3311). Any suggestion or reference > to &subject. > Regards, > -- > > *

[Dev] How to work with remote debug

2015-03-12 Thread Naasheer Ali
Hi, I'm trying to fix a jira issue (ESBJAVA-3311). Any suggestion or reference to &subject. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com ___ Dev mailing list Dev@

Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription

2015-03-12 Thread Nuwan Dias
We cache the invalid access requests as well. So that someone with an invalid token can't overload the system (much). Thanks, NuwanD. On Fri, Mar 13, 2015 at 10:33 AM, Saneth Dharmakeerthi wrote: > Hi Nuwan, > > With *false* it is > working correctly. First new API invocation after re-subscrip

Re: [Dev] GSOC2015:PROJECT

2015-03-12 Thread Supun Sethunga
Hi, You can find all the necessary libraries in the Maven Repository [1]. Please use the latest version of spark (v1.2.1). [1] http://mvnrepository.com/artifact/org.apache.spark Regards, Supun On Fri, Mar 13, 2015 at 6:27 AM, Tharinda Ehelepola wrote: > Hi, > > I checked the methods of apache

Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription

2015-03-12 Thread Saneth Dharmakeerthi
Hi Nuwan, With *false* it is working correctly. First new API invocation after re-subscription is not getting failed even a false invocation happens before doing the re-subscription. But it is strange the behaviour with *true*, because first new API invocation after re-subscription is getting f

Re: [Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Udara Liyanage
Hi Hasanthi, Jars inside plugins directory are written in the bundles.info file. Though you replace a jar with a new version, it won't get affected since original version is written in bundles.info file. You can apply the new jar as a patch or place the new jar inside droppings folder (given the j

Re: [Dev] Implementation of API Manager-API Life Cycle Integration Test Cases

2015-03-12 Thread Saneth Dharmakeerthi
Hi Krishantha, I Updated the document with test classes mapping . Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Thu, Mar 12, 2015 at 8:01 PM, Krishantha Samaraweera wrote: > Hi Saneth, > > Can you update the QA test case document wit

Re: [Dev] Orbit update for Paho-MQTT Library

2015-03-12 Thread Kishanthan Thangarajah
Did you go through the checklist of items for orbit creation process? There is a doc on this. On Mon, Mar 9, 2015 at 6:03 PM, Eranda Rajapakshe wrote: > Hi, > > Please review the pull request [1]. > > [1]. *https://github.com/wso2/orbit/pull/67 > * > > Than

Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription

2015-03-12 Thread Nuwan Dias
Hi Saneth, I think this is due to the caching of the older token. Can you please try again by setting to 'false' in the api-manager.xml? Thanks, NuwanD. On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi wrote: > [Adding: Kala and Krishantha ] > > Hi, > > I tested this issue with both 1.9.

Re: [Dev] [DEV][MB] Error when configuring mb in cluster mode with mysql

2015-03-12 Thread Megala Uthayakumar
Hi all, I was able to solve the problem by using the MB 2.2 documentation. Thanks for your responses. On Fri, Mar 13, 2015 at 9:01 AM, Awanthika Senarath wrote: > Hi Megala, > > Please ensure that your mysql database is accessible via the URL you have > provided with the username and passowrd.

Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509

2015-03-12 Thread Kala Weerawardana
Hi Maheeka, Is it a problem in ELB configurations? If so will you be able to explain? Thanks, Kala On Fri, Mar 13, 2015 at 9:05 AM, Maheeka Jayasuriya wrote: > Hi Kala, > > I was also unable to resolve the issue. The problem seems to be in the > ELB. > > Thanks, > Maheeka > > Maheeka Jayasuriy

Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509

2015-03-12 Thread Maheeka Jayasuriya
Hi Kala, I was also unable to resolve the issue. The problem seems to be in the ELB. Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Fri, Mar 13, 2015 at 8:38 AM, Kala Weerawardana wrote: > Hi, > > I tried to invoke a proxy service in an ESB cluster and gets the

Re: [Dev] [DEV][MB] Error when configuring mb in cluster mode with mysql

2015-03-12 Thread Awanthika Senarath
Hi Megala, Please ensure that your mysql database is accessible via the URL you have provided with the username and passowrd. I believe the url paramter should be something like this. jdbc:mysql://localhost:3306/WSO2_MB regards Awanthika On Thu, Mar 12, 2015 at 12:

Re: [Dev] Fwd: Fix for issue https://wso2.org/jira/browse/CARBON-15009

2015-03-12 Thread Kishanthan Thangarajah
Hi Firzhan, Can you confirm whether this fix is added to kernel 4.3.0/4.4.0? On Fri, Oct 17, 2014 at 4:30 PM, Firzhan Naqash wrote: > > > Hi, > > Since this else causes some issues on JDBC secondary user stores, I have > attached the diff file which removes it. > > Please review and merge it f

Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription

2015-03-12 Thread Saneth Dharmakeerthi
[Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case "AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2]" will

Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509

2015-03-12 Thread Kala Weerawardana
Hi, I tried to invoke a proxy service in an ESB cluster and gets the same error. [2015-03-13 03:05:09,858] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.

Re: [Dev] GSOC2015:PROJECT

2015-03-12 Thread Tharinda Ehelepola
Hi, I checked the methods of apache spark. Some of them are related to wrangler script. I run spark as a maven project. But I am not able to run example code in java. Because it asking about the libraries. I found some simple example from stackoverflow . But I am not able to find the library of sp

Re: [Dev] [Jaggery] From where does getOutputs in block files are called?

2015-03-12 Thread Bhathiya Jayasekara
I just found that it is called like this via includeBlock. <% jagg.includeBlock("subscription/subscription-list-element", {app:selectedApp,i:900}); %> Thanks, Bhathiya On Thu, Mar 12, 2015 at 6:17 PM, Bhathiya Jayasekara wrote: > Hi all, > > In a Jaggery block file, there is below function. >

[Dev] [Announce] WSO2 App Factory 2.1.0 RC Released!

2015-03-12 Thread Amalka Subasinghe
WSO2 App Factory 2.1.0 RC Released! WSO2 App Factory team is pleased to announce the release of version 2.1.0 RC of the WSO2 App Factory. WSO2 App Factory is a multi-tenant, elastic and self-service enterprise platform that enables multiple project teams to collaboratively create, run and manag

Re: [Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Hasanthi Purnima Dissanayake
Hi Tharindu, I solved the problem by creating a higher patch number inside the patches folder as you suggested. Thanks for your guidance. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com M :0718407133| http://wso2.com On Thu, Mar 12, 2015 at 9:24 PM, Tharin

Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants

2015-03-12 Thread Shashika Karunatilaka
Hi Kala, Can you provide the error trace here. Thank you. On Thu, Mar 12, 2015 at 8:19 PM, Godwin Amila Shrimal wrote: > Hi Kala, > > What is the ESB version you are using here ? mean time can you attach the > wso2carbon.log file. > > > Thanks > Godwin > > > On Thu, Mar 12, 2015 at 8:16 PM, Ka

Re: [Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Tharindu Edirisinghe
Hi Hasanthi, Replacing the jar files directly in the plugins folder is not recommended because when you start IS, the jars in the plugins folder can get replaced by the jars in patch folders. Can you create a folder with a higher patch number than existing (eg : patch0999) inside /repository/compo

Re: [Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Hasanthi Purnima Dissanayake
Hi Tharindu, No I did not create a patch folder. I just replaced the spring.framework_3.2.9.wso2v1.jar inside product-is/modules/distribution/target/wso2is-5.1.0-SNAPSHOT/repository/components/plugins with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. Please g

Re: [Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Tharindu Edirisinghe
Hi Hasanthi, "As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0" How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the ja

Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants

2015-03-12 Thread Godwin Amila Shrimal
Hi Kala, What is the ESB version you are using here ? mean time can you attach the wso2carbon.log file. Thanks Godwin On Thu, Mar 12, 2015 at 8:16 PM, Kala Weerawardana wrote: > Hi, > > I created an ESB cluster fronted by ELB. Created a LDAP server through > ApacheDS. > > When creating a ten

[Dev] [ESB] [Cluster] Error when trying to log in with the created tenants

2015-03-12 Thread Kala Weerawardana
Hi, I created an ESB cluster fronted by ELB. Created a LDAP server through ApacheDS. When creating a tenant the bellow error occurred. "ERROR - TenantPersistor Error in changing the tenant admin password for tenant domain:" To fix this, I applied the patch related to [1]. The problem solved and

[Dev] [IS]Can not access oauth2 authorize endpoint url

2015-03-12 Thread Hasanthi Purnima Dissanayake
Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in t

Re: [Dev] Implementation of API Manager-API Life Cycle Integration Test Cases

2015-03-12 Thread Krishantha Samaraweera
Hi Saneth, Can you update the QA test case document with correct mapping for test classes. Thanks, Krishantha. On Thu, Mar 12, 2015 at 7:51 PM, Saneth Dharmakeerthi wrote: > Please find the progress update of phase2, > > Pull request : https://github.com/wso2/product-apim/pull/49 > > This pu

Re: [Dev] App Factory API

2015-03-12 Thread Samith Dassanayake
Hi Dulitha, I assume your production URL is [1] and it seems it has successfully deployed in the production stage. Could you please elaborate on this more. When did you get this error? I mean what are the operations(api cals) that you've tried and resulted in above error. [1] * dmbk1991.dmbk1991.w

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Samith Dassanayake
Hi Anuruddha, Please find my comments inline. On Thu, Mar 12, 2015 at 2:21 AM, Anuruddha Premalal wrote: > > > On Thu, Mar 12, 2015 at 12:58 PM, Gayan Dhanushka wrote: > >> Hi Anuruddha/ Danushka, >> >> FYI, I checked the code again and noticed that calling getAllAppsOfUser >> from the user hom

Re: [Dev] Carbon Kernal 4.2.0 fixes required for patch0010

2015-03-12 Thread Supun Malinga
Hi, There is another thread for this. Let's continue that. thanks, On Tue, Mar 10, 2015 at 10:09 AM, Thilini Shanika wrote: > Hi, > > Can you please apply the fix provided with the JIRA [1] to Carbon Kernal > patch0010? > > [1] - https://wso2.org/jira/browse/APPM-333 > > Thanks > -- > Thilini

Re: [Dev] Please merge PR for IDENTITY-3052 and APPM-333

2015-03-12 Thread Supun Malinga
Hi Sameera. Can someone pls apply this into patch0010 ?. Seems I don't have permission to commit. thanks, On Thu, Feb 26, 2015 at 11:20 AM, Chanuka Dissanayake wrote: > Hi Supun, > > I have attached the svn diff for patch0010 [1] in the JIRA [2], please > commit that as well. > > [1] > https:/

Re: [Dev] WSDL generation for SOAP webservice ISSUE

2015-03-12 Thread Sagara Gunathunga
On Thu, Mar 12, 2015 at 5:44 PM, Anjana Fernando wrote: > Hi Pubudu, > > Maybe Enums are not supported in Axis2, maybe Sagara may know more about > this. As a quick workaround, avoid using Enums in the service and use > something else to represent that, either a string value or something > suitab

[Dev] [Jaggery] From where does getOutputs in block files are called?

2015-03-12 Thread Bhathiya Jayasekara
Hi all, In a Jaggery block file, there is below function. getOutputs:function (inputs) { //some logic } Can someone please tell me who calls this function (when a template is loading) because I want to know at where this "input" value is populated. Thanks, -- *Bhathiya Jayasekara* *Software

Re: [Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error

2015-03-12 Thread Krishantha Samaraweera
Hi Maheeka, Test framework shutdown the server forcefully at the end all test suite execution. This error is thrown when forcefully shutting down the server. You better manually shutdown the ESB server and check this. Thanks, Krishantha. On Thu, Mar 12, 2015 at 5:39 PM, Dimuthu De Lanerolle

Re: [Dev] WSDL generation for SOAP webservice ISSUE

2015-03-12 Thread Anjana Fernando
Hi Pubudu, Maybe Enums are not supported in Axis2, maybe Sagara may know more about this. As a quick workaround, avoid using Enums in the service and use something else to represent that, either a string value or something suitable. Cheers, Anjana. On Thu, Mar 12, 2015 at 5:36 PM, Pubudu Dodango

Re: [Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error

2015-03-12 Thread Dimuthu De Lanerolle
Hi Maheeka, Did you try whats suggest in the following mail thread? [1] [Dev] org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException is throwing GIT built apim Regards On Thu, Mar 12, 2015 at 5:02 PM, Maheeka Jayasuriya wrote: > Hi Automation Team, > > I am getting the below

Re: [Dev] [App Factory] User's invited to an application does not see the application until re login

2015-03-12 Thread Dimuthu Leelarathne
Hi Guys, Don't over engineer. Please look at famous websites. Look how GitHub handle stuff. thanks, dimuthu On Thu, Mar 12, 2015 at 2:54 PM, Manjula Rathnayake wrote: > Hi Gayan, > > It is JMS pub/sub model we have implemented for showing error messages to > the users with guaranteed delivery

[Dev] WSDL generation for SOAP webservice ISSUE

2015-03-12 Thread Pubudu Dodangoda
I am trying to write a carbon component by referring link I can generate the correct WSDL file for a simple service But when the service class is kind of complex, I get the following issue, when trying to test the w

Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-12 Thread Dakshika Jayathilaka
Congratulations Dinesh !!! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Mar 12, 2015 at 5:29 PM, Ashan Dhananjaya wrote: > Congratulations Dinesh! > > Ashan Dhananjaya Kumara > Trainee Software Engineer, WSO2 Inc. > Inc: *WSO2 Inc. * > Phone

Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-12 Thread Ashan Dhananjaya
Congratulations Dinesh! Ashan Dhananjaya Kumara Trainee Software Engineer, WSO2 Inc. Inc: *WSO2 Inc. * Phone : +94715547461 Blog : http://ashandhananjaya.blogspot.com/ Twitter : https://twitter.com/Dhananjaya92 Say ello :https://ello.co/ashandk On Thu, Mar 12, 2015 at 4:53 PM, Supun Seth

[Dev] [IS] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter

2015-03-12 Thread Chanuka Dissanayake
Hi, I'm getting following error when building the git product-is, I have successfully build the carbon identity and the carbon-commons respectively. java version "1.6.0_65" [INFO] --- maven-site-plugin:3.0:site (create-documentation-module) @ wso2is --- [WARNING] Error injecting: org

Re: [Dev] GSOC2015:PROJECT

2015-03-12 Thread Supun Sethunga
Hi Tharinda, Please find the comments inline. I think the major part of this project is create a back end of java code > created using wrangler script. Yes. Wrangler scripts are mostly done by javascript. So I need to convert those > into java. Yes. Further, java code should be Apache Spark Tr

[Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error

2015-03-12 Thread Maheeka Jayasuriya
Hi Automation Team, I am getting the below error at the end of integration test execution. Can you explain the cause of this, and how to avoid? INFO [org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener] - Inside Test Suite Listener - On Finish INFO [org.wso2.carbon.automation.engin

Re: [Dev] [GSoC-2015] Proposal 3: ESB - Netty transport enhancements

2015-03-12 Thread Isuru Ranawaka
Hi Achintha, Ok lets meet I will inform you. Thanks On Thu, Mar 12, 2015 at 9:51 AM, Achintha Reemal wrote: > Hi Isuru, > > Will it be possible to have a little discussion on how Netty Transport for > Pass-thru has being implemented, as it would help me grasp the intentions > behind the projec

Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-12 Thread Supun Sethunga
Congratz Dinesh! On Thu, Mar 12, 2015 at 10:26 AM, Kalpa Welivitigoda wrote: > Congratulations Dinesh! > > On Thu, Mar 12, 2015 at 10:22 AM, Tharindu Edirisinghe > wrote: > >> Congratulations Dinesh !! >> >> On Thu, Mar 12, 2015 at 10:20 AM, Tharindu Dharmarathna < >> tharin...@wso2.com> wrote:

Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-12 Thread Dilan Udara Ariyaratne
Congratulations Dinesh !!! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. Mobile: +94775149066 lean . enterprise . middleware On Thu, Mar 12, 2015 at 12:21 PM, Harsha Kumara wrote: > Congratulations Dinesh! > > On Thu, Mar 12, 2015 at 12:15 PM, Prasanna Dangalla > wrote:

[Dev] [App-Manager] Query On APP-Manager Web App Description

2015-03-12 Thread Yasassri Ratnayake
Hi AM Team, When creating a webapp I observed a field named description, but after creating the webapp this field is not visible in the publisher or store. What is the intended purpose of this field. Shouldn't description be visible in the store to the end-users? Based on this observation I have

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Dimuthu Leelarathne
Hi all, The idea is to check the flag when the block layer is called and clear the session when it is called. That is until we have web sockets. Lets not over engineer stuff. thanks, dimuthu On Thu, Mar 12, 2015 at 2:51 PM, Anuruddha Premalal wrote: > > > On Thu, Mar 12, 2015 at 12:58 PM, Gay

Re: [Dev] [AppFactory] Error while creating an application

2015-03-12 Thread Fathima Dilhasha
Thank you. I'll have a look. Regards, Dilhasha *M.N.F. Dilhasha* Software Engineering Intern | *WSO2 Lanka* email : *dilha...@wso2.com *mobile : +94 77 8449321 On Thu, Mar 12, 2015 at 3:11 PM, Chathurika De Silva wrote: > Hi > > There a reported jira [1] which is similar to your exception.

Re: [Dev] [AppFactory] Error while creating an application

2015-03-12 Thread Chathurika De Silva
Hi There a reported jira [1] which is similar to your exception. Maybe the related fix will be a help to you [1] https://wso2.org/jira/browse/APPFAC-2717 Thank You Erandi On Thu, Mar 12, 2015 at 3:06 PM, Fathima Dilhasha wrote: > Hi, > > I am trying to create an application in the private clo

[Dev] [AppFactory] Error while creating an application

2015-03-12 Thread Fathima Dilhasha
Hi, I am trying to create an application in the private cloud deployed in the remote machine at 192.168.57.4 It gives the following error. *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/lifecycle/lifecycle.jag} - Error in calling manage generic artifact service JavaException: org.jagger

Re: [Dev] [App Factory] User's invited to an application does not see the application until re login

2015-03-12 Thread Manjula Rathnayake
Hi Gayan, It is JMS pub/sub model we have implemented for showing error messages to the users with guaranteed delivery. thank you. On Thu, Mar 12, 2015 at 2:50 PM, Gayan Dhanushka wrote: > Hi Manjula, > > Since we don't send mails when the users are invited to an application as > of yet we wou

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Anuruddha Premalal
On Thu, Mar 12, 2015 at 12:58 PM, Gayan Dhanushka wrote: > Hi Anuruddha/ Danushka, > > FYI, I checked the code again and noticed that calling getAllAppsOfUser > from the user home page is not needed anymore. It is used in the eventing > page template. So updating the "application_list" in session

Re: [Dev] [App Factory] User's invited to an application does not see the application until re login

2015-03-12 Thread Gayan Dhanushka
Hi Manjula, Since we don't send mails when the users are invited to an application as of yet we would be needing some other way of doing this if it is essential. IMO, a messaging mechanism won't work since this is the logged in user's session that we are talking about. Another thing that we can do

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Pamod Sylvester
Tombstones became the killer :( The plan is to consolidate the unassigned slot ranges together and schedule the content to be removed within that range only so that the query will not grab tombstones. Thanks, Pamod On Thu, Mar 12, 2015 at 2:11 PM, Hasitha Hiranya wrote: > Hi, > > Idea was when

Re: [Dev] Securing keystorePass in catalina-server.xml with secure vault - CARBON-13743

2015-03-12 Thread Niranjan Karunanandham
Hi Kishanthan, The value that was in the catalina-server.xml for keystorePass will not be removed after running the cipher tool. The cipher tool will encrypt the value in cipher-text.properties and insert svns:secretAlias="Server. Service.Connector.keystorePass">password to catalina-server.xml. W

Re: [Dev] [App Factory] User's invited to an application does not see the application until re login

2015-03-12 Thread Manjula Rathnayake
Hi all, IMO, the current behavior is ok because inviting to an application is followed by an email and we can mention to login in and check. But if above is really an issue we need to attend, we should be able to use guaranteed delivery messages to send the new event about new application and upd

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Gayan Dhanushka
Hi Anuruddha/ Danushka, FYI, I checked the code again and noticed that calling getAllAppsOfUser from the user home page is not needed anymore. It is used in the eventing page template. So updating the "application_list" in session from the notification wall template is enough. Further more "applic

Re: [Dev] 403 Status when DELETE using JAX-RS

2015-03-12 Thread Supun Malinga
Hi, Shall we keep this in a common location such as [4]. This scenario is common for all application types. [4] https://docs.wso2.com/display/AS521/Application+Development+and+Deployment On Wed, Mar 11, 2015 at 8:47 PM, Nilmini Perera wrote: > Hi, > > @Supun/@Kasun- > > Could you please check

[Dev] [App Factory] User's invited to an application does not see the application until re login

2015-03-12 Thread Gayan Dhanushka
Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The app

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Hasitha Hiranya
Hi, Idea was when last subscriber goes purge the messages without getting slots involved because it need to happen lightweight and fast. Thanks On Thu, Mar 12, 2015 at 3:16 AM, Pamod Sylvester wrote: > +1 Agreed, also as you and Ramith mentioned deleting the content directly > will not be poss

Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP

2015-03-12 Thread Mohanadarshan Vivekanandalingam
On Tue, Mar 10, 2015 at 6:03 PM, Pubudu Fernando wrote: > Hi, > > Thank you very much for the Google Hangout session today. It was very > helpful in getting a good idea about what is expected from us. I had some > issues with the connection towards the end of the session, so I couldn't > raise my

Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320

2015-03-12 Thread Krishantha Samaraweera
I have been evaluating Jacoco (EclEmma) as code coverage generation tool for last couple of days, and was about to get the coverage dump file after executing integration tests. However coverage report generation is bit cumbersome using coverage dump files. Jacoco was initially designed for unit tes

Re: [Dev] [Jaggery] Try finally blocks with out a catch block

2015-03-12 Thread Chanuka Dissanayake
Hi Mahesh, Jaggery is JavaScript, hence *try, catch *and* finally* blocks can be used within your code as you usual. Also, passed JavaScript *Error* object can be used to get a brief information about the error [1]. Also you can find a sample in [2]. Hope this will help you. [1] http://ruchirawa

Re: [Dev] [GSoC-2015] Proposal 4: ESB - JMS 2.0 support for transports and inbound endpoint

2015-03-12 Thread Eranda Rajapakshe
hi, Thank you for the given references! I went though WSO2 ESB JMS documents and I found most samples are mainly discussed with ActiveMQ broker and WSO2 MB. But I am not sure whether AcitveMQ support JMS 2.0 ( cause I found this [1] on one of their mail threads ). Also, WSO2 MB doesn't support J

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Pamod Sylvester
+1 Agreed, also as you and Ramith mentioned deleting the content directly will not be possible with the current architecture, since matadata is partitioned based on the queue/topic but the message content is not and ranges could overlap between multiple topics/queues. Therefore, we could invoke th

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Hasitha Amal De Silva
Hi Pamod, +1 for the solution. as discussed, we can use a single service call to fetch all slots from the coordinator for the given queue, and trigger single message deletions (referring to OnflightMessageTracker and SlotDeliveryWorker) . This will ensure that tombstones are not read when purging

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Pamod Sylvester
+1 that's a good point. We could define a function to normalize the slot range through consolidating of all the remaining slots together. On Thu, Mar 12, 2015 at 1:22 PM, Asitha Nanayakkara wrote: > Hi Pamod > > Querying the remaining slots and removing content directly is OK. As an > improvemen

Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion

2015-03-12 Thread Asitha Nanayakkara
Hi Pamod Querying the remaining slots and removing content directly is OK. As an improvement you can add a separate method in slot coordinator to get that message range of all the slots, to reduce cluster communication, and then do the necessary processing in the local node it self. Thanks, Asith

Re: [Dev] GSOC2015:PROJECT

2015-03-12 Thread Tharinda Ehelepola
Hi, I think the major part of this project is create a back end of java code created using wrangler script. Wrangler scripts are mostly done by javascript. So I need to convert those into java. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. e

Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute

2015-03-12 Thread Anuruddha Premalal
Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layer

Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-12 Thread Kasun De Silva
Congratulations Ashan!!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Tue, Mar 10, 2015 at 6:17 PM, Vijitha Ekanayake wrote: > Congratulations Ashan !!! > > On Tue, Mar 10, 2015 at 6:12 PM, C

[Dev] STS-Service with security policy

2015-03-12 Thread Godwin Amila Shrimal
Hi, I am working on persisting security policy to registry, earlier it use file based persistence model. I have completed most of the registry persistence and doing testing. After applying "UsernameToken" policy to sts-service and call the IssueToken operation of sts-service using SOAPUI it gives

Re: [Dev] Proposal 16 : Enable selenium testing in Appfactory test stage

2015-03-12 Thread Anuruddha Premalal
Hi Irunika, Thank you for reaching and showing interest in the project. I'll schedule a hangout session to have introductions and discuss about future plans, will send the invitation by the end of this week. Idea of this project is to introduce selenium tests for Appfactory projects; not particul

[Dev] Proposal 16 : Enable selenium testing in Appfactory test stage

2015-03-12 Thread Irunika Lakmal Weeraratne
Hi, I'm Irunika and I'm studying as a 3rd year computer engineering student in university of Peradeniya. I'm still in my mid exams and it will be over by tomorrow. But I downloaded selenium and now I'm trying to get familiar with it. As well as I read AppFactory documentation to some extend. I wou