Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.
On Tue, Sep 2, 2014 at 6:54 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi Friszan, Here I got this error, when I try to start the APIM, just unzipping the pack under module/distribution. Not while executing tests. Please go and talk to AM team :) . Anyway this error can be due to few reasons. 1. This AM database create and package to the AM product while building the product. So you can look at the build log to find any errors. 2. Enable the H2 configurations in carbon.xml and access through the browser. 3. Did we upgrade the H2 version in GIT ? 4. Check whether the AM source is properly updated in GIT. Thanks Ajith. Thanks Amalka On Mon, Sep 1, 2014 at 11:10 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Amalka, Since you are trying to set up for automation test, have you turned on the filtering of maven-resources-plugin? If so that might be trying to modify the H2 database while APIM modifying it, thus leads to corruption. Can you check on it ? Regards, Firzhan On Mon, Sep 1, 2014 at 3:34 PM, Amalka Subasinghe ama...@wso2.com wrote: ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@60ba6803 to the database org.h2.jdbc.JdbcSQLException: File corrupted while reading record: /home/amalka/amalkas/apim-packs/Untitled Folder/wso2am-1.7.0-SNAPSHOT/repository/database/WSO2AM_DB.h2.db. Possible solution: use the recovery tool [90030-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.store.PageStore.readVariableHeader(PageStore.java:699) at org.h2.store.PageStore.openExisting(PageStore.java:314) at org.h2.store.PageStore.open(PageStore.java:271) at org.h2.engine.Database.getPageStore(Database.java:2059) at org.h2.engine.Database.open(Database.java:534) at org.h2.engine.Database.openDatabase(Database.java:207) at org.h2.engine.Database.init(Database.java:202) at org.h2.engine.Engine.openSession(Engine.java:56) at org.h2.engine.Engine.openSession(Engine.java:146) at org.h2.engine.Engine.getSession(Engine.java:125) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.wso2.carbon.apimgt.impl.utils.APIMgtDBUtil.getConnection(APIMgtDBUtil.java:138) at org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.addAPI(ApiMgtDAO.java:4847) at org.wso2.carbon.apimgt.impl.APIProviderImpl.addAPI(APIProviderImpl.java:383) at org.wso2.carbon.apimgt.impl.UserAwareAPIProvider.addAPI(UserAwareAPIProvider.java:45) at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsFunction_addAPI(APIProviderHostObject.java:1200) 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.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at org.jaggeryjs.rhino.publisher.modules.api.c2._c_anonymous_7(/publisher/modules/api/add.jag:144) at org.jaggeryjs.rhino.publisher.modules.api.c2.call(/publisher/modules/api/add.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.publisher.modules.api.c0._c_anonymous_1(/publisher/modules/api/module.jag:5) at org.jaggeryjs.rhino.publisher.modules.api.c0.call(/publisher/modules/api/module.jag) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
Re: [Dev] Commit to kernal
Hi Isura, Looks like you have removed reading the property from the service level. Now it reads only from the operation level. I don't think which is correct. Prabath/Johan can you please review this? Thanks, Sameera. On Mon, Sep 1, 2014 at 3:52 PM, Isura Karunaratne is...@wso2.com wrote: Hi Sameera, AuthenticationHandler is used to provide authentication in admin services. We can use following parameter to skip the authentication in a service. * parameter name=DoAuthentication locked=truefalse/parameter* Although this works fine with the service level it doesn't work with the operation level. So we can skip the authentication in operation level with this fix *operation name=myOperation* *parameter name=DoAuthentication locked=truefalse/parameter* */operation* Thanks Isura On Mon, Sep 1, 2014 at 3:31 PM, Sameera Jayasoma same...@wso2.com wrote: Can you explain rationale behind this change? Thanks, Sameera. On Mon, Aug 25, 2014 at 6:54 PM, Isura Karunaratne is...@wso2.com wrote: Hi All, Please commit following *https://wso2.org/jira/browse/CARBON-14928 https://wso2.org/jira/browse/CARBON-14928* Thanks Isura -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- 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] BAM Gadget server - can't display XML in a table
Fixed the issue by adding xmp tags inside the .jag file for the respective gadget. e.g. function createTableJSON(result) { var len = result.length; var rows = []; var columnNames = [] for (var i = 0; i len; i++) { var obj = result[i]; var row = [] for(var k in obj) { if ({}.hasOwnProperty.call(obj, k)) { if (i == 0) { columnNames.push(k); } var str = js.vkbeautify.prototype.xml(obj[k]); row.push(xmp+str+/xmp); } } rows.push(row); } return {Rows: rows, ColumnNames : columnNames}; } Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd On Fri, Aug 29, 2014 at 6:51 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Hi Sandamal, I think even when the soap message is coming to the UI, the soapenv:Body or ns:getVersionResponse tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: *textarea * soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body */textarea* will show as soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body (please apply styles to textarea to show in a nicer way) Regards Senduran On Fri, Aug 29, 2014 at 6:48 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Hi Sandamal, I think even when the soap message is coming to the UI, the soapenv:Body or ns:getVersionResponse tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: *textarea * soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body */textarea* will show as soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body (please apply styles to textarea to show in a nicer way) Regards Senduran On Fri, Aug 29, 2014 at 6:21 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Hi Sandamal, I think even when the soap message is coming to the UI, the soapenv:Body or ns:getVersionResponse tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: *textarea * soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ ns:getVersionResponse xmlns:ns= http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body */textarea* will show as soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ ns:getVersionResponse xmlns:ns= http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body (please apply styles to textarea to show in a nicer way) Regards Senduran On Fri, Aug 29, 2014 at 6:01 PM, Sandamal Weerasinghe sanda...@wso2.com wrote: Hi, I'm trying to display a SOAP body and its header inside a table. e.g. soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body Even though UI the gets an XML message, only the content inside the xml tags are displayed in the table e.g. WSO2 Enterprise Service Bus-4.8.1 Is there a way to overcome this? Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548
Re: [Dev] Cassandra-thrift dependency on carbon-utils
Hi Sagara, I went through the changes and had a chat with Sameera as well. +1 for removing the cassandra-thrift and hector-core dependencies from the carbon-utils repo since carbon-utils is depended upon by many products. If we are to remove these dependencies then we have to remove the CassandraLogProvider from the package as well. Since this is a useful class for some of the products however we have to move this class to a different repo, which ensures that this can be used by products as and when needed. I will send a separate mail regarding this. I'll also resend the pull request with the changes. Thanks. /Gayashan On Tue, Sep 2, 2014 at 11:16 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Sagara, These changes were done by Shameera as a result of simplifying the carbon logging story [1]. Since he is not available I will look in to these changes and provide an update asap. [1] https://wso2.org/jira/browse/COMMONS-110 Thanks. /Gayashan On Tue, Sep 2, 2014 at 11:10 AM, Sagara Gunathunga sag...@wso2.com wrote: Hi Gayashan, It seems like new logging service introduces cassandra-thrift, hector-core as dependencies into carbon-util (carbon-common) project bit IMHO neither Carbon logging service nor carbon-util should have these dependencies, shall we get rid of them ? Anyway I'm getting following build fail with PR-16 [1] . [ERROR] Failed to execute goal on project org.wso2.carbon.logging.service: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.logging.service:bundle:4.3.0-SNAPSHOT: Failure to find org.apache.cassandra.wso2:cassandra-thrift:jar:1.1.0.wso2v1 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] [1] - https://github.com/wso2-dev/carbon-utils/pull/16/files Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Commit to kernal
Committeed to the patch0009. Please send a pull request to the git repo. Thanks, Sameera. On Tue, Sep 2, 2014 at 11:47 AM, Prabath Siriwardena prab...@wso2.com wrote: I guess thats fine.. When you read from operation level - if nothing defined - it will inherit from one level up - which is the service level.. Thanks regards, -Prabath On Tue, Sep 2, 2014 at 11:45 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Isura, Looks like you have removed reading the property from the service level. Now it reads only from the operation level. I don't think which is correct. Prabath/Johan can you please review this? Thanks, Sameera. On Mon, Sep 1, 2014 at 3:52 PM, Isura Karunaratne is...@wso2.com wrote: Hi Sameera, AuthenticationHandler is used to provide authentication in admin services. We can use following parameter to skip the authentication in a service. * parameter name=DoAuthentication locked=truefalse/parameter* Although this works fine with the service level it doesn't work with the operation level. So we can skip the authentication in operation level with this fix *operation name=myOperation* *parameter name=DoAuthentication locked=truefalse/parameter* */operation* Thanks Isura On Mon, Sep 1, 2014 at 3:31 PM, Sameera Jayasoma same...@wso2.com wrote: Can you explain rationale behind this change? Thanks, Sameera. On Mon, Aug 25, 2014 at 6:54 PM, Isura Karunaratne is...@wso2.com wrote: Hi All, Please commit following *https://wso2.org/jira/browse/CARBON-14928 https://wso2.org/jira/browse/CARBON-14928* Thanks Isura -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- 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 -- Thanks Regards, Prabath Twitter : @prabath LinkedIn : http://www.linkedin.com/in/prabathsiriwardena Mobile : +94 71 809 6732 http://blog.facilelogin.com http://blog.api-security.org -- 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] Please commit CARBON-14929
Hi Chamil, Looks like you have attached whole bootstrap component in the patch. We cannot see the patch you did in that manner. Please attach only the changes.. Send a pull request to 4.3.0 repo also Thanks, Sameera. On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, Can you please commit the [1] [1] https://wso2.org/jira/browse/CARBON-14929 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Geeth, Supun ran the build tests successfully in his local environment. Can you please commit this patch since he is not available. Regards, Chamil On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, Any update on this? On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into CARBON_HOME/bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to CARBON_HOME/bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the CARBON_HOME/bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- 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] Please commit CARBON-14929
On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chamil, Looks like you have attached whole bootstrap component in the patch. We cannot see the patch you did in that manner. Please attach only the changes.. Send a pull request to 4.3.0 repo also You can find original fix from here https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100 Thanks ! Thanks, Sameera. On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, Can you please commit the [1] [1] https://wso2.org/jira/browse/CARBON-14929 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Geeth, Supun ran the build tests successfully in his local environment. Can you please commit this patch since he is not available. Regards, Chamil On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, Any update on this? On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into CARBON_HOME/bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to CARBON_HOME/bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the CARBON_HOME/bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- 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 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build failure in chunk-13 BAM - MessageStore
Hi, Getting following build failure [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.bam.messagestore: Compilation failure [ERROR] /home/jena/project/source/carbon/platform/turing/components/bam2/org.wso2.carbon.bam.messagestore/4.2.2/src/main/java/org/wso2/carbon/bam/messagestore/MessageStore.java:[64,71] cannot find symbol [ERROR] symbol : method getClusterKeyspaceFromRDBMSDataSource(int,java.lang.String) [ERROR] location: class org.wso2.carbon.bam.datasource.BAMDataSourceService -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Commit to kernal
Created a pull request [1]. Thanks Isura [1] https://github.com/wso2-dev/carbon4-kernel/pull/87 On Tue, Sep 2, 2014 at 12:09 PM, Sameera Jayasoma same...@wso2.com wrote: Committeed to the patch0009. Please send a pull request to the git repo. Thanks, Sameera. On Tue, Sep 2, 2014 at 11:47 AM, Prabath Siriwardena prab...@wso2.com wrote: I guess thats fine.. When you read from operation level - if nothing defined - it will inherit from one level up - which is the service level.. Thanks regards, -Prabath On Tue, Sep 2, 2014 at 11:45 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Isura, Looks like you have removed reading the property from the service level. Now it reads only from the operation level. I don't think which is correct. Prabath/Johan can you please review this? Thanks, Sameera. On Mon, Sep 1, 2014 at 3:52 PM, Isura Karunaratne is...@wso2.com wrote: Hi Sameera, AuthenticationHandler is used to provide authentication in admin services. We can use following parameter to skip the authentication in a service. * parameter name=DoAuthentication locked=truefalse/parameter* Although this works fine with the service level it doesn't work with the operation level. So we can skip the authentication in operation level with this fix *operation name=myOperation* *parameter name=DoAuthentication locked=truefalse/parameter* */operation* Thanks Isura On Mon, Sep 1, 2014 at 3:31 PM, Sameera Jayasoma same...@wso2.com wrote: Can you explain rationale behind this change? Thanks, Sameera. On Mon, Aug 25, 2014 at 6:54 PM, Isura Karunaratne is...@wso2.com wrote: Hi All, Please commit following *https://wso2.org/jira/browse/CARBON-14928 https://wso2.org/jira/browse/CARBON-14928* Thanks Isura -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- 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 -- Thanks Regards, Prabath Twitter : @prabath LinkedIn : http://www.linkedin.com/in/prabathsiriwardena Mobile : +94 71 809 6732 http://blog.facilelogin.com http://blog.api-security.org -- 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 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Moving CassandraLogProvider from carbon-utils to a different repo
Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please commit CARBON-14929
Hi Sameera, I will attach the only diff against the fresh bootstrap to the JIRA. On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chamil, Looks like you have attached whole bootstrap component in the patch. We cannot see the patch you did in that manner. Please attach only the changes.. Send a pull request to 4.3.0 repo also You can find original fix from here https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100 Thanks ! Thanks, Sameera. On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, Can you please commit the [1] [1] https://wso2.org/jira/browse/CARBON-14929 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Geeth, Supun ran the build tests successfully in his local environment. Can you please commit this patch since he is not available. Regards, Chamil On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, Any update on this? On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into CARBON_HOME/bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to CARBON_HOME/bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the CARBON_HOME/bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- 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 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
Can it be moved to carbon-commons? On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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] BPMN UI Stats page
Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BPMN UI Stats page
Hi Amal, Can we have a list for human task vs task instance state (i.e. Task name | # active | # completed | # failed | # suspended ). Also, once we click on a task, we can list instance details of that task (e.g. created on, current assignee, etc.) Regards, Chathura On Tue, Sep 2, 2014 at 1:23 PM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez az...@wso2.com wrote: Can it be moved to carbon-commons? This means carbon-commons will depend on cassandra-thrift and hector-core, I don't think that as a good approach. AFAIK this is required for few products such as BAM, CEP, MB etc. so can't we move to a project common for those projects only ? Thanks ! On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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* -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BPMN UI Stats page
Hi, AFAIK 3D pie charts can be mislead visual perception on data pixels[1]. But it can depend on the context. When we are doing data visualization, we need to think about max level of data representation. (ex: Max processes that can be encountered ) Hope you already consider those aspects. IMO bar chart will provide more comparative visualization on your first graph. [1] http://en.wikipedia.org/wiki/Misleading_graph *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Sep 2, 2014 at 7:53 AM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ 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] BPMN UI Stats page
Hi Dakshika, Thank you for the comments. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Sep 2, 2014 at 2:13 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi, AFAIK 3D pie charts can be mislead visual perception on data pixels[1]. But it can depend on the context. When we are doing data visualization, we need to think about max level of data representation. (ex: Max processes that can be encountered ) Hope you already consider those aspects. IMO bar chart will provide more comparative visualization on your first graph. [1] http://en.wikipedia.org/wiki/Misleading_graph *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Sep 2, 2014 at 7:53 AM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ 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] BPMN UI Stats page
Hi Chathura, *List for human task vs task instance state (i.e. Task name | # active | # completed | # failed | # suspended ). I believe the above is covered in the 2nd graph. Please enlighten me if I have misunderstood. *Once we click on a task, we can list instance details of that task (e.g. created on, current assignee, etc.) For the above requirement, we can display those details in the existing Task Details page I guess. The current assignee is already included. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Sep 2, 2014 at 2:05 PM, Chathura Ekanayake chath...@wso2.com wrote: Hi Amal, Can we have a list for human task vs task instance state (i.e. Task name | # active | # completed | # failed | # suspended ). Also, once we click on a task, we can list instance details of that task (e.g. created on, current assignee, etc.) Regards, Chathura On Tue, Sep 2, 2014 at 1:23 PM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] APIM 1.7.1 -Recently added API list is not updated with the most recent APIs
Hi This is regarding the public jira[1]. Recently added api list is not updated with most recent apis. *getRecentlyAddedAPIs(int limit, String tenantDomain) *method in *APIConsumerIml.java * is used to get the recently added apis with given limit. This method uses PagniationContext search to retrieve the recently added apis from registry as follow. *PaginationContext.init(0, limit, DESC, timestamp, Integer.MAX_VALUE);* But api rxt doesn't have a field called timestamp. Because of this sorting by timestamp does not work and first 5 apis(where limit is set to 5) are returned. PaginationContext has been used for APIM store performance improvement[2]. Was this issue noticed when doing this performance improvement ? 1.https://wso2.org/jira/browse/APIMANAGER-2675 2.https://wso2.org/jira/browse/APIMANAGER-2532 -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [G-Reg] Tenant not loading on first login
Tenant is not loading when the first user when the tenant login. This is only can be seen in Governance Registry. Tenant will be loaded when on the second operation. Any thoughts how this can be happen only to G-Reg? [2014-09-02 14:54:12,417] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - ' era...@wso2.com [1]' logged in at [2014-09-02 14:54:12,417+0530] [2014-09-02 14:56:44,124] INFO {org.wso2.carbon.core.multitenancy.TenantAxisConfigurator} - Creating tenant AxisConfiguration for tenant: wso2.com[1] [2014-09-02 14:56:44,279] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2014-09-02 14:56:44,280] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant 1. [2014-09-02 14:56:44,327] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {wso2.com[1]} [2014-09-02 14:56:44,364] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {wso2.com[1]} [2014-09-02 14:56:44,521] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant 1 [2014-09-02 14:56:44,563] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Loaded tenant wso2.com in 457 ms thanks Eranda -- *Eranda Sooriyabandara*Senior Software Engineer; Integration Technologies Team; WSO2 Inc.; http://wso2.com Lean . Enterprise . Middleware E-mail: eranda AT wso2.com Mobile: +94 716 472 816 Linked-In: http://www.linkedin.com/in/erandasooriyabandara Blog: http://emsooriyabandara.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BPMN UI Stats page
Hi Chathura, Got the point. Let's have another chart to show the active, suspended, completed and failed humantaks as well. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Sep 2, 2014 at 3:04 PM, Chathura Ekanayake chath...@wso2.com wrote: Hi Amal, 2nd graph shows the total number of active, suspended, etc task instances. Should we show these details per task? On Tue, Sep 2, 2014 at 2:54 PM, Amal Gunatilake am...@wso2.com wrote: Hi Dakshika, Thank you for the comments. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Sep 2, 2014 at 2:13 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi, AFAIK 3D pie charts can be mislead visual perception on data pixels[1]. But it can depend on the context. When we are doing data visualization, we need to think about max level of data representation. (ex: Max processes that can be encountered ) Hope you already consider those aspects. IMO bar chart will provide more comparative visualization on your first graph. [1] http://en.wikipedia.org/wiki/Misleading_graph *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Sep 2, 2014 at 7:53 AM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
Shall we move it to carbon-storage-management repo since it contains all the cassandra related artifacts? On Tue, Sep 2, 2014 at 1:45 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez az...@wso2.com wrote: Can it be moved to carbon-commons? This means carbon-commons will depend on cassandra-thrift and hector-core, I don't think that as a good approach. AFAIK this is required for few products such as BAM, CEP, MB etc. so can't we move to a project common for those projects only ? Thanks ! On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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* -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Cross browser test execution - UI tests using sauce labs
Hi Krishantha, SauceLabs cloud testing platform allows us to automatically or interactively run our UI tests across several browsers and platforms. You can refer more on SauceLabs on https://saucelabs.com/home There are many more advantages of using SauceLab environment such as screencast of test execution, parallel execution of tests etc. As an initiative our objective was to run AS UI tests in SauceLabs environment and I have tested this in my local machine using Jenkins builder instance and it worked as expected. I have added necessary changes to TAF in the pull request mentioned in the mail thread [1] [Dev] Please merge AS UI test pull request. Note that this works on Sauce OnDemand Plugin and currently with this approach we will only be able to run our tests in a single platform (eg: XP,Linux etc. ) and a browser type (eg: Firefox, chrome etc.). Therefore to overcome this bottleneck I am currently looking into finding a solution to run UI tests on cross browser environment. Cross browser testing basically refers to ensuring that our UI tests works fine across multiple browser environment. It ensures Sauce OnDemand Plugin compatibility of UI tests on different Web browsers like Internet Explorer, Firefox, Safari, Chrome etc. Regards On Tue, Sep 2, 2014 at 2:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Dimuthu, Can you elaborate more on $subject. What is sauce labs and how we are going to use it. Why we need to consider cross browser test execution. Thanks, Krishantha. On Mon, Sep 1, 2014 at 11:19 AM, Dimuthu De Lanerolle dimut...@wso2.com wrote: I have started seeking the possibility of the $Subject and will update the progress in due course. 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 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- 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
Re: [Dev] APIM 1.7.1 -Recently added API list is not updated with the most recent APIs
On Tue, Sep 2, 2014 at 2:06 PM, Jenananthan Yogendran jenanant...@wso2.com wrote: Hi This is regarding the public jira[1]. Recently added api list is not updated with most recent apis. *getRecentlyAddedAPIs(int limit, String tenantDomain) *method in *APIConsumerIml.java * is used to get the recently added apis with given limit. This method uses PagniationContext search to retrieve the recently added apis from registry as follow. *PaginationContext.init(0, limit, DESC, timestamp, Integer.MAX_VALUE);* But api rxt doesn't have a field called timestamp. Because of this sorting by timestamp does not work and first 5 apis(where limit is set to 5) are returned. PaginationContext has been used for APIM store performance improvement[2]. Was this issue noticed when doing this performance improvement ? 1.https://wso2.org/jira/browse/APIMANAGER-2675 2.https://wso2.org/jira/browse/APIMANAGER-2532 -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BPMN UI Stats page
Hi Amal, 2nd graph shows the total number of active, suspended, etc task instances. Should we show these details per task? On Tue, Sep 2, 2014 at 2:54 PM, Amal Gunatilake am...@wso2.com wrote: Hi Dakshika, Thank you for the comments. Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Sep 2, 2014 at 2:13 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi, AFAIK 3D pie charts can be mislead visual perception on data pixels[1]. But it can depend on the context. When we are doing data visualization, we need to think about max level of data representation. (ex: Max processes that can be encountered ) Hope you already consider those aspects. IMO bar chart will provide more comparative visualization on your first graph. [1] http://en.wikipedia.org/wiki/Misleading_graph *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Sep 2, 2014 at 7:53 AM, Amal Gunatilake am...@wso2.com wrote: Hi Chathura, Following data has been identified as the primary data sets to generate the statistics for $subject. *1) Process Name Vs Process Instances count* E.g. *Process Name* *Total instances* Process 1 20 Process 2 30 Process 3 10 Process 4 60 Process 5 40 [image: Inline image 1] *2) Humantask count Vs Humantask status* E.g. *Task status* *Task count* Suspended 30 Failed 10 Completed 50 Active 20 [image: Inline image 2] Further I have found the 3D Donut library[1] http://bl.ocks.org/NPashaP/9994181 to generate and render these charts in the BPMN stats page UI. Appreciate your thoughts on this. [1] http://bl.ocks.org/NPashaP/9994181 Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Jsplumb and cmf based gwt-dnd approach for esb graphical editor
Hi all, I have tried with the cmf editor (based on the demo provided : https://www.youtube.com/watch?v=RZWBuz0FwZU) and was not unable to get it running. I have sent a mail to Dmitry and waiting for a response. As far as i have figured out, * [A] The cmf editor is java based* and the method onModuleLoad() in GWT, works similar to JQuery onDocumentready(). We can call javascript functions separately from the moduleLoad function as native methods using JSNI. for connection creation they (CMF) have developed something primitive similar to jsplumb by keeping the connections in an arrayList. [B] In creating connections for the gwt-dnd based elements we can use jsplumb according to the tutorial [1]. I have tried the sample there and have it at [2]. It builds successfully but the execution fails as it requires gwt plugin for browsers and supports only earlier versions of firefox (version 24). We will have to find a way to get gwt developer plugin into our browsers to develop gwt based web application. So far for my understanding, * [C] whether we use gwt-dnd(which is used for cmf editor) Or Gquery we will have to re-write all our javascript functions in java for gwt*. We cannot use our existing jquery functions as it is in gwt. we can use jsplumb even with dnd as jsplumb is connection creationd and dnd is gwt framework for drag and drop. * [D] If we are taking a different approach* we will have to write our own editor for codenvy integration. All the above work i tried only creates gwt based projects and not codenvy extensions. P.S : The other option we have is to import our application (with jquery and jsplumb) as an iframe into codenvy editor and try to access the elements inside iframe. In this way we can use the existing application as it is. Yet i doubt the possibility of accessing elements inside iframe. I have tried it in [3]. [1]http://code.google.com/p/gwt-jsplumb/ [2]https://github.com/tikaa/jsplumbGWT [3]https://github.com/tikaa/codenvyIframeESBEditor regards -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please commit CARBON-14929
Hi Chamil, I noticed that you've added a public method to LoggingUtils class. Whats the purpose of that method? Thanks, Sameera. On Tue, Sep 2, 2014 at 2:07 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, I have attached the fix-only diff to the JIRA and sent the pull request [1] [1] https://github.com/wso2-dev/carbon4-kernel/pull/88 On Tue, Sep 2, 2014 at 1:15 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, I will attach the only diff against the fresh bootstrap to the JIRA. On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chamil, Looks like you have attached whole bootstrap component in the patch. We cannot see the patch you did in that manner. Please attach only the changes.. Send a pull request to 4.3.0 repo also You can find original fix from here https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100 Thanks ! Thanks, Sameera. On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, Can you please commit the [1] [1] https://wso2.org/jira/browse/CARBON-14929 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Geeth, Supun ran the build tests successfully in his local environment. Can you please commit this patch since he is not available. Regards, Chamil On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, Any update on this? On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into CARBON_HOME/bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to CARBON_HOME/bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the CARBON_HOME/bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- 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 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate
[Dev] Test case for JWT Generation in WSO2 EAM
Hi All I'm working on test automation for JWT generation. In here i need to create several claims and I will check weather it will contain in the Token. Basically it will be generated when we hit the gateway url and pass it to the corresponding web app. But I was unable to identify what is the api to call in my testcase. Any ideas? Cheers -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [chunk13]OAuth component compilation error
@prasad pls fix. On 2 September 2014 18:09, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi; [INFO] [INFO] Building WSO2 Carbon - OAuth 4.2.4 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.carbon.identity.oauth --- [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ org.wso2.carbon.identity.oauth --- [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ org.wso2.carbon.identity.oauth --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.carbon.identity.oauth --- [INFO] Compiling 112 source files to /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[67,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,55] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,79] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,80] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,104] not a statement [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,126] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,53] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,75] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,76] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,100] not a statement [ERROR]
[Dev] [chunk13]OAuth component compilation error
hi; [INFO] [INFO] Building WSO2 Carbon - OAuth 4.2.4 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.carbon.identity.oauth --- [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ org.wso2.carbon.identity.oauth --- [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ org.wso2.carbon.identity.oauth --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.carbon.identity.oauth --- [INFO] Compiling 112 source files to /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[67,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,55] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,79] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,80] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,104] not a statement [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,126] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,53] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,75] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,76] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,100] not a statement [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,120] ';' expected
Re: [Dev] Cassandra-thrift dependency on carbon-utils
Hi Sagara, I was able to remove the CassandraLogProvider and get the commits reapplied to carbon-utils after resolving merge conflicts, etc. However in addition to the changes made to the platform by Shameera, there are couple of more places which needs changes as well. Without those changes the platform build will fail. I will send the pull request to carbon-utils after fixing those places (and sending relevant pull requests) as well. Thanks. /Gayashan On Tue, Sep 2, 2014 at 11:59 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Sagara, I went through the changes and had a chat with Sameera as well. +1 for removing the cassandra-thrift and hector-core dependencies from the carbon-utils repo since carbon-utils is depended upon by many products. If we are to remove these dependencies then we have to remove the CassandraLogProvider from the package as well. Since this is a useful class for some of the products however we have to move this class to a different repo, which ensures that this can be used by products as and when needed. I will send a separate mail regarding this. I'll also resend the pull request with the changes. Thanks. /Gayashan On Tue, Sep 2, 2014 at 11:16 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Sagara, These changes were done by Shameera as a result of simplifying the carbon logging story [1]. Since he is not available I will look in to these changes and provide an update asap. [1] https://wso2.org/jira/browse/COMMONS-110 Thanks. /Gayashan On Tue, Sep 2, 2014 at 11:10 AM, Sagara Gunathunga sag...@wso2.com wrote: Hi Gayashan, It seems like new logging service introduces cassandra-thrift, hector-core as dependencies into carbon-util (carbon-common) project bit IMHO neither Carbon logging service nor carbon-util should have these dependencies, shall we get rid of them ? Anyway I'm getting following build fail with PR-16 [1] . [ERROR] Failed to execute goal on project org.wso2.carbon.logging.service: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.logging.service:bundle:4.3.0-SNAPSHOT: Failure to find org.apache.cassandra.wso2:cassandra-thrift:jar:1.1.0.wso2v1 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] [1] - https://github.com/wso2-dev/carbon-utils/pull/16/files Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] Tenant not loading on first login
This was solved in [1] in patch0002 and we need to patch G-Reg. thanks Eranda [1]. https://wso2.org/jira/browse/CARBON-14531 On Tue, Sep 2, 2014 at 3:08 PM, Eranda Sooriyabandara era...@wso2.com wrote: Tenant is not loading when the first user when the tenant login. This is only can be seen in Governance Registry. Tenant will be loaded when on the second operation. Any thoughts how this can be happen only to G-Reg? [2014-09-02 14:54:12,417] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - ' era...@wso2.com [1]' logged in at [2014-09-02 14:54:12,417+0530] [2014-09-02 14:56:44,124] INFO {org.wso2.carbon.core.multitenancy.TenantAxisConfigurator} - Creating tenant AxisConfiguration for tenant: wso2.com[1] [2014-09-02 14:56:44,279] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. [2014-09-02 14:56:44,280] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant 1. [2014-09-02 14:56:44,327] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {wso2.com[1]} [2014-09-02 14:56:44,364] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {wso2.com[1]} [2014-09-02 14:56:44,521] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant 1 [2014-09-02 14:56:44,563] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Loaded tenant wso2.com in 457 ms thanks Eranda -- *Eranda Sooriyabandara*Senior Software Engineer; Integration Technologies Team; WSO2 Inc.; http://wso2.com Lean . Enterprise . Middleware E-mail: eranda AT wso2.com Mobile: +94 716 472 816 Linked-In: http://www.linkedin.com/in/erandasooriyabandara Blog: http://emsooriyabandara.blogspot.com/ -- *Eranda Sooriyabandara*Senior Software Engineer; Integration Technologies Team; WSO2 Inc.; http://wso2.com Lean . Enterprise . Middleware E-mail: eranda AT wso2.com Mobile: +94 716 472 816 Linked-In: http://www.linkedin.com/in/erandasooriyabandara Blog: http://emsooriyabandara.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Test case for JWT Generation in WSO2 EAM
Hi Kasun, On Tue, Sep 2, 2014 at 5:05 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All I'm working on test automation for JWT generation. In here i need to create several claims and I will check weather it will contain in the Token. Basically it will be generated when we hit the gateway url and pass it to the corresponding web app. But I was unable to identify what is the api to call in my testcase. What you mean by the API here ? Is that the backend web app ? If so, you can deploy one of our sample web application and call to that endpoint. Regards, Dinusha. Any ideas? Cheers -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [chunk13]OAuth component compilation error
Fixed with r206793. Thanks, Johann. On Tue, Sep 2, 2014 at 6:09 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi; [INFO] [INFO] Building WSO2 Carbon - OAuth 4.2.4 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.carbon.identity.oauth --- [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ org.wso2.carbon.identity.oauth --- [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ org.wso2.carbon.identity.oauth --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.carbon.identity.oauth --- [INFO] Compiling 112 source files to /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[67,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,55] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,79] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,80] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,104] not a statement [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[69,126] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,4] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,12] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,32] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,53] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,75] illegal start of expression [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,76] ';' expected [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/oauth2/dao/TokenMgtDAO.java:[71,100] not a statement
[Dev] Caching listener unit tests
Please merge the PR https://github.com/wso2-dev/carbon4-kernel/pull/89 This tests that all caching event listeners are properly working. -- *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] Need to fix the following issues in product-apim, to run the API Manager integration tests
Hi Amalka, Issue #3 should be fixed after applying pull request [1]. Issue #4 should be fixed after applying pull request [2]. [1] https://github.com/wso2-dev/carbon-apimgt/pull/6 [2] https://github.com/wso2-dev/carbon-commons/pull/17 Regards Roshan On Mon, Sep 1, 2014 at 9:55 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi APIM team, Following are the issues I found so far while building and running API Manager. Issues when building product-apim 1: Got the following error when building product-apim repo: see the mail subjected : Build failure on wso2-dev/product-apim git repo after building carbon-apim, I could solve the issue, but product-apim should be able to build without building carbon-apim. [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (3-p2-profile-generation) on project am-p2-profile: P2 publisher return code was 13 - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (3-p2-profile-generation) on project am-p2-profile: P2 publisher return code was 13 2: Copied httpmime-4.2.5.jar and encode-1.1.jar to the product-apim-new/modules/distribution/product/src/main/resources folder manually to fix the following errors [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:attached (dist) on project wso2am: Failed to create assembly: Error filtering file '/home/amalka/amalkas/product-apim-new/modules/distribution/product/src/main/resources/httpmime-4.2.5.jar': /home/amalka/amalkas/product-apim-new/modules/distribution/product/src/main/resources/httpmime-4.2.5.jar (No such file or directory) - [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:attached (dist) on project wso2am: Failed to create assembly: Error filtering file '/home/amalka/amalkas/product-apim-new/modules/distribution/product/src/main/resources/encoder-1.1.jar': /home/amalka/amalkas/product-apim-new/modules/distribution/product/src/main/resources/encoder-1.1.jar (No such file or directory) - [Help 1] Issues when running apim 3: When running the apim it gives following warnings and hangs. could solve the issue after merging the fix specified in the mail subjected: “OSGI bundle conflict when starting up APIM GIT latest” [2014-08-21 08:58:31,302] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2014-08-21 08:58:31,304] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.apimgt. gateway-4.3.0.SNAPSHOT [2014-08-21 08:59:31,301] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2014-08-21 08:59:31,302] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.apimgt.gateway-4.3.0.SNAPSHOT [2014-08-21 09:00:31,301] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2014-08-21 09:00:31,302] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.apimgt.gateway-4.3.0.SNAPSHOT 4: Could fix the following error after applying the workaround specified in mail subjected: “org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException is throwing GIT built apim” [2014-09-01 20:49:57,554] ERROR - DeploymentSynchronizerComponent Error while initializing a deployment synchronizer for the super tenant Carbon repository org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException: No Repository found for type registry Issues when loading publisher 5: copied encoder-1.1.jar to the product-apim/modules/distribution/product/target/wso2am-1.7.0-SNAPSHOT/repository/components/lib location to fix the following issue [2014-09-01 20:59:37,963] ERROR - ApplicationDispatcher Servlet.service() for servlet JaggeryServlet threw exception java.lang.ClassNotFoundException: org.owasp.encoder.Encode Issues when trying to add new API 6: see the mail subjected: “org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API” [2014-09-01 21:15:18,672] ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@60ba6803 to the database org.h2.jdbc.JdbcSQLException: File corrupted while reading record: /home/amalka/amalkas/product-apim-new/modules/distribution/product/target/wso2am-1.7.0-SNAPSHOT/repository/database/WSO2AM_DB.h2.db. Possible solution: use the recovery tool [90030-140] Thanks Amalka -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
Well, I don't think it's really the right move to have this added to carbon-storage-management repository. IMO, it has no meaning within the context of storage provisioning which is what carbon-storage-management primarily focuses on. CassandraLogProvider is some utility that's used across the platform right? If that's the case, it has to be added to some common repository, I believe. In addition to that, what CassandraLogProvider depends on (cassandra-thrift, hector-core, etc) is anyway not being maintained as part of carbon-storage-management repository. All considered, I believe, we should probably add this to some other appropriate location which is common for all components in the platform. Cheers, Prabath On Tue, Sep 2, 2014 at 2:29 PM, Inosh Goonewardena in...@wso2.com wrote: Shall we move it to carbon-storage-management repo since it contains all the cassandra related artifacts? On Tue, Sep 2, 2014 at 1:45 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez az...@wso2.com wrote: Can it be moved to carbon-commons? This means carbon-commons will depend on cassandra-thrift and hector-core, I don't think that as a good approach. AFAIK this is required for few products such as BAM, CEP, MB etc. so can't we move to a project common for those projects only ? Thanks ! On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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* -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
Another fact is, this is not used only by BAM, CEP or MB. Any product which wishes to publish logs to Cassandra will use this. Correct me if I am wrong. So, this is a util to me. On Tue, Sep 2, 2014 at 7:15 PM, Prabath Abeysekera praba...@wso2.com wrote: Well, I don't think it's really the right move to have this added to carbon-storage-management repository. IMO, it has no meaning within the context of storage provisioning which is what carbon-storage-management primarily focuses on. CassandraLogProvider is some utility that's used across the platform right? If that's the case, it has to be added to some common repository, I believe. In addition to that, what CassandraLogProvider depends on (cassandra-thrift, hector-core, etc) is anyway not being maintained as part of carbon-storage-management repository. All considered, I believe, we should probably add this to some other appropriate location which is common for all components in the platform. Cheers, Prabath On Tue, Sep 2, 2014 at 2:29 PM, Inosh Goonewardena in...@wso2.com wrote: Shall we move it to carbon-storage-management repo since it contains all the cassandra related artifacts? On Tue, Sep 2, 2014 at 1:45 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez az...@wso2.com wrote: Can it be moved to carbon-commons? This means carbon-commons will depend on cassandra-thrift and hector-core, I don't think that as a good approach. AFAIK this is required for few products such as BAM, CEP, MB etc. so can't we move to a project common for those projects only ? Thanks ! On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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* -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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] Error on a fresh installation of WSO2 ELB 2.0.3
Hi All, I also observed diego reported issue [1] at ELB startup time and before issue occurring followed following steps Steps: 1. Started IS 500 fronted by ELB 2.1.0 server 2. Configure IS to try out scenarios [2] 3. Then loaded the scenario nearly with 300 TPS After some time observed WARN - PassThroughHttpSSLListener System may be unstable: HTTPS ListeningIOReactor encountered a checked exception : Too many open files java.io.IOException: Too many open files on ELB side. and ERROR - Axis2Sender Unexpected error during sending message out java.lang.IllegalStateException: I/O reactor has been shut down 4. Then shutdown the ELB server due to above errors and increase file limits on /etc/security/limits.conf file 5. When restarting downed ELB server observed issue [1] 6. After clearing and replacing content on /repository/deployment/server folder from a fresh pack content , we were able to resolve the issue[1] It seams content on /repository/deployment/server folder have corrupted due to the load or too many open files issue. Can anyone have an idea on root cause of this issue and provide a proper solution than replacing the content.? [1] [2014-09-02 09:14:46,993] FATAL - LoadBalanceEndpointServiceComponent Failed to register Tenant Aware Load Balance Endpoint in Send Mediator. [2014-09-02 09:14:46,994] ERROR - LoadBalanceEndpointServiceComponent Failed to activate Endpoint Admin bundle org.apache.synapse.SynapseException: Failed to register Tenant Aware Load Balance Endpoint in Send Mediator. at org.wso2.carbon.lb.endpoint.internal.LoadBalanceEndpointServiceComponent.activate(LoadBalanceEndpointServiceComponent.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at
Re: [Dev] Please commit CARBON-14929
Hi Sameera, The patch has been attached to the JIRA. Added a workaround to avoid the public method with proper comments. Regards, Chamil On Tue, Sep 2, 2014 at 6:13 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, For now that method is only used by four Log Handler classes. But there may be other usages in the future as a utility method. As we discussed I will change the code so that it avoids the public method for carbon 4.2.0 patch. Regards, Chamil On Tue, Sep 2, 2014 at 6:00 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chamil, I noticed that you've added a public method to LoggingUtils class. Whats the purpose of that method? Thanks, Sameera. On Tue, Sep 2, 2014 at 2:07 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, I have attached the fix-only diff to the JIRA and sent the pull request [1] [1] https://github.com/wso2-dev/carbon4-kernel/pull/88 On Tue, Sep 2, 2014 at 1:15 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, I will attach the only diff against the fresh bootstrap to the JIRA. On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chamil, Looks like you have attached whole bootstrap component in the patch. We cannot see the patch you did in that manner. Please attach only the changes.. Send a pull request to 4.3.0 repo also You can find original fix from here https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100 Thanks ! Thanks, Sameera. On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Sameera, Can you please commit the [1] [1] https://wso2.org/jira/browse/CARBON-14929 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Geeth, Supun ran the build tests successfully in his local environment. Can you please commit this patch since he is not available. Regards, Chamil On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, Any update on this? On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into CARBON_HOME/bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to CARBON_HOME/bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the CARBON_HOME/bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com wrote: $subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- 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
Re: [Dev] Jsplumb and cmf based gwt-dnd approach for esb graphical editor
Please note the grammar mistake at *I have tried with the cmf editor (based on the demo provided : https://www.youtube.com/watch?v=RZWBuz0FwZU https://www.youtube.com/watch?v=RZWBuz0FwZU) and was not unable to get it running. I have sent a mail to Dmitry and waiting for a response.* It should be as *I have tried with the cmf editor (based on the demo provided : https://www.youtube.com/watch?v=RZWBuz0FwZU https://www.youtube.com/watch?v=RZWBuz0FwZU) and was unable to get it running. I have sent a mail to Dmitry and waiting for a response.* thanks and regards Awanthika On Tue, Sep 2, 2014 at 4:47 PM, Awanthika Senarath awanth...@wso2.com wrote: Hi all, I have tried with the cmf editor (based on the demo provided : https://www.youtube.com/watch?v=RZWBuz0FwZU) and was not unable to get it running. I have sent a mail to Dmitry and waiting for a response. As far as i have figured out, * [A] The cmf editor is java based* and the method onModuleLoad() in GWT, works similar to JQuery onDocumentready(). We can call javascript functions separately from the moduleLoad function as native methods using JSNI. for connection creation they (CMF) have developed something primitive similar to jsplumb by keeping the connections in an arrayList. [B] In creating connections for the gwt-dnd based elements we can use jsplumb according to the tutorial [1]. I have tried the sample there and have it at [2]. It builds successfully but the execution fails as it requires gwt plugin for browsers and supports only earlier versions of firefox (version 24). We will have to find a way to get gwt developer plugin into our browsers to develop gwt based web application. So far for my understanding, * [C] whether we use gwt-dnd(which is used for cmf editor) Or Gquery we will have to re-write all our javascript functions in java for gwt*. We cannot use our existing jquery functions as it is in gwt. we can use jsplumb even with dnd as jsplumb is connection creationd and dnd is gwt framework for drag and drop. * [D] If we are taking a different approach* we will have to write our own editor for codenvy integration. All the above work i tried only creates gwt based projects and not codenvy extensions. P.S : The other option we have is to import our application (with jquery and jsplumb) as an iframe into codenvy editor and try to access the elements inside iframe. In this way we can use the existing application as it is. Yet i doubt the possibility of accessing elements inside iframe. I have tried it in [3]. [1]http://code.google.com/p/gwt-jsplumb/ [2]https://github.com/tikaa/jsplumbGWT [3]https://github.com/tikaa/codenvyIframeESBEditor regards -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [chunk13]SAML component compilation error
INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:54.518s [INFO] Finished at: Tue Sep 02 07:23:15 PDT 2014 [INFO] Final Memory: 718M/905M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.identity.sso.saml: Compilation failure: Compilation failure: [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[23,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[56,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[67,49] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[79,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[57,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[68,57] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[80,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[58,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[69,56] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[81,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] - [Help 1] -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Moving CassandraLogProvider from carbon-utils to a different repo
On Tue, Sep 2, 2014 at 7:24 PM, Amila Maha Arachchi ami...@wso2.com wrote: Another fact is, this is not used only by BAM, CEP or MB. Any product which wishes to publish logs to Cassandra will use this. Correct me if I am wrong. So, this is a util to me. Right now not all products use this feature and my concern is with this change carbon-util is depends on cassandra-thrift and hector-core. BTW if majority of products need this feature we can have it under carbon-util or carbon-common then one team has to take ownership and mange cassandra-thrift/hector-core versions in carbon-common project. Thanks ! On Tue, Sep 2, 2014 at 7:15 PM, Prabath Abeysekera praba...@wso2.com wrote: Well, I don't think it's really the right move to have this added to carbon-storage-management repository. IMO, it has no meaning within the context of storage provisioning which is what carbon-storage-management primarily focuses on. CassandraLogProvider is some utility that's used across the platform right? If that's the case, it has to be added to some common repository, I believe. In addition to that, what CassandraLogProvider depends on (cassandra-thrift, hector-core, etc) is anyway not being maintained as part of carbon-storage-management repository. All considered, I believe, we should probably add this to some other appropriate location which is common for all components in the platform. Cheers, Prabath On Tue, Sep 2, 2014 at 2:29 PM, Inosh Goonewardena in...@wso2.com wrote: Shall we move it to carbon-storage-management repo since it contains all the cassandra related artifacts? On Tue, Sep 2, 2014 at 1:45 PM, Sagara Gunathunga sag...@wso2.com wrote: On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez az...@wso2.com wrote: Can it be moved to carbon-commons? This means carbon-commons will depend on cassandra-thrift and hector-core, I don't think that as a good approach. AFAIK this is required for few products such as BAM, CEP, MB etc. so can't we move to a project common for those projects only ? Thanks ! On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi all, As a result of Simplifying Carbon Platform Logging Story Supporting Extending [1] the ability to plug any log provider to carbon server has been implemented [2]. This can be done by implementing the LogProvider interface and using logging-config.xml file to provide configurations needed to initialize the log provider implementation. Carbon log viewer will use this interface to get the LogEvents and show it on Log View UI. There has been some implementations already done and these log providers reside in carbon-utils repo [3]. One such log provider is CassandraLogProvider which can be used to provide logs from a cassandra instance. However since having this implementation in carbon-utils repo introduces dependencies on cassandra-thrift and hector-core we cannot keep this implementation in the carbon-utils. So where is the best place to keep this implementation since it is useful for many products? [1] https://wso2.org/jira/browse/COMMONS-110 [2] https://wso2.org/jira/browse/COMMONS-111 [3] https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *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* -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Technical Lead WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list
[Dev] (no subject)
-- Thanks Best Regards, Tharindu Edirisinghe Software Engineer *WSO2 Inc* *email : tharin...@wso2.com tharin...@wso2.com * *mobile : +94 775 181586* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [IS] OpenID Association Handle generation Logic and Performance Improvement
I am working on some performance improvements on OpenID in Identity Server (using the IS 3.2.3). The method to generate Associations is synchronized and so it will lock the entire method. As I see, the reason for this is to avoid duplicate values for association handle. components/identity/org.wso2.carbon.identity.provider/3.2.0/src/main/java/org/wso2/carbon/identity/provider/openid/OpenIDServerAssociationStore.java The generate method is synchronized. According to the code, this is needed to avoid conflicts with having duplicate handle values. public synchronized Association generate(String type, int expiryIn) throws AssociationException { String handle = storeId + timestamp + - + counter++; Association association = Association.generate(type, handle, expiryIn); // caching the association cache.addToCache(association); // persisting in the database log.debug(Stroing association + association.getHandle() + in the database.); new OpenIDAssociationDAO(associationStoreType).storeAssociation(association); return association; } Suggested code is below. The getUUID() method is already synchronized. import org.apache.ws.security.util.UUIDGenerator; public Association generate(String type, int expiryIn) throws AssociationException { String handle = UUIDGenerator.getUUID(); Association association = Association.generate(type, handle, expiryIn); // caching the association cache.addToCache(association); // persisting in the database log.debug(Stroing association + association.getHandle() + in the database.); new OpenIDAssociationDAO(associationStoreType).storeAssociation(association); return association; } Was there any specific requirement to generate the handle like below ? storeId + timestamp + - + counter++; Any thoughts ?? -- Thanks Best Regards, Tharindu Edirisinghe Software Engineer *WSO2 Inc* *email : tharin...@wso2.com tharin...@wso2.com * *mobile : +94 775 181586* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [chunk13]SAML component compilation error
IS team , why there are continuous build breaks/compilation errors? On 2 September 2014 20:01, Vijayaratha Vijayasingam rat...@wso2.com wrote: INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:54.518s [INFO] Finished at: Tue Sep 02 07:23:15 PDT 2014 [INFO] Final Memory: 718M/905M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.identity.sso.saml: Compilation failure: Compilation failure: [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[23,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[56,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[67,49] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[79,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[57,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[68,57] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[80,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[58,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[69,56] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[81,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] - [Help 1] -- -Ratha -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [chunk13]SAML component compilation error
Fixed with r206797 On Tue, Sep 2, 2014 at 9:00 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team , why there are continuous build breaks/compilation errors? On 2 September 2014 20:01, Vijayaratha Vijayasingam rat...@wso2.com wrote: INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:54.518s [INFO] Finished at: Tue Sep 02 07:23:15 PDT 2014 [INFO] Final Memory: 718M/905M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.identity.sso.saml: Compilation failure: Compilation failure: [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[21,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[23,74] package org.wso2.carbon.identity.application.authentication.framework.store does not exist [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[56,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[67,49] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SessionDataCache.java:[79,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SessionDataCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[57,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[68,57] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOSessionIndexCache.java:[80,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOSessionIndexCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[58,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[69,56] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] /opt/checkout_chunk13/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.saml/4.2.4/src/main/java/org/wso2/carbon/identity/sso/saml/cache/SAMLSSOParticipantCache.java:[81,8] cannot find symbol [ERROR] symbol : variable SessionDataStore [ERROR] location: class org.wso2.carbon.identity.sso.saml.cache.SAMLSSOParticipantCache [ERROR] - [Help 1] -- -Ratha -- -Ratha -- Prasad Tissera Software
Re: [Dev] Test case for JWT Generation in WSO2 EAM
You can use wire monitor server[1] for this kind of test cases(instead of web app point to this server). Then capture out going message there and do your test. [1] https://docs.wso2.com/display/TA430/Using+WireMonitorServer+in+Integration+Tests Thanks, sanjeewa. On Tue, Sep 2, 2014 at 5:11 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Kasun, On Tue, Sep 2, 2014 at 5:05 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All I'm working on test automation for JWT generation. In here i need to create several claims and I will check weather it will contain in the Token. Basically it will be generated when we hit the gateway url and pass it to the corresponding web app. But I was unable to identify what is the api to call in my testcase. What you mean by the API here ? Is that the backend web app ? If so, you can deploy one of our sample web application and call to that endpoint. Regards, Dinusha. Any ideas? Cheers -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] APIM 1.7.1 -Recently added API list is not updated with the most recent APIs
Hi, Each document is indexed with timestamp value. So you can find default set of fields in solr/conf/schema.xml file. We haven't noticed such issue when we were making above improvement. It's better to do a debug round in org.wso2.carbon.registry.indexing component. Regards, Chandana On Tue, Sep 2, 2014 at 4:36 AM, Jenananthan Yogendran jenanant...@wso2.com wrote: Hi This is regarding the public jira[1]. Recently added api list is not updated with most recent apis. *getRecentlyAddedAPIs(int limit, String tenantDomain) *method in *APIConsumerIml.java * is used to get the recently added apis with given limit. This method uses PagniationContext search to retrieve the recently added apis from registry as follow. *PaginationContext.init(0, limit, DESC, timestamp, Integer.MAX_VALUE);* But api rxt doesn't have a field called timestamp. Because of this sorting by timestamp does not work and first 5 apis(where limit is set to 5) are returned. PaginationContext has been used for APIM store performance improvement[2]. Was this issue noticed when doing this performance improvement ? 1.https://wso2.org/jira/browse/APIMANAGER-2675 2.https://wso2.org/jira/browse/APIMANAGER-2532 -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* -- *Chandana Napagoda* Senior Software Engineer WSO2 Inc. - http://wso2.org *Email : chand...@wso2.com chand...@wso2.com**Mobile : +94718169299* *Blog :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev