Re: [Dev] We are getting some class not found issues intermittently
Hi Kasun, This issues still seems to be there in spring.framework_3.2.9.wso2v1 even though the suggested fix has been applied in [1]. Class not found exception occurred intermittently in IS 5.1.0 pack when calling OAuth endpoints. The issue has been reported in [2] and has marked as resolved. How should we proceed in this? Thanks. /pre/ppbroot cause/b prejava.lang.ClassNotFoundException: org.wso2.carbon.identity.oauth.cache.CacheKey org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2398) java.lang.Class.getConstructor0(Class.java:2708) java.lang.Class.getDeclaredConstructor(Class.java:1987) org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910) [1]. https://github.com/wso2/orbit/commit/d947214c470b257a9fe3083d8c4c7baf49d46f87 [2]. https://wso2.org/jira/browse/CARBON-14864 Regards, Prasad. On Fri, Jul 18, 2014 at 9:52 AM, Pulasthi Supun pulas...@wso2.com wrote: Hi Sameera, Was this change applied to the 4.3.0 branch on git?. we are getting a similar random server not starting up issue. seems it is the same reason. If this is not already allied can we get this added to 4.3.0 branch. We are trying to fix integration test in greg and this random server hangup is causing a lot of time to be wasted. Regards, Pulasthi On Mon, Jul 14, 2014 at 8:56 PM, Sameera Jayasoma same...@wso2.com wrote: Done. On Mon, Jul 14, 2014 at 6:54 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi kernel team, Please commit the patch at [1] for this issue. [1] https://wso2.org/jira/browse/CARBON-14864 Thanks, KasunG On Mon, Jul 14, 2014 at 5:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: tried with kasun's modified spring lib, looks like it is working.. On 14 July 2014 16:54, Vijayaratha Vijayasingam rat...@wso2.com wrote: kasun , as you said i tried..after that i get some spring class loading issue..May be the way edited the jar is wrong.. please commit the fix..we need to build the pack 2014-07-14 16:50:42,213] INFO {org.wso2.carbon.server.util.PatchUtils.console} - Patch verification successfully completed without encountering any issues. Could not start: null(reference:file:../plugins/spring.framework_3.1.0.wso2v1.jar:482). It's state is uninstalled. log4j:ERROR Could not instantiate class [org.wso2.carbon.logging.appender.CarbonMemoryAppender]. java.lang.ClassNotFoundException: org.wso2.carbon.logging.appender.CarbonMemoryAppender at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:171) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:317) at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:629) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) at org.apache.log4j.LogManager.clinit(LogManager.java:122) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289) at org.apache.commons.logging.impl.Log4JLogger.init(Log4JLogger.java:109) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at
Re: [Dev] Please review and merge
Merged both PRs. Thanks. On Sat, Mar 14, 2015 at 3:53 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, Please review and merge PR [1] [1] https://github.com/wso2/carbon-identity/pull/133 Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Random test failures in Jenkins
I have noticed random test failures in Jenkins is getting increase specially in Java7 builds, as an example among 5 product-greg[1] builds 4 were unstable due to random test failures ( each time due to different test cases ). In our local builds we are not getting any of these random failures and no SCM changes as well, it looks like Jenkins issue to me. G-Reg team looked into this but still no luck, can Jenkins volunteers team look into these issues ? FYI product-greg job info during 5 consecutive runs. Build #439 - No SCM changes org.wso2.carbon.registry.app.test.CommentTestCase.AddComment Build #440 - No SCM changes --- org.wso2.carbon.registry.reporting.test.ReportClassTestCases.testgetAttributeNames org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest Build #441 - No SCM changes -- org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs Build #442 - No SCM changes - org.wso2.carbon.registry.app.test.FileSystemImportExportTestCase.FileImportTest Build #443 - No SCM changes -- Success [1] - https://wso2.org/jenkins/view/product-builds/job/product-greg/ 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Random test failures in Jenkins
Hi Sagara, While analyzing the configuration history of product-greg [1] (those who have permission can view this) found that jdk version is changed from Oracle-JDK-1.6.0_33 to Oracle-JDK-1.7.0_51. I think this issue was introduced by this JDK change. When the unit test are run in Java7 it may run in different order, Order of test cases are not guaranteed unless it is specifically specified. So you have to add @FixMethodOrder(MethodSorters.NAME_ASCENDING) to all your test classes to guarantee the order. Please try with the above fix. [1] https://wso2.org/jenkins/job/product-greg/jobConfigHistory/showDiffFiles?timestamp1=2015-03-07_21-35-42timestamp2=2015-03-11_12-14-37 Thanks, Jayanga. *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jaya...@wso2.com mobile: +94772207259 On Sun, Mar 15, 2015 at 8:22 AM, Sagara Gunathunga sag...@wso2.com wrote: I have noticed random test failures in Jenkins is getting increase specially in Java7 builds, as an example among 5 product-greg[1] builds 4 were unstable due to random test failures ( each time due to different test cases ). In our local builds we are not getting any of these random failures and no SCM changes as well, it looks like Jenkins issue to me. G-Reg team looked into this but still no luck, can Jenkins volunteers team look into these issues ? FYI product-greg job info during 5 consecutive runs. Build #439 - No SCM changes org.wso2.carbon.registry.app.test.CommentTestCase.AddComment Build #440 - No SCM changes --- org.wso2.carbon.registry.reporting.test.ReportClassTestCases.testgetAttributeNames org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest Build #441 - No SCM changes -- org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs Build #442 - No SCM changes - org.wso2.carbon.registry.app.test.FileSystemImportExportTestCase.FileImportTest Build #443 - No SCM changes -- Success [1] - https://wso2.org/jenkins/view/product-builds/job/product-greg/ 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Don't commit to APIM old test modules
Following modules have been removed from product build. There are 19 test cases running and last Jenkins build was successful [1]. We will keep on migrating/adding new test cases to the APIM. 1. tests-new 2. tests-ui 3. tests. [1] https://wso2.org/jenkins/job/product-apim/157/testReport/ Thanks, Krishantha. On Fri, Mar 13, 2015 at 6:36 PM, Krishantha Samaraweera krishan...@wso2.com wrote: I will remove old test modules within another few hours. Please shout if you are middle of writing a test. Anyway you can move the tests into *tests-integration/tests-backend* module which is already committed. Thanks, Krishantha. On Fri, Mar 13, 2015 at 12:58 PM, Uvindra Dias Jayasinha uvin...@wso2.com wrote: If anyone is in the middle of writing a test in the module please reply to this thread. We need to ensure that we have stable pack with all tests in newly created modules passing before we can remove the old test modules. Lets try and get this done ASAP. I think there are a few new team members missing on this mail, can someone please add them?(Im not sure who they are :) ) On 13 March 2015 at 12:19, Krishantha Samaraweera krishan...@wso2.com wrote: Hi APIM Team, Automation team is migrating test suites from old test framework to new one. I've already removed old test modules from integration module POM and applied the pull request four days ago, updated mail thread can be found at [APIM] Please merge pull request Note that only following modules are enabled now. modulesmoduletests-common/modulemoduletests-integration/module !--moduletests-ui-integration/module-- !--moduletests-platform/module-- /modules Can you please refine from committing to old test modules. We kept those old modules until test migration is over. Now I think its not a good idea to keep those modules and will remove them soon. Let me know if you have any concern with removing old test modules. Following test modules will be removed shortly. And we will take care of migrating tests in those modules to our new modules properly. 1. tests-new 2. tests-ui 3. tests. Thanks, Krishatnha. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Regards, Uvindra Mobile: 33962 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSoC 2015 : Recommendation Solution for WSO2 Machine Learner
Hi Yasara, Thanks for your interest on this idea. We have few other interested students and let me point out to you the discussions we had so far. Please go through them and let us know if you have any specific questions. http://wso2-oxygen-tank.10903.n7.nabble.com/GSoC-2015-Proposal-11-Recommendation-Solution-for-WSO2-Machine-Learner-td113667.html http://wso2-oxygen-tank.10903.n7.nabble.com/Re-GSoc-2015-Recommendation-Solution-for-WSO2-Machine-Learner-Requesting-Clarification-tt113885.html#a113972 On Sat, Mar 14, 2015 at 10:49 AM, Supun Sethunga sup...@wso2.com wrote: [Adding Nirmal and Srinath] On Sat, Mar 14, 2015 at 9:06 AM, Yasara Dissanayake yasara...@gmail.com wrote: Hi I am a 2nd year student from Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka.I have worked on projects based on java , c , c++ , c# and I'm currently work on project based on JS, HTML, CSS, PHP ,MySql with Simfony framework and J2EE with JBoss and Tomcat servers in spring framework. Other than that I have followed OOP , Data Structure and Database systems as 1st year modules.I am interested in participating this year's GSoC with above project. As this is my 1 st GSoC project I'd be very helpful if you could give me some more guide lines about this . Thank You. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94 716546324 -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 G-Reg 5.0.0 M3 Released
Hi all, Please download WSO2 G-Reg 5.0.0 M3 from this location [1]. Following are the bug fixes, improvements and the new features included in this milestone release. *Improvements* REGISTRY-2371 -Updating Solr version to 5. REGISTRY-2443 -Java 7 support for Registry, Governance and Product. REGISTRY-2405 -Store , Publisher Integration - Phase 2. REGISTRY-2444 -G-Reg Impact Analysis - Phase 2. REGISTRY-2442- Ability to display difference of two resources of same type. *Bugs fixes* REGISTRY-2399 -Impact analysis view is not working. REGISTRY-2423 -Handled exception when adding an artifact when the relevant rxt is not in registry. REGISTRY-2435 -Show Dependency is missing in G-Reg publisher. *Tasks* REGISTRY-2436 -Integration test failures in search-version-test module. REGISTRY-2437 -Integration test failures in meta-data tests module. REGISTRY-2438 -Disabling coverage(emma) reports. REGISTRY-2440 -UI-test failure due to lifecycle improvement. Please report issues at [2] and specify the affect version as 5.0.0-M3. [1] https://svn.wso2.org/repos/wso2/people/chandana/G-REG-5.0.0/M3/wso2greg-5.0.0-SNAPSHOT.zip [2] https://wso2.org/jira/browse/REGISTRY Regards, G-Reg Team Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [GSoC2015] Project Proposal Clarification
Hi,I am Keshan Nageswaran, an undergraduate from Informatics Institute of Technology and I currently working as an Intern at Zone24x7 (Pvt) Ltd. I am interested in applying for GSoC projects, Proposal 1: Siddhi Process Monitor for WSO2 CEP and Proposal 5: ESB - AS2 Support. During my internship period i have done a web based Monitoring system for different API end points(Open API, Rec client, Hbase) which involve lot of front end development with Angular JS this lead me to choose proposal 1. I have done Research and Development on Rules Integration(Drool) Soap-ui Integration and routing which lead me to choose proposal 5. I am still in the process of gathering my findings to integrate AS2 as a protocol to support WSO2-ESB. As this is my 1st attempt in trying GSoC projects I would appreciate if u all give me more guidelines to follow in order to have more clear understanding. Proposal 1: Siddhi Process Monitor for WSO2 CEPIs there any mock-ups / wire frames created for this or should i must come with them.If i must come with them can i know each modules / functionality that need to be covered.Can I use AngularJS MVM Framework for the front-end developemnt.Can I know more about the User Interaction flow.I just went through the overall architecture of CEP can I get more information related to the API's front-end had to interact with.Proposal 5: ESB - AS2 SupportCan i get more in-formations of the protocols supported by WSO2-ESB and any documentation regarding that. Thanks in advance, Keshan. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC2015] Project Proposal Clarification
[looping relevant proposal owners] On Sat, Mar 14, 2015 at 11:42 AM, Keshan Nageswaran keshan...@live.com wrote: Hi, I am Keshan Nageswaran, an undergraduate from Informatics Institute of Technology and I currently working as an Intern at Zone24x7 (Pvt) Ltd. I am interested in applying for GSoC projects, Proposal 1: Siddhi Process Monitor for WSO2 CEP and Proposal 5: ESB - AS2 Support. During my internship period i have done a web based Monitoring system for different API end points(Open API, Rec client, Hbase) which involve lot of front end development with Angular JS this lead me to choose proposal 1. I have done Research and Development on Rules Integration(Drool) Soap-ui Integration and routing which lead me to choose proposal 5. I am still in the process of gathering my findings to integrate AS2 as a protocol to support WSO2-ESB. As this is my 1st attempt in trying GSoC projects I would appreciate if u all give me more guidelines to follow in order to have more clear understanding. *Proposal 1*: Siddhi Process Monitor for WSO2 CEP - Is there any mock-ups / wire frames created for this or should i must come with them. - If i must come with them can i know each modules / functionality that need to be covered. - Can I use AngularJS MVM Framework for the front-end developemnt. - Can I know more about the User Interaction flow. - I just went through the overall architecture of CEP can I get more information related to the API's front-end had to interact with. *Proposal 5*: ESB - AS2 Support - Can i get more in-formations of the protocols supported by WSO2-ESB and any documentation regarding that. Thanks in advance, Keshan. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please review and merge
Hi, Please review and merge PR [1] [1] https://github.com/wso2/carbon-identity/pull/132 Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please review and merge
Hi, Please review and merge PR [1] [1] https://github.com/wso2/carbon-identity/pull/133 Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC2015] Proposal 18: Extensible Visual Composer Siddhi Language
[Adding Srinath as well] On Sat, Mar 14, 2015 at 10:44 AM, Pubudu Dodangoda pubu...@wso2.com wrote: Hi, I am Pubudu Dodangoda, an Engineering undergraduate from Computer Science and Engineering department, University of Moratuwa. At the moment I am an intern, here, at WSO2, assigned to BAM. I went through the GSoC proposal list. I am interested in proposal [1] https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal18:ExtensibleVisualComposerSiddhiLanguage and looking forward to contribute. I would like to have a discussion on further details regarding the $subject and how I can contribute for the Project. Prior Experience - 1. My fast track training project was on a similar tech-scope, which was to develop a visualization JS library(IGVIZ) using D3JS and currently being improved by us(Dunith, Tharindu, Fawsan, and I) which will be used in CEP and BAM in the upcoming releases. 2. Ongoing project for the Analytics- Dashboard which involves JS, Bootstrap, HTML, JSP, SOAP-backend(now), Rest(earlier),etc is now under development(final phases). Please let me know when you could share your time for this. [1] ExtensibleVisualComposerSiddhiLanguage https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal18:ExtensibleVisualComposerSiddhiLanguage Thank You and Kind Regards -- *Pubudu Dodangoda* BSc Engineering(Hon's) Undergraduate Department of Computer Science Engineering(CSE) University of Moratuwa *0716053681* / 0775192994 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev