Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-18 Thread Chamila Adhikarinayake
Hi Chathurika, Issues mentioned in the previous mail are fixed in the latest 17/08/2014 pack[1]. There are some updates done to the migration tool readme.txt file as well. You can proceed with the migration testing. For the issue APIMANAGER-2662 https://wso2.org/jira/browse/APIMANAGER-2662 please

Re: [Dev] Cassanda 2.0

2014-08-18 Thread Udara Rathnayake
Hi, I tried to discuss this few months back but haven't got any positive reply(no reply at all). Hope we can carry this discussion forward. AFAIK at the moment we support external Cassandra 2.0, but have to make this a platform-wide story. Regards, UdaraR On Mon, Aug 18, 2014 at 11:22 AM,

Re: [Dev] [CEP][stratos] Stratos single jvm cep aggregate functions issue

2014-08-18 Thread Lasantha Fernando
Hi Asiri, From the queries listed, it seems that you are using partitioned queries. If so, the aggregate will be given for each partition. Can you attach the relevant trace logs when the above issue occurs? The trace logs might help understand more what is happening underneath. Also, I think

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-18 Thread Chathurika De Silva
Hi Chamila As i understand regarding APIMANAGER-2662 https://wso2.org/jira/browse/APIMANAGER-2662 following are the two workarounds. 1. As mentioned in the readme.txt., edit *each* api xml in the APIM_1.7.0/repository/deployment/server/synapse-config/default/api directory. Replace handler

[Dev] WSO2 AppFactory 2.0.1 Milestone 4 Released!

2014-08-18 Thread Manisha Gayathri
WSO2 AppFactory 2.0.1 Milestone 4 Released! WSO2 AppFactory team is pleased to announce the release of version 2.0.1 M4 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

Re: [Dev] [CEP][stratos] Stratos single jvm cep aggregate functions issue

2014-08-18 Thread Reka Thirunavukkarasu
Hi Asiri, If you are using stratos 4.0.0-RC4, then the concat operation in CEP might be missing. CEP 3.1.0 supports the concat where CEP 3.0.0 doesn't support it. We have added a extension to support concat with CEP 3.0.0 in Private PaaS. You can find the sample extension in [1]. Can you add this

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-18 Thread Nuwan Dias
We should be able to write a simple script or java client to do this right? Thanks, NuwanD. On Mon, Aug 18, 2014 at 12:15 PM, Chathurika De Silva chathuri...@wso2.com wrote: Hi Chamila As i understand regarding APIMANAGER-2662 https://wso2.org/jira/browse/APIMANAGER-2662 following are the

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-18 Thread Chamila Adhikarinayake
I'll create a small java client to modify the apis in the synapse-config/default/api folder. Thanks, Chamila. On Mon, Aug 18, 2014 at 12:31 PM, Nuwan Dias nuw...@wso2.com wrote: We should be able to write a simple script or java client to do this right? Thanks, NuwanD. On Mon, Aug 18,

Re: [Dev] Patch for kernel 4.2.0

2014-08-18 Thread Shameera Rathnayaka
Hi Ajith, Merged the pull reqeuest , https://github.com/wso2-dev/carbon4-kernel/pull/74 Thanks, Shameera. On Fri, Aug 15, 2014 at 11:53 AM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Aug 13, 2014 at 7:44 AM, Shameera Rathnayaka shame...@wso2.com wrote: Hi Ajith, Applied patch to

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-18 Thread Chathurika De Silva
Hi Chamila I have reopened the issue APIMANAGER-2662 because this issue should be fixed and shipped in a newer revision or as a patch itself. Thank You On Mon, Aug 18, 2014 at 1:27 PM, Chamila Adhikarinayake chami...@wso2.com wrote: I'll create a small java client to modify the apis in the

[Dev] [CARBON] Uses of ant localize task in the $CARBON_HOME/bin/build.xml

2014-08-18 Thread Gayashan Amarasinghe
Hi all, I am working on [1] to use the proposed patch on carbon4-kernel to fix Ant localize task error when multiple resources files are present. I am trying to understand what is the purpose of this task. According to the readme, localize task generates language bundles in the

Re: [Dev] [DSS]The process of DSS will be killed after running for a period of time

2014-08-18 Thread stevegyc
Hi Harsha: Yes,my environment is linux 5.5 running in a XEN virtual machine. When that problem happened, other people was doing some heavy test on the same virtual machine, it resume too much memory. I think in this situation, it is normal that the process of BRS being killed,

Re: [Dev] Error after adding Touchpoint to p2.inf

2014-08-18 Thread Kasun Gajasinghe
Hi Waruna, I have also encountered across the same issue yesterday. As I noticed installing a feature with the above touchpoint via the feature-manager UI works fine. The issue occurs only when you install it via p2-profile-gen. I suspect that it might be because p2-profile-gen couldn't find the

Re: [Dev] Build failure in chunk-13 ntask component

2014-08-18 Thread Shameera Rathnayaka
Hi Gokul, Merged the Hazelcast upgrade request to the kernel git repo, please re apply ntask. It isn't that easy to merge a fix like this as we need to think about all the downstream builds. However sorry for the delay and inconvenience this made. Thanks, Shameera. On Fri, Aug 15, 2014 at 4:43

[Dev] Fwd: Service Pack for Carbon Kernel 4.2.0

2014-08-18 Thread Pavithra Madurangi
Moving this discussion to dev@ Hi Sameera, Are we going to implement this approach immediately? We observed that recent EAM (Enterprise App Manager) pack is bit bulky. The compressed distribution is 401 MB and it becomes 746M when extracted and started . After removing the kernel patches the

Re: [Dev] Fwd: Service Pack for Carbon Kernel 4.2.0

2014-08-18 Thread Evanthika Amarasiri
The same can be seen with API-M packs as well. The fresh pack is 341M. The 3rd July packs were just 301M. We noticed that this is due to the kernal patches and we believe that it's a good idea to consider about the Kernal SP. Regards, Evanthika On Mon, Aug 18, 2014 at 3:59 PM, Pavithra

Re: [Dev] Fwd: Service Pack for Carbon Kernel 4.2.0

2014-08-18 Thread Evanthika Amarasiri
On Mon, Aug 18, 2014 at 4:05 PM, Evanthika Amarasiri evanth...@wso2.com wrote: The same can be seen with API-M packs as well. The fresh pack is 341M. The 3rd July packs were just 301M. ​Correction. The fresh 1.7.1 distribution, built today [1] is 341M. What was given for QA on the 3rd July

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Eranda Sooriyabandara
Hi Senaka, On Mon, Aug 18, 2014 at 5:26 PM, Danesh Kuruppu dan...@wso2.com wrote: Hi Senaka, In the current system, event capturing is done through handlers. We couldn't come up with a solution through handlers. As we went through the code and the complexity of change should be done in

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Senaka Fernando
Hi Danesh, Eranda, I think we are doing too much here. Before going ahead with this kind of different subscription model, we need to understand the requirement here. At least I'm not clear on that. Do you want it to be configurable as to whether people want to subscribe for association updates

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Eranda Sooriyabandara
Hi Senaka, Requirement here is that when we do a artifact update the subscriber getting massive number of mails saying resource updated where the number depends on the number of associations and properties/hidden properties. thanks Eranda On Mon, Aug 18, 2014 at 6:02 PM, Senaka Fernando

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-18 Thread Thanuja Jayasinghe
Congratz...!!! On Mon, Aug 18, 2014 at 11:00 AM, Dunith Dhanushka dun...@wso2.com wrote: Congrats Dilini! On Mon, Aug 18, 2014 at 10:58 AM, Gimantha Bandara giman...@wso2.com wrote: Congratz Dilini On Mon, Aug 18, 2014 at 10:44 AM, Sewwandi Perera sewwa...@wso2.com wrote:

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Senaka Fernando
Hi Eranda, Alright. So, just stop the duplication. Ideally, the handler should only be triggered once. And, AFAIU, this is doable with the association-update and recursive delete handlers (and other utility handlers of similar sort) can set some flag within themselves preventing the eventing

[Dev] [APPFAC] Error while AF startup

2014-08-18 Thread Anuruddha Premalal
Hi, I am getting the following error while trying to start the Appfactroy with the latest release (2.0.1-M4) What would be the cause for this?. ERROR {org.apache.cassandra.service.CassandraDaemon} - Exception encountered during startup java.lang.RuntimeException: No other nodes seen! Unable

Re: [Dev] [APPFAC] Error while AF startup

2014-08-18 Thread Harsha Kumara
Hi Anuruddha, Did you do any changes to cassandra.yaml? Seems something wrong there. Thanks, Harsha On Mon, Aug 18, 2014 at 6:32 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi, I am getting the following error while trying to start the Appfactroy with the latest release (2.0.1-M4)

Re: [Dev] Installing org.wso2.carbon.apimgt.store feature failed

2014-08-18 Thread Eranda Sooriyabandara
Please merge the pull [1] request which solves this failure. thanks Eranda [1]. https://github.com/wso2-dev/carbon-apimgt/pull/2 On Wed, Aug 13, 2014 at 10:38 AM, Eranda Sooriyabandara era...@wso2.com wrote: Hi Nuwan, I am getting the following error when I tried to build G-Reg p2. What can

Re: [Dev] [APPFAC] Error while AF startup

2014-08-18 Thread Rajith Siriwardena
HI Anuruddha, As Harsha said. Your repository/conf/etc/cassandra.yaml contains following part. As the exception suggests try giving the same seed list. seems like difference seeds in the cluster. seed_provider: # Addresses of hosts that are deemed contact points. # Cassandra nodes use

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Danesh Kuruppu
Hi Senaka, Earlier we had an idea of having a flag and problem was how we could handle the flag inside multiple request. Suggestions we had earlier, Suggestion 01: Keep a flag in requestContext to track event firing. *This is impossible because inside one request, there are multiple requests and

Re: [Dev] Cassanda 2.0

2014-08-18 Thread Harsha Kumara
Yes, we are planning to move to Cassandra 2.0, but there are some discussions going on whether we are going to go with datastax version of Cassandra. Also WSO2 Cassandra contains modifications done for implement multitenancy it may take some time upgrade it as 2.0 may contains significant changes.

Re: [Dev] [GREG] Getting multiple notifications for resource update

2014-08-18 Thread Senaka Fernando
Hi Danesh, I also think #4 is proper. This is the way we track transaction commit/rollback status as well, so if you take a look @ the semantics of commit, this should be similar. So, ideally every supposedly unit operation, which happens to invoke other operations will increment the counter

Re: [Dev] Registry GET call happens within a transaction

2014-08-18 Thread Senaka Fernando
Hi Subash, Ah! forgot to discuss this today when we chatted. Subash the get() itself is a call spanning across multiple tables and for the sake of a DB-neutral implementation we have kept the queries basic. So this means we handle some joins etc at application-level. This is why it has to be

Re: [Dev] Registry GET call happens within a transaction

2014-08-18 Thread Sumedha Rubasinghe
Senaka, I don't think doing a SELECT inside transaction here is required. We just read the committed data @ the time of reading. That's it. We never SELECT records for UPDATES (which is one occurrence where doing a SELECT inside transaction is useful). Another common usecase if to read

Re: [Dev] Registry GET call happens within a transaction

2014-08-18 Thread Senaka Fernando
Hi Sumedha, Alright but this SELECT is across different tables, and I also happened to find this, [1]. So, unless you are in a transaction, if somebody updates while you read, you can end up having messed up data right? [1]

