Re: [Dev] PostgreSQL configuration failure in API-Manager 1.7.0.
Check with this [1] [1]. http://www.daily-dev-solutions.com/2011/01/orgpostgresqlutilpsqlexception-error.html On Wed, Apr 23, 2014 at 11:14 AM, Asanthi Kulasinghe asan...@wso2.comwrote: Hi, FYI. [1] has been reported for PostgreSQL configuration failure in API-Manager 1.7.0. [1] https://wso2.org/jira/browse/APIMANAGER-2203?filter=-2 Regards *Asanthi Kulasinghe* Software Engineer - QA WSO2 Inc; http://www.wso2.com/. Mobile: +94777355522 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chathurika Mahaarachchi* Software Engineer, QA. WSO2 Inc.: http://wso2.com/ lean.enterprise.middleware Mobile: +94718223950 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Data mapper] Declare project constants in a Util class
Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] wsdl link gives issue in AS
Hi all; i have a webapp and when i deploy that in a standalone AS server, i can get it's wsdl. But in a clustered env,it is giving issue. That is, when it redirects to wsdl url,Im getting an soapfault[1] in the browser. I do not see any backend error logs. The default webapps/services , wadl/wsdl gives correct content. Does anybody face this issue before? [1]soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringString index out of range: -1/faultstring /soap:Fault /soap:Body /soap:Envelope Thanks. -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Data mapper] Wrong placement of new tree elements
Might be selectedNode is wrong, when there are list of nodes when you mouse click and select, it may sometimes selects the upper node or parent node. On Wed, Apr 23, 2014 at 9:27 AM, Gayan Yalpathwala gay...@wso2.com wrote: Hi, I am adding new elements to existing tree nodes of input and output trees and encounter a wrong placing issue for newly added tree elements. The following code snippet is used to add a new element to a tree node. EObject object = ((Node) selectedEP.getModel()).getElement(); // Used to identify the selected resource of the model TreeNode selectedNode = (TreeNode) object; // Configure the new element by setting default values Element elementNew = DataMapperFactory.eINSTANCE.createElement(); elementNew.setName(NEW_FIELD_ID); elementNew.setLevel(selectedNode.getLevel() + 1); elementNew.setSchemaDataType(SchemaDataType.STRING); AddCommand addCmd = new AddCommand(((GraphicalEditPart) selectedEP).getEditingDomain(), selectedNode, DataMapperPackage.Literals.TREE_NODE__ELEMENT, elementNew, 0); if (addCmd.canExecute()) { ((GraphicalEditPart) selectedEP).getEditingDomain().getCommandStack() .execute(addCmd); } This successfully adds the new element as a child of the selected editpart in the emf model, yet graphically displays above the selected editpart (not under the selected editpart). (Here, a NewField is added to NewRecord) Another thing to note here is that when a new field is added to an imported tree node like sfRecord, it is correctly added under the exact sfRecord node. Any thoughts on this? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Data mapper] Declare project constants in a Util class
+1, Move it to a common place so it would be easy for all of us to code and maintain. On Wed, Apr 23, 2014 at 12:21 PM, Gayan Yalpathwala gay...@wso2.com wrote: Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM Status update
Hi All, Please find below the testing status of BAM as of 22nd April, 2014. *On-Hold:* - Multi Tenancy and related features due to BAM-1566,BAM-1565,BAM-1554 - UI Level Dashboard,Acitivity Monitoring and Message Console verification due to BAM-1574 *In-Progress:* - Profile - Feature deprecated. Now component level enable/disable facility provided. Currently Testing in progress - Regression Testing - All Major scenarios due to couple of critical fixes such as Databridge,etc during the last couple of weeks *Not Started:* - WCF Testing *L1 Issues:* BAM-1574 https://wso2.org/jira/browse/BAM-1574 Cannot login to BAM/Activity dashboards Message Console BAM-1571 https://wso2.org/jira/browse/BAM-1571 Server startup with default profile throwing exception BAM-1562 https://wso2.org/jira/browse/BAM-1562 [LDAP] Publishing data to a tenant admin user throwing exception with primary LDAP datasource BAM-1566 https://wso2.org/jira/browse/BAM-1566 Unable to login to Tenant, after deploying a toolbox and restarting the server BAM-1565 https://wso2.org/jira/browse/BAM-1565 Error occurred when login to Teant, who had a Toolbox deployed earlier BAM-1554 https://wso2.org/jira/browse/BAM-1554 WSO2BAM_DATASOURCE specified for Tenant, get unload with tenant cleanup Refer [1] [2] for Test Plan and complete 2.4.1 related open defect list respectively. 1. TestPlan_BAM_2.4.1https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AoNp5NttUhORdHhSTVB6cXFhc3RmeHpRNEtWUF9DakEusp=drive_web#gid=0 2. project = BAM AND affectedVersion = 2.4.1 AND resolution = Unresolved AND type = Bug On Mon, Apr 7, 2014 at 7:11 PM, Thayalan thaya...@wso2.com wrote: Hi All, Please find below the test progress update as of today. *Tested at-least once* - HL7 in Message Console (Need to re-test due to databridge fixes) - Incremental Processing - External Apache Cassandra (1.2.10) - Management Console Activity Monitoring - Hive Metastore support for Oracle MS-SQL - Dep-Sync - Fully Distributed / Partially Distributed Set-up - JMX Monitoring - Reports - Profiles - AS/APIM/ESB Integration scenarios - Windows support *In-Progress* - Failover / Load Balancing scenarios - Long -Running test - Multi Tenant Support *Yet to verify* - WCF - DotNet appserver - Data Migration / Cassandra migration - External Task Server - JCache - P2 Repo - Customer Reported Scenarios The following are the open L1 L2 issue summary *Highest* BAM-1516 https://wso2.org/jira/browse/BAM-1516 [Dep Sync] When a Phone Retail sample toolbox deployed to node1 observed an exception in node2 *High* BAM-1536 https://wso2.org/jira/browse/BAM-1536 [BAM] [Tenant] Key Spaces duplicate for Tenant BAM-1532 https://wso2.org/jira/browse/BAM-1532 [BAM] [Reports] Edited reports not get saved BAM-1529 https://wso2.org/jira/browse/BAM-1529 [Gadget Server] Charts not showing in KPI-Phone Brands KPI User Summary tabs for KPI sample BAM-1522 https://wso2.org/jira/browse/BAM-1522 [BAM] [Profile] StreamIndexDefinitions not get created in registry in profile modes BAM-1513 https://wso2.org/jira/browse/BAM-1513 [BAM] [Tenant] Error occurred during the Tenant loading - Error while deploying webapp: StandardContext[bamdashboards] BAM-1508 https://wso2.org/jira/browse/BAM-1508 [Dep Sync] Tool-box deployment and Synchronization throwing exception BAM-1505 https://wso2.org/jira/browse/BAM-1505 [BAM] [DepSync] [Intermittent] OperationTimeoutException occurred when adding a toolbox BAM-1496 https://wso2.org/jira/browse/BAM-1496 [BAM] Error occurred while undeploying HTTPD Logs toolbox BAM-1495 https://wso2.org/jira/browse/BAM-1495 [BAM] Errors occurred with HTTPD Log Toolbox BAM-1490 https://wso2.org/jira/browse/BAM-1490 [Intermittent] Undeployment of toolbox not removing analytical script and throwing exception Anjana Team please let us know if there are any additional areas that we need to focus on for v2.4.1 release. Notes: 1. The profile concept will be deprecated and feature enable/disable facility will be introduced. As such this area require further testing due to change in nature of the original functionality. 2. Deployment Synchronizer patch provided to us not fully resolved the issues. 3. Regression test to confirm the Databridge fixes and Registry level changes require considerable amount of time for re-testing Detail Test Plan at [1] 1. BAM Test Planhttps://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AoNp5NttUhORdHhSTVB6cXFhc3RmeHpRNEtWUF9DakEusp=drive_web#gid=18 On Fri, Mar 28, 2014 at 4:55 PM, Thayalan thaya...@wso2.com wrote: Thanks for the info. Server start-up successful with new profile name on Linux. For windows; to prevent cassandra server startup need to add -Ddisable.cassandra.server.startup=true for the above said profile. On Fri, Mar 28, 2014 at 11:34 AM, Gokul Balakrishnan
Re: [Dev] wsdl link gives issue in AS
Are you deploying cxf based jax-ws services? will you be able to attach the webapp? We would at least want to see the web.XML and cxf-servlet.XML and the wsdl URL you tried. On Wednesday, April 23, 2014, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi all; i have a webapp and when i deploy that in a standalone AS server, i can get it's wsdl. But in a clustered env,it is giving issue. That is, when it redirects to wsdl url,Im getting an soapfault[1] in the browser. I do not see any backend error logs. The default webapps/services , wadl/wsdl gives correct content. Does anybody face this issue before? [1]soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringString index out of range: -1/faultstring /soap:Fault /soap:Body /soap:Envelope Thanks. -- -Ratha mobile: (+94)755906608 -- *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] Not enough disk space in Jenkins sever.
Hi Krishantha, I have sent a request to infra to increase the disk space. Thanks, KasunG On Wednesday, April 23, 2014, Krishantha Samaraweera krishan...@wso2.com wrote: DSS build failed with following error. Please have a look. Caused by: org.apache.axis2.schema.SchemaCompilationException: javax.xml.transform.TransformerException: java.io.IOException: No space left on device [java] at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:270) [java] at org.apache.axis2.schema.SchemaCompiler.writeComplexType(SchemaCompiler.java:) [java] at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1097) [java] at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1005) [java] at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644) [java] at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603) [java] at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063) [java] at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946) [java] at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155) [java] at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1091) [java] at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1005) [java] at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644) [java] at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:614) [java] at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:422) [java] at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:291) [java] at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102) [java] ... 8 more -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *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] Product repo naming in GitHub
On Tue, Apr 22, 2014 at 11:43 AM, Udara Rathnayake uda...@wso2.com wrote: Hi all, At the moment we do have our products within GitHub[1][2]. Since we need to move in to the Git organizational model with repos in both wso2 and wso2-dev organizations we can, i) Rename existing repos within wso2 into product-{name} ii) Create new repos and move existing source By following the 1st approach we can keep our history +1, for renaming repo. It help to track commit history if we follow (ii), we can have issue in forks, externals,clones. Therefore we have try (i) (but we are going to work in wso2-dev fresh repo after this move) and GitHub will redirect existing information to the new name[3]. Anyway we have to create new repos within wso2-dev organization. [1] https://github.com/wso2/enterprise-store [2] https://github.com/wso2/ues [3] https://help.github.com/articles/renaming-a-repository Regards, UdaraR -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Madhuka* Udantha Senior Software Engineer Development Technologies WSO2 Inc. : http://wso2.com *Mobile*: +94774066336 *Blog*: http://madhukaudantha.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] HTTP Patch support by ESB 4.8.1
Agreed with Miyuru. however this is experienced ONLY on WSO2 environment. but not in our local environments. that's why no idea what is the cause. however i have noted this only cause when we use java script mediator. appriciate any idea to solve this as few integration testing onhold due to this un identified issue :) On Wed, Apr 23, 2014 at 7:19 AM, Miyuru Wanninayaka miy...@wso2.com wrote: I can't imagine a way which fixed done in [1],[2] cause JSON issues in script mediator, it's a only minor change to http request factory and nothing to do with script mediator. It should be a some other fix done early causing this issue. [1] https://wso2.org/jira/browse/ESBJAVA-3051 [2] https://wso2.org/jira/browse/ESBJAVA-3061 On Tue, Apr 22, 2014 at 1:14 PM, Krishantha Dinesh kr...@krishantha.comwrote: this is already experienced issue with above patch. hope malaka can help you on solve this as he is already solve this on other connector Malaka can you share the solution please On Tue, Apr 22, 2014 at 5:09 PM, Madhawa Bandara madh...@wso2.comwrote: Hi, I applied the above patches and the requests with HTTP PATCH method work well now. But now I get a new exception for the requests in which a JSON payload is used (inside the script mediator with language=js): com.sun.phobos.script.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: ReferenceError: JSON is not defined. Note that these methods worked fine *before *applying the patch. Any suggestions? On Mon, Apr 21, 2014 at 10:38 AM, Malaka Silva mal...@wso2.com wrote: Hi Kasun, It's already done. https://wso2.org/jira/browse/ESBJAVA-3051 https://wso2.org/jira/browse/ESBJAVA-3061 Best Regards, Malaka On Mon, Apr 21, 2014 at 10:23 AM, Kasun Indrasiri ka...@wso2.comwrote: Have we committed this in to trunk? If not please do so. On Mon, Apr 21, 2014 at 10:21 AM, Malaka Silva mal...@wso2.comwrote: Hi Mahawa, Currently it's not supported. It'll be available with the next release. ESB 4.9.0 But there is a patch for this. Best Regards, Malaka On Mon, Apr 21, 2014 at 10:13 AM, Madhawa Bandara madh...@wso2.comwrote: Hi, Does the ESB 4.8.1 support the HTTP patch method? When I make a http patch request, it is shown as an HTTP POST on the wire. -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ 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 -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.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. -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Miyuru Wanninayaka Senior Technical Lead WSO2 Inc. : http://wso2.com Mobile : +94 77 209 9788 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Data mapper] Wrong placement of new tree elements
Hi Susinda, We have tested the emf model. It correctly adds the new element as a child of the correct selectedNode. The problem occurs only in the graphical model. Thanks, On Wed, Apr 23, 2014 at 12:38 PM, Susinda Perera susi...@wso2.com wrote: Might be selectedNode is wrong, when there are list of nodes when you mouse click and select, it may sometimes selects the upper node or parent node. On Wed, Apr 23, 2014 at 9:27 AM, Gayan Yalpathwala gay...@wso2.comwrote: Hi, I am adding new elements to existing tree nodes of input and output trees and encounter a wrong placing issue for newly added tree elements. The following code snippet is used to add a new element to a tree node. EObject object = ((Node) selectedEP.getModel()).getElement(); // Used to identify the selected resource of the model TreeNode selectedNode = (TreeNode) object; // Configure the new element by setting default values Element elementNew = DataMapperFactory.eINSTANCE.createElement(); elementNew.setName(NEW_FIELD_ID); elementNew.setLevel(selectedNode.getLevel() + 1); elementNew.setSchemaDataType(SchemaDataType.STRING); AddCommand addCmd = new AddCommand(((GraphicalEditPart) selectedEP).getEditingDomain(), selectedNode, DataMapperPackage.Literals.TREE_NODE__ELEMENT, elementNew, 0); if (addCmd.canExecute()) { ((GraphicalEditPart) selectedEP).getEditingDomain().getCommandStack() .execute(addCmd); } This successfully adds the new element as a child of the selected editpart in the emf model, yet graphically displays above the selected editpart (not under the selected editpart). (Here, a NewField is added to NewRecord) Another thing to note here is that when a new field is added to an imported tree node like sfRecord, it is correctly added under the exact sfRecord node. Any thoughts on this? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PostgreSQL configuration failure in API-Manager 1.7.0.
Folks, Focus on H2, MySQL Oracle first and get the full functionality verified. Then focus on MSSQL, DB2 PostgreSQL. On Wed, Apr 23, 2014 at 11:14 AM, Asanthi Kulasinghe asan...@wso2.comwrote: Hi, FYI. [1] has been reported for PostgreSQL configuration failure in API-Manager 1.7.0. [1] https://wso2.org/jira/browse/APIMANAGER-2203?filter=-2 Regards *Asanthi Kulasinghe* Software Engineer - QA WSO2 Inc; http://www.wso2.com/. Mobile: +94777355522 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- /sumedha m: +94 773017743 b : bit.ly/sumedha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Is it possible to insert jaggery code segment in to javascript?
Hi, I want to access a variable defined in jaggery inside javascript code segment. Does jaggery support this? Thanks Regards, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is it possible to insert jaggery code segment in to javascript?
Hello Sajini, Jaggery is server-side javascript. Meaning, the javascript you write in the browser will not be aware of jaggery code unless you make it explicitly available to be so. Assuming you have a variable serverSideFoo defined inside jaggery (var serverSideFoo = 'bar') you can make it available to the client side javascript by writing it to the page. script var clientSideFoo = '%= serverSideFoo %'; /script Cheers, Nadeesha. On Wed, Apr 23, 2014 at 2:22 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I want to access a variable defined in jaggery inside javascript code segment. Does jaggery support this? Thanks Regards, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is it possible to insert jaggery code segment in to javascript?
Thank you Nadeesha. It worked. Thanks Regards, Sajini. On Wed, Apr 23, 2014 at 2:33 PM, Nadeesha Cabral nadees...@wso2.com wrote: Hello Sajini, Jaggery is server-side javascript. Meaning, the javascript you write in the browser will not be aware of jaggery code unless you make it explicitly available to be so. Assuming you have a variable serverSideFoo defined inside jaggery (var serverSideFoo = 'bar') you can make it available to the client side javascript by writing it to the page. script var clientSideFoo = '%= serverSideFoo %'; /script Cheers, Nadeesha. On Wed, Apr 23, 2014 at 2:22 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I want to access a variable defined in jaggery inside javascript code segment. Does jaggery support this? Thanks Regards, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Improvements to HTTP session replication
After switching to Hazelcast, we rewrote the HTTP session replication to work with cluster messaging. However, this is suboptimal because we also have a proper caching implementation. So, session replication should happen via caching. The way to implement this would be, for each HTTP session (UUID), there should be a cache in the respective tenant's space, under a single cache manager (HTTPSessionCacheManager, say). The cache should be created using the CacheBuilder API so that the HTTP session timeout is inline with the cache timeout. Now, session replication boils down to a matter of placing the relevant objects into this cache. This should be a simple implementation would be good for a new person to take this up to learn more about Carbon concepts. You can talk to me if you need any clarifications. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 blog: **http://blog.afkham.org*http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build error - wso2-dev/carbon4-kernel
Hi KasunG, I'm getting following build error. INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen (feature-installation) @ wso2carbon-core --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel /home/ajith/wso2/software/jdk1.6.0_32/jre/bin/java -jar /home/ajith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.director -metadataRepository file:/home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel/target/p2-repo -artifactRepository file:/home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel/target/p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.carbon.core.feature.group/4.3.0.SNAPSHOT, -bundlepool /home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel/target/WSO2Carbon -shared /home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel/target/WSO2Carbon/p2 -destination /home/ajith/wso2/build/gitbuild/wso2-dev/carbon4-kernel/distribution/kernel/target/WSO2Carbon/default -profile default -roaming Installing org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) Missing requirement: axis2 1.6.1.wso2v11-SNAPSHOT (axis2 1.6.1.wso2v11-SNAPSHOT) requires 'package org.apache.catalina.tribes 6.0.16' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Application Deployer 4.3.0.SNAPSHOT (org.wso2.carbon.application.deployer 4.3.0.SNAPSHOT) To: package org.apache.axis2.context [1.6.0,2.0.0) Cannot satisfy dependency: From: WSO2 Carbon - Carbon Common Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.common.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.application.deployer [4.3.0.SNAPSHOT] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.core.common.feature.group [4.3.0.SNAPSHOT] Application failed, log file location: /home/ajith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398244671931.log [INFO] [INFO] Reactor Summary: -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Improvements to HTTP session replication
One more thing, session invalidation or session timeout should result in this cache being destroyed. On Wed, Apr 23, 2014 at 2:51 PM, Afkham Azeez az...@wso2.com wrote: After switching to Hazelcast, we rewrote the HTTP session replication to work with cluster messaging. However, this is suboptimal because we also have a proper caching implementation. So, session replication should happen via caching. The way to implement this would be, for each HTTP session (UUID), there should be a cache in the respective tenant's space, under a single cache manager (HTTPSessionCacheManager, say). The cache should be created using the CacheBuilder API so that the HTTP session timeout is inline with the cache timeout. Now, session replication boils down to a matter of placing the relevant objects into this cache. This should be a simple implementation would be good for a new person to take this up to learn more about Carbon concepts. You can talk to me if you need any clarifications. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 %2B94%2077%203320919 blog: * *http://blog.afkham.org* http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 blog: **http://blog.afkham.org*http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][MB] Providing JMS Message Selectors Support for WSO2 MB
Hi, I have added a page in the 2.2.0 docs [1]. Please have a look and let me know if there are any changes required. [1] https://docs.wso2.org/display/MB220/Using+Message+Selectors Thanks, Tania On Thu, Mar 27, 2014 at 9:23 PM, Ishara Premadasa ish...@wso2.com wrote: Hi all, I have committed the initial implementation in revision r199114 where it does provide selector support for Queues and Durable Topics. When looking at the source i could find that we were already having message selectors for Topics and there was no need to re-implement it. Since there are a whole list of different patterns that can be used in selector strings we need to test them extensively against both topics/queues and identify which literals,logics etc. are supported by selectors and which are not. As the first phase we are going to test against the selectors in [1] as well as testing against all the JMS headers and properties. As per the JMS Headers the following headers are supported with selectors, where a client can set and send to broker. *JMSCorrelationID JMSReplyTo JMSType * The below header properties will not be filtered by broker since they are handled by the JMS provider and set into the default values at broker side as describer here. [2] *JMSPriority JMSExpiration JMSDeliveryMode* Once these are tested we can update the MB 2.2.0 docs with supported syntaxes and headers for Message Selectors. Thanks! Ishara [1] http://www.novell.com/documentation/extend5/Docs/help/Composer/books/JMSAppendixB.html [2] http://docs.oracle.com/cd/E19798-01/821-1841/bnces/index.html On Thu, Mar 27, 2014 at 10:34 AM, Pamod Sylvester pa...@wso2.com wrote: +1 to handle it from the server side, also considering the fact of sending irrelevant messages to client will be an additional network overhead. On Thu, Mar 27, 2014 at 10:18 AM, Ishara Premadasa ish...@wso2.comwrote: Hi all, We are going to implement message selectors support [1] into WSO2 Message Broker where a message consumer is allowed to specify the messages it is interested by using a selector string and the broker (JMS provider) does the filtering of messages according to that query. The syntax of the JMS selector expression is based on a subset of SQL92, mentioned here [2]. Message selectors can be implemented either using the client-side or server-side. As the first try i have tried with filtering the messages in the client-side where the filtering happens after the message is dispatched into client side. However we had some considerable issues with this method since the messages which were rejected by the consumer's selector cannot be re-delivered to other consumers who do not have filters, and those messages were stuck in queue. Therefore since this was not possible to be handled in the client-side we moved the implementation server-side. Therefore with the current implementation at server side when the messages are sending out to subscribers we check whether the message matches the filters and if so that will be given out to the subscriber. If not that message will be removed from already read messages, hence it can be given to another matching subscriber in the next round. I will be updating this thread with the progress of the implementation. The plan is to send this out with 2.2.0 version, however if takes more time this will be definitely available with MB 3.0.0 version. Any feedback/suggestions are welcome. Thanks! Ishara [1] http://docs.oracle.com/cd/E19798-01/821-1841/bncer/index.html [2] http://www.novell.com/documentation/extend5/Docs/help/Composer/books/JMSAppendixB.html -- Ishara Premasada Software Engineer, WSO2 Inc. http://wso2.com/ *Blog : http://isharapremadasa.blogspot.com/ http://isharapremadasa.blogspot.com/Twitter : https://twitter.com/ishadil https://twitter.com/ishadil Mobile : +94 714445832 %2B94%20714445832* -- *Pamod Sylvester * * Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- Ishara Premasada Software Engineer, WSO2 Inc. http://wso2.com/ *Blog : http://isharapremadasa.blogspot.com/ http://isharapremadasa.blogspot.com/Twitter : https://twitter.com/ishadil https://twitter.com/ishadil Mobile : +94 714445832 %2B94%20714445832* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tania Mahanama Senior Technical Writer Contact: Mob: +94 077 5129270 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESB Connectors - Facebook build error
Hi, I have tried to build the facebook esb connector module and getting the following build error. Please have a look into this. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 41:01.207s [INFO] Finished at: Wed Apr 23 12:13:14 IST 2014 [INFO] Final Memory: 31M/507M [INFO] [ERROR] Failed to execute goal on project org.wso2.carbon.connector.facebook: Could not resolve dependencies for project org.wso2.carbon.connector:org.wso2.carbon.connector.facebook:jar:4.2.0: Could not find artifact org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1 at specified path /home/dimuthu/Desktop/krisha/esb-connectors/facebook/../integration-base/target/org.wso2.connector.integration.test.base-4.8.1.jar - [Help 1] Also when trying to build integration-base module I am getting the following error. Why are we using using TAF 4.2.0 here? [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.008s [INFO] Finished at: Wed Apr 23 13:27:48 IST 2014 [INFO] Final Memory: 7M/490M [INFO] [ERROR] Failed to execute goal on project org.wso2.connector.integration.test.base: Could not resolve dependencies for project org.wso2.esb:org.wso2.connector.integration.test.base:jar:4.8.1: The following artifacts could not be resolved: org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.2.0, org.wso2.carbon:org.wso2.carbon.integration.framework:jar:4.0.0, org.wso2.carbon.automation:org.wso2.carbon.automation.api:jar:4.2.0, org.wso2.carbon.automation:org.wso2.carbon.automation.core:jar:4.2.0, org.wso2.carbon.automation:org.wso2.carbon.automation.utils:jar:4.2.0, org.wso2.carbon:SecVerifier:aar:4.2.0, ca.uhn.hapi.wso2:hapi:jar:2.1.0.wso2v1, org.wso2.esb:org.wso2.carbon.esb.common:jar:4.8.0: Failure to find org.wso2.carbon:org.wso2.carbon.mediation.library.stub:jar:4.2.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced - [Help 1] [ERROR] Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error while compiling Governance Registry - Transition UI Sample
Hi, I tried Transition UI Sample in [1] and got the following error. [1] https://docs.wso2.org/display/Governance460/Transition+UI+Sample [ERROR] Failed to execute goal on project org.wso2.carbon.registry.samples.custom.topics.ui: Could not resolve dependencies for project org.wso2.governance:org.wso2.carbon.registry.samples.custom.topics.ui:bundle:4.6.0: Failed to collect dependencies for [org.wso2.carbon:org.wso2.carbon.registry.resource.ui:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.registry.common.ui:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.registry.common:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.registry.core:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.registry.extensions:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.logging:jar:4.2.0 (compile), commons-beanutils:commons-beanutils:jar:1.8.0 (compile), commons-collections:commons-collections:jar:3.2 (compile), commons-digester:commons-digester:jar:1.8.1 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v6 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v2 (compile), org.wso2.carbon:org.wso2.carbon.ui:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.core:jar:4.2.0 (compile), org.wso2.carbon:org.wso2.carbon.registry.samples.custom.topics.stub:jar:4.2.0 (compile)]: Failed to read artifact descriptor for uddi:uddi4j:jar:1.0.1: What could be the issue here? Thanks, Nipuni -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni Mobile: +94 (71) 5626680 http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge carbon-data #1
Hi Chanika, please apply the pull request - https://github.com/wso2/carbon-data/pull/1 Thanks. /Susankha. -- Susankha Nirmala Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 593 2146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge carbon-data #1
I merged the changes Thanks On Wed, Apr 23, 2014 at 3:18 PM, Susankha Nirmala susan...@wso2.com wrote: Hi Chanika, please apply the pull request - https://github.com/wso2/carbon-data/pull/1 Thanks. /Susankha. -- Susankha Nirmala Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 593 2146 -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 3:34 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? Yes. Some JSP pages in registry failed to render since those pages had imports on javax.xml.stream.* packages. These comes from a fragment bundle, so, we have failed to specify those in the launch.ini previously. This commit fixes that problem. We have tested this, and it works fine. On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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] Flush the 4.3.0 Kernel PR queue
Yes, trying again. Could be because of jdk7. On Wed, Apr 23, 2014 at 3:50 PM, Ajith Vitharana aji...@wso2.com wrote: Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] CEP Server can not start with IBM JDK 1.6
Hi, Shall we report this to Datastax, since we have support account in Datastax. Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Tue, Apr 8, 2014 at 7:14 PM, Asanka Vithanage asan...@wso2.com wrote: Hi, MB server also does not start due to a Cassandra issue .Please find the raised jira on [1] [1] https://wso2.org/jira/browse/MB-547 On Tue, Apr 8, 2014 at 12:52 PM, Anjana Fernando anj...@wso2.com wrote: Hi, Yeah, seems Cassandra has issues with IBM JDK, where only in Cassandra 2.0 [1] they have mentioned they are supporting IBM JDK, but also there, they are recommending to use the Oracle JDK. [1] https://wiki.apache.org/cassandra/GettingStarted Cheers, Anjana. On Tue, Apr 8, 2014 at 12:39 PM, Pandula Kariyawasam pand...@wso2.comwrote: Hi All, As per the offline discussion had with Anjana, I tried with disabling built in Cassandra in BAM. It seems above JVM exception occurred due to Cassandra. When starting BAM241 with Cassandra disabled mode, BAM sever starts with the thrift issue [1] reported under CEP. Also found similar error [2] which was reported under BAM few years back. [1] https://wso2.org/jira/browse/CEP-796 [2] https://wso2.org/jira/browse/BAM-502 Thanks, Pandula On Tue, Apr 8, 2014 at 11:46 AM, Pandula Kariyawasam pand...@wso2.comwrote: Hi All, We also tried out BAM 241 with IBM JDK 1.6, and server won't start with having following error [1] on stack trace. Reported this on JIRA under BAM [2]. [2] https://wso2.org/jira/browse/BAM-1540 [1] Unhandled exception Type=Segmentation error vmState=0x J9Generic_Signal_Number=0004 Signal_Number=000b Error_Value= Signal_Code=0080 Handler1=7F2C77D99200 Handler2=7F2C77A59720 InaccessibleAddress= RDI=6D61657274530C00 RSI=7F2BD004E70E RAX=0028 RBX=7F2BD0870A00 RCX=7F2BD00176D8 RDX=6D61657274530C00 R8=6D61657274530C00 R9=7F2BD0017623 R10=7F2BD0003E6E R11=0003 R12=7F2C781730F0 R13=0108 R14=7F2C77EFC100 R15=7F2C332C93A0 RIP=7F2C759D5E45 GS= FS= RSP=7F2BD0017600 EFlags=00210202 CS=0033 RBP=7F2C096B0500 ERR= TRAPNO=000D OLDMASK= CR2= xmm0 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310) xmm1 7f2c78070438 (f: 2013725696.00, d: 6.908469e-310) xmm2 7f2c78373eb0 (f: 2016886400.00, d: 6.908469e-310) xmm3 7f2c096b0500 (f: 158008576.00, d: 6.908377e-310) xmm4 0108 (f: 264.00, d: 1.304333e-321) xmm5 7f2c332c93a0 (f: 858559360.00, d: 6.908412e-310) xmm6 7f2c77efc100 (f: 2012201216.00, d: 6.908469e-310) xmm7 0108 (f: 264.00, d: 1.304333e-321) xmm8 70467265746c6946 (f: 1953261952.00, d: 6.969831e+232) xmm9 6d6f6f6c62135400 (f: 1645433856.00, d: 1.387087e+219) xmm10 (f: 0.00, d: 0.00e+00) xmm11 ff00 (f: 0.00, d: 1.385239e-309) xmm12 (f: 0.00, d: 0.00e+00) xmm13 (f: 0.00, d: 0.00e+00) xmm14 (f: 0.00, d: 0.00e+00) xmm15 (f: 0.00, d: 0.00e+00) Module=/home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so Module_base_address=7F2C7598B000 Symbol=sun_misc_Unsafe_getLong__Ljava_lang_Object_2J Symbol_address=7F2C759D5E04 Target=2_40_20090519_035743_LHdSMr (Linux 3.11.0-19-generic) CPU=amd64 (4 logical CPUs) (0x1e064d000 RAM) --- Stack Backtrace --- /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0xbd33) [0x7f2c77a51d33] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14cad) [0x7f2c77d99cad] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x14b5f) [0x7f2c77d99b5f] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x12e21) [0x7f2c77a58e21] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9vm24.so(+0x1428b) [0x7f2c77d9928b] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libj9prt24.so(+0x13891) [0x7f2c77a59891] /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7f2c7ce65ff0] /home/pandula/wso2/ibm-java-x86/jre/lib/amd64/default/libjclscar_24.so(sun_misc_Unsafe_getLong__Ljava_lang_Object_2J+0x41) [0x7f2c759d5e45] --- JVMDUMP006I Processing dump event gpf, detail - please wait. JVMDUMP032I JVM requested System dump using '/home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp' in response to an event JVMDUMP010I System dump written to /home/pandula/packs/2014mar27_BAM_2.4.1-RC1/wso2bam-2.4.1.8/core.20140408.105356.20483.0001.dmp JVMDUMP032I JVM requested Snap dump using
[Dev] Issue in GREG Issue Tracker Sample
Hi all, I tried out the Issue Tracker Sample [1] and it gave me the following error. [2014-04-23 14:52:26,978] ERROR {org.wso2.carbon.humantask.core.integration.AxisHumanTaskMessageReceiver} - Task creation failed. org.wso2.carbon.humantask.core.engine.runtime.api.HumanTaskRuntimeException: Error occurred while calling to realm service for operation isExistingRole at org.wso2.carbon.humantask.core.integration.CarbonUserManagerBasedPeopleQueryEvaluator.getUserNameListForRole(CarbonUserManagerBasedPeopleQueryEvaluator.java:71) at org.wso2.carbon.humantask.core.engine.util.CommonTaskUtil.nominate(CommonTaskUtil.java:320) at org.wso2.carbon.humantask.core.dao.jpa.openjpa.HumanTaskDAOConnectionImpl.createTask(HumanTaskDAOConnectionImpl.java:56) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.createTask(HumanTaskEngine.java:81) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.access$000(HumanTaskEngine.java:38) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine$1.call(HumanTaskEngine.java:97) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine$1.call(HumanTaskEngine.java:93) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:880) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:829) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.invoke(HumanTaskEngine.java:93) at org.wso2.carbon.humantask.core.integration.AxisHumanTaskMessageReceiver.invokeBusinessLogic(AxisHumanTaskMessageReceiver.java:74) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82) at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45) at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.wso2.carbon.governance.notifications.worklist.stub.WorkListServiceStub.addTask(WorkListServiceStub.java:183) at org.wso2.carbon.registry.eventing.RegistryEventDispatcher.notify(RegistryEventDispatcher.java:381) at org.wso2.carbon.event.core.internal.notify.CarbonNotificationManager.sendNotification(CarbonNotificationManager.java:62) at org.wso2.carbon.event.core.internal.delivery.Worker.run(Worker.java:52) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.wso2.carbon.user.core.UserStoreException: Invalid operation. You are trying to retrieve all users from the external userstore. at org.wso2.carbon.user.core.hybrid.HybridRoleManager.getUserListOfHybridRole(HybridRoleManager.java:272) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserListOfRole(AbstractUserStoreManager.java:1933) at org.wso2.carbon.humantask.core.integration.CarbonUserManagerBasedPeopleQueryEvaluator.getUserNameListForRole(CarbonUserManagerBasedPeopleQueryEvaluator.java:68) ... 30 more [2014-04-23 14:52:26,985] ERROR {org.wso2.carbon.registry.eventing.RegistryEventDispatcher} - Failed Sending Notification to work-list org.apache.axis2.AxisFault: Error occurred while calling to realm service for operation isExistingRole at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.wso2.carbon.governance.notifications.worklist.stub.WorkListServiceStub.addTask(WorkListServiceStub.java:183) at org.wso2.carbon.registry.eventing.RegistryEventDispatcher.notify(RegistryEventDispatcher.java:381) at
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Hi, I build org.wso2.carbon.registry.core with jdk 6 builds fine with the tests. Probably due to jdk 7 Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, Apr 23, 2014 at 4:07 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, trying again. Could be because of jdk7. On Wed, Apr 23, 2014 at 3:50 PM, Ajith Vitharana aji...@wso2.com wrote: Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.comwrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Yes, it was due to jdk7. Now getting the following p2 profile gen error which is already reported I think. Installing org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) Missing requirement: axis2 1.6.1.wso2v11-SNAPSHOT (axis2 1.6.1.wso2v11-SNAPSHOT) requires 'package org.apache.catalina.tribes 6.0.16' but it could not be found Cannot satisfy dependency: From: org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT (org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT) To: package org.apache.axis2 [1.6.1.wso2v11-SNAPSHOT,1.7.0) Cannot satisfy dependency: From: WSO2 Carbon - Carbon Common Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.common.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.authenticator.proxy [4.3.0.SNAPSHOT] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.core.common.feature.group [4.3.0.SNAPSHOT] Application failed, log file location: /media/Kicha/mvnRepo/m3repo-c5/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398249691960.log On Wed, Apr 23, 2014 at 4:25 PM, Manoj Kumara ma...@wso2.com wrote: Hi, I build org.wso2.carbon.registry.core with jdk 6 builds fine with the tests. Probably due to jdk 7 Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, Apr 23, 2014 at 4:07 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, trying again. Could be because of jdk7. On Wed, Apr 23, 2014 at 3:50 PM, Ajith Vitharana aji...@wso2.com wrote: Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.comwrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog -
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Also the fix for : https://wso2.org/jira/browse/WSAS-1702 is a significant one. Can we add some integration test to this from AS side? On Wed, Apr 23, 2014 at 3:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Apr 23, 2014 at 3:34 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? Yes. Some JSP pages in registry failed to render since those pages had imports on javax.xml.stream.* packages. These comes from a fragment bundle, so, we have failed to specify those in the launch.ini previously. This commit fixes that problem. We have tested this, and it works fine. On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM 2.4.1 RC3 Released!
Hi all, BAM 2.4.1 RC3 distribution is available at https://svn.wso2.org/repos/wso2/people/dunith/2.4.1-nightly/wso2bam-2.4.1-20140423.zip This release basically fixes the broken MT features and following are the bug fixes available. BAM-1574 https://wso2.org/jira/browse/BAM-1574 Cannot login to BAM/Activity dashboards Message Console BAM-1571 https://wso2.org/jira/browse/BAM-1571 Server startup with default profile throwing exception BAM-1566 https://wso2.org/jira/browse/BAM-1566 Unable to login to Tenant, after deploying a toolbox and restarting the server BAM-1565 https://wso2.org/jira/browse/BAM-1565 Error occurred when login to Teant, who had a Toolbox deployed earlier BAM-1558 https://wso2.org/jira/browse/BAM-1558 Deploying a Toolbox on node1 throwing an exception on node2 BAM-1554 https://wso2.org/jira/browse/BAM-1554 WSO2BAM_DATASOURCE specified for Tenant, get unload with tenant cleanup BAM-1519 https://wso2.org/jira/browse/BAM-1519 When re-deploy the same toolbox again, Tabs in Gadget Server get duplicate Regards, Dunith Dhanushka, Senior Software Engineer - BAM, WSO2 Inc, ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Question on making the single jvm pack HA
Hi Devs, Suppose I start two Stratos single jvm packs to achieve HA for Stratos Manager. But, since there will be two CCs and autoscalers also running, will it cause any issues. Is there any kind of a coordination going on between them? Will both autoscalers try to be operational? I am asking this based on my limited knowledge about the new architecture. So, if theres anything stupid, please ignore. Regards, Amila. -- *Amila Maharachchi* Senior Technical Lead WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Question on making the single jvm pack HA
Hi Amila, Seems you have sent the mail to a wrong mailing list.. You need to send it to d...@stratos.incubator.apache.org Thanks, Sajith On Wed, Apr 23, 2014 at 5:41 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Devs, Suppose I start two Stratos single jvm packs to achieve HA for Stratos Manager. But, since there will be two CCs and autoscalers also running, will it cause any issues. Is there any kind of a coordination going on between them? Will both autoscalers try to be operational? I am asking this based on my limited knowledge about the new architecture. So, if theres anything stupid, please ignore. Regards, Amila. -- *Amila Maharachchi* Senior Technical Lead WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *--* *Sajith Kariyawasam* *Mobile: +94772269575* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Appfactory][Storage Server v 1.1.0] Upgrade
Hi, I committed changes required make Appfactory work with Storage Server v 1.1.0. Notable Changes: 1) RSSAdmin service was changed in SS v 1.1.0, which required modifications in our jaggery appmgt ( module level). 2) rss-config.xml has been changed. 3) database schema changes. regards Ramith. Ramith Jayasinghe WSO2 Inc., http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Cause for this issue is removal of tribes orbit bundle from kernel common feature. Please fix this from axis2 orbit bundle side, with proper imports. On Wed, Apr 23, 2014 at 4:47 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, it was due to jdk7. Now getting the following p2 profile gen error which is already reported I think. Installing org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) Missing requirement: axis2 1.6.1.wso2v11-SNAPSHOT (axis2 1.6.1.wso2v11-SNAPSHOT) requires 'package org.apache.catalina.tribes 6.0.16' but it could not be found Cannot satisfy dependency: From: org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT (org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT) To: package org.apache.axis2 [1.6.1.wso2v11-SNAPSHOT,1.7.0) Cannot satisfy dependency: From: WSO2 Carbon - Carbon Common Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.common.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.authenticator.proxy [4.3.0.SNAPSHOT] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.core.common.feature.group [4.3.0.SNAPSHOT] Application failed, log file location: /media/Kicha/mvnRepo/m3repo-c5/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398249691960.log On Wed, Apr 23, 2014 at 4:25 PM, Manoj Kumara ma...@wso2.com wrote: Hi, I build org.wso2.carbon.registry.core with jdk 6 builds fine with the tests. Probably due to jdk 7 Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, Apr 23, 2014 at 4:07 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, trying again. Could be because of jdk7. On Wed, Apr 23, 2014 at 3:50 PM, Ajith Vitharana aji...@wso2.comwrote: Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.comwrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Hi Kicha, The p2-profile-gen error has happened because of making tribes and optional dependency of axis2. This change was not merged to axis2. I have merged this to axis2 now. Please wait till axis2 build is completed to progress this change to kernel. On Wed, Apr 23, 2014 at 6:30 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Cause for this issue is removal of tribes orbit bundle from kernel common feature. Please fix this from axis2 orbit bundle side, with proper imports. On Wed, Apr 23, 2014 at 4:47 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, it was due to jdk7. Now getting the following p2 profile gen error which is already reported I think. Installing org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) Missing requirement: axis2 1.6.1.wso2v11-SNAPSHOT (axis2 1.6.1.wso2v11-SNAPSHOT) requires 'package org.apache.catalina.tribes 6.0.16' but it could not be found Cannot satisfy dependency: From: org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT (org.wso2.carbon.authenticator.proxy 4.3.0.SNAPSHOT) To: package org.apache.axis2 [1.6.1.wso2v11-SNAPSHOT,1.7.0) Cannot satisfy dependency: From: WSO2 Carbon - Carbon Common Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.common.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.authenticator.proxy [4.3.0.SNAPSHOT] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.3.0.SNAPSHOT (org.wso2.carbon.core.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.core.common.feature.group [4.3.0.SNAPSHOT] Application failed, log file location: /media/Kicha/mvnRepo/m3repo-c5/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398249691960.log On Wed, Apr 23, 2014 at 4:25 PM, Manoj Kumara ma...@wso2.com wrote: Hi, I build org.wso2.carbon.registry.core with jdk 6 builds fine with the tests. Probably due to jdk 7 Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, Apr 23, 2014 at 4:07 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes, trying again. Could be because of jdk7. On Wed, Apr 23, 2014 at 3:50 PM, Ajith Vitharana aji...@wso2.comwrote: Hi Krishathan, On Wed, Apr 23, 2014 at 3:05 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: I had a look. There seems to be a test failure with this merge from registry core. --- Test set: org.wso2.carbon.registry.core.test.jdbc.CommentsTest --- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.36 sec FAILURE! testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) Time elapsed: 0.126 sec FAILURE! junit.framework.AssertionFailedError: Query result count should be 1 expected:2 but was:1 at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.wso2.carbon.registry.core.test.jdbc.CommentsTest.testCommentQueryRootRegistry(CommentsTest.java:89) I can't find the possible commit for this test failure. Can you run again to verify ? -Ajith. On Wed, Apr 23, 2014 at 2:59 PM, Ajith Vitharana aji...@wso2.comwrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan
Re: [Dev] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 4:52 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Also the fix for : https://wso2.org/jira/browse/WSAS-1702 is a significant one. Can we add some integration test to this from AS side? Yes.. @Krishantha, can you add this to the automation test plan please. Thanks, KasunG On Wed, Apr 23, 2014 at 3:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Apr 23, 2014 at 3:34 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? Yes. Some JSP pages in registry failed to render since those pages had imports on javax.xml.stream.* packages. These comes from a fragment bundle, so, we have failed to specify those in the launch.ini previously. This commit fixes that problem. We have tested this, and it works fine. On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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] AS 5.3.0-SNAPSHOT p2-profile generation failed in GIT-dev
Hi, Please refer the log below Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Entitlement Servlet Filter Feature 4.3.0.SNAPSHOT (org.wso2.carbon.identity.xacml.filter.feature.group 4.3.0. SNAPSHOT) Missing requirement: org.wso2.carbon.identity.entitlement.proxy 4.2.0 (org.wso2.carbon.identity.entitlement.proxy 4.2.0) requires 'package org. wso2.carbon.identity.entitlement.stub [4.2.0,4.3.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Entitlement Servlet Filter Feature 4.3.0.SNAPSHOT (org .wso2.carbon.identity.xacml.filter.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.identity.entitlement.proxy [4.2.0] Thank You, Dharshana. -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com dharsha...@wso2.com Tel : +94 11 214 5345 Fax: +94 11 2145300 cell : +94772202595 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS 5.3.0-SNAPSHOT p2-profile generation failed in GIT-dev
This is already fixed. But because of carbon-identity build failures, it's not progressed to product-as yet. On Wed, Apr 23, 2014 at 7:11 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi, Please refer the log below Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Entitlement Servlet Filter Feature 4.3.0.SNAPSHOT (org.wso2.carbon.identity.xacml.filter.feature.group 4.3.0.SNAPSHOT) Missing requirement: org.wso2.carbon.identity.entitlement.proxy 4.2.0 (org.wso2.carbon.identity.entitlement.proxy 4.2.0) requires 'package org. wso2.carbon.identity.entitlement.stub [4.2.0,4.3.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Entitlement Servlet Filter Feature 4.3.0.SNAPSHOT (org.wso2.carbon.identity.xacml.filter.feature.group 4.3.0.SNAPSHOT) To: org.wso2.carbon.identity.entitlement.proxy [4.2.0] Thank You, Dharshana. -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com dharsha...@wso2.com Tel : +94 11 214 5345 Fax: +94 11 2145300 cell : +94772202595 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware -- *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] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 6:42 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Apr 23, 2014 at 4:52 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Also the fix for : https://wso2.org/jira/browse/WSAS-1702 is a significant one. Can we add some integration test to this from AS side? Yes.. @Krishantha, can you add this to the automation test plan please. This scenario should be added to QA test case document first. I could help Kasun to add a test case for this. Thanks, Krishantha. Thanks, KasunG On Wed, Apr 23, 2014 at 3:52 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Wed, Apr 23, 2014 at 3:34 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? Yes. Some JSP pages in registry failed to render since those pages had imports on javax.xml.stream.* packages. These comes from a fragment bundle, so, we have failed to specify those in the launch.ini previously. This commit fixes that problem. We have tested this, and it works fine. On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Sure. Will add it to the test plans. - Evanthika On Wed, Apr 23, 2014 at 7:38 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Wed, Apr 23, 2014 at 6:42 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Apr 23, 2014 at 4:52 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Also the fix for : https://wso2.org/jira/browse/WSAS-1702 is a significant one. Can we add some integration test to this from AS side? Yes.. @Krishantha, can you add this to the automation test plan please. This scenario should be added to QA test case document first. I could help Kasun to add a test case for this. Thanks, Krishantha. Thanks, KasunG On Wed, Apr 23, 2014 at 3:52 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Wed, Apr 23, 2014 at 3:34 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi KasunG, May I know the reason behind this commit : https://github.com/wso2-dev/carbon4-kernel/commit/13335fa9983e063ed07d663377608e247897a7b4? Did you encounter a bug? Yes. Some JSP pages in registry failed to render since those pages had imports on javax.xml.stream.* packages. These comes from a fragment bundle, so, we have failed to specify those in the launch.ini previously. This commit fixes that problem. We have tested this, and it works fine. On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Thanks, KasunG -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- *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 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] EMM-1.0.0 startup fails and README is totally wrong
Hi folks, I just downloaded EMM-1.0.0 and unzipped the pack. Then I ran wso2server.sh and it failed to start due to the following error. [2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,399] ERROR {JAGGERY.config.app:js} - [2014-04-23 11:28:13,399] ERROR {JAGGERY.config.app:js} - Database is not configured or has not started up Assuming there was a pre-requsiste to configure a database or some more, I opened EMM_HOME/README.txt. It was similar to the following. WSO2 Enterprise Mobility Management solution 1.0.0 -- 18 Feb 2014 Welcome to the WSO2 Enterprise Mobility Management solution 1.0.0 release Key Features [1] Creating Sharing Dashboards [2] Creating Sharing Microsites [3] Creating Sharing Gadgets [4] Adding external gadgets by URL [5] Pre-built graph gadgets [6] Store integration to dashboard creation flow [7] Enterprise store aspect [8] Sample microsites Installation Running -- 1. extract the downloaded zip file 2. Run the wso2server.sh or wso2server.bat file in the bin directory 3. Once the server starts, point your Web browser to https://localhost:9443/portal/ For more details, see the Installation Guide System Requirements --- 1. Minimum memory - 1GB 2. Processor - Pentium 800MHz or equivalent at minimum 3. Portal app requires full Javascript enablement of the Web browser For more details see http://docs.wso2.org/wiki/display/UES100/Installation+Prerequisites Known Issues https://wso2.org/jira/issues/?filter=11174 Enterprise Mobility Management Solution Binary Distribution Directory Structure - UES_HOME . ├── bin //executables ├── dbscripts//DBScripts Isn't this README from UES? Just copied it over to EMM without even looking at the content? It is a well defined release protocol at WSO2 to verify all release artifacts such as licences, readme, release-notes, install.txt etc in the final pack. In past, we have repacked many RCs at the last moment due to wrong release artifacts since that badly affects first user experience. Can we please make sure to follow the release guidelines in each product release? Thanks! Charitha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
Ajith, Yes we were working on this behind the scenes. Specially Kishanthan and Manoj since I am not available for this work until next week. But we cannot simply flush the queue without properly reviewing the changes. Sameera. On Wed, Apr 23, 2014 at 2:29 AM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 9:48 PM, Sameera Jayasoma same...@wso2.com wrote: Ajith, Yes we were working on this behind the scenes. Specially Kishanthan and Manoj since I am not available for this work until next week. But we cannot simply flush the queue without properly reviewing the changes. Of course Sameera. This was only asked because we are in hackathon mode in these two weeks. Thanks, KasunG Sameera. On Wed, Apr 23, 2014 at 2:29 AM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *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] Flush the 4.3.0 Kernel PR queue
Sameera, On Wed, Apr 23, 2014 at 9:48 PM, Sameera Jayasoma same...@wso2.com wrote: Ajith, Yes we were working on this behind the scenes. Specially Kishanthan and Manoj since I am not available for this work until next week. But we cannot simply flush the queue without properly reviewing the changes. Understood the process. But we should have at least 2 owners to merge those commits periodically without keeping the commits long time in the queue. -Ajith. Sameera. On Wed, Apr 23, 2014 at 2:29 AM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Flush the 4.3.0 Kernel PR queue
On Wed, Apr 23, 2014 at 11:00 AM, Ajith Vitharana aji...@wso2.com wrote: Sameera, On Wed, Apr 23, 2014 at 9:48 PM, Sameera Jayasoma same...@wso2.comwrote: Ajith, Yes we were working on this behind the scenes. Specially Kishanthan and Manoj since I am not available for this work until next week. But we cannot simply flush the queue without properly reviewing the changes. Understood the process. But we should have at least 2 owners to merge those commits periodically without keeping the commits long time in the queue. Agreed. I thought the same. But AFAIK, it is a temporary measure to keep an owner for master product repos. In the future only Jenkins will be able to commit. -Ajith. Sameera. On Wed, Apr 23, 2014 at 2:29 AM, Ajith Vitharana aji...@wso2.com wrote: On Wed, Apr 23, 2014 at 9:26 AM, Ajith Vitharana aji...@wso2.comwrote: On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi Sameera, Could you please do $subject? There are 15+ commits waiting in the queue. [1] https://github.com/wso2/carbon4-kernel/pull/4 Please review and merge immediately, because some fixes are blockers for the build stabilization hackathon. Is anyone working on this ? -Ajith. Thanks -Ajith. Thanks, KasunG -- *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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Status of getting Enterprise Store working with Governance Registry
Hi all, This is to provide an update on current status of the $subject. I have build the ES pack locally without any build failures. But I have to remove few data-bridge components which we need for the social framework, since they were not migrated as per yesterday. *problems * Without the following change[1] within org.wso2.carbon.governance.lcm component ES pack won't start correctly. This is because we are using lifeCycleExists addLifecycle methods from org.wso2.carbon.governance.lcm.util package within our publisher app. Now I'm facing an issue within the SSO/login between publisher and store apps and working on this. [1] diff --git a/components/governance/org.wso2.carbon.governance.lcm/pom.xml b/components/governance/org.wso2.carbon.governance.lcm/pom.xml index 05b2596..3ddfc91 100644 --- a/components/governance/org.wso2.carbon.governance.lcm/pom.xml +++ b/components/governance/org.wso2.carbon.governance.lcm/pom.xml @@ -47,9 +47,9 @@ instructions Bundle-SymbolicName${project.artifactId}/Bundle-SymbolicName Bundle-Name${project.artifactId}/Bundle-Name -Private-Package +Export-Package org.wso2.carbon.governance.lcm.*, -/Private-Package +/Export-Package Import-Package org.wso2.carbon.registry.core.*;version=1.0.1, org.wso2.carbon.core.services.callback.*, Regards, UdaraR On Mon, Apr 21, 2014 at 9:06 AM, Ajith Vitharana aji...@wso2.com wrote: Hi SameeraM, On Fri, Apr 18, 2014 at 2:53 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi, This mail provides a small update on the current status of the work; *Completed* - All jaggery apps used in the Governance Registry have been bundled into a feature Great ! - *Problems* - In order to get the ES installed as a feature to the Governance Registry, it must first be moved to 4.3.0.This is due to the fact that Governance Registry uses Carbon 4.3.0. We can start this today with build stabilization hackathon. - - I have created a separate branch for this [1] and I am in the process of migrating the ES. - However, this is taking up more time than I had initially expected due to certain components not having a 4.3.0 counterparts [2]. I fixed some issues in carbon-apimgt, carbon-analytics, carbon-business-process. - *References* [1] Enterprise Store 1.2.0 (Using Carbon 4.3.0),URL https://github.com/wso2/enterprise-store/tree/1.2.0 https://github.com/wso2/enterprise-store/tree/1.2.0 [2] stratos.common.server.feature thread , Best approach to removing stratos.common.server.feature from a product Thank You, Sameera -- Sameera Medagammaddegedara Software Engineer Contact: Email: samee...@wso2.com Mobile: + 94 077 255 3005 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] svn deployment synchronizer issue
https://wso2.org/jira/browse/CARBON-14228 On 23 April 2014 11:40, Vijayaratha Vijayasingam rat...@wso2.com wrote: Found same issue reported here On 22 April 2014 22:00, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi; In a worker manager setup. when we deploy and undeploy again redeploy gives svn error..[1] To overcome, i need to clean the repo and need to get fresh checkout. How can i avoid this issue? [1]svn: File or directory 'webapps' is out of date; try updating svn: resource out of date; try updating svn: CHECKOUT of '/repos/mydeq/!svn/ver/71/as/-1234/webapps': 409 Conflict (http ://lnx-mydeq-svn) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:51) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:898) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:827) at org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java :665) thanks -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] svn deployment synchronizer issue
Found same issue reported here On 22 April 2014 22:00, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi; In a worker manager setup. when we deploy and undeploy again redeploy gives svn error..[1] To overcome, i need to clean the repo and need to get fresh checkout. How can i avoid this issue? [1]svn: File or directory 'webapps' is out of date; try updating svn: resource out of date; try updating svn: CHECKOUT of '/repos/mydeq/!svn/ver/71/as/-1234/webapps': 409 Conflict (http ://lnx-mydeq-svn) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:51) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:898) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:827) at org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java :665) thanks -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to enable and use framed transport?
Hi all, We have following[1] data-source configuration within master-datasources.xml in ES. When we need to execute a query(CQL) we use [2] to get the connection. But when we try to use the same component within appFactory we face this issue[3]. Since we don't use the thrift interface for querying purpose I wonder what went wrong here. Is there any other property we need to set, in-order-to enable framed transport? or by default are we using the framed transport? [1] datasource nameSOCIAL_CASSANDRA_DB/name descriptionThe cassandra datasource used for storing social activities/description definition type=RDBMS configuration urljdbc:cassandra://localhost:9160/EVENT_KS/url usernameadmin/username passwordadmin/password driverClassNameorg.apache.cassandra.cql.jdbc.CassandraDriver/driverClassName /configuration /definition /datasource [2] CarbonDataSource carbonDataSource = DataSourceManager.getInstance().getDataSourceRepository().getDataSource(SOCIAL_CASSANDRA_DB); DataSource dataSource = (DataSource) carbonDataSource.getDSObject(); conn = dataSource.getConnection(); [3] https://wso2.org/jira/browse/APPFAC-1795 Regards, UdaraR -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Jaggery issues on developer studio
Hi all, I have found two jaggery related issues on developer studio. 1. jaggery.conf issue 2. jaggery deployable archive issue i have created two jira issues on above. [1] https://wso2.org/jira/browse/TOOLS-2441 [2] https://wso2.org/jira/browse/TOOLS-2442 Regards, Dakshika ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Jaggery issues on developer studio
Hi Dakshika Thanks for reporting this issue, we will have a look at these issues. /Jasintha On Thu, Apr 24, 2014 at 5:34 AM, Dakshika Jayathilaka daksh...@wso2.comwrote: Hi all, I have found two jaggery related issues on developer studio. 1. jaggery.conf issue 2. jaggery deployable archive issue i have created two jira issues on above. [1] https://wso2.org/jira/browse/TOOLS-2441 [2] https://wso2.org/jira/browse/TOOLS-2442 Regards, Dakshika ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jasintha Dasanayake* *Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/lean . enterprise . middleware* *mobile :- 0711368118* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] HTTP Patch support by ESB 4.8.1
I originally put the following patches: *synapse-core_2.1.2.wso2v4* *synapse-nhttp-transport_2.1.2.wso2v4* *synapse-extensions_2.1.2.wso2v4* *org.wso2.carbon.mediation.library_4.2.0* But the I tried only the following 2 patches: *synapse-core_2.1.2.wso2v4* *synapse-nhttp-transport_2.1.2.wso2v4* Now everything works well. On Wed, Apr 23, 2014 at 1:34 PM, Krishantha Dinesh kr...@krishantha.comwrote: Agreed with Miyuru. however this is experienced ONLY on WSO2 environment. but not in our local environments. that's why no idea what is the cause. however i have noted this only cause when we use java script mediator. appriciate any idea to solve this as few integration testing onhold due to this un identified issue :) On Wed, Apr 23, 2014 at 7:19 AM, Miyuru Wanninayaka miy...@wso2.comwrote: I can't imagine a way which fixed done in [1],[2] cause JSON issues in script mediator, it's a only minor change to http request factory and nothing to do with script mediator. It should be a some other fix done early causing this issue. [1] https://wso2.org/jira/browse/ESBJAVA-3051 [2] https://wso2.org/jira/browse/ESBJAVA-3061 On Tue, Apr 22, 2014 at 1:14 PM, Krishantha Dinesh kr...@krishantha.comwrote: this is already experienced issue with above patch. hope malaka can help you on solve this as he is already solve this on other connector Malaka can you share the solution please On Tue, Apr 22, 2014 at 5:09 PM, Madhawa Bandara madh...@wso2.comwrote: Hi, I applied the above patches and the requests with HTTP PATCH method work well now. But now I get a new exception for the requests in which a JSON payload is used (inside the script mediator with language=js): com.sun.phobos.script.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: ReferenceError: JSON is not defined. Note that these methods worked fine *before *applying the patch. Any suggestions? On Mon, Apr 21, 2014 at 10:38 AM, Malaka Silva mal...@wso2.com wrote: Hi Kasun, It's already done. https://wso2.org/jira/browse/ESBJAVA-3051 https://wso2.org/jira/browse/ESBJAVA-3061 Best Regards, Malaka On Mon, Apr 21, 2014 at 10:23 AM, Kasun Indrasiri ka...@wso2.comwrote: Have we committed this in to trunk? If not please do so. On Mon, Apr 21, 2014 at 10:21 AM, Malaka Silva mal...@wso2.comwrote: Hi Mahawa, Currently it's not supported. It'll be available with the next release. ESB 4.9.0 But there is a patch for this. Best Regards, Malaka On Mon, Apr 21, 2014 at 10:13 AM, Madhawa Bandara madh...@wso2.comwrote: Hi, Does the ESB 4.8.1 support the HTTP patch method? When I make a http patch request, it is shown as an HTTP POST on the wire. -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ 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 -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.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. -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Miyuru Wanninayaka Senior Technical Lead WSO2 Inc. : http://wso2.com Mobile : +94 77 209 9788 -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware
[Dev] [carbon-apimgt]Migrate AM from Turing to Git.
Hi All, I have migrated the AM components/stubs and features from the revision r200990 to Git. But i'm getting some compilation failure due to old identity dependencies. So, I have to wait until the identity migration is complete and Chamath is working on that. INFO] [INFO] API Management SUCCESS [0.155s] [INFO] WSO2 Carbon - Api for API Management .. SUCCESS [2.464s] [INFO] WSO2 Carbon - API Key Mgt Client .. SUCCESS [2.455s] [INFO] WSO2 Carbon - API Management Implementation ... SUCCESS [11.072s] [INFO] WSO2 Carbon - API Gateway . SUCCESS [4.925s] [INFO] WSO@ Carbon - API Management Usage Aggregator Module SUCCESS [0.004s] [INFO] WSO2 Carbon - API Management Usage Publisher .. SUCCESS [3.073s] [INFO] WSO2 Carbon - API Management Usage Client . SUCCESS [2.047s] [INFO] WSO2 Carbon - HostObject for API management ... SUCCESS [2.133s] [INFO] WSO2 Carbon - API Key Mgt . FAILURE [0.921s] [INFO] WSO2 Carbon - API Management Core . SKIPPED [INFO] WSO2 Carbon - API Management Interceptor .. SKIPPED [INFO] WSO2 Carbon - API Management Startup Publisher SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 29.898s [INFO] Finished at: Thu Apr 24 10:19:51 IST 2014 [INFO] Final Memory: 130M/903M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project org.wso2.carbon.apimgt.keymgt: Compilation failure: Compilation failure: [ERROR] /home/ajith/wso2/build/gitbuild/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java:[42,50] cannot find symbol [ERROR] symbol : class OAuth2ScopeValidator [ERROR] location: package org.wso2.carbon.identity.oauth2.validators [ERROR] /home/ajith/wso2/build/gitbuild/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java:[42,50] cannot find symbol [ERROR] symbol : class OAuth2ScopeValidator [ERROR] location: package org.wso2.carbon.identity.oauth2.validators [ERROR] /home/ajith/wso2/build/gitbuild/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java:[154,9] cannot find symbol [ERROR] symbol : class OAuth2ScopeValidator [ERROR] location: class org.wso2.carbon.apimgt.keymgt.service.APIKeyValidationService [ERROR] /home/ajith/wso2/build/gitbuild/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java:[154,85] cannot find symbol [ERROR] symbol : method getoAuth2ScopeValidator() [ERROR] location: class org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.apimgt.keymgt Thanks. Ajith. -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] svn deployment synchronizer issue
The above jira refers to a workaround/solution to this issue at : http://stackoverflow.com/questions/2547400/how-do-you-fix-an-svn-409-conflict-error Can we try that and see? On Thu, Apr 24, 2014 at 12:10 AM, Vijayaratha Vijayasingam rat...@wso2.comwrote: https://wso2.org/jira/browse/CARBON-14228 On 23 April 2014 11:40, Vijayaratha Vijayasingam rat...@wso2.com wrote: Found same issue reported here On 22 April 2014 22:00, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi; In a worker manager setup. when we deploy and undeploy again redeploy gives svn error..[1] To overcome, i need to clean the repo and need to get fresh checkout. How can i avoid this issue? [1]svn: File or directory 'webapps' is out of date; try updating svn: resource out of date; try updating svn: CHECKOUT of '/repos/mydeq/!svn/ver/71/as/-1234/webapps': 409 Conflict (http ://lnx-mydeq-svn) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:51) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:898) at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.ja va:827) at org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java :665) thanks -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge DSS integration test commit#4 pull request
Hi Chanika, Please apply the pull request - https://github.com/wso2/product-dss/pull/4 Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Global cluster cache invalidation code review Notes
Hi Subash, As per the offline discussion we had, I have moved the MB properties to cache.xml and the component is finalized now [1]https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/. I have moved the code into kernel in my local machine and seems fine, but before I commit, I have to make sure nothing breaks the kernel build. Since I'm in support I'm creating an urgent patch for a support issue and I will be able to finish it by today. Then I will commit the code to git after testing the component properly. [1] https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/ Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Apr 22, 2014 at 11:31 AM, Subash Chaturanga sub...@wso2.com wrote: Hi Amal, Please move the code to the aforesaid place and Shazni will be working with you on moving registry related caching invalidation to new impl. Please help him to configure on how to, and also we need to document this. Thanks On Tue, Apr 22, 2014 at 11:22 AM, Afkham Azeez az...@wso2.com wrote: On Tue, Apr 22, 2014 at 10:48 AM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Yes we have to push this to carbon kernel git repo and AFAIR we decided to make this a generic module that can be reused by the platform. I believe the package name is also finalized(org.wso2.carbon.caching.invalidator) ? I think it is better if we can move this in to carbon4-kernel / core / org.wso2.carbon.caching.core and put this under a new package named invalidator and the package name will be org.wso2.carbon.caching.core.invalidator . Azeez WDYT ? I am fine with that as long as the subscription to the topic does not automatically happen if that code is there. In most cases, we will not need this global cache invalidation, so that code should not get executed. On Mon, Apr 21, 2014 at 2:13 PM, Amal Gunatilake am...@wso2.com wrote: Hi Subash, Sorry for the delay. Since I'm in support I didn't have much time to accelerate the process and during the weekend I managed to finish all the TODOs. Currently it's not yet in kernal git repo. I have the latest code in https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v2/. Please let me know into which path I should commit the code and I can add it to git repo immediately. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 9:25 PM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Let us know once the TODOs done in the code review except the JMS alternative discussion. One of G-Reg RD folk will assign on migrating GReg cache invalidation to this pub sub impl. I hope now your component is in the kernel git repo. Hi Azeez,Sagara Once registry and user permission moved to this impl, it needs quite amount of testing on production aspects. Since this is almost a new feature and this leads documentation change in all products (mounting/caching) I believe we should not provide this as a patch for a customer unless it is really required. On Thu, Apr 17, 2014 at 10:37 AM, Amal Gunatilake am...@wso2.comwrote: Hi Sagara, As Azeez mentioned there is an interface at CarbonUtils named as CacheInvalidator. My component will implement this interface. We planned to have the interface at CarbonUtils because every product will need this service. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 6:03 AM, Afkham Azeez az...@wso2.com wrote: On Thu, Apr 17, 2014 at 12:33 AM, Sagara Gunathunga sag...@wso2.com wrote: On Wed, Apr 16, 2014 at 2:57 PM, Amal Gunatilake am...@wso2.comwrote: Hi All, Following updates has been discussed on $subject. 1) Make the subscription auto subscribe once the jar bundle is present. 2) Check on how to resubscribe if the server goes down and comes up 3) If the sever goes down when a message receives check whether it queues the message and receive. 4) jndi.properties file - If the file is already present at conf directory then load the settings but if the expecting parameters not found put error log and show the user needed parameters. - If the file is not present then put the file to conf directory and log a warning message 5) It was discussed whether we are going to use AMPQ instead JMS. This has to be determined which I will open a separate thread for discussion. 6) Generate UUID and do the message comparison to ignore own messages. 7) Let the topic name configurable. Hi Amal, Have you define a clear API and separate it from JMS implementation ? IMO having a clear API is must thing for this feature as we may have to include some other implementations in future. I'm thinking about SNS based implementation for future where EC2 users have
Re: [Dev] Please merge DSS integration test commit#4 pull request
The commit is merged now Thanks On Thu, Apr 24, 2014 at 10:41 AM, Nuwan Wimalasekara nuw...@wso2.comwrote: Hi Chanika, Please apply the pull request - https://github.com/wso2/product-dss/pull/4 Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Global cluster cache invalidation code review Notes
Hi Amal, You've done a great job on initiating this and implementing to this point. Shazni is assigned from G-Reg to work on this with you and refactor this from our side. But since you locally test this and seems fine I hope Shazni can now get your PULL request and try to verify it in Kernel with the build and then proceed on refactoring registry accordingly. Hi Shazni, As discussed offline before, since we are running out of time, could you please proceed from this point now. I hope Amal will be able to help you if we have any issues(steps to setup and etc). Thanks On Thu, Apr 24, 2014 at 10:42 AM, Amal Gunatilake am...@wso2.com wrote: Hi Subash, As per the offline discussion we had, I have moved the MB properties to cache.xml and the component is finalized now [1]https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/. I have moved the code into kernel in my local machine and seems fine, but before I commit, I have to make sure nothing breaks the kernel build. Since I'm in support I'm creating an urgent patch for a support issue and I will be able to finish it by today. Then I will commit the code to git after testing the component properly. [1] https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/ Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Apr 22, 2014 at 11:31 AM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Please move the code to the aforesaid place and Shazni will be working with you on moving registry related caching invalidation to new impl. Please help him to configure on how to, and also we need to document this. Thanks On Tue, Apr 22, 2014 at 11:22 AM, Afkham Azeez az...@wso2.com wrote: On Tue, Apr 22, 2014 at 10:48 AM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Yes we have to push this to carbon kernel git repo and AFAIR we decided to make this a generic module that can be reused by the platform. I believe the package name is also finalized(org.wso2.carbon.caching.invalidator) ? I think it is better if we can move this in to carbon4-kernel / core / org.wso2.carbon.caching.core and put this under a new package named invalidator and the package name will be org.wso2.carbon.caching.core.invalidator . Azeez WDYT ? I am fine with that as long as the subscription to the topic does not automatically happen if that code is there. In most cases, we will not need this global cache invalidation, so that code should not get executed. On Mon, Apr 21, 2014 at 2:13 PM, Amal Gunatilake am...@wso2.comwrote: Hi Subash, Sorry for the delay. Since I'm in support I didn't have much time to accelerate the process and during the weekend I managed to finish all the TODOs. Currently it's not yet in kernal git repo. I have the latest code in https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v2/. Please let me know into which path I should commit the code and I can add it to git repo immediately. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 9:25 PM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Let us know once the TODOs done in the code review except the JMS alternative discussion. One of G-Reg RD folk will assign on migrating GReg cache invalidation to this pub sub impl. I hope now your component is in the kernel git repo. Hi Azeez,Sagara Once registry and user permission moved to this impl, it needs quite amount of testing on production aspects. Since this is almost a new feature and this leads documentation change in all products (mounting/caching) I believe we should not provide this as a patch for a customer unless it is really required. On Thu, Apr 17, 2014 at 10:37 AM, Amal Gunatilake am...@wso2.comwrote: Hi Sagara, As Azeez mentioned there is an interface at CarbonUtils named as CacheInvalidator. My component will implement this interface. We planned to have the interface at CarbonUtils because every product will need this service. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 6:03 AM, Afkham Azeez az...@wso2.comwrote: On Thu, Apr 17, 2014 at 12:33 AM, Sagara Gunathunga sag...@wso2.com wrote: On Wed, Apr 16, 2014 at 2:57 PM, Amal Gunatilake am...@wso2.comwrote: Hi All, Following updates has been discussed on $subject. 1) Make the subscription auto subscribe once the jar bundle is present. 2) Check on how to resubscribe if the server goes down and comes up 3) If the sever goes down when a message receives check whether it queues the message and receive. 4) jndi.properties file - If the file is already present at conf directory then load the settings but if the expecting parameters not found put error log and
Re: [Dev] Global cluster cache invalidation code review Notes
Hi Subash, Yes I can proceed now onwards. @Amal - Can you provide me the git url where this is committed, so that I can get a fork and perform the work. regards Shazni Nazeer Senior Software Engineer Mob : +94 715 440 607 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Thu, Apr 24, 2014 at 10:52 AM, Subash Chaturanga sub...@wso2.com wrote: Hi Amal, You've done a great job on initiating this and implementing to this point. Shazni is assigned from G-Reg to work on this with you and refactor this from our side. But since you locally test this and seems fine I hope Shazni can now get your PULL request and try to verify it in Kernel with the build and then proceed on refactoring registry accordingly. Hi Shazni, As discussed offline before, since we are running out of time, could you please proceed from this point now. I hope Amal will be able to help you if we have any issues(steps to setup and etc). Thanks On Thu, Apr 24, 2014 at 10:42 AM, Amal Gunatilake am...@wso2.com wrote: Hi Subash, As per the offline discussion we had, I have moved the MB properties to cache.xml and the component is finalized now [1]https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/. I have moved the code into kernel in my local machine and seems fine, but before I commit, I have to make sure nothing breaks the kernel build. Since I'm in support I'm creating an urgent patch for a support issue and I will be able to finish it by today. Then I will commit the code to git after testing the component properly. [1] https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v3/ Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Apr 22, 2014 at 11:31 AM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Please move the code to the aforesaid place and Shazni will be working with you on moving registry related caching invalidation to new impl. Please help him to configure on how to, and also we need to document this. Thanks On Tue, Apr 22, 2014 at 11:22 AM, Afkham Azeez az...@wso2.com wrote: On Tue, Apr 22, 2014 at 10:48 AM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Yes we have to push this to carbon kernel git repo and AFAIR we decided to make this a generic module that can be reused by the platform. I believe the package name is also finalized(org.wso2.carbon.caching.invalidator) ? I think it is better if we can move this in to carbon4-kernel / core / org.wso2.carbon.caching.core and put this under a new package named invalidator and the package name will be org.wso2.carbon.caching.core.invalidator . Azeez WDYT ? I am fine with that as long as the subscription to the topic does not automatically happen if that code is there. In most cases, we will not need this global cache invalidation, so that code should not get executed. On Mon, Apr 21, 2014 at 2:13 PM, Amal Gunatilake am...@wso2.comwrote: Hi Subash, Sorry for the delay. Since I'm in support I didn't have much time to accelerate the process and during the weekend I managed to finish all the TODOs. Currently it's not yet in kernal git repo. I have the latest code in https://svn.wso2.org/repos/wso2/scratch/amalg/cache-invalidation-v2/. Please let me know into which path I should commit the code and I can add it to git repo immediately. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 9:25 PM, Subash Chaturanga sub...@wso2.comwrote: Hi Amal, Let us know once the TODOs done in the code review except the JMS alternative discussion. One of G-Reg RD folk will assign on migrating GReg cache invalidation to this pub sub impl. I hope now your component is in the kernel git repo. Hi Azeez,Sagara Once registry and user permission moved to this impl, it needs quite amount of testing on production aspects. Since this is almost a new feature and this leads documentation change in all products (mounting/caching) I believe we should not provide this as a patch for a customer unless it is really required. On Thu, Apr 17, 2014 at 10:37 AM, Amal Gunatilake am...@wso2.comwrote: Hi Sagara, As Azeez mentioned there is an interface at CarbonUtils named as CacheInvalidator. My component will implement this interface. We planned to have the interface at CarbonUtils because every product will need this service. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Thu, Apr 17, 2014 at 6:03 AM, Afkham Azeez az...@wso2.comwrote: On Thu, Apr 17, 2014 at 12:33 AM, Sagara Gunathunga sag...@wso2.com wrote: On Wed, Apr 16, 2014 at 2:57 PM, Amal Gunatilake am...@wso2.comwrote: Hi All, Following updates has been discussed on $subject. 1) Make the
[Dev] Jaggery shifting to test-automation-framework 4.3.1
Getting error start carbon server from test-automation-framework Since jaggery have different name for server starting script. was it the issue? or is there any config need to added? I have updated below repo and built. - carbon-platform-integration - carbon-platform-integration-utils [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ org.jaggeryjs.integration.tests --- [INFO] Surefire report directory: F:\WSO2\git\jaggery\jaggery01\jaggery\server\integration\tests-integration\target\surefire-reports --- T E S T S --- Running TestSuite Extracting carbon zip file.. Carbon Home - F:\WSO2\git\jaggery\jaggery01\jaggery\server\integration\tests-integration\target\carbontmp1398317632682\jaggery-0.9.0.ALPHA5.wso2v1-SNAPSHOT Instrumentation of jar files in progress ... Fail to start carbon server java.lang.NullPointerException at org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils.instrumentSelectedFiles(CodeCoverageUtils.java:140) at org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils.instrument(CodeCoverageUtils.java:108) at org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:71) at org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102) at org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:73) at org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:48) at org.testng.TestNG.runExecutionListeners(TestNG.java:1032) at org.testng.TestNG.run(TestNG.java:983) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -- *Madhuka* Udantha Senior Software Engineer Development Technologies WSO2 Inc. : http://wso2.com *Mobile*: +94774066336 *Blog*: http://madhukaudantha.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] IS 5.0.0 Nightly Build Packs
Hi all, IS 5.0.0 nightly built pack for 23-04-2014 can be found at [1] (on r200998) [1] https://svn.wso2.org/repos/wso2/scratch/IS-5.0.0/23-04-2014 Thanks, -- Regards, *Darshana Gunawardana*Software Engineer WSO2 Inc.; http://wso2.com *E-mail: darsh...@wso2.com darsh...@wso2.com * *Mobile: +94718566859*Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Cannot Reset Password when using email address as the user name
Hi devs, In new cloud user model we use email as the user name. For password reset (forget password option) we use AdminManagementService [1]. While doing this there was is a issue [2] because of the '@' sign in the user name(i.e email). When resetting the password a confirmation key is generated which is send in the email. This confirmation key is stored in the registry with the user name in the path. But since user name (i.e. email) contains '@' sign which is a illegal character for registry paths, it is not possible to store this in registry. As a solution we can replace the '@' sign with a '..' and store the confirmation in the registry. This will only effect the usernames which has the'@' sign. I have tested this and it works as expected. Shall we proceed with this fix..? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/admin-mgt/org.wso2.carbon.admin.mgt/4.2.0/src/main/java/org/wso2/carbon/admin/mgt/services/AdminManagementService.java [2] TID: [0] [Carbon] [2014-04-23 14:52:17,952] ERROR {org.wso2.carbon.admin.mgt.internal.util.PasswordUtil} - Error in generating the confirmation key for the password reset {org.wso2.carbon.admin.mgt.internal.util.PasswordUtil} org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource at org.wso2.carbon.registry.core.jdbc.handlers.builtin.MountHandler.put(MountHandler.java:295) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2503) at org.wso2.carbon.registry.core.jdbc.handlers.UserDefinedHandlerManager.put(UserDefinedHandlerManager.java:205) at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.put(HandlerLifecycleManager.java:997) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:697) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:465) at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:657) at org.wso2.carbon.admin.mgt.internal.util.PasswordUtil.generateConfirmationKey(PasswordUtil.java:155) at org.wso2.carbon.admin.mgt.internal.util.PasswordUtil.initiatePasswordReset(PasswordUtil.java:98) at org.wso2.carbon.admin.mgt.services.AdminManagementService.initiatePasswordReset(AdminManagementService.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.cloudmgt.modules.user.initiate.c1._c_anonymous_1(/cloudmgt/modules/user/initiate/initiate.jag:24) at org.jaggeryjs.rhino.cloudmgt.modules.user.initiate.c1.call(/cloudmgt/modules/user/initiate/initiate.jag) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.cloudmgt.modules.user.initiate.c0._c_anonymous_1(/cloudmgt/modules/user/initiate/module.jag:4) at org.jaggeryjs.rhino.cloudmgt.modules.user.initiate.c0.call(/cloudmgt/modules/user/initiate/module.jag) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0._c_anonymous_1(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag:16) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0.call(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0._c_script_0(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag:5) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0.call(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0.call(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag) at org.jaggeryjs.rhino.cloudmgt.site.blocks.user.initiate.ajax.c0.exec(/cloudmgt/site/blocks/user/initiate/ajax/initiate.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570) at