Re: [Dev] Java Security Manager needs read permission to h2 db in AS 5.3.0 SNAPSHOT
Why is it different? The https://wso2.org/jira/browse/IDENTITY-3340 fixes the issues with Java Security Manager when accessing User Manager APIs from the Carbon Context. You are also trying a similar scenario, right? Can you merge the PR locally and test? Please discard your changes. (PR uses Java Reflection. I was against that decision and asked to fix it properly. However it should fix your issue as the PR has added a Privileged Block API for listUsers method.) On Fri, Aug 28, 2015 at 11:42 AM, Supun Malinga sup...@wso2.com wrote: On Fri, Aug 28, 2015 at 11:27 AM, Isuru Perera isu...@wso2.com wrote: Hi Supun, The checkSecurity method just checks for a permission. I'm not sure how your fix works. But it doesn't seem to be a proper solution. We might need to debug more and see. Can you check whether you have fixes for https://wso2.org/jira/browse/IDENTITY-3340? No, I don't PR is not merged yet.. I had a chat with KasunB, its for a different error however. On Fri, Aug 28, 2015 at 9:55 AM, Aruna Karunarathna ar...@wso2.com wrote: On Thu, Aug 27, 2015 at 6:44 PM, Supun Malinga sup...@wso2.com wrote: Hi, Found that the issue happens at the following, at org.wso2.carbon.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:2034) at org.apache.jsp.carbon.usermgt.index_jsp._jspService(index_jsp.java:167) I did the following fix in CarbonContext (where the user realm is retrieved initially), and the issue disappeared. Is this a good enough solution ? Or do we have to explicitly do permission checks in AbstractUserStoreManager ?. So far there is none in that.. Let me know. +++ b/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/context/CarbonContext.java @@ -233,6 +233,8 @@ public class CarbonContext { * @return the user realm instance. */ public UserRealm getUserRealm() { +CarbonUtils.checkSecurity(); return getCarbonContextDataHolder().getUserRealm(); } Any idea why this is not needed for AS 5.2.1?.. thanks, On Tue, Aug 25, 2015 at 12:17 PM, Supun Malinga sup...@wso2.com wrote: thanks Isuru. Let me see what I can find. thanks On Tue, Aug 25, 2015 at 12:12 PM, Isuru Perera isu...@wso2.com wrote: Hi Supun, I'm sorry I missed this mail. We need to identify which method is accessing the local database. We should never give explicit read permissions for the H2 database. We need to use Java Privileged Block API in Carbon Context APIs. If you cannot figure out the protection domain for the access failure, please check Java Security Debug logs. See Troubleshooting section in my Java Security Manager related blog post [1]. With Privileged Block API, we can let Carbon Context APIs to use same permissions we give to Carbon code. Thanks! Best Regards, [1] http://isuru-perera.blogspot.com/2014/12/enabling-java-security-manager-for-wso2.html On Thu, Aug 13, 2015 at 3:37 PM, Supun Malinga sup...@wso2.com wrote: Hi, For accessing usermgt via CarbonContext had to provide following permission for webapp. permission java.io.FilePermission /home/supun/smoke/java_sec/530_custom/wso2as-5.3.0-SNAPSHOT/repository/database/WSO2CARBON_DB.data.db, read; I tested with AS 5.2.1 and we don't need this in 5.2.1. Can anyone tell why this is needed and if its an issue ?. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Can't publish in Enterprise store
please send me a link to the pack you are using. or ping me on chat. On Fri, Aug 28, 2015 at 10:32 AM, Kathees Rajendram kath...@wso2.com wrote: Hi Manuranga, The count and paginationLimit values are 1000 but 100 asserts only are listed. I tried to increase the number. The changes are not picked up. ../modules/rxt/scripts/asset/asset.js function AssetManager(registry, type, rxtManager, renderer) { this.registry = registry; this.rxtManager = rxtManager; this.rxtTemplate = rxtManager.getRxtDefinition(type); this.type = type; this.r = renderer; this.am = null; this.defaultPaging = { 'start': 0, 'count': 1000, 'sortOrder': 'desc', 'sortBy': 'overview_createdtime', 'paginationLimit': 1000 }; } Thanks, Kathees On Thu, Aug 27, 2015 at 10:21 PM, Manuranga Perera m...@wso2.com wrote: number 100 is hard-coded in modules dir please grep and fix. can you meet me tomorrow? On Thu, Aug 27, 2015 at 6:40 PM, Kathees Rajendram kath...@wso2.com wrote: Adding Manuranga, On Thu, Aug 27, 2015 at 6:23 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, In ESB connector store, we are unable to publish the new connectors. The ESB connector store publisher is restricted to view only 100 connectors. We are having more than 100 connectors to add to the store. Can you suggest how to increase the limit in the wso2es-1.2.0-SNAPSHOT? Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Regression issue in ESB due to a fix done on carbon-commons
On Thu, Aug 27, 2015 at 10:05 PM, Indika Sampath indi...@wso2.com wrote: Hi Chanaka, Both MB and GReg has regression issue due to change made by Malaka in PR [1]. So it was revert in PR [2]. In MB, we create internal role when adding new topic and grant pub/sub permission to it and assign it to user. This was security fix we did on event component of svn turing support branch as permission related fix to topic in MB 2.2.0. We migrate these fixes from event component to carbon-commons after moving to Git. But then again this was cause problem to GReg since they don't need such restriction. Finally we discussed [3] and revert it to original state but made some modification in addTopic() method. You can find latest RegistryTopicManager class in [4]. +1. Original commit caused regression in registry event subscription and fixed by only adding additional permission to publish and subscribe to work with the internal role fix [1]. Adding the null check here is okay since it won't change the mentioned logic. [1] https://github.com/wso2/carbon-commons/pull/107/files Only change in PR [1] was adding if (loggedInUser != null) check. So I think we could add this check again to addTopic() method and it would sort out regression issue face by ESB. Sorry about inconvenience cause by this. [1] https://github.com/wso2/carbon-commons/pull/75/files [2] https://github.com/wso2/carbon-commons/pull/82/files [3] [MB] [G-REG] Internal role created by topic name modification [4] https://github.com/wso2/carbon-commons/blob/master/components/event/org.wso2.carbon.event.core/src/main/java/org/wso2/carbon/event/core/internal/topic/registry/RegistryTopicManager.java Cheers! On Thu, Aug 27, 2015 at 7:56 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Indika, We are getting an exception in the ESB 490 RC1 pack due to the commit [1] done by you. With this change, you have reverted a previous fix[2] done by Malaka for [3]. This is causing the same issue which Malaka was fixed. Can you look into this and let us know a proper solution other than reverting the fix done by Malaka? [1] https://github.com/wso2/carbon-commons/commit/e3646925bf968616c0e55f0e34c2fe5991b1a749 [2] https://github.com/wso2/carbon-commons/pull/75/files [3] https://wso2.org/jira/browse/ESBJAVA-2506 -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Indika Sampath Senior Software Engineer WSO2 Inc. http://wso2.com Phone: +94 716 424 744 Blog: http://indikasampath.blogspot.com/ -- Isuruwan Herath Technical Lead Contact: +94 776 273 296 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Can't publish in Enterprise store
Kathees pls share the details. On Fri, Aug 28, 2015 at 11:54 AM, Manuranga Perera m...@wso2.com wrote: please send me a link to the pack you are using. or ping me on chat. On Fri, Aug 28, 2015 at 10:32 AM, Kathees Rajendram kath...@wso2.com wrote: Hi Manuranga, The count and paginationLimit values are 1000 but 100 asserts only are listed. I tried to increase the number. The changes are not picked up. ../modules/rxt/scripts/asset/asset.js function AssetManager(registry, type, rxtManager, renderer) { this.registry = registry; this.rxtManager = rxtManager; this.rxtTemplate = rxtManager.getRxtDefinition(type); this.type = type; this.r = renderer; this.am = null; this.defaultPaging = { 'start': 0, 'count': 1000, 'sortOrder': 'desc', 'sortBy': 'overview_createdtime', 'paginationLimit': 1000 }; } Thanks, Kathees On Thu, Aug 27, 2015 at 10:21 PM, Manuranga Perera m...@wso2.com wrote: number 100 is hard-coded in modules dir please grep and fix. can you meet me tomorrow? On Thu, Aug 27, 2015 at 6:40 PM, Kathees Rajendram kath...@wso2.com wrote: Adding Manuranga, On Thu, Aug 27, 2015 at 6:23 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, In ESB connector store, we are unable to publish the new connectors. The ESB connector store publisher is restricted to view only 100 connectors. We are having more than 100 connectors to add to the store. Can you suggest how to increase the limit in the wso2es-1.2.0-SNAPSHOT? Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Shall we reduce the eventBufferCapacity from 10000 to 1000
Hi, As there is a possibility to have an OOM, for default configurations $subject in data-bridge-config.xml in DAS? Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC 2015] Icons used in Siddhi Visual Composer
Sure we'll do *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 10:04 AM, Srinath Perera srin...@wso2.com wrote: UX team Could you help us to figure out UX and icons for http://js.mutexlk.com/? This is a GSoc project for CEP team. Thanks Srinath On Fri, Aug 28, 2015 at 9:59 AM, Mohamed Fawzan fawz...@gmail.com wrote: Hi Srinath, Please forward this to UX team and get them improved. -Regards -- Mohammed Fawzan Faculty of Engineering | UoP +94771121195 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Java Security Manager needs read permission to h2 db in AS 5.3.0 SNAPSHOT
On Fri, Aug 28, 2015 at 11:27 AM, Isuru Perera isu...@wso2.com wrote: Hi Supun, The checkSecurity method just checks for a permission. I'm not sure how your fix works. But it doesn't seem to be a proper solution. We might need to debug more and see. Can you check whether you have fixes for https://wso2.org/jira/browse/IDENTITY-3340? No, I don't PR is not merged yet.. I had a chat with KasunB, its for a different error however. On Fri, Aug 28, 2015 at 9:55 AM, Aruna Karunarathna ar...@wso2.com wrote: On Thu, Aug 27, 2015 at 6:44 PM, Supun Malinga sup...@wso2.com wrote: Hi, Found that the issue happens at the following, at org.wso2.carbon.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:2034) at org.apache.jsp.carbon.usermgt.index_jsp._jspService(index_jsp.java:167) I did the following fix in CarbonContext (where the user realm is retrieved initially), and the issue disappeared. Is this a good enough solution ? Or do we have to explicitly do permission checks in AbstractUserStoreManager ?. So far there is none in that.. Let me know. +++ b/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/context/CarbonContext.java @@ -233,6 +233,8 @@ public class CarbonContext { * @return the user realm instance. */ public UserRealm getUserRealm() { +CarbonUtils.checkSecurity(); return getCarbonContextDataHolder().getUserRealm(); } Any idea why this is not needed for AS 5.2.1?.. thanks, On Tue, Aug 25, 2015 at 12:17 PM, Supun Malinga sup...@wso2.com wrote: thanks Isuru. Let me see what I can find. thanks On Tue, Aug 25, 2015 at 12:12 PM, Isuru Perera isu...@wso2.com wrote: Hi Supun, I'm sorry I missed this mail. We need to identify which method is accessing the local database. We should never give explicit read permissions for the H2 database. We need to use Java Privileged Block API in Carbon Context APIs. If you cannot figure out the protection domain for the access failure, please check Java Security Debug logs. See Troubleshooting section in my Java Security Manager related blog post [1]. With Privileged Block API, we can let Carbon Context APIs to use same permissions we give to Carbon code. Thanks! Best Regards, [1] http://isuru-perera.blogspot.com/2014/12/enabling-java-security-manager-for-wso2.html On Thu, Aug 13, 2015 at 3:37 PM, Supun Malinga sup...@wso2.com wrote: Hi, For accessing usermgt via CarbonContext had to provide following permission for webapp. permission java.io.FilePermission /home/supun/smoke/java_sec/530_custom/wso2as-5.3.0-SNAPSHOT/repository/database/WSO2CARBON_DB.data.db, read; I tested with AS 5.2.1 and we don't need this in 5.2.1. Can anyone tell why this is needed and if its an issue ?. thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- *Aruna Sujith Karunarathna *| Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Regression issue in ESB due to a fix done on carbon-commons
We ran integration test after patching above PR locally and didn't encounter issue. You can proceed with merging PR. Cheers! On Fri, Aug 28, 2015 at 10:27 AM, Kevin Ratnasekera ke...@wso2.com wrote: Hi all, As mentioned in the previous mail, I have added the null check with this pr[1] to correct the issue. Can you please review and merge this pr[1]. [1] https://github.com/wso2/carbon-commons/pull/146/ Regards Kevin On Thu, Aug 27, 2015 at 10:05 PM, Indika Sampath indi...@wso2.com wrote: Hi Chanaka, Both MB and GReg has regression issue due to change made by Malaka in PR [1]. So it was revert in PR [2]. In MB, we create internal role when adding new topic and grant pub/sub permission to it and assign it to user. This was security fix we did on event component of svn turing support branch as permission related fix to topic in MB 2.2.0. We migrate these fixes from event component to carbon-commons after moving to Git. But then again this was cause problem to GReg since they don't need such restriction. Finally we discussed [3] and revert it to original state but made some modification in addTopic() method. You can find latest RegistryTopicManager class in [4]. Only change in PR [1] was adding if (loggedInUser != null) check. So I think we could add this check again to addTopic() method and it would sort out regression issue face by ESB. Sorry about inconvenience cause by this. [1] https://github.com/wso2/carbon-commons/pull/75/files [2] https://github.com/wso2/carbon-commons/pull/82/files [3] [MB] [G-REG] Internal role created by topic name modification [4] https://github.com/wso2/carbon-commons/blob/master/components/event/org.wso2.carbon.event.core/src/main/java/org/wso2/carbon/event/core/internal/topic/registry/RegistryTopicManager.java Cheers! On Thu, Aug 27, 2015 at 7:56 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Indika, We are getting an exception in the ESB 490 RC1 pack due to the commit [1] done by you. With this change, you have reverted a previous fix[2] done by Malaka for [3]. This is causing the same issue which Malaka was fixed. Can you look into this and let us know a proper solution other than reverting the fix done by Malaka? [1] https://github.com/wso2/carbon-commons/commit/e3646925bf968616c0e55f0e34c2fe5991b1a749 [2] https://github.com/wso2/carbon-commons/pull/75/files [3] https://wso2.org/jira/browse/ESBJAVA-2506 -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Indika Sampath Senior Software Engineer WSO2 Inc. http://wso2.com Phone: +94 716 424 744 Blog: http://indikasampath.blogspot.com/ -- Indika Sampath Senior Software Engineer WSO2 Inc. http://wso2.com Phone: +94 716 424 744 Blog: http://indikasampath.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Shall we reduce the eventBufferCapacity from 10000 to 1000
+1 Suho On Fri, Aug 28, 2015 at 1:32 AM, Maninda Edirisooriya mani...@wso2.com wrote: Hi, As there is a possibility to have an OOM, for default configurations $subject in data-bridge-config.xml in DAS? Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Can't publish in Enterprise store
I shared the details and the pack link. On Fri, Aug 28, 2015 at 12:38 PM, Malaka Silva mal...@wso2.com wrote: Kathees pls share the details. On Fri, Aug 28, 2015 at 11:54 AM, Manuranga Perera m...@wso2.com wrote: please send me a link to the pack you are using. or ping me on chat. On Fri, Aug 28, 2015 at 10:32 AM, Kathees Rajendram kath...@wso2.com wrote: Hi Manuranga, The count and paginationLimit values are 1000 but 100 asserts only are listed. I tried to increase the number. The changes are not picked up. ../modules/rxt/scripts/asset/asset.js function AssetManager(registry, type, rxtManager, renderer) { this.registry = registry; this.rxtManager = rxtManager; this.rxtTemplate = rxtManager.getRxtDefinition(type); this.type = type; this.r = renderer; this.am = null; this.defaultPaging = { 'start': 0, 'count': 1000, 'sortOrder': 'desc', 'sortBy': 'overview_createdtime', 'paginationLimit': 1000 }; } Thanks, Kathees On Thu, Aug 27, 2015 at 10:21 PM, Manuranga Perera m...@wso2.com wrote: number 100 is hard-coded in modules dir please grep and fix. can you meet me tomorrow? On Thu, Aug 27, 2015 at 6:40 PM, Kathees Rajendram kath...@wso2.com wrote: Adding Manuranga, On Thu, Aug 27, 2015 at 6:23 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, In ESB connector store, we are unable to publish the new connectors. The ESB connector store publisher is restricted to view only 100 connectors. We are having more than 100 connectors to add to the store. Can you suggest how to increase the limit in the wso2es-1.2.0-SNAPSHOT? Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DAS] Scheduling Spark Script in CApp using Spark Script Configuration File
Hi Sinthuja, Is the *Httpd_Log_Analytics* sample ready now? I've added the sample car file to DAS, but I couldn't see its dashboard or gadgets in DAS analytics dashboard portal. Thanks. On Mon, Aug 17, 2015 at 5:47 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi Thanuja, On Mon, Aug 17, 2015 at 5:38 PM, Thanuja Uruththirakodeeswaran thanu...@wso2.com wrote: Hi Sinthuja, Thanks. It's working. I deployed the Httpd_Log_Analytics sample after uncomment the line in its artifacts.xml [1] file. It gives following message in server console. What's the reason for this? [2015-08-17 17:20:35,193] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : Httpd_Log_Analytics.car... [2015-08-17 17:20:35,215] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Some dependencies in cApp : Httpd_Log_Analytics_1.0.0 were not satisfied. Check whether all dependent artifacts are included in cApp file : /home/thanujau/Documents/Project/wso2das-3.0.0-SNAPSHOT/repository/deployment/server/carbonapps/Httpd_Log_Analytics.car This sample yet to be completed with dashboard files, and there are some issues in gadget files, hence you are experiencing the exception. And if we create a dashboard in DAS, where can we find dashboard json file? It's in the registry /_system/config/ues/dashboards/ location. Thanks, Sinthuja [1]. https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/artifacts.xml Thanks. On Mon, Aug 17, 2015 at 4:21 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi Thanuja, You can set the cron expression with CronExpression element in the spark script artifact xml as shown below. ?xml version=1.0 encoding=UTF-8 standalone=yes? Analytics NameAddNewScriptTestWithouTask/Name Scriptdefine table TEST_CAPP (server_name string, ip STRING, tenant INTEGER, sequence LONG, summary STRING);SELECT ip FROM TEST_CAPP;SELECT server_name, count(*) FROM TEST_CAPP GROUP BY server_name;/Script CronExpression0 * * * * ?/CronExpression /Analytics Thanks, Sinthuja. On Mon, Aug 17, 2015 at 4:15 PM, Thanuja Uruththirakodeeswaran thanu...@wso2.com wrote: Hi, I've followed the link [1] and referred sample Httpd_Log_Analytics [2] for creating a car file and deploy that in DAS. Here if we want to use the spark script, we can use a file as in [3]. But if the spark script need to be executed for every minute, how we can add the Cron expression in the script configuration xml? [1]. https://docs.wso2.com/display/DAS300/Carbon+Application+Deployment+for+DAS [2]. https://github.com/wso2/product-bam/tree/master/modules/samples/capps/Httpd_Log_Analytics [3]. https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/Sparkscripts_1.0.0/httpd_log_analytics.xml Thanks. -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sinthuja Rajendran* Associate Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 -- *Sinthuja Rajendran* Associate Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] JVM crashes upon file upload in java 8 in BPS
Hi Vinod, It seems that this is a problem with crypto library or related. See similar issue [1] Can we exclude com.sun.crypto.provider from wso2server.sh and check ? [1] http://mail-archives.apache.org/mod_mbox/tomcat-users/201410.mbox/%3c1412352530270.8...@mbgaustin.com%3E Cheers, Ruwan On Fri, Aug 28, 2015 at 12:07 PM, Vinod Kavinda vi...@wso2.com wrote: Hi all, We are experiencing a JVM crash in BPS. It can be reproduced by uploading the bpel sample CorrelationWithAttribute.zip found in repository/samples/bpel folder to BPS server. Crashes in both 3.2.0 and 3.5.0 versions. The crash occurs only when we upload the package using management console UI. Sample works fine when we deploy it directly to the deployment directory without UI. This seem to be a JVM bug. Please find the stack trace below. Has anyone experienced the same problem? Current thread (0x7f85ec007000): JavaThread http-nio-9443-exec-36 daemon [_thread_in_Java, id=7214, stack(0x7f8557e62000,0x7f8557f63000)] Stack: [0x7f8557e62000,0x7f8557f63000], sp=0x7f8557f5fc50, free space=1015k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xa76cea] VMError::report_and_die()+0x2ca V [libjvm.so+0x4e4da9] report_fatal(char const*, int, char const*)+0x59 V [libjvm.so+0x97c28a] SharedRuntime::continuation_for_implicit_exception(JavaThread*, unsigned char*, SharedRuntime::ImplicitExceptionKind)+0x33a V [libjvm.so+0x8eb17a] JVM_handle_linux_signal+0x48a V [libjvm.so+0x8e1dd3] signalHandler(int, siginfo*, void*)+0x43 C [libpthread.so.0+0x10340] J 12340 C2 com.sun.crypto.provider.GCTR.update([BII[BI)I (158 bytes) @ 0x7f8665abbe21 [0x7f8665abbc40+0x1e1] Regards, Vinod -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware http://www.wso2.com.* Mobile : +94 (0) 712 415544 Blog : http://soatechflicks.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC 2015] Icons used in Siddhi Visual Composer
@Jerad + Sharon, Can you give some suggestions on above. AFAIK we have icon design for sequence filter. Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 12:00 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Sure we'll do *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 10:04 AM, Srinath Perera srin...@wso2.com wrote: UX team Could you help us to figure out UX and icons for http://js.mutexlk.com/? This is a GSoc project for CEP team. Thanks Srinath On Fri, Aug 28, 2015 at 9:59 AM, Mohamed Fawzan fawz...@gmail.com wrote: Hi Srinath, Please forward this to UX team and get them improved. -Regards -- Mohammed Fawzan Faculty of Engineering | UoP +94771121195 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] JVM crashes upon file upload in java 8 in BPS
Hi Ruwan/Firzan, I have tried the proposed solution. But the server still crashes. Regards, Vinod On Fri, Aug 28, 2015 at 3:00 PM, Firzhan Naqash firz...@wso2.com wrote: Yes Ruwan. They have reported a bug [1] about this and they have provided the workaround for this issue. We can try it after adding the following parameter -XX:CompileCommand=exclude,com/sun/crypto/provider/GCTR.* [1] https://bugs.openjdk.java.net/browse/JDK-8049855 Regards, Firzhan On Fri, Aug 28, 2015 at 2:50 PM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi Vinod, It seems that this is a problem with crypto library or related. See similar issue [1] Can we exclude com.sun.crypto.provider from wso2server.sh and check ? [1] http://mail-archives.apache.org/mod_mbox/tomcat-users/201410.mbox/%3c1412352530270.8...@mbgaustin.com%3E Cheers, Ruwan On Fri, Aug 28, 2015 at 12:07 PM, Vinod Kavinda vi...@wso2.com wrote: Hi all, We are experiencing a JVM crash in BPS. It can be reproduced by uploading the bpel sample CorrelationWithAttribute.zip found in repository/samples/bpel folder to BPS server. Crashes in both 3.2.0 and 3.5.0 versions. The crash occurs only when we upload the package using management console UI. Sample works fine when we deploy it directly to the deployment directory without UI. This seem to be a JVM bug. Please find the stack trace below. Has anyone experienced the same problem? Current thread (0x7f85ec007000): JavaThread http-nio-9443-exec-36 daemon [_thread_in_Java, id=7214, stack(0x7f8557e62000,0x7f8557f63000)] Stack: [0x7f8557e62000,0x7f8557f63000], sp=0x7f8557f5fc50, free space=1015k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xa76cea] VMError::report_and_die()+0x2ca V [libjvm.so+0x4e4da9] report_fatal(char const*, int, char const*)+0x59 V [libjvm.so+0x97c28a] SharedRuntime::continuation_for_implicit_exception(JavaThread*, unsigned char*, SharedRuntime::ImplicitExceptionKind)+0x33a V [libjvm.so+0x8eb17a] JVM_handle_linux_signal+0x48a V [libjvm.so+0x8e1dd3] signalHandler(int, siginfo*, void*)+0x43 C [libpthread.so.0+0x10340] J 12340 C2 com.sun.crypto.provider.GCTR.update([BII[BI)I (158 bytes) @ 0x7f8665abbe21 [0x7f8665abbc40+0x1e1] Regards, Vinod -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware http://www.wso2.com.* Mobile : +94 (0) 712 415544 Blog : http://soatechflicks.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware http://www.wso2.com.* Mobile : +94 (0) 712 415544 Blog : http://soatechflicks.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
Hi Srinath, Yeah, I also could reproduce the issue. Will check it out. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:38 PM, Srinath Perera srin...@wso2.com wrote: This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting a Constraint Violation Exception when invoking an API in the gateway worker
Hi All, Getting same when login to APIM Store(2.0.0) as a tenant user, on Greg5.0.0 Beta testing. Attached the log here with. Is there any proper way to overcome this? *TID: [1] [] [2015-08-28 10:07:54,516] @tenant1.com http://tenant1.com [1] [Greg]ERROR {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} - Failed to add resource to path /. Referential integrity constraint violation: REG_RESOURCE_FK_BY_PATH_ID: PUBLIC.REG_RESOURCE FOREIGN KEY(REG_PATH_ID, REG_TENANT_ID) REFERENCES PUBLIC.REG_PATH(REG_PATH_ID, REG_TENANT_ID); SQL statement:INSERT INTO REG_RESOURCE (REG_PATH_ID, REG_NAME, REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR, REG_LAST_UPDATED_TIME, REG_DESCRIPTION, REG_TENANT_ID, REG_UUID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23002-140] {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO}org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: REG_RESOURCE_FK_BY_PATH_ID: PUBLIC.REG_RESOURCE FOREIGN KEY(REG_PATH_ID, REG_TENANT_ID) REFERENCES PUBLIC.REG_PATH(REG_PATH_ID, REG_TENANT_ID); SQL statement:INSERT INTO REG_RESOURCE (REG_PATH_ID, REG_NAME, REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR, REG_LAST_UPDATED_TIME, REG_DESCRIPTION, REG_TENANT_ID, REG_UUID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23002-140]* On Thu, Aug 13, 2015 at 3:37 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: For me this Error got disappeared when the tenant got unloaded. *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Wed, Aug 12, 2015 at 10:00 PM, Evanthika Amarasiri evanth...@wso2.com wrote: We have missed this email. Sorry about it. We will provide logs tomorrow after trying out the scenario once again. Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 Blog: evanthika.blogspot.com wso2.com lean.enterprise.middleware On Wed, Aug 12, 2015 at 7:55 PM, KasunG Gajasinghe kas...@wso2.com wrote: Hi, Did we get these logs? We'd like to have a look at it. Thanks On Thu, Jun 18, 2015 at 6:21 AM, Evanthika Amarasiri evanth...@wso2.com wrote: Hello Senaka, On Thursday, June 18, 2015, Senaka Fernando sen...@wso2.com wrote: Hi Evanthika, Oh! after all these years, :). I believe we can forget about this and you'll not get it for the next 2 years? :). I doubt it :) Anyway lets see what can be done here. Can you'll please do a favor? Can you'll turn on the JDBC logs (with the log4jdbc driver) and then share those log files please? As Sumedha said last, we'll need to see what gets passed onto the DB when this happens and logs can give a lot of insight. Sure. We'll do that and share the logs with you. Regards, Evanthika Thanks, Senaka. On Wed, Jun 17, 2015 at 7:11 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Observed the same issue with AM 1.9.0 packs today when the local DBs were pointed to H2 (with absolute paths). Any reason why this is happening? Regards, Evanthika On Wed, Jun 17, 2015 at 3:41 PM, Asanthi Kulasinghe asan...@wso2.com wrote: Hi, The same error could be reproduced on the ESB 4.9.0 Test setup (1 Manager and 2 worker nodes fronted by Nginx, DB - Oracle ) when invoking a proxy service. When the issue was reproduced 1. The local registry was pointed to the default H2 DB 2. Database URL was defined with the absolute path as suggested under [1] Could get rid of the error by pointing the local registry to an Oracle DB as suggested in this thread [1] https://wso2.org/jira/browse/CARBON-14224 On Wed, Jun 17, 2015 at 3:23 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 Blog: evanthika.blogspot.com wso2.com lean.enterprise.middleware -- Forwarded message -- From: Senaka Fernando sen...@wso2.com Date: Tue, Sep 10, 2013 at 4:25 PM Subject: Re: [Dev] Getting a Constraint Violation Exception when invoking an API in the gateway worker To: Sumedha Rubasinghe sume...@wso2.com Cc: Evanthika Amarasiri evanth...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Sumedha, Yes, but why would this work on one DB and not on another? That's what's puzzling. Thanks, Senaka. On Tue, Sep 10, 2013 at 10:16 AM, Sumedha Rubasinghe sume...@wso2.com wrote: We should take a look @ data going into the insert decide if those actually violate 'REG_RESOURCE_FK_BY_PATH_ID' constraint. On Mon, Sep 9, 2013 at 10:39 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Now that's a convincing issue as to H2 not having proper stability. If this is consistently reproducible, we should probably get in contact with the H2 folks and get their feedback and see how to resolve this, but we should also make it a point to update the production guidelines. Thanks, Senaka. On Mon, Sep 9, 2013 at 10:25 AM, Evanthika
Re: [Dev] Few Comments about DAS
Hi Srinath, I was checking on this, and it seems, the issue is, if you've a large result set, and for the gadget, if you select this large result set as its source data, it will go and read everything. For example, if you use the smart home sample and just put all the raw records as the X axis of a bar chart, it will try to read all thousands of data records and try to render it. But this operation takes a bit of time, to do the JSON serialization and send it to the front end. And what makes this far more worse is, the dashboard automatically refreshes the data, and this happens in an asynchronous manner, and it doesn't wait for the earlier cycle to be finished. So these requests effectively builds up and eats up the CPU in the backend and can end up going OOM. So I guess, first, we have to fix the refreshing of the gadgets somehow, so it will wait for the earlier request to finish, before making new ones. Then after that, we should also provide a sensible upper limit to the data records queries, so people won't mistakenly query millions of records from a raw data table. We have to do this carefully, because for a thing like a scatter plot, we may need to read thousands of records to render the image. So for things like that, it maybe easier for it to be rendered in the backend and sent to the front end. And also, Maninda also pointed out, since we have a natural refresh interval for a dashboard, we should also cache the data in the end backend, with a cache validity period similar to the dashboard interval, so we don't have to read data from the physical databases all the time. So as an immediate fix, shall we try to change the dashboard refresh logic and also put a upper limit to the backend data retrieval to about 1000 (by changing LAST_INDEX variable from -1 to 100 in analytics.jag at carbon-dashboards). @Dunith, will you be able to do these changes. Cheers, Anjana. On Fri, Aug 28, 2015 at 3:07 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Yeah, I also could reproduce the issue. Will check it out. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:38 PM, Srinath Perera srin...@wso2.com wrote: This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site:
Re: [Dev] About Edge Analytics Service-Mobile IOT
Hi Lasantha, I have corrected the issue you mentioned above.Now the events are processing correctly. Thank you. On Tue, Aug 25, 2015 at 11:38 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Lakini, I earlier assumed that you would be using the latest Siddhi-3.0.0 which has the concept of different ExecutionPlanRuntimes. But looking at the code, it seems you are using Siddhi-2.1.0.wso2v1. In that case, my explanation about ExecutionPlanRuntime would be incorrect since Siddhi-2.1.0 did not have ExecutionPlanRuntimes. For Siddhi-2.1.0, 1. Multi-threading when sending events would work. But Siddhi itself would not streamline the events coming from different threads and handover the work to Siddhi's own threads. i.e. the thread that sends the event would be involved in processing and send the output event (unless siddhi-windows were involved). The Siddhi engine itself was not multithreaded, but it can handle events coming in from multiple threads. It is thread-safe. 2. When modifying queries using multiple threads, the queries were tracked by the query-id which involved a generated UUID. So if you added similar queries to the same SiddhiManager instance, it would be added as two different queries. To edit a query, you would have to remove the old query first using its query id and add the modified query. But looking at your code, it seems the two client apps are calling the IEdgeAnalyticsService.Stub.getService() method and in that method you are creating a new CEP instance each time, which in turn creates a new Siddhi manager. Given that, your two client apps would deploy their queries on two different Siddhi instances. However, if there is only one instance of the service itself, calling the RemoteService.getService() method simply creates a new CEP instance and assigns that to the instance variable. i.e. the second call would overwrite the reference to the CEP instance created by the first call. So definitely when you call the RemoteService.sendData() method, it would send those events to the CEP/Siddhi instance that was created by the second call, even if it is the first client that is sending the events. I think there is an issue in simply assigning a new instance to the 'cep' variable in com.example.lakini.edgeanalyticsservice.EdgeAnalyticsService IEdgeAnalyticsService.Stub.getService() method. Can you please correct this issue and see whether events are being processed correctly? Thanks, Lasantha On 25 August 2015 at 18:53, Lakini Senanayaka lak...@wso2.com wrote: Hi all, As per request I have shared my source code.You can find my sample project [1] from this link and I have point out the place[2][3][4] it will be easier to you to understand. [1] - sample edgeAnalyticsService https://github.com/Lakini/EdgeAnalyticServiceSample/ [2] - EdgeAnalyticsService https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/EdgeAnalyticsService/app/src/main/java/com/example/lakini/edgeanalyticsservice/CEP.java#L37 [3] - ClientApp1 https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/ClientApp/app/src/main/java/com/example/lakini/edgeanalyticsservice/MainActivity.java#L58 [4] -ClientApp2 https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/Second/app/src/main/java/com/example/lakini/edgeanalyticsservice/MainActivity.java#L58 Thank you. On Tue, Aug 25, 2015 at 4:30 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Srinath, Lakini, Siddhi is thread safe when sending events. You can send events via multiple threads without any issue. When changing queries via multiple threads, the execution plan runtime of the previous query would have to be shutdown manually. Looking at the current code, it seems that an ExecutionPlanRuntime instance would be created after the query is parsed and that would be put to a ConcurrentHashMap with the execution plan name (specified via annotations) as the key. So if you do not shutdown that old runtime, it will still keep running. But if you shutdown the execution plan from the client code, you should not encounter any issue. @Suho, please correct if my understanding is incorrect on this. @Lakini, if you are having two execution plans with different names and still it seems that one query is overriding the other, that is wrong. Can you share the execution plan syntax you are using for the two queries and also point to the code? Based on the scenario described above, it seems there is a conflict on the execution plan names or the output streams of the execution plans. Thanks, Lasantha On 25 August 2015 at 16:09, Srinath Perera srin...@wso2.com wrote: Please point to your code. CEP team, please help. On Tue, Aug 25, 2015 at 4:00 PM, Lakini Senanayaka lak...@wso2.com wrote: Srinath,thank you for your prompt reply. My Client and Service run separately in 2 different processes.I have just developed 2 simple apps which send random data and I controlled it
Re: [Dev] Few Comments about DAS
Hi Anjana, I'll work on the above change. Regards, Dunith On Fri, Aug 28, 2015 at 8:22 AM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, I was checking on this, and it seems, the issue is, if you've a large result set, and for the gadget, if you select this large result set as its source data, it will go and read everything. For example, if you use the smart home sample and just put all the raw records as the X axis of a bar chart, it will try to read all thousands of data records and try to render it. But this operation takes a bit of time, to do the JSON serialization and send it to the front end. And what makes this far more worse is, the dashboard automatically refreshes the data, and this happens in an asynchronous manner, and it doesn't wait for the earlier cycle to be finished. So these requests effectively builds up and eats up the CPU in the backend and can end up going OOM. So I guess, first, we have to fix the refreshing of the gadgets somehow, so it will wait for the earlier request to finish, before making new ones. Then after that, we should also provide a sensible upper limit to the data records queries, so people won't mistakenly query millions of records from a raw data table. We have to do this carefully, because for a thing like a scatter plot, we may need to read thousands of records to render the image. So for things like that, it maybe easier for it to be rendered in the backend and sent to the front end. And also, Maninda also pointed out, since we have a natural refresh interval for a dashboard, we should also cache the data in the end backend, with a cache validity period similar to the dashboard interval, so we don't have to read data from the physical databases all the time. So as an immediate fix, shall we try to change the dashboard refresh logic and also put a upper limit to the backend data retrieval to about 1000 (by changing LAST_INDEX variable from -1 to 100 in analytics.jag at carbon-dashboards). @Dunith, will you be able to do these changes. Cheers, Anjana. On Fri, Aug 28, 2015 at 3:07 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Yeah, I also could reproduce the issue. Will check it out. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:38 PM, Srinath Perera srin...@wso2.com wrote: This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/
Re: [Dev] Releasing carbon-appmgt 1.1.0
Hi Kasun, We verified the staged components. Please release. Thanks Rushmin On Fri, Aug 28, 2015 at 6:45 PM, KasunG Gajasinghe kas...@wso2.com wrote: Please find the url - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-059/ On Fri, Aug 28, 2015 at 6:40 PM, Rushmin Fernando rush...@wso2.com wrote: Hi KasunG, Please close this repo [1] Thanks Rushmin [1] - http://maven.wso2.org/nexus/service/local/staging/deploy/maven2/org/wso2/carbon/appmgt -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Releasing carbon-appmgt 1.1.0
Hi KasunG, Please close this repo [1] Thanks Rushmin [1] - http://maven.wso2.org/nexus/service/local/staging/deploy/maven2/org/wso2/carbon/appmgt -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Private PaaS] Only One Tenant can Sign Up for an Application via the UI
This issue is now fixed in Apache Stratos 4.1.x branch [1]. It should be available in 4.1.2 release. [1] https://github.com/apache/stratos/commit/f7d6649fe05809fad7702b22d5f80c8eed8f0402 On Wed, Aug 26, 2015 at 2:52 PM, Imesh Gunaratne im...@wso2.com wrote: Hi Devs, I see $subject, steps to re-create: 1. Deploy a Multi-Tenant application 2. Sign up for the above application using Super Tenant 3. Create a new tenant and login using tenant admin 4. Go to the applications page, the Sign Up button is not visible. It looks like there is an issue in the API method which returns the application runtime including signups exists flag. Thanks -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] xpath version and library
Hi, What is the xpath version and library use in Carbon 4.2.0 ? Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing carbon-appmgt 1.1.0
Please find the url - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-059/ On Fri, Aug 28, 2015 at 6:40 PM, Rushmin Fernando rush...@wso2.com wrote: Hi KasunG, Please close this repo [1] Thanks Rushmin [1] - http://maven.wso2.org/nexus/service/local/staging/deploy/maven2/org/wso2/carbon/appmgt -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB Inbound Endpoint] Server returned HTTP response code: 503
Hi All, Atom/RSS Inbound Working fine but sometimes its return 503 HTTP response code . but if there any new update on testing blogger its updating new feeds to ESB. is there any Solution to Avoid this error? or is it a problem because of Continuous polling Request to Blogger in given time interval ? -- Thank you Best Regards *Rajjaz HM* Associate Software Engineer WSO2 Inc. http://wso2.com/ lean | enterprise | middleware Mobile | +94752833834 Email | raj...@wso2.com LinkedIn | Blogger | WSO2 Profile http://wso2.com/about/team/mohammer_rajjaz/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Releasing carbon-appmgt 1.1.0
Released. On Fri, Aug 28, 2015 at 7:12 PM, Rushmin Fernando rush...@wso2.com wrote: Hi Kasun, We verified the staged components. Please release. Thanks Rushmin On Fri, Aug 28, 2015 at 6:45 PM, KasunG Gajasinghe kas...@wso2.com wrote: Please find the url - http://maven.wso2.org/nexus/content/repositories/orgwso2carbonappmgt-059/ On Fri, Aug 28, 2015 at 6:40 PM, Rushmin Fernando rush...@wso2.com wrote: Hi KasunG, Please close this repo [1] Thanks Rushmin [1] - http://maven.wso2.org/nexus/service/local/staging/deploy/maven2/org/wso2/carbon/appmgt -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB Inbound Endpoint] Server returned HTTP response code: 503
Seems like issue is from server-side nothing we can do to avoid this except increasing the interval. On Fri, Aug 28, 2015 at 7:47 PM, Rajjaz Mohammed raj...@wso2.com wrote: Hi All, Atom/RSS Inbound Working fine but sometimes its return 503 HTTP response code . but if there any new update on testing blogger its updating new feeds to ESB. is there any Solution to Avoid this error? or is it a problem because of Continuous polling Request to Blogger in given time interval ? -- Thank you Best Regards *Rajjaz HM* Associate Software Engineer WSO2 Inc. http://wso2.com/ lean | enterprise | middleware Mobile | +94752833834 Email | raj...@wso2.com LinkedIn | Blogger | WSO2 Profile http://wso2.com/about/team/mohammer_rajjaz/ -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] JMS configuration for ESB MessageStore and processor
Hi Folks, I've been playing around with JMS on the ESB. All the instructions I find seem to say that I should set up the axis2 jms receiver and senders. However, when I don't do that and use a JMSMessageStore and MessageProcessor it all seems to work fine. Am I correct in saying that I only need the axis2 configuration when I want to use JMS endpoints and not JMSMessage stores ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Few Comments about DAS
Correct approch (for Viz) would be to sample it down rather than taking first 1000 ( but not for DAL data retrival case). Any chance we can do that? On Fri, Aug 28, 2015 at 7:12 PM, Dunith Dhanushka dun...@wso2.com wrote: Hi Anjana, I'll work on the above change. Regards, Dunith On Fri, Aug 28, 2015 at 8:22 AM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, I was checking on this, and it seems, the issue is, if you've a large result set, and for the gadget, if you select this large result set as its source data, it will go and read everything. For example, if you use the smart home sample and just put all the raw records as the X axis of a bar chart, it will try to read all thousands of data records and try to render it. But this operation takes a bit of time, to do the JSON serialization and send it to the front end. And what makes this far more worse is, the dashboard automatically refreshes the data, and this happens in an asynchronous manner, and it doesn't wait for the earlier cycle to be finished. So these requests effectively builds up and eats up the CPU in the backend and can end up going OOM. So I guess, first, we have to fix the refreshing of the gadgets somehow, so it will wait for the earlier request to finish, before making new ones. Then after that, we should also provide a sensible upper limit to the data records queries, so people won't mistakenly query millions of records from a raw data table. We have to do this carefully, because for a thing like a scatter plot, we may need to read thousands of records to render the image. So for things like that, it maybe easier for it to be rendered in the backend and sent to the front end. And also, Maninda also pointed out, since we have a natural refresh interval for a dashboard, we should also cache the data in the end backend, with a cache validity period similar to the dashboard interval, so we don't have to read data from the physical databases all the time. So as an immediate fix, shall we try to change the dashboard refresh logic and also put a upper limit to the backend data retrieval to about 1000 (by changing LAST_INDEX variable from -1 to 100 in analytics.jag at carbon-dashboards). @Dunith, will you be able to do these changes. Cheers, Anjana. On Fri, Aug 28, 2015 at 3:07 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Yeah, I also could reproduce the issue. Will check it out. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:38 PM, Srinath Perera srin...@wso2.com wrote: This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2] Thanks Srinath -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902
[Dev] OOM while publishing to DAS
Hi, I have noticed that there is a OOM happening during the data publishing to DAS with latest packs. We analyzed the heap dump and found that there are many threads (more than 10) in the *threadPoolExecutor* in the *org.wso2.carbon.analytics.eventsink.internal.queue.AnalyticsEventQueueWorker* class (line *46)*. But it should be *10* which is given as *WorkerPoolSize* in* analytics-eventsink-config.xml*. Please let me know if you have any thoughts. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC 2015] Icons used in Siddhi Visual Composer
Hi, Yes, as Dakshika mentioned sequence filter icons are already there in the wso2 icon pack [1]. Here are some suggestions, Filter - Looks fine (But check the icon on font library [1]) Join - https://cdn2.iconfinder.com/data/icons/ui-1/70/09-128.png Pattern - Looks fine (But may be just sharp the stroke lines) Query - Not sure about this (how about something like this? http://icdn.pro/images/en/u/s/using-online-help-index-point-query-icone-7736-96.png ) Sequence - Check the icon on font library [1] Windows - Looks fine [1] - http://wso2-dev-ux.github.io/font-wso2/icons.html Cheers! Jerad On Fri, Aug 28, 2015 at 3:49 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: @Jerad + Sharon, Can you give some suggestions on above. AFAIK we have icon design for sequence filter. Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 12:00 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Sure we'll do *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 10:04 AM, Srinath Perera srin...@wso2.com wrote: UX team Could you help us to figure out UX and icons for http://js.mutexlk.com/? This is a GSoc project for CEP team. Thanks Srinath On Fri, Aug 28, 2015 at 9:59 AM, Mohamed Fawzan fawz...@gmail.com wrote: Hi Srinath, Please forward this to UX team and get them improved. -Regards -- Mohammed Fawzan Faculty of Engineering | UoP +94771121195 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Commits] [Git][Carbon-Governance] master: Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product
Hi Sagara, Moved the server.rxt to the governance layer [1], [2]. [1] - https://github.com/wso2/carbon-governance/pull/82 [2] - https://github.com/prasa7/product-greg/commit/f072d0798164038ec0c3c4e058dcdd1282c07f59 Thanks On Sat, Aug 29, 2015 at 10:04 AM, Sagara Gunathunga sag...@wso2.com wrote: Specially if you look at DiscoveryAgentExecutorTask, it does not make any sense to have Server RXT under org.wso2.carbon.governance.es.extensions.feature module. Thanks ! On Sat, Aug 29, 2015 at 9:57 AM, Sagara Gunathunga sag...@wso2.com wrote: Hi Prasanna, Comment RXT is specific to G-Reg hence it's ok to move but Server RXT should belong to governance layer, ATM there are number of features we implemented such as DiscoveryAgent and DiscoveryAgentTask in carbon-governance project but without server.rxt there is no mean to keep that code there, also conceptually Server RXT has number of governance use cases but we just haven't implemented in 5.0.0. Can you please move back Server.rxt into carbon-governance project ? Thanks ! On Wed, Jul 22, 2015 at 7:46 PM, git...@wso2.org wrote: Repository : https://github.com/wso2/carbon-governance On branch : master Link : https://github.com/wso2/carbon-governance/compare/ee0cb3f83b5784b2e169ca3d25464f96a7a47778...32da5d082967543b1d3abe1eb41609459c466ae9 --- commit b99ab7c087e89615e16f52fcb66d63600d6d527c Author: prasa7 prasannadanga...@gmail.com Date: Wed Jul 22 09:37:00 2015 +0530 Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product level(in org.wso2.registry.extension.server.feature). --- b99ab7c087e89615e16f52fcb66d63600d6d527c .../resources/p2.inf |2 - .../resources/rxts/comment.rxt | 42 --- .../resources/rxts/server.rxt | 77 3 files changed, 0 insertions(+), 121 deletions(-) diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf index a5bb89d..f884525 100644 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf +++ b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf @@ -12,8 +12,6 @@ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../featur org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wadl.rxt,target:${installFolder}/../../resources/rxts/wadl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wsdl.rxt,target:${installFolder}/../../resources/rxts/wsdl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/soapservice.rxt,target:${installFolder}/../../resources/rxts/soapservice.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/comment.rxt,target:${installFolder}/../../resources/rxts/comment.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/server.rxt,target:${installFolder}/../../resources/rxts/server.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxt.xsd,target:${installFolder}/../../resources/rxt.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/service-ui-config.xsd,target:${installFolder}/../../resources/service-ui-config.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/services-config.xml,target:${installFolder}/../../resources/services-config.xml,overwrite:true);\ diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt deleted file mode 100644 index 5e7df5a..000 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt +++ /dev/null @@ -1,42 +0,0 @@
Re: [Dev] [Commits] [Git][Carbon-Governance] master: Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product
Specially if you look at DiscoveryAgentExecutorTask, it does not make any sense to have Server RXT under org.wso2.carbon.governance.es.extensions.feature module. Thanks ! On Sat, Aug 29, 2015 at 9:57 AM, Sagara Gunathunga sag...@wso2.com wrote: Hi Prasanna, Comment RXT is specific to G-Reg hence it's ok to move but Server RXT should belong to governance layer, ATM there are number of features we implemented such as DiscoveryAgent and DiscoveryAgentTask in carbon-governance project but without server.rxt there is no mean to keep that code there, also conceptually Server RXT has number of governance use cases but we just haven't implemented in 5.0.0. Can you please move back Server.rxt into carbon-governance project ? Thanks ! On Wed, Jul 22, 2015 at 7:46 PM, git...@wso2.org wrote: Repository : https://github.com/wso2/carbon-governance On branch : master Link : https://github.com/wso2/carbon-governance/compare/ee0cb3f83b5784b2e169ca3d25464f96a7a47778...32da5d082967543b1d3abe1eb41609459c466ae9 --- commit b99ab7c087e89615e16f52fcb66d63600d6d527c Author: prasa7 prasannadanga...@gmail.com Date: Wed Jul 22 09:37:00 2015 +0530 Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product level(in org.wso2.registry.extension.server.feature). --- b99ab7c087e89615e16f52fcb66d63600d6d527c .../resources/p2.inf |2 - .../resources/rxts/comment.rxt | 42 --- .../resources/rxts/server.rxt | 77 3 files changed, 0 insertions(+), 121 deletions(-) diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf index a5bb89d..f884525 100644 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf +++ b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf @@ -12,8 +12,6 @@ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../featur org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wadl.rxt,target:${installFolder}/../../resources/rxts/wadl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wsdl.rxt,target:${installFolder}/../../resources/rxts/wsdl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/soapservice.rxt,target:${installFolder}/../../resources/rxts/soapservice.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/comment.rxt,target:${installFolder}/../../resources/rxts/comment.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/server.rxt,target:${installFolder}/../../resources/rxts/server.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxt.xsd,target:${installFolder}/../../resources/rxt.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/service-ui-config.xsd,target:${installFolder}/../../resources/service-ui-config.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/services-config.xml,target:${installFolder}/../../resources/services-config.xml,overwrite:true);\ diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt deleted file mode 100644 index 5e7df5a..000 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt +++ /dev/null @@ -1,42 +0,0 @@ -artifactType type=application/vnd.wso2-comments+xml shortName=comments singularLabel=Comment pluralLabel=Comments hasNamespace=false iconSet=9 -storagePath/publisher_comments/@{overview_hash}/storagePath -nameAttributeoverview_resourcepath/nameAttribute -ui -list -column
Re: [Dev] Few Comments about DAS
Hi, On Fri, Aug 28, 2015 at 9:18 PM, Srinath Perera srin...@wso2.com wrote: Correct approch (for Viz) would be to sample it down rather than taking first 1000 ( but not for DAL data retrival case). Any chance we can do that? That also, should be done case by case for graph types I guess, for example, it doesn't make sense to sample data for a bar graphs, like some bars won't be visible! .. Cheers, Anjana. On Fri, Aug 28, 2015 at 7:12 PM, Dunith Dhanushka dun...@wso2.com wrote: Hi Anjana, I'll work on the above change. Regards, Dunith On Fri, Aug 28, 2015 at 8:22 AM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, I was checking on this, and it seems, the issue is, if you've a large result set, and for the gadget, if you select this large result set as its source data, it will go and read everything. For example, if you use the smart home sample and just put all the raw records as the X axis of a bar chart, it will try to read all thousands of data records and try to render it. But this operation takes a bit of time, to do the JSON serialization and send it to the front end. And what makes this far more worse is, the dashboard automatically refreshes the data, and this happens in an asynchronous manner, and it doesn't wait for the earlier cycle to be finished. So these requests effectively builds up and eats up the CPU in the backend and can end up going OOM. So I guess, first, we have to fix the refreshing of the gadgets somehow, so it will wait for the earlier request to finish, before making new ones. Then after that, we should also provide a sensible upper limit to the data records queries, so people won't mistakenly query millions of records from a raw data table. We have to do this carefully, because for a thing like a scatter plot, we may need to read thousands of records to render the image. So for things like that, it maybe easier for it to be rendered in the backend and sent to the front end. And also, Maninda also pointed out, since we have a natural refresh interval for a dashboard, we should also cache the data in the end backend, with a cache validity period similar to the dashboard interval, so we don't have to read data from the physical databases all the time. So as an immediate fix, shall we try to change the dashboard refresh logic and also put a upper limit to the backend data retrieval to about 1000 (by changing LAST_INDEX variable from -1 to 100 in analytics.jag at carbon-dashboards). @Dunith, will you be able to do these changes. Cheers, Anjana. On Fri, Aug 28, 2015 at 3:07 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Yeah, I also could reproduce the issue. Will check it out. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:38 PM, Srinath Perera srin...@wso2.com wrote: This was a batch chart. On Fri, Aug 28, 2015 at 2:32 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, AFAIK That message Data is not available for plotting. The chart will be loaded once the dashboard receives events normally comes for real time flow gadgets. Regards, Damith. On Fri, Aug 28, 2015 at 2:22 PM, Srinath Perera srin...@wso2.com wrote: Yes, I could see the preview ok. --Srinath On Fri, Aug 28, 2015 at 2:19 PM, Anjana Fernando anj...@wso2.com wrote: Hi Srinath, Did you have data in that table before you created the gadget? .. Cheers, Anjana. On Fri, Aug 28, 2015 at 2:16 PM, Srinath Perera srin...@wso2.com wrote: It is fixed with new pack. However, when I create a Gadget ( based on beatch data) and add teh Gadget, it says Data is not available for plotting. The chart will be loaded once the dashboard receives events. Thanks Srinath On Fri, Aug 28, 2015 at 8:58 AM, Srinath Perera srin...@wso2.com wrote: Yesterday packs had the same problem On Thu, Aug 27, 2015 at 4:20 PM, Maninda Edirisooriya mani...@wso2.com wrote: This was fixed in https://wso2.org/jira/browse/DAS-84 on yesterday by Dunith. Now the fix should be there in latest jenkins built packs. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Thu, Aug 27, 2015 at 4:16 PM, Srinath Perera srin...@wso2.com wrote: is this fixed? On Tue, Aug 25, 2015 at 4:41 PM, Maninda Edirisooriya mani...@wso2.com wrote: On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com wrote: Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. Yes this issue was observed in latest packs. I am looking at it. [image: Inline image 1] 3. When you go into Gadget design view, there is no button to come back. [image: Inline image 2]
Re: [Dev] [GSoC 2015] Icons used in Siddhi Visual Composer
Thanks Jerad. Actually We need some kind of box for the *Query, *Because we will put other operators inside that (eg. windows, pattern etc. ). BTW are you suggesting me to use the actual windows Logo to be used for CEP window? (I am confused) -Regards On Sat, Aug 29, 2015 at 8:45 AM, Jerad Rutnam je...@wso2.com wrote: Hi, Yes, as Dakshika mentioned sequence filter icons are already there in the wso2 icon pack [1]. Here are some suggestions, Filter - Looks fine (But check the icon on font library [1]) Join - https://cdn2.iconfinder.com/data/icons/ui-1/70/09-128.png Pattern - Looks fine (But may be just sharp the stroke lines) Query - Not sure about this (how about something like this? http://icdn.pro/images/en/u/s/using-online-help-index-point-query-icone-7736-96.png ) Sequence - Check the icon on font library [1] Windows - Looks fine [1] - http://wso2-dev-ux.github.io/font-wso2/icons.html Cheers! Jerad On Fri, Aug 28, 2015 at 3:49 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: @Jerad + Sharon, Can you give some suggestions on above. AFAIK we have icon design for sequence filter. Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 12:00 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Sure we'll do *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Aug 28, 2015 at 10:04 AM, Srinath Perera srin...@wso2.com wrote: UX team Could you help us to figure out UX and icons for http://js.mutexlk.com/? This is a GSoc project for CEP team. Thanks Srinath On Fri, Aug 28, 2015 at 9:59 AM, Mohamed Fawzan fawz...@gmail.com wrote: Hi Srinath, Please forward this to UX team and get them improved. -Regards -- Mohammed Fawzan Faculty of Engineering | UoP +94771121195 -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *Jerad Rutnam* *Software Engineer* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- Mohammed Fawzan Faculty of Engineering | UoP +94771121195 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Commits] [Git][Carbon-Governance] master: Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product
Hi Prasanna, Comment RXT is specific to G-Reg hence it's ok to move but Server RXT should belong to governance layer, ATM there are number of features we implemented such as DiscoveryAgent and DiscoveryAgentTask in carbon-governance project but without server.rxt there is no mean to keep that code there, also conceptually Server RXT has number of governance use cases but we just haven't implemented in 5.0.0. Can you please move back Server.rxt into carbon-governance project ? Thanks ! On Wed, Jul 22, 2015 at 7:46 PM, git...@wso2.org wrote: Repository : https://github.com/wso2/carbon-governance On branch : master Link : https://github.com/wso2/carbon-governance/compare/ee0cb3f83b5784b2e169ca3d25464f96a7a47778...32da5d082967543b1d3abe1eb41609459c466ae9 --- commit b99ab7c087e89615e16f52fcb66d63600d6d527c Author: prasa7 prasannadanga...@gmail.com Date: Wed Jul 22 09:37:00 2015 +0530 Removed server and comment rxts from governance layer. These rxt are G-Reg specific rxts. Hence these rxt will be bundled to G-Reg pack in product level(in org.wso2.registry.extension.server.feature). --- b99ab7c087e89615e16f52fcb66d63600d6d527c .../resources/p2.inf |2 - .../resources/rxts/comment.rxt | 42 --- .../resources/rxts/server.rxt | 77 3 files changed, 0 insertions(+), 121 deletions(-) diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf index a5bb89d..f884525 100644 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf +++ b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/p2.inf @@ -12,8 +12,6 @@ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../featur org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wadl.rxt,target:${installFolder}/../../resources/rxts/wadl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/wsdl.rxt,target:${installFolder}/../../resources/rxts/wsdl.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/soapservice.rxt,target:${installFolder}/../../resources/rxts/soapservice.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/comment.rxt,target:${installFolder}/../../resources/rxts/comment.rxt,overwrite:true);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxts/server.rxt,target:${installFolder}/../../resources/rxts/server.rxt,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/rxt.xsd,target:${installFolder}/../../resources/rxt.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/service-ui-config.xsd,target:${installFolder}/../../resources/service-ui-config.xsd,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.registry.extensions.server_${feature.version}/services-config.xml,target:${installFolder}/../../resources/services-config.xml,overwrite:true);\ diff --git a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt b/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt deleted file mode 100644 index 5e7df5a..000 --- a/features/extensions/org.wso2.carbon.registry.extensions.server.feature/resources/rxts/comment.rxt +++ /dev/null @@ -1,42 +0,0 @@ -artifactType type=application/vnd.wso2-comments+xml shortName=comments singularLabel=Comment pluralLabel=Comments hasNamespace=false iconSet=9 -storagePath/publisher_comments/@{overview_hash}/storagePath -nameAttributeoverview_resourcepath/nameAttribute -ui -list -column name=resourcepath -data type=path value=overview_resourcepath href=/publisher_comments/@{overview_hash}/ -/column -/list -/ui -content -table name=Overview -field type=text required=true path=true
Re: [Dev] [DAS] Scheduling Spark Script in CApp using Spark Script Configuration File
Hi Thanuja, Yes, the entire sample was working before. Let me check with latest pack and see whether there are issues. Thanks, Sinthuja On Friday, August 28, 2015, Thanuja Uruththirakodeeswaran thanu...@wso2.com wrote: Hi Sinthuja, Is the *Httpd_Log_Analytics* sample ready now? I've added the sample car file to DAS, but I couldn't see its dashboard or gadgets in DAS analytics dashboard portal. Thanks. On Mon, Aug 17, 2015 at 5:47 PM, Sinthuja Ragendran sinth...@wso2.com javascript:_e(%7B%7D,'cvml','sinth...@wso2.com'); wrote: Hi Thanuja, On Mon, Aug 17, 2015 at 5:38 PM, Thanuja Uruththirakodeeswaran thanu...@wso2.com javascript:_e(%7B%7D,'cvml','thanu...@wso2.com'); wrote: Hi Sinthuja, Thanks. It's working. I deployed the Httpd_Log_Analytics sample after uncomment the line in its artifacts.xml [1] file. It gives following message in server console. What's the reason for this? [2015-08-17 17:20:35,193] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : Httpd_Log_Analytics.car... [2015-08-17 17:20:35,215] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Some dependencies in cApp : Httpd_Log_Analytics_1.0.0 were not satisfied. Check whether all dependent artifacts are included in cApp file : /home/thanujau/Documents/Project/wso2das-3.0.0-SNAPSHOT/repository/deployment/server/carbonapps/Httpd_Log_Analytics.car This sample yet to be completed with dashboard files, and there are some issues in gadget files, hence you are experiencing the exception. And if we create a dashboard in DAS, where can we find dashboard json file? It's in the registry /_system/config/ues/dashboards/ location. Thanks, Sinthuja [1]. https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/artifacts.xml Thanks. On Mon, Aug 17, 2015 at 4:21 PM, Sinthuja Ragendran sinth...@wso2.com javascript:_e(%7B%7D,'cvml','sinth...@wso2.com'); wrote: Hi Thanuja, You can set the cron expression with CronExpression element in the spark script artifact xml as shown below. ?xml version=1.0 encoding=UTF-8 standalone=yes? Analytics NameAddNewScriptTestWithouTask/Name Scriptdefine table TEST_CAPP (server_name string, ip STRING, tenant INTEGER, sequence LONG, summary STRING);SELECT ip FROM TEST_CAPP;SELECT server_name, count(*) FROM TEST_CAPP GROUP BY server_name;/Script CronExpression0 * * * * ?/CronExpression /Analytics Thanks, Sinthuja. On Mon, Aug 17, 2015 at 4:15 PM, Thanuja Uruththirakodeeswaran thanu...@wso2.com javascript:_e(%7B%7D,'cvml','thanu...@wso2.com'); wrote: Hi, I've followed the link [1] and referred sample Httpd_Log_Analytics [2] for creating a car file and deploy that in DAS. Here if we want to use the spark script, we can use a file as in [3]. But if the spark script need to be executed for every minute, how we can add the Cron expression in the script configuration xml? [1]. https://docs.wso2.com/display/DAS300/Carbon+Application+Deployment+for+DAS [2]. https://github.com/wso2/product-bam/tree/master/modules/samples/capps/Httpd_Log_Analytics [3]. https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/Sparkscripts_1.0.0/httpd_log_analytics.xml Thanks. -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sinthuja Rajendran* Associate Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 -- *Sinthuja Rajendran* Associate Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 -- Thanuja Uruththirakodeeswaran Software Engineer WSO2 Inc.;http://wso2.com lean.enterprise.middleware mobile: +94 774363167 -- Sent from iPhone ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] JMS configuration for ESB MessageStore and processor
Hi John, MSMP does not make use of axis2 transports. You only need to enable it in case if you want to use jms listening proxy, or send to a to JMS broker (producer use case) using endpoints. On Fri, Aug 28, 2015 at 7:58 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've been playing around with JMS on the ESB. All the instructions I find seem to say that I should set up the axis2 jms receiver and senders. However, when I don't do that and use a JMSMessageStore and MessageProcessor it all seems to work fine. Am I correct in saying that I only need the axis2 configuration when I want to use JMS endpoints and not JMSMessage stores ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] About Edge Analytics Service-Mobile IOT
That's great!... On 28 August 2015 at 18:25, Lakini Senanayaka lak...@wso2.com wrote: Hi Lasantha, I have corrected the issue you mentioned above.Now the events are processing correctly. Thank you. On Tue, Aug 25, 2015 at 11:38 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Lakini, I earlier assumed that you would be using the latest Siddhi-3.0.0 which has the concept of different ExecutionPlanRuntimes. But looking at the code, it seems you are using Siddhi-2.1.0.wso2v1. In that case, my explanation about ExecutionPlanRuntime would be incorrect since Siddhi-2.1.0 did not have ExecutionPlanRuntimes. For Siddhi-2.1.0, 1. Multi-threading when sending events would work. But Siddhi itself would not streamline the events coming from different threads and handover the work to Siddhi's own threads. i.e. the thread that sends the event would be involved in processing and send the output event (unless siddhi-windows were involved). The Siddhi engine itself was not multithreaded, but it can handle events coming in from multiple threads. It is thread-safe. 2. When modifying queries using multiple threads, the queries were tracked by the query-id which involved a generated UUID. So if you added similar queries to the same SiddhiManager instance, it would be added as two different queries. To edit a query, you would have to remove the old query first using its query id and add the modified query. But looking at your code, it seems the two client apps are calling the IEdgeAnalyticsService.Stub.getService() method and in that method you are creating a new CEP instance each time, which in turn creates a new Siddhi manager. Given that, your two client apps would deploy their queries on two different Siddhi instances. However, if there is only one instance of the service itself, calling the RemoteService.getService() method simply creates a new CEP instance and assigns that to the instance variable. i.e. the second call would overwrite the reference to the CEP instance created by the first call. So definitely when you call the RemoteService.sendData() method, it would send those events to the CEP/Siddhi instance that was created by the second call, even if it is the first client that is sending the events. I think there is an issue in simply assigning a new instance to the 'cep' variable in com.example.lakini.edgeanalyticsservice.EdgeAnalyticsService IEdgeAnalyticsService.Stub.getService() method. Can you please correct this issue and see whether events are being processed correctly? Thanks, Lasantha On 25 August 2015 at 18:53, Lakini Senanayaka lak...@wso2.com wrote: Hi all, As per request I have shared my source code.You can find my sample project [1] from this link and I have point out the place[2][3][4] it will be easier to you to understand. [1] - sample edgeAnalyticsService https://github.com/Lakini/EdgeAnalyticServiceSample/ [2] - EdgeAnalyticsService https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/EdgeAnalyticsService/app/src/main/java/com/example/lakini/edgeanalyticsservice/CEP.java#L37 [3] - ClientApp1 https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/ClientApp/app/src/main/java/com/example/lakini/edgeanalyticsservice/MainActivity.java#L58 [4] -ClientApp2 https://github.com/Lakini/EdgeAnalyticServiceSample/blob/master/Second/app/src/main/java/com/example/lakini/edgeanalyticsservice/MainActivity.java#L58 Thank you. On Tue, Aug 25, 2015 at 4:30 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Srinath, Lakini, Siddhi is thread safe when sending events. You can send events via multiple threads without any issue. When changing queries via multiple threads, the execution plan runtime of the previous query would have to be shutdown manually. Looking at the current code, it seems that an ExecutionPlanRuntime instance would be created after the query is parsed and that would be put to a ConcurrentHashMap with the execution plan name (specified via annotations) as the key. So if you do not shutdown that old runtime, it will still keep running. But if you shutdown the execution plan from the client code, you should not encounter any issue. @Suho, please correct if my understanding is incorrect on this. @Lakini, if you are having two execution plans with different names and still it seems that one query is overriding the other, that is wrong. Can you share the execution plan syntax you are using for the two queries and also point to the code? Based on the scenario described above, it seems there is a conflict on the execution plan names or the output streams of the execution plans. Thanks, Lasantha On 25 August 2015 at 16:09, Srinath Perera srin...@wso2.com wrote: Please point to your code. CEP team, please help. On Tue, Aug 25, 2015 at 4:00 PM, Lakini Senanayaka lak...@wso2.com wrote: Srinath,thank you for your prompt reply. My Client and Service run separately in 2 different
[Dev] Running carbon servers in background in Windows
Hi all, Is there a straightforward way to do $subject? Thanks -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Data Services Server 3.5.0 Alpha Released
WSO2 Data Services Team is pleased to announce WSO2 Data Service Server 3.5.0 Alpha Release. You can download the pack from location [1] and [2]. Javadocs can be found in [3]. Below are the improvements, bug fixes and new features included in the release Bug - [DS-721 https://wso2.org/jira/browse/DS-721] - Data Services GET REST resources with same name in URL does not work - [DS-879 https://wso2.org/jira/browse/DS-879] - [Cluster] - NPE when Invoke GET method for a REST service - [DS-1022 https://wso2.org/jira/browse/DS-1022] - Input mapping Sql Type BLOB in DSS, throws null exception - [DS-1028 https://wso2.org/jira/browse/DS-1028] - Null pointer error occurs when deploying data service (with dss generate feature) - [DS-1038 https://wso2.org/jira/browse/DS-1038] - The word 'Data Source' should be changed to 'Datasource' - [DS-1039 https://wso2.org/jira/browse/DS-1039] - Cannot connect to Informix DB without using username/password in creating dataservice - [DS-1041 https://wso2.org/jira/browse/DS-1041] - Service generation for blob type columns create unknown type base64 in WSDL - [DS-1042 https://wso2.org/jira/browse/DS-1042] - Data Services fail to serve GET resource requests if Content-Type is specified - [DS-1047 https://wso2.org/jira/browse/DS-1047] - NPE - when invoke POST method for a REST service to get return request status responce - [DS-1052 https://wso2.org/jira/browse/DS-1052] - Output event triggers does not work when the query is run as the second query of a nested query - [DS-1053 https://wso2.org/jira/browse/DS-1053] - Exception when returning null values if security is on - [DS-1054 https://wso2.org/jira/browse/DS-1054] - NPE when sending a SOAP request with an empty DATE field tag - [DS-1058 https://wso2.org/jira/browse/DS-1058] - Data service with GET resources returns fault String if it has url path params similar to the service name - [DS-1059 https://wso2.org/jira/browse/DS-1059] - [DSS] jdbcBatchUpdateSupport won't get updated if carbon datasource is used - [DS-1061 https://wso2.org/jira/browse/DS-1061] - user credentials for MongoDB - [DS-1062 https://wso2.org/jira/browse/DS-1062] - Data service wizard - Operation Parameters are not generated automatically - [DS-1065 https://wso2.org/jira/browse/DS-1065] - NullPointer exception throws when the ordinal order is incorrect - [DS-1069 https://wso2.org/jira/browse/DS-1069] - Different timestamps are stored in Oracle DB when DSS server runs in different timestamps for the same dateTime value. - [DS-1073 https://wso2.org/jira/browse/DS-1073] - Faulty data service cannot be deleted from the UI - [DS-1076 https://wso2.org/jira/browse/DS-1076] - samples/dataServicesSamples/Client CSV does not compile - [DS-1077 https://wso2.org/jira/browse/DS-1077] - Create new data service option fails when the process is cancelled once. - [DS-1083 https://wso2.org/jira/browse/DS-1083] - Some of the inserts are missing in the DB when We do a load test. - [DS-1090 https://wso2.org/jira/browse/DS-1090] - NPE is thrown when there is a null value in the result set and escape non printable characters flag is enabled Improvement - [DS-1036 https://wso2.org/jira/browse/DS-1036] - Dynamic query support for cassandra - [DS-1043 https://wso2.org/jira/browse/DS-1043] - Support Generate Input Mappings and Generate Response for Cassandra queries in UI - [DS-1066 https://wso2.org/jira/browse/DS-1066] - Change default fetchSize in RDBMS to a better value - [DS-1070 https://wso2.org/jira/browse/DS-1070] - Data format conversion exceptions should inform the failed element - [DS-1082 https://wso2.org/jira/browse/DS-1082] - Failed SQL should not make the service fail on re-start - [DS-1089 https://wso2.org/jira/browse/DS-1089] - Bad Error Message During Data Source Creation - [DS-1091 https://wso2.org/jira/browse/DS-1091] - Support Oauth2 for google spreadsheet in data services server New Feature - [DS-1040 https://wso2.org/jira/browse/DS-1040] - Retrieve update row count - [DS-1045 https://wso2.org/jira/browse/DS-1045] - OData Support [1] - https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/Alpha/wso2dss-3.5.0-SNAPSHOT.zip [2] - https://github.com/wso2/product-dss/releases/download/untagged-d8b7b19e61e6ff567b09/wso2dss-3.5.0-SNAPSHOT.zip [3] - https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/Alpha/javaDocs/index.html Thanks, DSS Team -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev