Re: [Dev] Getting error in puppet integration to Mac OS X during tools installation using 'brew'

2014-11-13 Thread Aiyadurai Rajeevan
Hi All, The above option doesn't resolve the issue, Even though i managed to find a solution suggested in [1] . But this solution leads to maintainability issues as highlighted by Udara. Hence we are trying to achieve this using docker. @Sajith - Referring to STRATOS-776

Re: [Dev] Getting error in puppet integration to Mac OS X during tools installation using 'brew'

2014-11-13 Thread Aiyadurai Rajeevan
+Sajith Thanks Regards, S.A.Rajeevan Software Engineer WSO2 Inc E-Mail: rajeev...@wso2.com | Mobile : +94776411636 On Thu, Nov 13, 2014 at 1:52 PM, Aiyadurai Rajeevan rajeev...@wso2.com wrote: Hi All, The above option doesn't resolve the issue, Even though i managed to find a solution

Re: [Dev] Social.core prints a broken pipe exception after a BAM restart

2014-11-13 Thread Ruchira Wageesha
@Manu, Can you please have a look? On Wed, Nov 12, 2014 at 11:56 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi all, There was a situation where we had to restart BAM. When BAM was restarted, social.core component in AF started printing the following log continuously. Had to restart AF

[Dev] Accessing a DB through bundle starter

2014-11-13 Thread Lochana Menikarachchi
Is it possible access a database within osgi bundle's start method? public void start(BundleContext context) throws Exception { ModelService modelService = new ModelService(); context.registerService(ModelService.class.getName(), modelService, null); *

Re: [Dev] Accessing a DB through bundle starter

2014-11-13 Thread Lochana Menikarachchi
Wonder whether it is due to bundle load order.. Is there anyway to change it.. [2014-11-13 17:32:04,594] INFO {org.wso2.carbon.ml.dataset.DatasetServiceActivator} - Dataset service started [2014-11-13 17:32:04,596] INFO {org.wso2.carbon.ml.model.ModelServiceActivator} - Model service started

Re: [Dev] Writing a CEP extension to receive a video or image

2014-11-13 Thread Maninda Edirisooriya
In general video streams are compressed in time domain. If we send one frame as an event this will not be achieved and the required bandwidth will be higher. Instead if the video stream can be chunked and decompress inside the server / engine, bandwidth could have been saved. BTW we can use the

Re: [Dev] [APIM pack] 12-11-2014