Re: [Dev] Registry GET call happens within a transaction

2014-08-18 Thread Senaka Fernando
Further to above, since we have row-locking I'm hopeful that we cannot endup with a dirty read as explained in [1], with the current setup. Am I missing something? [1] http://msdn.microsoft.com/en-us/library/ms173763.aspx Thanks, Senaka. On Mon, Aug 18, 2014 at 11:36 PM, Senaka Fernando

[Dev] Detect Server Running

2014-08-18 Thread Daya Attapattu
When automating wso2 product runs, how do I detect that the server is up? Is there some status value to wait for before a client tries to connect? Regards, Daya -- Daya Atapattu WSO2 Inc. Phone: +94 77 047 4730, +1 203 484 7099 ___ Dev mailing list

Re: [Dev] Installing org.wso2.carbon.apimgt.store feature failed

2014-08-18 Thread Eranda Sooriyabandara
Thanks Sumedha for committing. I have some few other concerns here. I have added .gitignore file since git removes empty directories. Since you have added the content of admin-dashboard we are no longer needed that file. There were some svn metadata files. I have created a patch and sent a pull

Re: [Dev] [APPFAC] Error while AF startup

2014-08-18 Thread Anuruddha Premalal
Hi Harsha, Rajith, Thanks for the input. I had to set my listen_address: and seeds to the same ip. previously it was as follows *listen_address: localhost* *seed_provider:* *- class_name: org.apache.cassandra.locator.SimpleSeedProvider* * parameters:* * - seeds: 127.0.0.1*

[Dev] [CARBON] Multiple issues arising when fixing CARBON-14807 - Logging incorrect tenant ID in wso2carbon.log

2014-08-18 Thread Gayashan Amarasinghe
Hi all, I am working on [1] and this issue is occurring due to correct tenant information not being available in the thread local PrivilegedCarbonContext. This works well for the tenants, but in super tenant's domain there are certain threads without proper tenant information. I have added super

[Dev] Run soap ui projects within maven project

2014-08-18 Thread Waruna Perera
HI, I have configured sample project to run above task. The objective of this would be a user can create and configure multiple soapui projects and run within a test run. So that it will output the results of them as well. I integrated this in AS product integration as well and working fine. The

Re: [Dev] Run soap ui projects within maven project

2014-08-18 Thread Krishantha Samaraweera
Hi Waruna, Please add a sample soap UI project to App server in order demonstrate the functionality. So others can use it as a reference for future test cases. Also provide a guide on how to configure SoapUI tests to run in integration test phase. I think we can configure Jenkins to read the

Re: [Dev] Run soap ui projects within maven project

2014-08-18 Thread Waruna Perera
Hi, I have pushed a sample maven project on github[1] which includes soapui project as well. Guide for integrate provided as well [2]. [1] https://github.com/warunap/SoupuiRunner [2] https://docs.google.com/a/wso2.com/document/d/1cgyh9TRlXSkAtp1Pu8_WDDOaw3_tmdokTFBbBop55V4 I will find more on

[Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout

2014-08-18 Thread Udara Liyanage
Hi, I want to increase response timeout of ApplicationServer since default timeout is not enough with due to slowness of the backend endpoint. I found ConnectionTimeout and SocketTimeout as suspectable properties mentioned in the documentation [1]. What is/are the difference between both

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-18 Thread Malaka Silva
Hi, If any of the above does not work use a class mediator to do generate the json payload required. eg:- public boolean mediate(MessageContext mc) { StringBuilder sb = new StringBuilder(); //generate the required payload org.apache.axis2.context.MessageContext axis2MC =

Re: [Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout

2014-08-18 Thread Supun Malinga
Hi Udara, As per tomcat documentation [2] correct parameter should be ConnectionTimeout. Not sure why [1] lists SocketTimeout since its not mentioned in [2]. [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html thanks, On Tue, Aug 19, 2014 at 11:09 AM, Udara Liyanage ud...@wso2.com