2014-11-13 Thread Vijayaratha Vijayasingam
We faced an issue in above pack and rebuilt a pack. New pack is hosted here[1] [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014/ Thanks. On 13 November 2014 12:05, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi all; Please find yesterday's pack here[1] We will

[Dev] Please merge pull request to ESB - Property Integration Tests

2014-11-13 Thread Dimuthu De Lanerolle
Hi ESB Team, Please merge the pull request [1] to ESB which adds property Integration Tests and other related changes. [1] https://github.com/wso2-dev/product-esb/pull/78 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11

[Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Farasath Ahamed
While trying to run samples of the ESB came across a mishap in the documentation. Added an issue in JIRA https://wso2.org/jira/browse/ESBJAVA-3418 -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath

Re: [Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Niranda Perera
Hi Farasath, Since this is a documentation mishap, it should go to the documentation JIRAs, if I am not mistaken. :-) Adding @Documentation team Cheers On Thu, Nov 13, 2014 at 7:11 PM, Farasath Ahamed farasa...@wso2.com wrote: While trying to run samples of the ESB came across a mishap in

Re: [Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Nirmal Fernando
On Thu, Nov 13, 2014 at 3:30 PM, Niranda Perera nira...@wso2.com wrote: Hi Farasath, Since this is a documentation mishap, it should go to the documentation JIRAs, if I am not mistaken. :-) Yes, the ESB Jira should be moved to docs Jira. Adding @Documentation team Cheers On Thu, Nov

Re: [Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Nirmal Fernando
You can easily move it to this space: https://wso2.org/jira/browse/DOCUMENTATION On Thu, Nov 13, 2014 at 3:34 PM, Nirmal Fernando nir...@wso2.com wrote: On Thu, Nov 13, 2014 at 3:30 PM, Niranda Perera nira...@wso2.com wrote: Hi Farasath, Since this is a documentation mishap, it should go

Re: [Dev] Chunk 13 Release

2014-11-13 Thread Chanika Geeganage
Hi, Please find the latest DSS 3.2.2 pack from https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip Thanks On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya mani...@wso2.com wrote: Fixed the build and latest DSS and BAM packs are available at

Re: [Dev] Social.core prints a broken pipe exception after a BAM restart

2014-11-13 Thread Manuranga Perera
Hi amila, I'll take a look On 13 Nov 2014 15:37, Ruchira Wageesha ruch...@wso2.com wrote: @Manu, Can you please have a look? On Wed, Nov 12, 2014 at 11:56 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi all, There was a situation where we had to restart BAM. When BAM was restarted,

Re: [Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Farasath Ahamed
My bad didnt know. I will move it to documentation jira then. Thanks for the pointer. On Thu, Nov 13, 2014 at 8:08 PM, Nirmal Fernando nir...@wso2.com wrote: You can easily move it to this space: https://wso2.org/jira/browse/DOCUMENTATION On Thu, Nov 13, 2014 at 3:34 PM, Nirmal Fernando

Re: [Dev] Getting error in puppet integration to Mac OS X during tools installation using 'brew'

2014-11-13 Thread Imesh Gunaratne
Hi Rajeevan, Can you please explain your goal bit further? Are you trying to setup an AppFactory development environment using puppet on OS X? If so it might not be ideal, better to use VMs or containers due to many reasons: - A desired OS can be used. - Provides OS level isolation for each

Re: [Dev] HTTP Patch support by ESB 4.8.1

2014-11-13 Thread Ushani Balasooriya
Same issue exists in ESB 4.9.0 m3. On Thu, Apr 24, 2014 at 2:39 AM, Malaka Silva mal...@wso2.com wrote: 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:

[Dev] [CEP] Failed to access registry when CEP starts

2014-11-13 Thread Madhawa Gunasekara
Hi All, We have written two CEP extensions to load a model from the registry using WS-API, transformer and function. Our extensions work fine when CEP is in a stable mode. but after CEP restarts CEP tries to execute our extensions in its beginning state. at that time registry was refusing our

Re: [Dev] Accessing a DB through bundle starter

2014-11-13 Thread Prabath Abeysekera
Hi Lochana, On Thu, Nov 13, 2014 at 5:39 PM, Lochana Menikarachchi loch...@wso2.com wrote: Wonder whether it is due to bundle load order.. Is there anyway to change it.. This could well be an issue with the bundle start up order. However, have we tried putting a few logs in ndatasource

Re: [Dev] Writing a CEP extension to receive a video or image

2014-11-13 Thread Srinath Perera
Hi Maninda, I agree with the concern. However, as far as the Hemika's project is concerned, lets accept that inefficiency to keep it within 3 weeks scope. Having said that, I am very much interested how video stream like data set can be received and processed though an event stream (within

Re: [Dev] Writing a CEP extension to receive a video or image

2014-11-13 Thread Vanjikumaran Sivajothy
Hi, Video is a set of images in a given time framework, Is not that possible do the prepossessing and normalization before the siddhi Engine? Best Regards, Vanji On Fri, Nov 14, 2014 at 10:27 AM, Srinath Perera srin...@wso2.com wrote: Hi Maninda, I agree with the concern. However, as far

[Dev] Distributed setup BAM 250 - Erorr java.lang.NoClassDefFoundError: org/wso2/carbon/stratos/common/listeners/TenantMgtListener

2014-11-13 Thread Sewmini Jayaweera
Hi, I am trying to set up a distributed set up locally using 2 BAM packs having analyser, receiver and Hadoop running on one pack and cassandra on the other pack. when i start cassandra node it successfully starts. But when I try to start BAM using './wso2server.sh -Dsetup' I get an exception

Re: [Dev] Social.core prints a broken pipe exception after a BAM restart

2014-11-13 Thread Yumani Ranaweera
Could you also move the ticket to in-progress state. Thanks, Yumani On Thu, Nov 13, 2014 at 10:35 PM, Manuranga Perera m...@wso2.com wrote: Hi amila, I'll take a look On 13 Nov 2014 15:37, Ruchira Wageesha ruch...@wso2.com wrote: @Manu, Can you please have a look? On Wed, Nov 12, 2014

[Dev] How to restrict accessing web application

2014-11-13 Thread Danesh Kuruppu
Hi all, I am currently working on upgrading the solr in registry indexing. with the proposed design, we are going to deploy solr webapp in the carbon server and use it for registry indexing and we need to allow accessing solr web app only for admin users. What is the best way I could follow to

Re: [Dev] Writing a CEP extension to receive a video or image

2014-11-13 Thread Srinath Perera
Then should he write an input adapter instead of an extensions and only handle higher level events in Siddhi? I am OK for that approach! On Fri, Nov 14, 2014 at 8:03 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Video is a set of images in a given time framework, Is not that possible

Re: [Dev] Errors in Documentation of WSO2 ESB 4.8.1

2014-11-13 Thread Rukshani Weerasinha
Hello, Thank you for reporting this. I will do the required correction and update the JIra. Best Regards, Rukshani. On Thu, Nov 13, 2014 at 10:39 PM, Farasath Ahamed farasa...@wso2.com wrote: My bad didnt know. I will move it to documentation jira then. Thanks for the pointer. On Thu, Nov

Re: [Dev] [APIM pack] 12-11-2014

2014-11-13 Thread Jerad Rutnam
Hi Vijayaratha, Thanks for the update. Please let me know when the P2 repo is uploaded. Regards, On Thu, Nov 13, 2014 at 7:00 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: We faced an issue in above pack and rebuilt a pack. New pack is hosted here[1]

Re: [Dev] Chunk 13 Release

2014-11-13 Thread Aparna Karunarathna
Hi Chanika, Can you please share the p2 repo as well? Regards, Aparna. On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage chan...@wso2.com wrote: Hi, Please find the latest DSS 3.2.2 pack from https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip

[Dev] [Carbon] Implications of Hostname verification set to AllowAll in HTTPS?

2014-11-13 Thread Niranda Perera
Hi carbon team, This is based on a WSO2 customer query. While using APIM with a custom host name, the following error occurred. 2014-11-11 09:12:09,794 [-] [HTTPS-Sender I/O dispatcher-1] ERROR TargetHandler I/O error: Host name verification failed for host : ourserver.development.host.com

Re: [Dev] Getting error in puppet integration to Mac OS X during tools installation using 'brew'

2014-11-13 Thread Aiyadurai Rajeevan
Hi Imesh, Thanks, Yes we are trying to setup Appfactory Dev environment using puppet. Agree with your suggestion. Thanks Regards, S.A.Rajeevan Software Engineer WSO2 Inc E-Mail: rajeev...@wso2.com | Mobile : +94776411636 On Thu, Nov 13, 2014 at 11:01 PM, Imesh Gunaratne im...@wso2.com wrote:

Re: [Dev] [Carbon] Implications of Hostname verification set to AllowAll in HTTPS?

2014-11-13 Thread Sameera Jayasoma
Looping ESB team members On Fri, Nov 14, 2014 at 10:40 AM, Niranda Perera nira...@wso2.com wrote: Hi carbon team, This is based on a WSO2 customer query. While using APIM with a custom host name, the following error occurred. 2014-11-11 09:12:09,794 [-] [HTTPS-Sender I/O dispatcher-1]

[Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Supun Muthutantrige
Hii all, There is a mysql table with the following content. The format of the in stream state:HTS state:HFS state:HTM state:HTS state:HTL state:HFS state:MTS state:HTS state:HTL state:MFM state:HTS state:HFS​

Re: [Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Seshika Fernando
Why dont you use the sum(Initial_state) function with a group by Initial_state? On Fri, Nov 14, 2014 at 12:12 PM, Supun Muthutantrige sup...@wso2.com wrote: Hii all, There is a mysql table with the following content. The format of the in stream state:HTS state:HFS

Re: [Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Shashika Karunatilaka
HI supun, you can use the count function and grouping it by Initial_state(group by Initial_state) Thanks On Fri, Nov 14, 2014 at 12:23 PM, Seshika Fernando sesh...@wso2.com wrote: Why dont you use the sum(Initial_state) function with a group by Initial_state? On Fri, Nov 14, 2014 at 12:12

Re: [Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Seshika Fernando
Hi Shashika, I don't think the count() function will work here. They need a sum of the values in the countP field. Therefore, they will have to use sum(countP). So for Initial state HTS, count() will give 2 while sum() will give 4. I think I have used the wrong field name in my previous email.

Re: [Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Supun Muthutantrige
Hi seshika, Yes tried that but it doesn't give the desired output. The query that we have used as follows, from forCalculation#window.length(1) join MarkovModel on forCalculation.initialState == MarkovModel.Initial_state select initialState as Event, sum(MarkovModel.countP) as totalCount insert