Re: [Carbon-dev] Compilation failure in system test framework.
Fixed all package naming convention violations. Thanks for pointing this out. Thanks, Krishantha. On Sat, Feb 25, 2012 at 3:35 PM, Afkham Azeez az...@wso2.com wrote: On a side note, I see coding convention violations. Package names should be all lower case, with no _ or - separation -- Afkham Azeez Sent from my phone On Feb 25, 2012 1:17 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi All, I see very obvious compilation failure in system-test-framework trunk [1]. This is the second time I came across with such an issue for last two days. Charitha also got a compilation failure while building the framework trunk yesterday. We all need to follow best practices before committing changes. Please make sure to build the framework or run all the test relevant to your domain before you commit. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project system-stratos-test-auto: Compilation failure [ERROR] /home/krishantha/svn/trunk/graphite/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/mediators/test/MediatorTest.java:[418,47] sendReceive(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String) in org.wso2.platform.test.core.utils.axis2Client.AxisServiceClient cannot be applied to (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/graphite/platform-integration/system-test-framework ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Compilation failure in system test framework.
Hi All, I see very obvious compilation failure in system-test-framework trunk [1]. This is the second time I came across with such an issue for last two days. Charitha also got a compilation failure while building the framework trunk yesterday. We all need to follow best practices before committing changes. Please make sure to build the framework or run all the test relevant to your domain before you commit. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project system-stratos-test-auto: Compilation failure [ERROR] /home/krishantha/svn/trunk/graphite/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/mediators/test/MediatorTest.java:[418,47] sendReceive(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String) in org.wso2.platform.test.core.utils.axis2Client.AxisServiceClient cannot be applied to (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/graphite/platform-integration/system-test-framework ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Have we looked @ LoadUI? {was: Re: GS load testing with loadUI}
Hi, We need to evaluate the tool. If the tool fits for the purpose, will add UI load test item to our road map, Thanks, Krishantha. On Sun, Feb 19, 2012 at 1:39 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Have we looked at LoadUI from a Test Automation PoV? http://www.loadui.org// Thanks, Senaka. On Mon, Dec 13, 2010 at 2:17 PM, Charitha Kankanamge chari...@wso2.comwrote: It seems LoadUI[1] can be used easily for UI level load testing. Nirodha, please have a look and try to use this for load test GS. Also, we may need to fix the following open perf issues reported by Yumani which have been differed in previous releases. https://wso2.org/jira/browse/GS-47 https://wso2.org/jira/browse/GS-16 https://wso2.org/jira/browse/GS-17 [1]http://loadui.org/ Regards Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-reg automation scenarios
Hi Kishan, Please start automating given G-Reg features using admin services. For some cases, like custom handlers, you will have to write selenium tests. you can find the G-Reg test cases list at [1]. Thanks, Krishantha. [1] https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AvhVRxNoCg0KdHRobXVYd3h4eWduWXlsSTFVUDRScGc#gid=17 On Fri, Feb 17, 2012 at 5:22 PM, Evanthika Amarasiri evanth...@wso2.comwrote: Hi Krishantha, It would be great if the following features of G-Reg can be automated. - Service UI (With custom fields, different options such as read-only=true, default=default_value, etc) - Promoting of services (promote services and see whether dependencies, associations are promoted to correct locations. Also updates done at one version does not reflect in original version/other versions) - Activity search - Metadata search - Custom handlers - A sample configurable governance artifact - Permission (resource permissions) - Notifications We will think of more scenarios and get back to you :). Regards, Evanthika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Cannot start axis2server ships with ESB - trunk build
Hi, I got the following exception while starting axis2server ships with trunk ESB build. Can someone please have a look. [2012-02-13 19:12:40,024] ERROR - CarbonUtils Cannot read file ../..//home/krishantha/Downloads/esb/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository/conf/carbon.xml java.io.FileNotFoundException: ../../home/krishantha/Downloads/esb/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository/conf/carbon.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:509) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder.setupAuthenticator(CarbonContextHolder.java:209) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:142) at org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantIdPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:197) at org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:161) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199) at org.apache.axis2.deployment.DeploymentEngine.prepareRepository(DeploymentEngine.java:1095) at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:152) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:93) at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61) at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40) [2012-02-13 19:12:40,049] ERROR - ServerConfiguration Cannot get ServerConfiguration document element java.lang.NullPointerException at org.wso2.carbon.base.ServerConfiguration.getDocumentElementInternal(ServerConfiguration.java:378) at org.wso2.carbon.base.ServerConfiguration.getDocumentElement(ServerConfiguration.java:369) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder.setupAuthenticator(CarbonContextHolder.java:209) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:142) at org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantIdPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:197) at org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:161) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199) at org.apache.axis2.deployment.DeploymentEngine.prepareRepository(DeploymentEngine.java:1095) at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:152) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at
Re: [Carbon-dev] ESB Sample test framework
I see this issue while gracefully shutting down the server. It might be due to another test trying to start its execution while shutting down the server. Hence you see 'Access Denied' message. Thanks, Krishantha. On Thu, Feb 2, 2012 at 1:42 PM, Chamara Silva cham...@wso2.com wrote: Look in to the issue. Thanks, Chamara Silva On Thu, Feb 2, 2012 at 1:19 PM, Sandapa Handakumbura sand...@wso2.comwrote: Hi Chamara, I also got the same exception while executing the tests and there was no other ESB running on my machine. Regards, Sandapa On Thu, Feb 2, 2012 at 12:30 PM, Evanthika Amarasiri evanth...@wso2.comwrote: Maybe we should give more information in the README.txt explaining about these stuff. Regards, Evanthika On Thu, Feb 2, 2012 at 12:12 PM, Chamara Silva cham...@wso2.com wrote: It seems another esb instance already running before you start the framework. Pls note that no need to start esb or axis2 servers manually to run this framework. Thanks, Chamara silva On Thursday, February 2, 2012, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Chamara, When executing the tests, I'm continuously getting the following exception. Any idea why? 2012-02-02 10:03:11,856 [-] [SynapseServerForSample7 thread] INFO SynapseProcessController SynapseProcessController.ServerThread:Shutting down Synapse Server... 2012-02-02 10:03:12,176 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,176] INFO - CarbonAuthenticationUtil 'admin' logged in at [2012-02-02 10:03:12,0176] from IP address localhost 2012-02-02 10:03:12,183 [-] [SynapseServerForSample7 thread] INFO ServerShutDownManager Successfully logged : JSESSIONID=C6FBEC88F4D992BD2EA27EC1E7B59AAA; Path=/esb/; Secure=null; HttpOnly=null 2012-02-02 10:03:12,232 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,232] WARN - AuthenticationHandler Illegal access attempt at [2012-02-02 10:03:12,0232] from IP address 127.0.0.1 : Service is ServerAdmin 2012-02-02 10:03:12,251 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,239] ERROR - AxisEngine Access Denied. Please login first. 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager org.apache.axis2.AxisFault: Access Denied. Please login first. 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:61) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.Phase.invoke(Phase.java:313) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at
Re: [Carbon-dev] ESB Sample test framework
Chamara, Please check whether the port is open or not after each shutdown request. Please refer [1]. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework/core/org.wso2.platform.integration.core/src/main/java/org/wso2/platform/test/core/ServerGroupManager.java On Thu, Feb 2, 2012 at 1:50 PM, Krishantha Samaraweera krishan...@wso2.comwrote: I see this issue while gracefully shutting down the server. It might be due to another test trying to start its execution while shutting down the server. Hence you see 'Access Denied' message. Thanks, Krishantha. On Thu, Feb 2, 2012 at 1:42 PM, Chamara Silva cham...@wso2.com wrote: Look in to the issue. Thanks, Chamara Silva On Thu, Feb 2, 2012 at 1:19 PM, Sandapa Handakumbura sand...@wso2.comwrote: Hi Chamara, I also got the same exception while executing the tests and there was no other ESB running on my machine. Regards, Sandapa On Thu, Feb 2, 2012 at 12:30 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Maybe we should give more information in the README.txt explaining about these stuff. Regards, Evanthika On Thu, Feb 2, 2012 at 12:12 PM, Chamara Silva cham...@wso2.comwrote: It seems another esb instance already running before you start the framework. Pls note that no need to start esb or axis2 servers manually to run this framework. Thanks, Chamara silva On Thursday, February 2, 2012, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Chamara, When executing the tests, I'm continuously getting the following exception. Any idea why? 2012-02-02 10:03:11,856 [-] [SynapseServerForSample7 thread] INFO SynapseProcessController SynapseProcessController.ServerThread:Shutting down Synapse Server... 2012-02-02 10:03:12,176 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,176] INFO - CarbonAuthenticationUtil 'admin' logged in at [2012-02-02 10:03:12,0176] from IP address localhost 2012-02-02 10:03:12,183 [-] [SynapseServerForSample7 thread] INFO ServerShutDownManager Successfully logged : JSESSIONID=C6FBEC88F4D992BD2EA27EC1E7B59AAA; Path=/esb/; Secure=null; HttpOnly=null 2012-02-02 10:03:12,232 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,232] WARN - AuthenticationHandler Illegal access attempt at [2012-02-02 10:03:12,0232] from IP address 127.0.0.1 : Service is ServerAdmin 2012-02-02 10:03:12,251 [-] [Thread-96] INFO ServerStartupManager [2012-02-02 10:03:12,239] ERROR - AxisEngine Access Denied. Please login first. 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager org.apache.axis2.AxisFault: Access Denied. Please login first. 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:61) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.Phase.invoke(Phase.java:313) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) 2012-02-02 10:03:12,252 [-] [Thread-96] INFO ServerStartupManager at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) 2012-02-02 10:03:12,253 [-] [Thread-96] INFO ServerStartupManager
Re: [Carbon-dev] Test Failure - System Stratos automated Cases
Hi, Can you explain how you are running the framework. It seems that App-server is not running at the moment. You need to edit framework.properties file appropriately before start test execution. Thanks, Krishantha. On Wed, Feb 1, 2012 at 9:13 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, $Subject! here's the stack trace. T E S T S --- Running org.wso2.stratos.automation.test.esb.StratosCustomProxyTest Starting all servers [2012-02-01 08:52:47,588] INFO - UserPopulator:57 Populate user to AS server [2012-02-01 08:52:47,954] ERROR - AdminServiceAuthentication:72 https://localhost:9444/services/AuthenticationAdmin Login failed due to RemoteException :Connection refused org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) Caused by: junit.framework.AssertionFailedError: https://localhost:9444/services/AuthenticationAdmin Login failed due to RemoteException :Connection refused at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.admin.service.AdminServiceAuthentication.login(AdminServiceAuthentication.java:73) at org.wso2.platform.test.core.UserPopulator.login(UserPopulator.java:115) at org.wso2.platform.test.core.UserPopulator.createProductUsers(UserPopulator.java:68) at org.wso2.platform.test.core.UserPopulator.populateUsers(UserPopulator.java:58) at org.wso2.platform.test.core.PlatformSuiteManager.startMulitpleServers(PlatformSuiteManager.java:69) at org.wso2.platform.test.core.PlatformSuiteManager.onStart(PlatformSuiteManager.java:20) at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:196) at org.testng.SuiteRunner.run(SuiteRunner.java:238) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115) ... 9 more [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on project system-stratos-test-auto: Error occured in starting fork, check output in log -- Thanks regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Test Failure - System Stratos automated Cases
On Thu, Feb 2, 2012 at 9:59 AM, Nirmal Fernando nir...@wso2.com wrote: On Thu, Feb 2, 2012 at 9:55 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, Can you explain how you are running the framework. It seems that App-server is not running at the moment. You need to edit framework.properties file appropriately before start test execution. oh.. I see! Is there any documentation on how to run these tests? We need to add a README with all instructions. Will do it and let you know. Thanks, Krishantha. Thanks, Krishantha. On Wed, Feb 1, 2012 at 9:13 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, $Subject! here's the stack trace. T E S T S --- Running org.wso2.stratos.automation.test.esb.StratosCustomProxyTest Starting all servers [2012-02-01 08:52:47,588] INFO - UserPopulator:57 Populate user to AS server [2012-02-01 08:52:47,954] ERROR - AdminServiceAuthentication:72 https://localhost:9444/services/AuthenticationAdmin Login failed due to RemoteException :Connection refused org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) Caused by: junit.framework.AssertionFailedError: https://localhost:9444/services/AuthenticationAdmin Login failed due to RemoteException :Connection refused at junit.framework.Assert.fail(Assert.java:47) at org.wso2.carbon.admin.service.AdminServiceAuthentication.login(AdminServiceAuthentication.java:73) at org.wso2.platform.test.core.UserPopulator.login(UserPopulator.java:115) at org.wso2.platform.test.core.UserPopulator.createProductUsers(UserPopulator.java:68) at org.wso2.platform.test.core.UserPopulator.populateUsers(UserPopulator.java:58) at org.wso2.platform.test.core.PlatformSuiteManager.startMulitpleServers(PlatformSuiteManager.java:69) at org.wso2.platform.test.core.PlatformSuiteManager.onStart(PlatformSuiteManager.java:20) at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:196) at org.testng.SuiteRunner.run(SuiteRunner.java:238) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115) ... 9 more [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on project system-stratos-test-auto: Error occured in starting fork, check output in log -- Thanks regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Error when building System-test-framework in trunk
Fixed. Thanks, Krishantha. On Mon, Jan 30, 2012 at 8:56 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, I'm getting following [1] error. How can I get rid of it? [1] Downloading: http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/ojdbc14-10.2.0.2.0.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 8:07.864s [INFO] Finished at: Sun Jan 29 21:30:51 IST 2012 [INFO] Final Memory: 19M/487M [INFO] [ERROR] Failed to execute goal on project platform-integration-core: Could not resolve dependencies for project org.wso2.platform:platform-integration-core:jar:4.0.0-SNAPSHOT: Could not find artifact com.oracle:ojdbc14:jar:10.2.0.2.0 in carbon-plugin-repo ( http://maven.wso2.org/nexus/content/repositories/wso2archtype) - [Help 1] -- Thanks regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] System test framework migration to TestNG status.
Hi All, We have finish with migrating test framework core to TestNG. Lets start migrating our test cases as well. A new test core module has been introduced, our plan is to get rid of older test core module after migrating all tests into TestNG. As a convention we are not going to maintain testNG suite.xml files. Instead you can include your tests in to suite classes. Please refer [1] for an example. We used ITestListener and ISuiteListener implementations to over come of difficulty of using classes with @BeforeSuite and @AftereSuite annotations in each test module. TestNG listeners gave us more flexibility to mange all tests using sure-fire plugin defined in root pom. When writing test cases, make sure to use org.wso2.platform.integration.core as your new test core module. Also you have to use UserListCsvReader to retrieve user information. Thanks everybody for the effort put into test core migration. Lets try to finish test case migration with the same momentum. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/ESBTestSuite.java ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.
Hi Shariq, IMO, we can think about Stratos deployment based on trunk builds after we finish with Stratos Services Deployment management tool. At the moment what we can easily do is to, setting up the framework to monitor SL. We can configure it to run once per every two days. WDYT? Thanks, Krishantha. On Mon, Jan 23, 2012 at 9:35 AM, Muhammed Shariq sha...@wso2.com wrote: On Fri, Jan 20, 2012 at 12:59 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq sha...@wso2.com wrote: Hi Krishantha et al, If I am not mistaken we are running these test for products only right, at the moment? How about the possibility of running these test on the stratos services too ? I had a chat with Dhrashana and we most of the tests that covers multitenancy aspect, so its a matter of setting up a stratos deployment in the bamboo machins right? I can work with the automation team to get this running. IIRC we even used these test suite to smoke test SLive after migrations etc, so we already have it. +1, we have written automation test to run on Stratos services and products. These tests cover tenant and multi-tenancy aspects as well. Yes it is matter to setting the things in bamboo machine. But we need to solve resource problems first. You cannot run startos setup on a single machine. How about using the machines used to run the Dev environment to set up the trunk stratos builds. If I am not mistaken we have the scripts etc for Dev too. Now that we are moving to the trunk, the Dev environment should run on the trunk builds right? Also it would be ideal since any failures can be patched and verified then and there, so it will save cycles as well. Only issue is we need a to copy the packs to these machines and then set it up (would some scripts, scp etc work ?). Its important to automate this task, else we will be wasting cycles.! If we can somehow figure out a way to set this packs up remotely (ideally in the dev setup) then we could run the tests from the bamboo machines, and generate the results, notification etc. Setting up the dev cloud once a week should be sufficient IMO? My concern is that, once we start developing new features we usually do development and testing cycles with the product. Ultimately the services gets side lined until quite late in the release cycle. If we can run a full test round once a week maybe and get notifications of the failures (or on the build status dashboard itself), we wouldn't need to worry about the status of the trunk at any time. WDYT ? +1, As far as you admit that failures are not false positives :)) Of course I admit that there are issues ;)) On a related note, there was a thread on adding TestNG integration test to cover tenant aspects as well, wonder if we have made any progress in that front? Thinking about it, we first need to create a tenant, and also some of the tenant related test would require a proper setup (with mounting etc) prior to running the tests. Guess we need to put more thought into that? Integration tests are different from platform tests. Integration test covers features that grouped in to products. But Platform test covers integrated product deployment (whole platform). We already have test to check tenant aspects. Even you can specify your tenant on the test configuration and run tests on your tenant. Setting up stratos evn would be to call startos setup script though the automation framework. We may need to find a way for distributed deployment of each service. Yes we need to test the status of the current trunk with exact setup, configs etc. If not we can't be sure the trunks is stable in terms of functionality. Shall we try to come up with a plan and set this up ASAP, as part of the stabilization effort it self? Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Shariq. Phone: +94 777 202 225 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org
[Carbon-dev] System Test Framework Integration with Bamboo trunk build.
Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.
We need to monitor how this works for few days. If everything runs smoothly then we can enable test failure notifications. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.
Framework users maven as the builder. Hence, it uses dependencies relevant to carbon version under test. Support for multiple carbon versions will be a good additions to the framework. When consider test architecture, having support for multiple carbon versions, will add extra complexity to the framework in terms of maintainability. I'm still not sure whether it is feasible to implement. May be we can come up with separate test framework for BAM scenario testing. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:43 AM, Tharindu Mathew thari...@wso2.com wrote: Hi Kris, I was wondering whether there is a possibility of testing different carbon versions of products, such as ESB 3.0.1 with BAM 2.0.0? On Fri, Jan 20, 2012 at 12:28 AM, Krishantha Samaraweera krishan...@wso2.com wrote: We need to monitor how this works for few days. If everything runs smoothly then we can enable test failure notifications. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.
Hi Srinath, On Fri, Jan 20, 2012 at 5:28 AM, Srinath Perera srin...@wso2.com wrote: Thanks Krishantha!! How good are we with test coverage (including introps and perf)? Can you send the current status and plan to cover other products? As I mentioned in the earlier mail, there were few issue with Ravana, the perf test framework. Recent updates to the framework causing some troubles with integration. I will work with Damitha to find possible solution. Sorry I forgot to mention about the interops tests. We haven't integrate interop tests to framework trunk yet. Dharshana is working on it. Will update the status once it is done. We may need to have a distributed product setup if we are going to cover other products. Since running 13 products on the same machine will not be practical. Currently automation team is more focusing on our main products. And, the plan is to automate system/platform test plans that is going to prepared by QA team. And, also includes automation fixes done for external issues. Did we start running Bamboo again since this is fixed? Bamboo scheduled builds are running now. Do we run introps and perf tests with this? --Srinath On Fri, Jan 20, 2012 at 12:28 AM, Krishantha Samaraweera krishan...@wso2.com wrote: We need to monitor how this works for few days. If everything runs smoothly then we can enable test failure notifications. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.
On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq sha...@wso2.com wrote: Hi Krishantha et al, If I am not mistaken we are running these test for products only right, at the moment? How about the possibility of running these test on the stratos services too ? I had a chat with Dhrashana and we most of the tests that covers multitenancy aspect, so its a matter of setting up a stratos deployment in the bamboo machins right? I can work with the automation team to get this running. IIRC we even used these test suite to smoke test SLive after migrations etc, so we already have it. +1, we have written automation test to run on Stratos services and products. These tests cover tenant and multi-tenancy aspects as well. Yes it is matter to setting the things in bamboo machine. But we need to solve resource problems first. You cannot run startos setup on a single machine. My concern is that, once we start developing new features we usually do development and testing cycles with the product. Ultimately the services gets side lined until quite late in the release cycle. If we can run a full test round once a week maybe and get notifications of the failures (or on the build status dashboard itself), we wouldn't need to worry about the status of the trunk at any time. WDYT ? +1, As far as you admit that failures are not false positives :)) On a related note, there was a thread on adding TestNG integration test to cover tenant aspects as well, wonder if we have made any progress in that front? Thinking about it, we first need to create a tenant, and also some of the tenant related test would require a proper setup (with mounting etc) prior to running the tests. Guess we need to put more thought into that? Integration tests are different from platform tests. Integration test covers features that grouped in to products. But Platform test covers integrated product deployment (whole platform). We already have test to check tenant aspects. Even you can specify your tenant on the test configuration and run tests on your tenant. Setting up stratos evn would be to call startos setup script though the automation framework. We may need to find a way for distributed deployment of each service. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of Mysql. This include Selenium test for G-Reg as well. I had to exclude Ravana tests due to few issues after updating the Ravana framework. Will get them fix by tomorrow. Thanks, Krishantha. [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Shariq. Phone: +94 777 202 225 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Event broker is registered after the message WSO2 Carbon started in .... when starting DSS in trunk build
Hi, This is specific to DSS, I don't see the same behavior with other products. Some DSS automation test fail because of this inconsistent start-up order. We can add a delay to automation tests and over come the failures. But it is better to check why we see this only with DSS trunk build. Can someone from DSS team please help.. Thanks, Krishantha. On Tue, Jan 17, 2012 at 6:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi There is a issue in server start up sequence. even if message is log WSO2 Carbon started in 38 sec. HTTPS port is not listening until event broker is registered. that scenario found with carbon trunk build. it takes 3 to 6 seconds to up HTTPS port after message WSO2 Carbon started in 38 sec. Environment : wso2dataservices-2.6.0-SNAPSHOT Refer : https://wso2.org/jira/browse/CARBON-12227 Server log: [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler version: 2.1.1 [2012-01-17 11:09:36,423] INFO {org.quartz.core.QuartzScheduler} - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. [2012-01-17 11:09:36,641] INFO {org.wso2.carbon.ntask.core.internal.TasksDSComponent} - Task service started [2012-01-17 11:09:36,892] INFO {org.wso2.carbon.core.init.CarbonServerManager} - ConfigurationContextService registered in 591ms [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9446 [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9766 [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Data Services Server-2.6.0-SNAPSHOT [2012-01-17 11:09:37,125] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 34 sec [Broker] BRK-1006 : Using configuration : /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2012-01-17 11:09:39,555] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5675 [2012-01-17 11:09:39,558] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675 [2012-01-17 11:09:39,559] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5675 [2012-01-17 11:09:39,784] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2012-01-17 11:09:39,801] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2012-01-17 11:09:40,056] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.100.3.39:9446/carbon/ Thanks NuwanW -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Unable to start BPS server when set offset value - trunk build
Hi, I was trying to start BPS server (trunk build) and got the following error. Further investigation reveals that issue caused after changing default offset value. Our system automation tests are failing due to this error. Please have a look. Exception = [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external DataSource at htds javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156) at org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127) at org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122) at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77) at org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92) at org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) 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.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at
Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build
Hi, I see the following error when starting BPS trunk build with registry mounts. [2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find DeploymentUnitDAO instance for package LoanService-8. [2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL package: LoanService.zip org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException: Cannot find DeploymentUnitDAO instance for package LoanService-8. at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645) at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506) at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210) at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:434) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Thanks, Krishantha. On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, I was trying to start BPS server (trunk build) and got the following error. Further investigation reveals that issue caused after changing default offset value. Our system automation tests are failing due to this error. Please have a look. Exception =n [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external DataSource at htds javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156) at org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127) at org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122) at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77) at org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92) at org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java
Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build
On Tue, Jan 17, 2012 at 3:15 PM, Waruna Ranasinghe war...@wso2.com wrote: Hi krishantha, this happens when the Registry and the BPEL databases are out of sync. Thanks Waruna, you are correct. -Krishantha. sent from my mobile. On Jan 17, 2012 3:11 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, I see the following error when starting BPS trunk build with registry mounts. [2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find DeploymentUnitDAO instance for package LoanService-8. [2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL package: LoanService.zip org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException: Cannot find DeploymentUnitDAO instance for package LoanService-8. at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645) at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506) at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210) at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:434) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Thanks, Krishantha. On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, I was trying to start BPS server (trunk build) and got the following error. Further investigation reveals that issue caused after changing default offset value. Our system automation tests are failing due to this error. Please have a look. Exception =n [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external DataSource at htds javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) at org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156) at org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127) at org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122) at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77) at org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92) at org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83) at org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63) 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
Re: [Carbon-dev] system test framework and product integration tests
Your are correct. We came across the same issue when designing the framework. Since system tests runs with different configurations (e.g with registry mounts and different DBs) we need to run all most all product integration tests on top of product platform as well. We can not directly have dependencies to product integration tests because of the way we have written those tests. And, The tests architecture is also differ. We have written the system-test-framework to address the distributed nature of a platform deployment. Currently as what we can do is to duplicate integration tests inside system tests. May be in future we can find a better way to do it. Thanks, Krishantha. On Wed, Jan 18, 2012 at 10:57 AM, KasunG Gajasinghe kas...@wso2.com wrote: I have a little question about System-Test-Framework. Does the objective of it is to complement the integration tests of products, or will it be integrated in to the product integration tests in future? What current integration test does is test the individual components combined and grouped into a so called product. It doesn't have platform wide tests cases. For an example, It doesn't test a scenario run on ESB, BPS and G-Reg with registry mounts and clustering. What we does in system-test-framework is test the platform as a whole. Nope system-test-framework will not be integrated in to integration tests. Understood. But, talking from viewpoint of AS, it seems that the boundary of this framework's tests and product intg tests is somewhat blur. For example, AS needs to test the security scenarios of Axis2 services something which also done by the system-test-framework. May be we need to come to a common ground on this. We are going off the topic here. Lets discuss this on carbon-dev. Please ask all the question you have in there. +1. forwarded to carbon-dev. Thanks, --KasunG Thanks, Krishantha. I'm asking this because I feel like things may get duplicated between product integration tests, and STF! Thanks, --KasunG Thanks, Krishantha. -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Bamboo scheduled build for trunk will be not available today.
Hi Charith, Will let you know once we finish with test framework deployment. Thanks, Krishantha. On Wed, Jan 18, 2012 at 11:52 AM, Charith Wickramarachchi char...@wso2.comwrote: Hi , I've disabled the Bamboo scheduled build for trunk till we get the Automation test to work with the trunk . thanks, Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] System test framework progress update
On Fri, Jan 13, 2012 at 4:26 PM, Srinath Perera srin...@wso2.com wrote: just to confirm .. is this runs with trunk packs created from the build now? Yes, we are setting the framework for trunk on bamboo machine. Thanks, Krishantha. On Fri, Jan 13, 2012 at 10:20 AM, Krishantha Samaraweera krishan...@wso2.com wrote: On Fri, Jan 13, 2012 at 8:12 AM, Afkham Azeez az...@wso2.com wrote: Folks, It is better to start writing new tests using TestNG gradually migrate the old tests. +1, We are planning to hold test development and have a hackathon to migrate into TestNG in next week. Thanks, Krishantha. -- Afkham Azeez Sent from my phone On Jan 12, 2012 8:09 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi, On BPS following scenarios are covered with sub scenarios. And It is available for both local and stratos. Deployment of packages Versioning Package undeployment and redeployment Deployment with active/retire set in deploy.xml Running the processes in memory Process instance cleanup Event filtering at process level Event filtering at scope level Test with custom event listeners ( at process level) Processes with basic activities Processes with structured activities Process activation and retire (manage processes) Monitoring and managing process instances - active/complete/failed/suspended/terminated (through process instances page) - retry, delete, suspend Bpel processes with external partner services Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT) Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT) The samples are available with the resources in system framework. Thank You, Dharshana. On Thu, Jan 12, 2012 at 5:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi Following scenarios have been covered in Data Service Server. All test can be run on Product or Stratos. 1) Data Service with CSV file which is on registry 2) Data Service with excel file which is on registry XSLT transformation 3) Data Service with Google Spread Sheet 4) Data Service with MySql Database INSERT, UPDATE, DELETE, and SELECT operation 5) Data Service with carbon data source Data Source Creation INSERT, UPDATE, DELETE, and SELECT operation 6) Distributed Transactions 7) Data Service Eventing 8) Nested Queries 9) Batch Request 10) File Service 11) REST Invocation GET, POST, PUT, DELETE 12) Secure Service Scenario no 1 to 15 13) Service Input parameter validation length validation pattern validation 14) MySql Stored procedure IN params, OUT params, INOUT params 15) Faulty Service Deploying faulty service Edit and Redeploy faulty service 16) Data Service Schedule task Add Schedule task Reschedule Task Verifying Task Repeat Count Verifying Task Start Time Service uploading and data base creation for the service are also automated. MySql database is used for the data services. Thanks NuwanW On Thu, Jan 12, 2012 at 3:42 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, System test framework [1] is capable of testing starots and product platform. We already integrated Ravana, the perf test framewok into this framework. And it also contain test for G-Reg UI testing using Selenium2/Webdriver. This framework uses perl based deployment framework [2] to setup product platforms to be tested. From next week we will start migrating system framework into TestNG. This is just an update of the status. We have covered following functionalities releated to App Server. You can run all these test on Products as well on Stratos. 1. Car file upload and multitenancy tests. 2. Aar, Jar and spring service upload and multitenancy tests. 3. SOAP tracer test. 4. System level stat test. 5. Faulty webapp test, web app redeployment, 6. AAR load test n 100 c 100. 7. Web app deployment concurrency test using multiple tenants. Automated scenarios of Stratos Manager 1. Add new tenant test. 2. Activate and deactivate tenants. 3. Usage plan update and downgrade test. 4. Tenant contact info update test. 5. Tenant info update tests. Dharshana, Nuwan and Kishan please give updates on the areas you have been automating. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework [2] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/deployment-framework ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise
[Carbon-dev] System test framework progress update
Hi, System test framework [1] is capable of testing starots and product platform. We already integrated Ravana, the perf test framewok into this framework. And it also contain test for G-Reg UI testing using Selenium2/Webdriver. This framework uses perl based deployment framework [2] to setup product platforms to be tested. From next week we will start migrating system framework into TestNG. This is just an update of the status. We have covered following functionalities releated to App Server. You can run all these test on Products as well on Stratos. 1. Car file upload and multitenancy tests. 2. Aar, Jar and spring service upload and multitenancy tests. 3. SOAP tracer test. 4. System level stat test. 5. Faulty webapp test, web app redeployment, 6. AAR load test n 100 c 100. 7. Web app deployment concurrency test using multiple tenants. Automated scenarios of Stratos Manager 1. Add new tenant test. 2. Activate and deactivate tenants. 3. Usage plan update and downgrade test. 4. Tenant contact info update test. 5. Tenant info update tests. Dharshana, Nuwan and Kishan please give updates on the areas you have been automating. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework [2] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/deployment-framework ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] System test framework progress update
On Fri, Jan 13, 2012 at 8:12 AM, Afkham Azeez az...@wso2.com wrote: Folks, It is better to start writing new tests using TestNG gradually migrate the old tests. +1, We are planning to hold test development and have a hackathon to migrate into TestNG in next week. Thanks, Krishantha. -- Afkham Azeez Sent from my phone On Jan 12, 2012 8:09 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi, On BPS following scenarios are covered with sub scenarios. And It is available for both local and stratos. 1. 2. Deployment of packages 3. Versioning 4. Package undeployment and redeployment 5. Deployment with active/retire set in deploy.xml 6. Running the processes in memory 7. Process instance cleanup 8. Event filtering at process level 9. Event filtering at scope level 10. Test with custom event listeners ( at process level) 11. Processes with basic activities 12. Processes with structured activities 13. Process activation and retire (manage processes) 14. Monitoring and managing process instances - active/complete/failed/suspended/terminated (through process instances page) - retry, delete, suspend 15. Bpel processes with external partner services 16. Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT) 17. Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT) The samples are available with the resources in system framework. Thank You, Dharshana. On Thu, Jan 12, 2012 at 5:44 PM, Nuwan Wimalasekara nuw...@wso2.comwrote: Hi Following scenarios have been covered in Data Service Server. All test can be run on Product or Stratos. 1) Data Service with CSV file which is on registry 2) Data Service with excel file which is on registry XSLT transformation 3) Data Service with Google Spread Sheet 4) Data Service with MySql Database INSERT, UPDATE, DELETE, and SELECT operation 5) Data Service with carbon data source Data Source Creation INSERT, UPDATE, DELETE, and SELECT operation 6) Distributed Transactions 7) Data Service Eventing 8) Nested Queries 9) Batch Request 10) File Service 11) REST Invocation GET, POST, PUT, DELETE 12) Secure Service Scenario no 1 to 15 13) Service Input parameter validation length validation pattern validation 14) MySql Stored procedure IN params, OUT params, INOUT params 15) Faulty Service Deploying faulty service Edit and Redeploy faulty service 16) Data Service Schedule task Add Schedule task Reschedule Task Verifying Task Repeat Count Verifying Task Start Time Service uploading and data base creation for the service are also automated. MySql database is used for the data services. Thanks NuwanW On Thu, Jan 12, 2012 at 3:42 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, System test framework [1] is capable of testing starots and product platform. We already integrated Ravana, the perf test framewok into this framework. And it also contain test for G-Reg UI testing using Selenium2/Webdriver. This framework uses perl based deployment framework [2] to setup product platforms to be tested. From next week we will start migrating system framework into TestNG. This is just an update of the status. We have covered following functionalities releated to App Server. You can run all these test on Products as well on Stratos. 1. Car file upload and multitenancy tests. 2. Aar, Jar and spring service upload and multitenancy tests. 3. SOAP tracer test. 4. System level stat test. 5. Faulty webapp test, web app redeployment, 6. AAR load test n 100 c 100. 7. Web app deployment concurrency test using multiple tenants. Automated scenarios of Stratos Manager 1. Add new tenant test. 2. Activate and deactivate tenants. 3. Usage plan update and downgrade test. 4. Tenant contact info update test. 5. Tenant info update tests. Dharshana, Nuwan and Kishan please give updates on the areas you have been automating. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework [2] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/deployment-framework ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Dharshana Warusavitharana Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com dharsha...@wso2.com cell : +94772202595 blog : http
Re: [Carbon-dev] Automation Tests for Mounting
+1, We have already configured test framework to setup product platform with registry mounts and run test against the mounted product setup in bamboo machine (only five products yet). But we don't have specific tests for registry mounts. Normally we run governance API test on the setup. Lets discuss this tomorrow. Thanks, Krishantha. On Wed, Jan 11, 2012 at 6:13 PM, Senaka Fernando sen...@wso2.com wrote: Hi Krishantha, We need to discuss this sometime this week. We have some issues related to mounting, and we need to write automation tests for those as well as several other aspects. I'd like to explain a nearly similar model which I have used to test caching. But mounting is a little complicated since it involves multiple instances of servers, and also reconfiguring some config files and all. Thanks, Senaka. -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] System test framework status with trunk
On Tue, Jan 10, 2012 at 12:47 PM, Afkham Azeez az...@wso2.com wrote: Do you manually startup the server, and then run the client? How is the test executed? Does a single process fork the server client? We start the servers programmatically and same process fork the server and client. Nuwan, Shall we try to use the method suggested by Azeez. Since System test framework is separate from trunk integration tests. We may need to duplicated the test core to System test framework. Thanks, Krishantha. On Tue, Jan 10, 2012 at 12:44 PM, Nuwan Wimalasekara nuw...@wso2.comwrote: is it not a server issue? Thanks NuwanW On Tue, Jan 10, 2012 at 12:10 PM, Afkham Azeez az...@wso2.com wrote: To overcome this, you can use the ClientConnectionUtil.waitForLog() method I recently introduced to the new integration testing API. On Tue, Jan 10, 2012 at 11:42 AM, Nuwan Wimalasekara nuw...@wso2.comwrote: Server Authentication failed nearly 5 to 10 seconds even if message is log WSO2 Carbon started in 38 sec. HTTPS port is not listening until event broker is registered. until then server authentication failed. Error message : https://localhost:9446/services/AuthenticationAdminLogin failed due to RemoteException :Transport error: 404 Error: Not Found DSS Server log [2012-01-10 10:00:06,833] INFO {org.wso2.carbon.core.init.CarbonServerManager} - ConfigurationContextService registered in 572ms [2012-01-10 10:00:06,840] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9446 [2012-01-10 10:00:06,841] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9766 [2012-01-10 10:00:07,203] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2012-01-10 10:00:07,203] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Data Services Server-2.6.0-SNAPSHOT [2012-01-10 10:00:07,204] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 38 sec [Broker] BRK-1006 : Using configuration : /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2012-01-10 10:00:09,255] INFO {org.quartz.utils.UpdateChecker} - New Quartz update(s) found: 2.1.2 [ http://www.terracotta.org/kit/reflector?kitID=defaultpageID=QuartzChangeLog ] [2012-01-10 10:00:09,459] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5675 [2012-01-10 10:00:09,494] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675 [2012-01-10 10:00:09,498] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5675 [2012-01-10 10:00:10,051] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2012-01-10 10:00:10,063] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2012-01-10 10:00:10,559] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.100.3.192:9446/carbon/ Thanks NuwanW On Mon, Jan 9, 2012 at 10:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: sending to carbon-dev -- Forwarded message -- From: Nuwan Wimalasekara nuw...@wso2.com Date: Mon, Jan 9, 2012 at 6:40 PM Subject: System test framework status with trunk To: Krishantha Samaraweera krishan...@wso2.com Hi Krishantha I could not find the latest product binaries already built. therefore i had to build the product. some classes in Admin services needed to be update due to api changes in trunk service stubs. other than System test framework can be run successfully. while testing DSS i found that there is a Authentication delay after server starting. Authentication failed for nearly 5 seconds just after starting server. therefore some test were failed. I will try to figure out the issue as soon as possible. Thanks NuwanW -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az
[Carbon-dev] System test framework status with trunk
sending to carbon-dev -- Forwarded message -- From: Nuwan Wimalasekara nuw...@wso2.com Date: Mon, Jan 9, 2012 at 6:40 PM Subject: System test framework status with trunk To: Krishantha Samaraweera krishan...@wso2.com Hi Krishantha I could not find the latest product binaries already built. therefore i had to build the product. some classes in Admin services needed to be update due to api changes in trunk service stubs. other than System test framework can be run successfully. while testing DSS i found that there is a Authentication delay after server starting. Authentication failed for nearly 5 seconds just after starting server. therefore some test were failed. I will try to figure out the issue as soon as possible. Thanks NuwanW -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Test Automation Progress and Plan
On Thu, Dec 22, 2011 at 8:55 AM, Srinath Perera srin...@wso2.com wrote: Hi Krishantha, Those tests are failing due to database permission issue with Ravana. Could you check that, most likely it matter of giving permissions to client. Try connecting to the DB using a mysql client from the same machine as we are running the tests. All enabled tests are passing now. Please refer to http://wso2.org/bamboo/browse/WSO2CARBON320-AUTOMATIONTEST-32. We will enable other tests case by case after testing locally. Thanks, Krishantha. --Srinath On Wed, Dec 21, 2011 at 5:25 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera srin...@wso2.com wrote: Goal is to get the Dashbaord working to build trunk, branch, and support as a thin slice by Thursday with automation tests Today we (Azeez, Samisa, and others) met to discuss the progress and following are TODOs Dashboard is at http://builder4.us1.wso2.org:/allPlans.action Krishantha and Automation Team Azeez will get the trunk build with integration excluded and products added back, and use pack generated from that to run the automation tests Get all automation tests to work (there was 2 failing in the morning) Integrate performance tests with automatio frameworl We have integrated Ravana into automation framework. Also selenium UI tests are running now. UI tests were configured to use remote web browser on Windows builder machine (build.wso2.com). Transforming tests to run on trunk build is in progress. Thanks, Krishantha. Dushan ==fix the assembly error in branch build Make sure abdera build problems are fixed and raise any future build concerns run the trunk and branch builds every 8 hours using Bamboo Charith ==Get Sonar to work with trunk Bamboo build and add that to builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and add that to builder4.us1.wso2.orgCurrent support branch to build with the Bamboo build from carbon core Make sure all Bamboo machines have security policy files and increase the ulimit Infra (Yasith) Get licences for BambooRegister the domain name with builder4.us1.wso2.org New windows machine to use as a build server Sadeep == Introp tests Anything I missed? --Srinath Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.2.3 packs to be released
Are we going to update maven repo with 3.2.3 artifacts ? Thanks, Krishantha. On Thu, Dec 22, 2011 at 6:20 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: RM's please sign with the same key that you used to sign packs. Thanks. On Thu, Dec 22, 2011 at 5:28 PM, Madhuka Udantha madh...@wso2.com wrote: Hi, Source packs are available in following url[1]. [1] http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/SourcePacks/ Thank you On Wed, Dec 21, 2011 at 2:24 PM, Hasini Gunasinghe has...@wso2.comwrote: On Wed, Dec 21, 2011 at 12:04 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: yes dasunpriya completed hosting packs. RM's please download and verify the packs before you send release notes. Verified the hosted IS pack. Thanks, Hasini. Thanks. On Wed, Dec 21, 2011 at 12:01 PM, Fazlan Sabar faz...@wso2.com wrote: Shall we sent out the release notes? On Wed, Dec 21, 2011 at 11:58 AM, Dasunpriya Anuradha anura...@wso2.com wrote: WSO2 ESB 4.0.3, IS 3.2.3, DSS 2.6.3, G-Reg 4.1.1 hosted on OxygenTank. Thanks. On Tue, Dec 20, 2011 at 10:31 PM, Dasunpriya Anuradha anura...@wso2.com wrote: Packs hosting in progress... Thanks. On Tue, Dec 20, 2011 at 10:23 PM, Prabath Siriwardena prab...@wso2.com wrote: On Tue, Dec 20, 2011 at 6:11 PM, Prabath Siriwardena prab...@wso2.com wrote: We need to crate the source packs.. Madhuka.. can you please work on that.. Please talk to Senaka - he will help you.. Tag : https://svn.wso2.org/repos/wso2/tags/carbon/3.2.3/ Thanks regards, -Prabath Thanks regards, -Prabath On Tue, Dec 20, 2011 at 6:01 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi Dasunpriya, You can get the signed packs from following url. you can host them. http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/signed_packs/final-packs/ Thanks. On Tue, Dec 20, 2011 at 5:08 PM, Yumani Ranaweera yum...@wso2.com wrote: On Tue, Dec 20, 2011 at 5:03 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hope you have checked release data, licence, read me texts all. Else RMs please take some time and check it. This is done for G-Reg pack. Regards, Yumani Thanks. On Tue, Dec 20, 2011 at 4:58 PM, Sandapa Handakumbura sand...@wso2.com wrote: Hi, Smoke test done for ESB 4.0.3 (latest pack) and it's good to release. Regards, Sandapa On Tue, Dec 20, 2011 at 4:47 PM, Pavithra Madurangi pavit...@wso2.com wrote: Hi, Did a smoke test to the IS pack found at [1] and it's okay to be released. [1] http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/ Thanks, Pavithra On Tue, Dec 20, 2011 at 11:57 AM, Prabath Siriwardena prab...@wso2.com wrote: Hi Charitha, Can you please confirm whether we are okay to release... Thanks regards, -Prabath On Tue, Dec 20, 2011 at 11:54 AM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Latest packs available in following url. RM's please sign the packs. http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/ Thanks. -- *Sanjeewa Malalgoda* Software Engineer ** *WSO2, Inc.* lean.enterprise.middleware. mobile : +94 713068779 web: http://wso2.com http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/ [image: http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif] ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Pavithra -- Pavithra Madurangi email : pavit...@wso2.com; phone: +94 77 720 7357 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Sanjeewa Malalgoda* Software Engineer ** *WSO2, Inc.* lean.enterprise.middleware. mobile : +94 713068779 web: http://wso2.com http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/ [image: http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif] ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Yumani Ranaweera WSO2, Inc. - http://wso2.org Email : yum...@wso2.com Cell: +94 077 7795242 Blog : http://yumani.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org
Re: [Carbon-dev] Test Automation Progress and Plan
On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera srin...@wso2.com wrote: Goal is to get the Dashbaord working to build trunk, branch, and support as a thin slice by Thursday with automation tests Today we (Azeez, Samisa, and others) met to discuss the progress and following are TODOs Dashboard is at http://builder4.us1.wso2.org:/allPlans.action Krishantha and Automation Team Azeez will get the trunk build with integration excluded and products added back, and use pack generated from that to run the automation tests Get all automation tests to work (there was 2 failing in the morning) Integrate performance tests with automatio frameworl We have integrated Ravana into automation framework. Also selenium UI tests are running now. UI tests were configured to use remote web browser on Windows builder machine (build.wso2.com). Transforming tests to run on trunk build is in progress. Thanks, Krishantha. Dushan ==fix the assembly error in branch build Make sure abdera build problems are fixed and raise any future build concerns run the trunk and branch builds every 8 hours using Bamboo Charith ==Get Sonar to work with trunk Bamboo build and add that to builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and add that to builder4.us1.wso2.orgCurrent support branch to build with the Bamboo build from carbon core Make sure all Bamboo machines have security policy files and increase the ulimit Infra (Yasith) Get licences for BambooRegister the domain name with builder4.us1.wso2.org New windows machine to use as a build server Sadeep == Introp tests Anything I missed? --Srinath Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Test Automation Progress and Plan
On Thu, Dec 22, 2011 at 8:55 AM, Srinath Perera srin...@wso2.com wrote: Hi Krishantha, Those tests are failing due to database permission issue with Ravana. Could you check that, most likely it matter of giving permissions to client. Try connecting to the DB using a mysql client from the same machine as we are running the tests. Will check. Thanks, Krishantha. --Srinath On Wed, Dec 21, 2011 at 5:25 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera srin...@wso2.com wrote: Goal is to get the Dashbaord working to build trunk, branch, and support as a thin slice by Thursday with automation tests Today we (Azeez, Samisa, and others) met to discuss the progress and following are TODOs Dashboard is at http://builder4.us1.wso2.org:/allPlans.action Krishantha and Automation Team Azeez will get the trunk build with integration excluded and products added back, and use pack generated from that to run the automation tests Get all automation tests to work (there was 2 failing in the morning) Integrate performance tests with automatio frameworl We have integrated Ravana into automation framework. Also selenium UI tests are running now. UI tests were configured to use remote web browser on Windows builder machine (build.wso2.com). Transforming tests to run on trunk build is in progress. Thanks, Krishantha. Dushan ==fix the assembly error in branch build Make sure abdera build problems are fixed and raise any future build concerns run the trunk and branch builds every 8 hours using Bamboo Charith ==Get Sonar to work with trunk Bamboo build and add that to builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and add that to builder4.us1.wso2.orgCurrent support branch to build with the Bamboo build from carbon core Make sure all Bamboo machines have security policy files and increase the ulimit Infra (Yasith) Get licences for BambooRegister the domain name with builder4.us1.wso2.org New windows machine to use as a build server Sadeep == Introp tests Anything I missed? --Srinath Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Now we can start multiple Carbon servers within an integration TestSuite
On Mon, Dec 19, 2011 at 3:31 PM, Afkham Azeez az...@wso2.com wrote: With the following commit, we can start a number of Carbon server instances from an integration TestSuite. Now it makes it very simple to write an integration test case which involves multiple Carbon products. Please take a look at the Javadocs of org.wso2.carbon.integration.framework.MultipleServersManager to see how this can be used. The automation team can use this API for automation purposes too. +1, Noted. Thanks, Krishantha. -- Forwarded message -- From: az...@wso2.com Date: Mon, Dec 19, 2011 at 3:18 PM Subject: [Carbon-commits] [Carbon] svn commit r118036 - in trunk/carbon/core/integration: framework/src/main/java/org/wso2/carbon/integration/framework framework/src/main/java/org/wso2/carbon/integration/framework/utils tests/src/test/java/org/wso2/carbon/integration/tests To: carbon-comm...@wso2.org Author: azeez Date: Mon Dec 19 01:48:32 2011 New Revision: 118036 URL: http://wso2.org/svn/browse/wso2?view=revrevision=118036 Log: Ability to start multiple Carbon servers inside an integration TestSuite Added: trunk/carbon/core/integration/tests/src/test/java/org/wso2/carbon/integration/tests/MultipleCarbonInstancesTestCase.java Modified: trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/MultipleServersManager.java trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/TestServerManager.java trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/utils/ServerUtils.java trunk/carbon/core/integration/tests/src/test/java/org/wso2/carbon/integration/tests/CarbonTestServerManager.java Modified: trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java URL: http://wso2.org/svn/browse/wso2/trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java?rev=118036r1=118035r2=118036view=diff == --- trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java (original) +++ trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java Mon Dec 19 01:48:32 2011 @@ -72,6 +72,11 @@ throw new RuntimeException(Port + port + is not open); } +/** + * Check whether the provided codeport/code is open + * @param port The port that needs to be checked + * @return true if the codeport/code is open false otherwise + */ public static boolean isPortOpen(int port) { Socket socket = null; boolean isPortOpen = false; Modified: trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java URL: http://wso2.org/svn/browse/wso2/trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java?rev=118036r1=118035r2=118036view=diff == --- trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java (original) +++ trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java Mon Dec 19 01:48:32 2011 @@ -30,18 +30,17 @@ import org.wso2.carbon.utils.NetworkUtils; /** - * All tests which require logging in logging out should extend this class + * A utility for logging into logging out of Carbon servers */ public final class LoginLogoutUtil { private static final Log log = LogFactory.getLog(LoginLogoutUtil.class); private String sessionCookie; /** - * This login method needs to be overridden in your TestNG test. Simply calling super.login() - * would be sufficient + * Log in to a Carbon server * * @return The session cookie on successful login - * @throws Exception If an error occurs while loggin in + * @throws Exception If an error occurs while logging in */ public String login() throws Exception { ClientConnectionUtil.waitForPort(Integer.parseInt(FrameworkSettings.HTTPS_PORT)); @@ -52,8 +51,8 @@ log.debug(UserName : + FrameworkSettings.USER_NAME + Password : + FrameworkSettings.PASSWORD + HostName : + hostName); } -boolean isLoggedIn = authAdminStub.login(FrameworkSettings.USER_NAME, - FrameworkSettings.PASSWORD, hostName); +boolean
Re: [Carbon-dev] [Architecture] Migrate to TestNG
On Tue, Dec 13, 2011 at 7:56 PM, Afkham Azeez az...@wso2.com wrote: Folks, I was playing around a bit with TestNG ( http://testng.org/doc/documentation-main.html#introduction) it seems to be the way to go for the type of integration testing we are doing. This may involve major changes at the platform testing level but will be worth the investment. Here are some articles that compare TestNG with JUnit4. We are using JUnit 3. http://www.mkyong.com/unittest/junit-4-vs-testng-comparison/ http://nelz.net/2010/10/06/testng-vs-junit4/ I had a chat with Krishantha he too agrees that TestNG is more suitable for the type of test automation we do. Does anybody have any concerns regarding this move? +1, Just gone though the TestNG feature list. OOB support for, parallel tests and rerunning failed test features are more promising. Selenium framework also supports TestNG. Junit 4.8 has introduced test grouping by using test categories [1]. But this feature is undocumented and seems lot of work. Even I cannot find much references on web. You can find the feature matrix of Surefire plugin at [2] which has extended support for TestNG [3]. Thanks, Krishantha. [1]http://www.wakaleo.com/blog/267-grouping-tests-using-junit-categories [2]http://maven.apache.org/plugins/maven-surefire-plugin/featurematrix.html [3]http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html -- *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* * * *Lean . Enterprise . Middleware* ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk
On Tue, Dec 13, 2011 at 8:41 AM, Senaka Fernando sen...@wso2.com wrote: +1. I'd like to see how we can make use of this framework to automate testing of concerns such as replicated caching, clustering, mounting and also to understand how this can eventually grow to automate the testing of multitenancy and related aspects. In System test framework we have done some work to configure products with mounts, clusters, different DBs etc.. And also we start multiple servers with all configs etc to run automated tests. Anyway carbon test framework and system test framework are two different things. +1, for unified Thanks, Krishantha. Thanks, Senaka. On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera srin...@wso2.com wrote: +1 .. Azeez talked to Krishantha as well, and we did some related work for automation framework --Srinath On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi char...@wso2.com wrote: On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez az...@wso2.com wrote: Folks, I would like to review make changes to the current Carbon integration test framework we have in carbon core. It is a bit of a mess now with people doing artifact copying in various ways. I would like to introduce a CarbonTestRunner. A server will be started per CarbonTestRunner instance. CarbonTestRunner is a TestSuite. In your Carbon test cases you will implement the copyArtifacts method. CarbonTestRunner will first call copyArtifacts on all test cases, start the server, and run the tests. Different product teams are doing this in various hacky ways now, but we need to have a proper way of doing this. In addition, we have also think about starting up multiple Carbon servers per CarbonTestRunner. Can we have a short design discussion about this tomorrow at 10AM? +1 For come up with a Unified Framework. cheers, Charith -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando * Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Deployment configuration script - training
Great work Dharshana. Hope the Deployment framework will be helpful for QAs to setup product platforms in future. Following are to-do list that we have to complete. Lets try to finish this before RC builds. 1. Option to configure cache.xml for product clusters. 2. Have a way to run DB script automatically (mysql, h2 etc..) 3. Option to enable/disble mounting 4. Configuration entry for NTTP and NTTPS ports on ESB cluster 5. Using another G-Reg instance as config registry. Please update if I have missed anything. Thanks, Krishantha. On Mon, Oct 17, 2011 at 8:25 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Charitha, I think 10.30 AM will be comfortable time for all. I will demonstrate a sample. Thank You, Dharshana. On Mon, Oct 17, 2011 at 5:51 PM, Charitha Kankanamge chari...@wso2.comwrote: Hi Dharshana, Please do @subject tomorrow morning @ #58 meeting room if you are available to do so. It seems we need a quick training :) Please come up with a preferred time and reply to this thread. /Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg CarbonHome implementation issue in Test Automation Framework
Hi Senaka, On Fri, Oct 14, 2011 at 4:24 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, Oct 14, 2011 at 4:22 PM, Senaka Fernando sen...@wso2.com wrote: Hi Kishan, Set -Dcarbon.repo.write.mode=true. This was an issue until very recently and was fixed. Adding more to this, since the carbon.xml is not accessible in a remote client, for the exact same code to work at client side, we introduced the above system property. Please note that this is only a requirement of the standard Java clients. How can we write test client for Stratos Governance. I think we cannot use the same approach you mentioned. Thanks, Krishantha. Thanks, Senaka. Thanks, Senaka. On Fri, Oct 14, 2011 at 3:26 PM, Kishan Navaratne kis...@wso2.comwrote: Hi, I tried to create a client to import a wsdl to G-Reg using WS-API + Governance API. I have intentionally left setting carbon home parameter in the test client. Since this client is going to be used inside automation framework, keeping G-Reg build on client side and pointing the location is not practical. So in order to continue with governance automation, Is there any other way I can use Governance API without setting carbon home? Exception = Exception in thread main java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at java.util.Properties.setProperty(Properties.java:143) at java.lang.System.setProperty(System.java:729) at org.wso2.carbon.utils.CarbonUtils.getCarbonHome(CarbonUtils.java:178) at org.wso2.carbon.utils.CarbonUtils.getCarbonConfigDirPath(CarbonUtils.java:204) at org.wso2.carbon.utils.CarbonUtils.getServerXml(CarbonUtils.java:169) at org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:465) at org.wso2.carbon.registry.core.utils.RegistryUtils.isRegistryReadOnly(RegistryUtils.java:1053) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:677) at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:96) at SimpleWsdl_Upload.main(SimpleWsdl_Upload.java:37) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:115) Once I set “*CarbonHome*” as a system property it worked perfectly, wsdl was uploaded to Greg with no issues For your reference, client code is attached here with. Best Regards, Kishan -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg CarbonHome implementation issue in Test Automation Framework
On Fri, Oct 14, 2011 at 4:30 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Senaka, On Fri, Oct 14, 2011 at 4:24 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, Oct 14, 2011 at 4:22 PM, Senaka Fernando sen...@wso2.com wrote: Hi Kishan, Set -Dcarbon.repo.write.mode=true. This was an issue until very recently and was fixed. Adding more to this, since the carbon.xml is not accessible in a remote client, for the exact same code to work at client side, we introduced the above system property. Pleases note that this is only a requirement of the standard Java clients. How can we write test client for Stratos Governance. I think we cannot use the same approach you mentioned. Thanks Senaka, test passed on Stratos/standalone product after setting carbon.repo.write.mode as system property. -Krishantha. Thanks, Krishantha. Thanks, Senaka. Thanks, Senaka. On Fri, Oct 14, 2011 at 3:26 PM, Kishan Navaratne kis...@wso2.comwrote: Hi, I tried to create a client to import a wsdl to G-Reg using WS-API + Governance API. I have intentionally left setting carbon home parameter in the test client. Since this client is going to be used inside automation framework, keeping G-Reg build on client side and pointing the location is not practical. So in order to continue with governance automation, Is there any other way I can use Governance API without setting carbon home? Exception = Exception in thread main java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at java.util.Properties.setProperty(Properties.java:143) at java.lang.System.setProperty(System.java:729) at org.wso2.carbon.utils.CarbonUtils.getCarbonHome(CarbonUtils.java:178) at org.wso2.carbon.utils.CarbonUtils.getCarbonConfigDirPath(CarbonUtils.java:204) at org.wso2.carbon.utils.CarbonUtils.getServerXml(CarbonUtils.java:169) at org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:465) at org.wso2.carbon.registry.core.utils.RegistryUtils.isRegistryReadOnly(RegistryUtils.java:1053) at org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:677) at org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:96) at SimpleWsdl_Upload.main(SimpleWsdl_Upload.java:37) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:115) Once I set “*CarbonHome*” as a system property it worked perfectly, wsdl was uploaded to Greg with no issues For your reference, client code is attached here with. Best Regards, Kishan -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [QA] Use Jmeter heavily in test automation
On Sat, Oct 8, 2011 at 2:06 PM, Charitha Kankanamge chari...@wso2.comwrote: Apache Jmeter is a very useful tool for both functional and performance testing. At the moment, we use Jmeter in HB checker app to test console level login for all Stratos services as well as Jmeter is used to test concurrent login to management console, webapp uploads etc. Similarly, Jmeter can be used for trivial functional testing in our products/stratos services. The attached Jmeter test has been written to test AAR services which does the following automatically. 1. Log in to AS management console 2. Upload an AAR service 3. Assert to check whether the service appears in service list 4. Invoke the service by sending both POST and GET requests 5. Sign out Jmeter does all these things very nicely. The beauty of Jmeter is, the same test can be converted to a load test by increasing the thread count. The possiblity of breaking tests due to UI changes is also minimum. Krishantha and automation team, please look at the attached test script and modify/add to relevant svn location and invoke this automatically through test framework. Similarly, we can produce tests for other services too. Great stuff Charitha, We will work on adding this to our automation framework. Thanks, Krishantha. /Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Snapshot repo required for automation work
Hi, Currently, automation team is using snapshot dependencies for ongoing automation work. The automation team have build the trunk and using artifacts at local repo. This approach doesn't scale when we are going to deliver the work to QA or Devs. And, our initial plan is to maintain maven based system-test-framework separately from trunk. So we cannot expect others to build trunk or branch in order to use the framework.So snapshot maven repo is required for automation work. Since we are going to run the automation frameworks against each releases, this has to be online repo associated with current trunk or branch. Our standard snapshot repo at [1] haven't been updated since Feb 2010. AFAIK, trunk is unstable now. So is there any way to deploy at least required artifacts to our repo. How about maintaning staging snapshot repo for on going dev/automation work? Your comments and suggestions are welcome. Thanks, Krishantha. [1]http://dist.wso2.org/snapshots/maven2/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Has the Carbon 3.2.0 P2 repo been updated with 3.2.1 features?
On Wed, Aug 3, 2011 at 10:34 AM, Pradeep Fernando prad...@wso2.com wrote: Hi, On Tue, Aug 2, 2011 at 3:49 PM, Supun Malinga sup...@wso2.com wrote: Hi azeez, Not yet. Will do this by tomorrow. For now you can use, [1] [1] http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.1/2011-07-14_09-56-52/p2-repo/ QA team please do a smoke test for 3.2.0/3.2.1 products using the above repo. We are going to host it afterwards. Nirodha will carry out smoke testing on the repo. Thanks, Krishantha. thanks, --Pradeep ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Does HTTP/REST work with Registry WS API
On Thu, Jun 30, 2011 at 7:27 AM, Sumedha Rubasinghe sume...@wso2.comwrote: On Thu, Jun 30, 2011 at 6:59 AM, Samisa Abeysinghe sam...@wso2.comwrote: $subject? Can I use only HTTP style calls without SOAP with the same API? Nope. We haven't enabled REST for the same services exposed by WS API. However, SOAP HTTP Bindings should work by default. When Registry work started, we used to support REST style of invocation for all Registry operations. But this aspect hasn't been tested (Krishantha did some work) or developed for a long time. As I could remember only basic operations were supported by registry REST API [1]. There was discussion at Architecture list with the subject Rejuvenate REST-API in Registry or Drop it?. Thanks, Krishantha [1]https://wso2.org/wiki/display/registry/Registry+Protocol /sumedha Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Problem with Monitoring WSO2 ESB using JConsole
Hi Jorge, Edit jmx.xml at CRBON_HOME/repository/conf/advanced and set your IP as the host name. HostNamelocalhost/HostName Thanks, Krishantha. On Fri, Jun 10, 2011 at 9:04 PM, Jorge Infante Osorio jorg...@uci.cuwrote: Hi folks. I read this interesting article http://wso2.org/library/knowledge-base/2011/04/monitoring-wso2-esb-using-jconsole And I test the access to a local server successfully, but in a remote server I can´t not access yet. I uncomment the RMIRegistryPort in carbon.xml in ESB and open the port in the iptables config , I use Centos, and my service url is show in console when the server start: CarbonServerManager JMX Service URL : service:jmx:rmi:///jndi/rmi:// 10.3.10.74:/jmxrmi But in the Jconsole I receive this: Any idea? Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev image001.png___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] RC3 Packs - 3.2.0
Hi Amila, Can you copy p2-repo as well. BTW in builder machine p2-repo.zip is 148 bytes, please check. Thanks, Krishantha. On Mon, May 30, 2011 at 7:02 PM, Charitha Kankanamge chari...@wso2.com wrote: On Mon, May 30, 2011 at 5:49 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 5:25 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 4:24 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 3:22 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 1:45 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 11:55 AM, Amila Maha Arachchi ami...@wso2.com wrote: On Mon, May 30, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.com wrote: Hi, I started downloading packs from the EC2 builder to local builder. You can find them at [2]. At the moment only AS is downloaded. G-Reg and IS are being downloaded. I'll update as the packs are available. [2] http://10.100.1.43/~carbon/releases/carbon/3.2.0/rc3/products/ G-Reg and IS packs are available locally at [2]. GS and MS packs are available locally [2]. DSS and BAM packs are available locally at [2] ESB and BPS packs are available locally. BRS, CEP and MB packs are available locally now. WSF and LB packs are also available locally now (i.e. All the product packs are available locally). Will be downloading services now. Thank you very much Amila! /Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Context root disappearing in Websphere
Hi all, The same issue [1] has been raised sometime back and it has been resolved without doing a proper fix. Thanks Krishantha [1] https://wso2.org/jira/browse/CARBON-7371 On Thu, May 12, 2011 at 2:21 PM, Nuwan Bandara nu...@wso2.com wrote: Surprisingly this does not happen in other app servers (Tomcat etc), according to pradeep he has seen this when there are relative URLs, But there are many places in our UI bundles that we do redirection to relative URLs. Regards, /Nuwan On Thu, May 12, 2011 at 2:15 PM, Milinda Pathirage mili...@wso2.comwrote: This could be due to recent changes we done to facilitate custom home page URLs. Will look into this. Thanks Milinda On Thu, May 12, 2011 at 1:56 PM, Chamara Ariyarathne chama...@wso2.comwrote: Following are the places which Browser redirect with wrong context root when server deployed in Websphere. I'm sending this for the request made by Pradeep and Nuwan, and according to the offline chat I had with them, there will be a similar solution for this. *Mashup Server;* Home button Upload Module; Modules - Add Modules - Upoload Upload JavaScript services - Upload * Gadget Server;* Add Gadgets *Chamara Ariyarathne* Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; *0772786766* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Question on Integration Tests
On Wed, May 4, 2011 at 10:50 AM, Isuru Suriarachchi is...@wso2.com wrote: On Wed, May 4, 2011 at 10:33 AM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, In our integration tests, is it possible to make a few modifications to the product installation before it starts up? For an example can I replace the axis2.xml of the ESB before it boots up for the test? I've done something similar in the AS where all the needed artifacts are copied into the server before it starts up. I've written a ASTestTemplate to do that. May be you can use the same technique to override the axis2.xml. Yes, I have used same technique to copy keystores and services in to BPS/Axis2Sever. This can be easily extend to copy axis2.xml in your case. Thanks, Krishantha. Thanks, ~Isuru Thanks -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Isuru Suriarachchi Technical Lead Product Manager, WSO2 Application Server WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%
On Mon, Mar 7, 2011 at 1:40 PM, Senaka Fernando sen...@wso2.com wrote: On Sun, Mar 6, 2011 at 3:28 PM, Thilini Ishaka thil...@wso2.com wrote: Yes Chamara. Attached the latest coverage report. Increased from 5% and now it is 52%. Nice, let's the get others done as well. I'm sure we can get over 67% coverage, once those are done. +1 for maintaining all G-Reg test frameworks under our main Test Automation framework. We can easily add them to our test framework and improve the code coverage. But IMHO we need to improve the test coverage though admin services. The mentioned frameworks have been using by QA for each product release for years. Theoretically adding them to framework doesn't improve anything.. We need to improve those framework or write more test to cover admin services. Thanks, Krishantha. Thilini, by the way, why aren't the bean classes counted? Is that an EMMA bug, or do we need to annotate them or something? If those are counted as well, the numbers should be even higher. Thanks, Senaka. Thanks. -- Thilini On Fri, Mar 4, 2011 at 9:45 PM, Chamara Silva cham...@wso2.com wrote: Thilini can we have test coverage now? Regards, Chamara On Fri, Mar 4, 2011 at 9:40 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Wed, Mar 2, 2011 at 1:23 PM, Krishantha Samaraweera krishan...@wso2.com wrote: I believe that the reports are correct. But, you need to run the governance API, WS Client and the JCR Client, Check-in Check-out client as well, which will improve the coverage. I'm not sure why the bean classes were not covered. Ideally, if you used the service, the bean classes would be used. So, its kind of strange. We don't have tests for governance API, excepts the tests in carbon trunk. We will write some tests for governance API as well. I am in the process of integrating ws-api to test framework it will available within a day. Checkin/out client tests only support on Linux we will add that to the framework and will be executed only on Linux environments. G-Reg WS-API test framework has been integrated with test automation framework now. Thanks, Krishantha. Thanks, Krishantha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilini Ishaka email: thil...@wso2.com mobile: +94 718408171 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2, Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%
On Wed, Mar 2, 2011 at 1:23 PM, Krishantha Samaraweera krishan...@wso2.comwrote: I believe that the reports are correct. But, you need to run the governance API, WS Client and the JCR Client, Check-in Check-out client as well, which will improve the coverage. I'm not sure why the bean classes were not covered. Ideally, if you used the service, the bean classes would be used. So, its kind of strange. We don't have tests for governance API, excepts the tests in carbon trunk. We will write some tests for governance API as well. I am in the process of integrating ws-api to test framework it will available within a day. Checkin/out client tests only support on Linux we will add that to the framework and will be executed only on Linux environments. G-Reg WS-API test framework has been integrated with test automation framework now. Thanks, Krishantha. Thanks, Krishantha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%
I believe that the reports are correct. But, you need to run the governance API, WS Client and the JCR Client, Check-in Check-out client as well, which will improve the coverage. I'm not sure why the bean classes were not covered. Ideally, if you used the service, the bean classes would be used. So, its kind of strange. We don't have tests for governance API, excepts the tests in carbon trunk. We will write some tests for governance API as well. I am in the process of integrating ws-api to test framework it will available within a day. Checkin/out client tests only support on Linux we will add that to the framework and will be executed only on Linux environments. Thanks, Krishantha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon
Hi Samisa, On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe sam...@wso2.com wrote: What happened to this Hackathon? What do we have now?? We were able to cover the following tasks. 1. G-Reg meta data management tests including WSDL, Schema, Policies. 2. Done with command classes for add service. In the process of integrating FE service XML generation logic to automation framework. Have to write tests. 3. Started resource versioning tests. Not yet finished. 4. Done with command classes for content search, have to write tests. 4. Used maven site plugin to view integrated test results. 5. Fixed remote registry tests and other test failures. 6. Fixed framework related issues on windows environment. Thanks, Krishantha. On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka thil...@wso2.com wrote: +1 On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva cham...@wso2.com wrote: Most probably we can double our automation speed if we can have contact person in greg development team instead of disturbing to all the people.because sometimes we take long times to understand greg code. Regards, Chamara On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We are still on automating SOA meta data management which is the most highest priority functional area. As per todays progress, we will not be able to finish with all missing functionalities on Friday. However, We will try to cover the highest priority functional areas as much as possible before Friday. We may need another few days from next week to have decent amount of G-Reg test coverage. Thanks, Krishantha. On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have gone though the existing tests and identified following functional areas which are not covered adequately. We will start work on those areas by given order. 1. SOA meta data management - WSDLS, XSDs, Policies, Services and validation policies. 2. Content search. 3. Resource versioning. 4. Custom Queries. 5. Registry handers. 6. Life cycles - promote, demote 7. Eventing and Notification. 8. Registry mounting. 9. Authentication and authorization on resources. 10. C-App deployment. 11. Tag/Comment/Rating 12. Symlinks 13. More test for dependencies 14. Activity search. Please let us know, if there are any other high priority functional areas that we need look at first. Thanks, Krishantha. On Tue, Feb 8, 2011 at 11:43 AM, Chamara Silva cham...@wso2.comwrote: Forwarded. /chamara -- Forwarded message -- From: Chamara Silva cham...@wso2.com Date: Tue, Feb 8, 2011 at 11:41 AM Subject: Greg Test Automation Hackathon To: strategy-group strategy-gr...@wso2.com Following are the task we need to do in Greg automation hackathon. 1. Need to update QA repository with latest dependency jars. 2. Add latest admin service test cases. 3. Functionality test cases automation - Krishantha will reply what are the functionalities need to automate. Thank you, Chamara -- Suminda Chamara Silva WSO2 Inc. Mobile: +94718302858+94 718 302858 +94718302858 blog: http://chamaras.blogspot.com -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 +94718302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilini Ishaka email: thil...@wso2.com mobile: +94 718408171 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon
On Tue, Feb 15, 2011 at 3:50 PM, Samisa Abeysinghe sam...@wso2.com wrote: What is the % coverage of functionality now? I would say it is 35%. Thanks Krishantha. On Tue, Feb 15, 2011 at 1:59 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Samisa, On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe sam...@wso2.comwrote: What happened to this Hackathon? What do we have now?? We were able to cover the following tasks. 1. G-Reg meta data management tests including WSDL, Schema, Policies. 2. Done with command classes for add service. In the process of integrating FE service XML generation logic to automation framework. Have to write tests. 3. Started resource versioning tests. Not yet finished. 4. Done with command classes for content search, have to write tests. 4. Used maven site plugin to view integrated test results. 5. Fixed remote registry tests and other test failures. 6. Fixed framework related issues on windows environment. Thanks, Krishantha. On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka thil...@wso2.comwrote: +1 On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva cham...@wso2.comwrote: Most probably we can double our automation speed if we can have contact person in greg development team instead of disturbing to all the people.because sometimes we take long times to understand greg code. Regards, Chamara On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We are still on automating SOA meta data management which is the most highest priority functional area. As per todays progress, we will not be able to finish with all missing functionalities on Friday. However, We will try to cover the highest priority functional areas as much as possible before Friday. We may need another few days from next week to have decent amount of G-Reg test coverage. Thanks, Krishantha. On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have gone though the existing tests and identified following functional areas which are not covered adequately. We will start work on those areas by given order. 1. SOA meta data management - WSDLS, XSDs, Policies, Services and validation policies. 2. Content search. 3. Resource versioning. 4. Custom Queries. 5. Registry handers. 6. Life cycles - promote, demote 7. Eventing and Notification. 8. Registry mounting. 9. Authentication and authorization on resources. 10. C-App deployment. 11. Tag/Comment/Rating 12. Symlinks 13. More test for dependencies 14. Activity search. Please let us know, if there are any other high priority functional areas that we need look at first. Thanks, Krishantha. On Tue, Feb 8, 2011 at 11:43 AM, Chamara Silva cham...@wso2.comwrote: Forwarded. /chamara -- Forwarded message -- From: Chamara Silva cham...@wso2.com Date: Tue, Feb 8, 2011 at 11:41 AM Subject: Greg Test Automation Hackathon To: strategy-group strategy-gr...@wso2.com Following are the task we need to do in Greg automation hackathon. 1. Need to update QA repository with latest dependency jars. 2. Add latest admin service test cases. 3. Functionality test cases automation - Krishantha will reply what are the functionalities need to automate. Thank you, Chamara -- Suminda Chamara Silva WSO2 Inc. Mobile: +94718302858+94 718 302858 +94718302858 blog: http://chamaras.blogspot.com -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 +94718302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilini Ishaka email: thil...@wso2.com mobile: +94 718408171 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http
Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon
On Tue, Feb 15, 2011 at 4:20 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Tue, Feb 15, 2011 at 4:03 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Tue, Feb 15, 2011 at 3:50 PM, Samisa Abeysinghe sam...@wso2.comwrote: What is the % coverage of functionality now? I would say it is 35%. Guys, we need to finish this. We need to have a roadmap on this. We need to hist 80% at least. I still see only ESB and G-Reg being covered with test framework. We need to get past. Please work on a roadmap ASAP, as we also need to start looking into other products. The next in line should be DS and BPS +1, sure will do Thanks, Krishantha. Thanks Krishantha. On Tue, Feb 15, 2011 at 1:59 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Samisa, On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe sam...@wso2.comwrote: What happened to this Hackathon? What do we have now?? We were able to cover the following tasks. 1. G-Reg meta data management tests including WSDL, Schema, Policies. 2. Done with command classes for add service. In the process of integrating FE service XML generation logic to automation framework. Have to write tests. 3. Started resource versioning tests. Not yet finished. 4. Done with command classes for content search, have to write tests. 4. Used maven site plugin to view integrated test results. 5. Fixed remote registry tests and other test failures. 6. Fixed framework related issues on windows environment. Thanks, Krishantha. On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka thil...@wso2.comwrote: +1 On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva cham...@wso2.comwrote: Most probably we can double our automation speed if we can have contact person in greg development team instead of disturbing to all the people.because sometimes we take long times to understand greg code. Regards, Chamara On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We are still on automating SOA meta data management which is the most highest priority functional area. As per todays progress, we will not be able to finish with all missing functionalities on Friday. However, We will try to cover the highest priority functional areas as much as possible before Friday. We may need another few days from next week to have decent amount of G-Reg test coverage. Thanks, Krishantha. On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, We have gone though the existing tests and identified following functional areas which are not covered adequately. We will start work on those areas by given order. 1. SOA meta data management - WSDLS, XSDs, Policies, Services and validation policies. 2. Content search. 3. Resource versioning. 4. Custom Queries. 5. Registry handers. 6. Life cycles - promote, demote 7. Eventing and Notification. 8. Registry mounting. 9. Authentication and authorization on resources. 10. C-App deployment. 11. Tag/Comment/Rating 12. Symlinks 13. More test for dependencies 14. Activity search. Please let us know, if there are any other high priority functional areas that we need look at first. Thanks, Krishantha. On Tue, Feb 8, 2011 at 11:43 AM, Chamara Silva cham...@wso2.comwrote: Forwarded. /chamara -- Forwarded message -- From: Chamara Silva cham...@wso2.com Date: Tue, Feb 8, 2011 at 11:41 AM Subject: Greg Test Automation Hackathon To: strategy-group strategy-gr...@wso2.com Following are the task we need to do in Greg automation hackathon. 1. Need to update QA repository with latest dependency jars. 2. Add latest admin service test cases. 3. Functionality test cases automation - Krishantha will reply what are the functionalities need to automate. Thank you, Chamara -- Suminda Chamara Silva WSO2 Inc. Mobile: +94718302858+94 718 302858 +94718302858 blog: http://chamaras.blogspot.com -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 +94718302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Suminda Chamara Silva WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilini Ishaka email: thil...@wso2.com mobile: +94 718408171 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http
Re: [Carbon-dev] G-Reg checkin/out client automation
Hi Samisa, On Thu, Feb 3, 2011 at 9:02 AM, Samisa Abeysinghe sam...@wso2.com wrote: Um, it has to work across platforms. Can we not use something like ant/maven for this rather than a script? Yes, I thought of using ant initially. But even with ant I cannot write platform independent script. Please refer the ant script [1] which I used to test G-Reg with different DBs options. Even in this script I had to check the OS before executing certain system calls. I selected Perl since I was able to reuse XML processing model written by C team. And, perl library functions provide all most all features I require. My plan was to write the script for Linux and extend it to support windows later. To be frank, I am not familiar much with maven. And my initial impression on maven was based on our build scripts, which we use ant scripts inside maven to make the build. So I under the impression that maven can not do much things when it comes to automating command line tool. Thanks, Krishantha [1] https://wso2.org/repos/wso2/trunk/commons/qa/db-configuration-scripts/build.xml On Thu, Feb 3, 2011 at 7:58 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Sumedha, On 2/3/11, Sumedha Rubasinghe sume...@wso2.com wrote: Hi Kris, This is excellent work. I tried checking out, but it failed giving following error. svn: URL ' https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webserviceX ' of existing directory 'checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex' does not match expected URL ' https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex ' Thanks for your inputs, I think you are on Mac or Windows. Linux users will not find this problem. Here is the reason. When you have two directories like /src/main/resources/governance/services/http/www/webservicex and /src/main/resources/governance/services/http/www/webserviceX on Linux, they are different directories. So you import like this to subversion without any issues. But when you try to checkout on Windows/Mac, since these are same directories on the environment, you get that error message. I will fix this checkout problem and update you. Thanks, Krishantha. Anyway, talk with Damitha make the result output file format compatible with what our performance testing framework can read in. That way, we can directly use the output from this to generate statistics using performance testing framework. /sumedha On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera krishan...@wso2.comwrote: Hi all, I have improved the perl script which I have been using to test G-Reg checkin/out client as a test framework. Currently, the framework has around 36 test cases and covers 80% of the checkin/out functionalities, including some customer scenarios. I will be able to add more tests once G-Reg team finish with redesigning REST-API in Registry. And, also I wil check the possibility of using remote registry APIs to cater some registry operation requirements for pending functinalities. Hopefully, this framework will save at least five hours of testing effort. Source code and the the framework distribution can be found at [1] and [2]. Instructions to run the framework is available in the README of given distribution. the framework runs based on the parameters given in greg_test.xml file, To add more test, you may have to write a Perl subroutine and customized the tests defined. A sample result file is also attached. Todo: === 1. Write a windows version (if required) 2. Resource meta data checkin/out. 3. cyclic symlink handling. 4. checkin/out based on resource permission levels. 5. Add more test to cover service meta data checkin/out 6. Checkin/out between different instances. I look forward to your feedbacks for improvements. Thanks, Krishantha. [1] https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script [2] http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.ziphttp://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip http://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http
Re: [Carbon-dev] Invitation: Group B : Code review (Registry Search Service) @ Thu Feb 3 2pm - 3pm (carbon-dev@wso2.org)
Hi Lahiru, You missed my name, I am also in Group B. -Krishantha. On Wed, Feb 2, 2011 at 12:59 PM, Lahiru Gunathilake lah...@wso2.com wrote: more details »https://www.google.com/calendar/event?action=VIEWeid=bXI4NTVka2xjN2tzbHE0YW1xNGxqdGEzcm8gY2FyYm9uLWRldkB3c28yLm9yZwtok=MTUjbGFoaXJ1QHdzbzIuY29tYjM0ZDBhODFmZWVjZDQ2OWViMmEwYzUwZGU5NzI2NmIxZWM4ZGE5MActz=Asia%2FColombohl=en Group B : Code review (Registry Search Service) Code review will conduct for Registry Search Service. I will create a curcible project by the time we start the code review. *When* Thu Feb 3 2pm – 3pm Colombo *Where* 4th floor (map http://maps.google.com/maps?q=4th+floorhl=en) *Calendar* carbon-dev@wso2.org *Who* • Lahiru Gunathilake - organizer • Milinda Pathirage • Ajith Vitharana • Chamara Silva • Nuwan Bandara • carbon-dev@wso2.org • Heshan Suriyaarachchi • Manjula Rathnayake • Sarasi Munasinghe • Chamara Ariyarathne • Ruwan Linton • Sumedha Rubasinghe • Nandika Jayawardana Going? *Yeshttps://www.google.com/calendar/event?action=RESPONDeid=bXI4NTVka2xjN2tzbHE0YW1xNGxqdGEzcm8gY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTUjbGFoaXJ1QHdzbzIuY29tYjM0ZDBhODFmZWVjZDQ2OWViMmEwYzUwZGU5NzI2NmIxZWM4ZGE5MActz=Asia%2FColombohl=en- Maybehttps://www.google.com/calendar/event?action=RESPONDeid=bXI4NTVka2xjN2tzbHE0YW1xNGxqdGEzcm8gY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTUjbGFoaXJ1QHdzbzIuY29tYjM0ZDBhODFmZWVjZDQ2OWViMmEwYzUwZGU5NzI2NmIxZWM4ZGE5MActz=Asia%2FColombohl=en- Nohttps://www.google.com/calendar/event?action=RESPONDeid=bXI4NTVka2xjN2tzbHE0YW1xNGxqdGEzcm8gY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTUjbGFoaXJ1QHdzbzIuY29tYjM0ZDBhODFmZWVjZDQ2OWViMmEwYzUwZGU5NzI2NmIxZWM4ZGE5MActz=Asia%2FColombohl=en *more options »https://www.google.com/calendar/event?action=VIEWeid=bXI4NTVka2xjN2tzbHE0YW1xNGxqdGEzcm8gY2FyYm9uLWRldkB3c28yLm9yZwtok=MTUjbGFoaXJ1QHdzbzIuY29tYjM0ZDBhODFmZWVjZDQ2OWViMmEwYzUwZGU5NzI2NmIxZWM4ZGE5MActz=Asia%2FColombohl=en Invitation from Google Calendar https://www.google.com/calendar/ You are receiving this courtesy email at the account carbon-dev@wso2.orgbecause you are an attendee of this event. To stop receiving future notifications for this event, decline this event. Alternatively you can sign up for a Google account at https://www.google.com/calendar/ and control your notification settings for your entire calendar. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] G-Reg checkin/out client automation
Hi all, I have improved the perl script which I have been using to test G-Reg checkin/out client as a test framework. Currently, the framework has around 36 test cases and covers 80% of the checkin/out functionalities, including some customer scenarios. I will be able to add more tests once G-Reg team finish with redesigning REST-API in Registry. And, also I wil check the possibility of using remote registry APIs to cater some registry operation requirements for pending functinalities. Hopefully, this framework will save at least five hours of testing effort. Source code and the the framework distribution can be found at [1] and [2]. Instructions to run the framework is available in the README of given distribution. the framework runs based on the parameters given in greg_test.xml file, To add more test, you may have to write a Perl subroutine and customized the tests defined. A sample result file is also attached. Todo: === 1. Write a windows version (if required) 2. Resource meta data checkin/out. 3. cyclic symlink handling. 4. checkin/out based on resource permission levels. 5. Add more test to cover service meta data checkin/out 6. Checkin/out between different instances. I look forward to your feedbacks for improvements. Thanks, Krishantha. [1]https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script [2]http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip Total test cases: 36 Successful test cases: 36 Failed test cases: 0 Presenatage of failure cases: 0 % Passed Test Cases === test1 -- chekout registry root test2 -- update registry root test3 -- checkin to registry root test4 -- chekout a registry collection test5 -- chekout registry root to a dump file test6 -- chekout registry collection to a dump file test7 -- checkin dump file to registry root - depends on test5 test8 -- checkin dump file to registry collection - depends on test6 test9 -- update registry collection - depends on test4 test10 -- checkin new file to registry root test11 -- checkout updates to registry root- depends on test10 test12 -- update a file and checkin to registry root - depends on test11 test13 -- checkout updated content of root - depends on test12 test14 -- checkin file with colon to registry root test15 -- checkout resources with colon in name- depends on test14 test16 -- checkin file names with spaces to registry root test17 -- checkout file with spaces- depends on test16 test18 -- checkin files to a collection - depends on test17 test19 -- checkin after file deletion - depends on test18 test20 -- checkout after file deletion - depends on test19 test21 -- checkin collection test22 -- checkout collection - depends on test21 test23 -- checkin collection after updating- depends on test22 test24 -- checkout collection after updating- depends on test23 test25 -- checkin collection after deleting - depends on test24 test26 -- checkout collection after deleting - depends on test25 test27 -- checkin WSDLS, Schemas, Endpoints, Policies, Services test28 -- checkout WSDLS, Schemas, Endpoints, Policies, Services test29 -- checkin a collection with symlinks test30 -- checkout a collection with symlinks test31 -- checkout registry root with incorrect user credentials test32 -- checkout from invalid resource path test33 -- checkin to registry root with invalid user credentials test34 -- Update registry root with invalid user credentials test35 -- checkout with conflicting resources test36 -- update with conflicting resources - depends test35 Failed Test Cases === cat: filename-fail.out: No such file or directory ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg checkin/out client automation
Hi Sumedha, On 2/3/11, Sumedha Rubasinghe sume...@wso2.com wrote: Hi Kris, This is excellent work. I tried checking out, but it failed giving following error. svn: URL ' https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webserviceX' of existing directory 'checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex' does not match expected URL ' https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex ' Thanks for your inputs, I think you are on Mac or Windows. Linux users will not find this problem. Here is the reason. When you have two directories like /src/main/resources/governance/services/http/www/webservicex and /src/main/resources/governance/services/http/www/webserviceX on Linux, they are different directories. So you import like this to subversion without any issues. But when you try to checkout on Windows/Mac, since these are same directories on the environment, you get that error message. I will fix this checkout problem and update you. Thanks, Krishantha. Anyway, talk with Damitha make the result output file format compatible with what our performance testing framework can read in. That way, we can directly use the output from this to generate statistics using performance testing framework. /sumedha On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera krishan...@wso2.comwrote: Hi all, I have improved the perl script which I have been using to test G-Reg checkin/out client as a test framework. Currently, the framework has around 36 test cases and covers 80% of the checkin/out functionalities, including some customer scenarios. I will be able to add more tests once G-Reg team finish with redesigning REST-API in Registry. And, also I wil check the possibility of using remote registry APIs to cater some registry operation requirements for pending functinalities. Hopefully, this framework will save at least five hours of testing effort. Source code and the the framework distribution can be found at [1] and [2]. Instructions to run the framework is available in the README of given distribution. the framework runs based on the parameters given in greg_test.xml file, To add more test, you may have to write a Perl subroutine and customized the tests defined. A sample result file is also attached. Todo: === 1. Write a windows version (if required) 2. Resource meta data checkin/out. 3. cyclic symlink handling. 4. checkin/out based on resource permission levels. 5. Add more test to cover service meta data checkin/out 6. Checkin/out between different instances. I look forward to your feedbacks for improvements. Thanks, Krishantha. [1] https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script [2] http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.ziphttp://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] G-Reg checkin/out client automation
I will fix this checkout problem and update you. Fixed now, Please check. Thanks, Krishantha. Thanks, Krishantha. Anyway, talk with Damitha make the result output file format compatible with what our performance testing framework can read in. That way, we can directly use the output from this to generate statistics using performance testing framework. /sumedha On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera krishan...@wso2.comwrote: Hi all, I have improved the perl script which I have been using to test G-Reg checkin/out client as a test framework. Currently, the framework has around 36 test cases and covers 80% of the checkin/out functionalities, including some customer scenarios. I will be able to add more tests once G-Reg team finish with redesigning REST-API in Registry. And, also I wil check the possibility of using remote registry APIs to cater some registry operation requirements for pending functinalities. Hopefully, this framework will save at least five hours of testing effort. Source code and the the framework distribution can be found at [1] and [2]. Instructions to run the framework is available in the README of given distribution. the framework runs based on the parameters given in greg_test.xml file, To add more test, you may have to write a Perl subroutine and customized the tests defined. A sample result file is also attached. Todo: === 1. Write a windows version (if required) 2. Resource meta data checkin/out. 3. cyclic symlink handling. 4. checkin/out based on resource permission levels. 5. Add more test to cover service meta data checkin/out 6. Checkin/out between different instances. I look forward to your feedbacks for improvements. Thanks, Krishantha. [1] https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script [2] http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.ziphttp://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip http://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Packs available [was Fwd: WSO2 Carbon Continuous Build was SUCCESSFUL
Hi G-Reg Team, Please fix the G-Reg version as well. Thanks, Krishantha. On Thu, Jan 27, 2011 at 1:41 PM, Charitha Kankanamge chari...@wso2.com wrote: AS folks, Appserver version of these packs are wso2appserver-4.0.0-SNAPSHOT which we have already released during 3.1.0 chunk1 release. What will be the correct version? Regards Charitha On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.com wrote: Finally, we have the packs from trunk available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/ -- Forwarded message -- From: WSO2 Builder buil...@wso2.org Date: Thu, Jan 27, 2011 at 12:21 PM Subject: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL To: carbon-dev@wso2.org Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: System is offline. Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.wso2.esb -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.wso2.esb -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39) ... 21 more [INFO] [ERROR] BUILD ERROR [INFO] [INFO] ERROR System is offline. Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.wso2.esb -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.wso2.esb -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 10 seconds [INFO] Finished at: Thu Jan 27 12:21:56 IST 2011 [INFO] Final Memory: 21M/981M [INFO] cp: cannot stat `target/p2-repo': No such file or directory 2011-01-27_12-21-35 Carbon packs are available at : http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/ tail -n50 $STRATOS_SRC_HOME/build.log ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Packs available [was Fwd: WSO2 Carbon Continuous Build was SUCCESSFUL
Hi, Please fix the following issues at G-Reg server startup. 1. Exception in thread Thread-8 java.lang.NullPointerException at org.wso2.carbon.registry.indexing.IndexingManager.run(IndexingManager.java:151) at java.lang.Thread.run(Thread.java:619) 2. [2011-01-28 13:51:40,532] ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building service from bundle : Symbolic Name: org.wso2.carbon.event.broker,Bundle Version: 3.2.0.SNAPSHOT, ID: 120 org.apache.axis2.AxisFault: Two services cannot have same name. A service with the BrokerSecurityManager [null] name already exists in the system For more details, please refer to [1] Thanks, Krishantha [1]http://pastebin.com/eJ6dQxe3 On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.com wrote: Finally, we have the packs from trunk available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Registry Checkin client.. Is the name correct..?
On Wed, Dec 22, 2010 at 7:50 AM, Samisa Abeysinghe sam...@wso2.com wrote: On Wed, Dec 22, 2010 at 1:12 AM, Senaka Fernando sen...@wso2.com wrote: Well, the proposed name sounds good. But, I have one concern. Would people imagine that this tool could do anything on the registry (or think of it as another client)? One day, why not have one client on cammed line that can be used to do all ops on reg? Why are we restricting it to ci/co? And also, do we support ci/co shorthand? Yes Thanks, Krishantha. Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Adding an ESB with a webcontext as a monitored server fails in BAM 1.2.0
Hi Prabath, What is the BAM build you are using? .In BAM-b008 build you have to create h2 data source manually. But h2 data source is available by default from BAM-b009 build. Thanks, Krishantha. On Fri, Dec 10, 2010 at 9:42 AM, Prabath Siriwardana prab...@wso2.comwrote: Both ESB and BAM running on different contexts.. Error : Nested Exception:- javax.xml.stream.XMLStreamException: DS Fault Message: Error in opening DBMS connection. Source Data Service:- Name: BAMConfigurationDS Location: /Users/prabath/clients//wso2bam-1.2.0/repository/deployment/server/dataservices/BAMConfigurationDS.dbs Description: N/A Default Namespace: http://ws.wso2.org/dataservice Current Request Name: getServerFromURLAndTenantID Current Params: {tenantID=0, serverURL=https://192.168.2.1:9445/esb} Nested Exception:- java.sql.SQLException: The data source is nonexistent at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.bam.core.client.stub.bamconfigurationds.BAMConfigurationDSStub.getServerFromURLAndTenantID(BAMConfigurationDSStub.java:4833) at org.wso2.carbon.bam.core.client.BAMConfigurationDSClient.getServer(BAMConfigurationDSClient.java:106) ... 34 more [2010-12-10 09:36:53,604] ERROR - Error while adding the new monitored server entry org.apache.axis2.AxisFault: getServerFromURL failed for URL: https://192.168.2.1:9445/esb at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508) at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.bam.mgt.ui.stub.bamconfig.BAMConfigAdminServiceStub.addServer(BAMConfigAdminServiceStub.java:822) at org.wso2.carbon.bam.mgt.ui.client.BAMConfigAdminServiceClient.addServer(BAMConfigAdminServiceClient.java:46) at org.apache.jsp.bam.add_005fserver_jsp._jspService(add_005fserver_jsp.java:217) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117) at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505) at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at
Re: [Carbon-dev] Latest BAM test build
On Thu, Dec 2, 2010 at 4:27 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Thu, Dec 2, 2010 at 12:43 PM, Yumani Ranaweera yum...@wso2.com wrote: Ratha, Could you please check this issue[1]. Its a blocker on BAM activity monitoring using handlers. (NOTE: BAM DB was on oracle) [1] -https://wso2.org/jira/browse/BAM-363 What other issues are there in today's pack? Samisa, I didn't get much time to test today's pack. I was helping Ratha to reproduce and fix early issues. So didn't have for another round of test. Thanks, Krishantha. Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Latest BAM test build
On Fri, Dec 3, 2010 at 4:48 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b005/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/bam/1.2.0-b005/ I don't see any activity details though Activity filter gadget.. But message are stored to BAM DB. Thanks, Krishantha. http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/bam/1.2.0-b005/Please verify the docs as well. Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Latest BAM test build
I cannot use this build to test Activity filter. Hit with the following issue. So I'm waiting for the next build :D [2010-12-01 15:31:43,062] ERROR - Servlet.service() for servlet bridgeservlet threw exception {org.apache.catalina.core.ContainerBase.[carbonEngine].[carbonhost].[/].[bridgeservlet]} org.apache.axis2.databinding.ADBException: Unexpected subelement messageId at org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageId$Factory.parse(MessageId.java:994) at org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageIdList$Factory.parse(MessageIdList.java:490) at org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageIdListE$Factory.parse(MessageIdListE.java:321) at org.wso2.carbon.bam.gauges.ui.stub.bsqd.BAMStatQueryDSStub.fromOM(BAMStatQueryDSStub.java:34716) at org.wso2.carbon.bam.gauges.ui.stub.bsqd.BAMStatQueryDSStub.getMessagesForStatus(BAMStatQueryDSStub.java:23269) at org.wso2.carbon.bam.gauges.ui.BAMStatQueryDSClient.getMessagesForStatus(BAMStatQueryDSClient.java:1197) at org.wso2.carbon.bam.gauges.ui.BAMDataServiceDataProcessor.getMessagesForStatus(BAMDataServiceDataProcessor.java:941) Thanks, Krishantha. On Wed, Dec 1, 2010 at 8:41 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b001/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/bam/1.2.0-b001/ Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] wso2greg 3.5.0 webapps folder is empty
Hi Roberto, Don't worry about empty webapps/ROOT/WEB-INF/plugin. We pick up all bundle jars from /repository/components/plugins directory which we have to refer when making the web app repo. Deployment guide on ESB + Jboss is available at [1]. you can follow the same guide for G-Reg, since we follow same distribution directory structure for all products. Guide on G-Reg 3.0.0 + Jboss [2] will also be helpful. Thanks, Krishantha. [1] http://wso2.org/library/knowledge-base/2010/03/deploying-wso2esb300-jboss510ga [2] http://wso2.org/library/knowledge-base/wso2-governance-registry-3-0-1-deployment-jboss-5-1-0-ga-oracle-10g 2010/11/10 Roberto Mier Escandón rmescan...@gmail.com Hi everybody I'm trying to deploy wso2greg 3.5.0 in a jboss application server, but i see webapps/ROOT/WEB-INF subfolders are almost empty. classes, patches and plugins are completly empty and lib has a few jar libraries. This way i cannot deploy the governance registry, because it isn't there. I've also tried to compile from sources but I'm not able to fill WEB-INF subfolders with distribution plugins I'm lost. I need a way to fill webapps/ROOT/WEB-INF/plugins with the distribution plugins by a maven command or any other valid way. Does anybody know how to do it? Thank you. -- Roberto Mier Escandón. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] How to synchronize SimpleURLRegistry with governance registry?
Hi, You have two options, either you can use G-REG Eclipse plugin which directly support uploading a file system directory into G-REG or write a simple remote registry client using RegistryClientUtils.importToRegistry() function. Please refer to registry filesampleutils sample for more details. Webdav mounting support is already implement in the trunk. Refer to mail thread with the subject Webdav mounting in G-Reg at carbon-dev. You can try out our nightly build and check this functionality. Thanks, Krishantha. On Wed, Sep 29, 2010 at 12:45 PM, Hodchenkov, Paul paul.hodchen...@oxagile.com wrote: Hi! I keep my synapse configuration (sequences, endpoints, etc) in folder. I have configured ESBRegistry in synapse.xml to read entries from this folder. This simplifies the development process. But at production environment I need to upload this folder structure to governance registry db. Is there way to upload file based folder to registry keeping the order of nested folders? Should I write a script? P.S Is it possible to mount a file system folder to registry in read-write mode? So registry will see entries not only from db. Thx! ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.1 RC1 Build
Hi, I found some UI issues while testing G-Reg using IE7. Is there any possibility of fixing them for this release. 1. Unable to add collections - https://wso2.org/jira/browse/REGISTRY-557 Above issue has been fixed by Chanaka and committed to trunk but the fix is not available in 3.0.1 2. Impact Analysis and Resource impact gadgets are empty.I am not able to view anything there. Those gadgets works fine with FF. - https://wso2.org/jira/browse/CARBON-7741 Thanks, Krishantha. On Sun, Sep 5, 2010 at 10:17 PM, Asela Pathberiya as...@wso2.com wrote: Hi All, Please find the 3.0.1 RC1 build of ESB,WSAS,GREG and IS here [1] [1]http://builder.wso2.org/~carbon/releases/carbon/3.0.1/RC1http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/RC1/ Thanks, Asela ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.1 Code Freeze
Hi Senaka, Following issues are still there in alpha3 release. Can you please have a look. IMO, we need to fix them before the release. [1] https://wso2.org/jira/browse/CARBON-7645 - Lifecycle stage monitor is empty [2] https://wso2.org/jira/browse/CARBON-7647 - Impact Analysis gadget doesn't work. Thanks, Krishantha. On Tue, Aug 31, 2010 at 12:46 AM, Prabath Siriwardana prab...@wso2.comwrote: 3.0.1 alpha-3 in QA currently.. Can we do the $subject ? Please reply if we are still fixing any issues to be fixed for 3.0.1... Thanks Regards, - Prabath ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Test automation framework
This is fixed now. We have to run cmd.exe first and tell it to execute ant. After the fix I found that some client processes (sample 13) hang when running all the tests. Suho is currently looking at to the issue. Thanks, Krishantha. On Thu, Aug 12, 2010 at 2:28 PM, Chamara Silva cham...@wso2.com wrote: Automated ESB-samples didn't run in windows platform.please check. Thank you, Regards, Chamara. On Tue, Aug 10, 2010 at 12:27 PM, Suhothayan Sriskandarajah s...@wso2.com wrote: On 29 June 2010 11:37, Samisa Abeysinghe sam...@wso2.com wrote: I am not sure if these names are right. We need a review ASAP, before we proceed further please... Now Thilini and I have successfully automated the testing of ESB Samples. The information on what samples are automated, and the set-up guide to test the Samples are given in a read-me with the source code[0]. The source is now committed to the Component Test Framework[1] [0] https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/esb-sample/read-me.txt [1] https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/ Suho Samisa... On Tue, Jun 29, 2010 at 10:33 AM, Suhothayan Sriskandarajah s...@wso2.com wrote: On 29 June 2010 09:11, Samisa Abeysinghe sam...@wso2.com wrote: Are we using the admin service to talk to the BE and update the changes? I had a look at the code and I cannot seem to locate where this is happening. We need to review the overall approach on how we have done this. The component-test-framework contains several modules Currently we have four of them 1.Core 2.Endpoint 3.Proxy service 4.Sequence The core module look in to aspects like ; 1.Authenticating the user - done by the stub created by codegening the AuthenticationAdmin.wsdl (core/src/test/java/org/wso2/ carbon/test/framework/ComponentsTestCase.java) 2. Stating and stopping Sample Axis2Servers (core/src/test/java/org/wso2/carbon/test/framework/util/server/SampleAxis2Server.java) 3. Invoking Axis2Clients (core/src/test/java/org/wso2/carbon/test/framework/util/client/StockQuoteClient.java) 4. Reading the .property file (core/src/test/java/org/wso2/carbon/test/framework/initTestCase.java) and all the other modules are used to test their appropriate components, using the stubs created by cordgening their appropriate WSDLs I hope this gives some basic idea on who this framework works If we need a review on the overall approach, please let me know a subtable time, so i can arrange a meeting thanks Suho Samisa... On Mon, Jun 28, 2010 at 10:15 AM, Chamara Silva cham...@wso2.com wrote: Sorry i have missed one step.please change the framework.properties in testframework/src/test/resources directory with your settings. regards, Chamara On Mon, Jun 28, 2010 at 10:11 AM, Chamara Silva cham...@wso2.com wrote: yes it's available at, https://svn.wso2.org/repos/wso2/trunk/commons/qa/compoments-test-framework To run this please follow these steps. 1. Download test framework and ESB 2. start esb with sample 0 3. run test framework (mvn clean install) Thanks and Regards Chamara On Mon, Jun 28, 2010 at 10:04 AM, Samisa Abeysinghe sam...@wso2.com wrote: Do we have the code somewhere? Samisa... On Mon, Jun 28, 2010 at 9:59 AM, Chamara Silva cham...@wso2.com wrote: I have finished almost 85% of the proxy services related test cases.i think it covers all the combinations of proxy services.Currently suho continuing sequences and endpoints related test-cases. After review i think we can release it for basic smoke testing. Thank you, Regards, Chamara On Mon, Jun 28, 2010 at 9:48 AM, Samisa Abeysinghe sam...@wso2.com wrote: How is this progressing? We need to do a review of this soon. Samisa... -- Suminda Chamara Silva Senior Software Engineer - QA WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com -- Suminda Chamara Silva Senior Software Engineer - QA WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com -- Suminda Chamara Silva Senior Software Engineer - QA WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org -- Suminda Chamara Silva Senior Software Engineer - QA WSO2 Inc. Mobile: +94 718 302858 blog: http://chamaras.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org
Re: [Carbon-dev] Carbon 3.0.1 Alpha1 build
Hi All, There are two issues with G-Reg dashboard gadget rendering. Please have a look. [1] https://wso2.org/jira/browse/CARBON-7645 - Lifecycle stage monitor is empty [2] https://wso2.org/jira/browse/CARBON-7647 - Impact Analysis gadget doesn't work Thanks, Krishantha. On Mon, Aug 9, 2010 at 6:50 PM, Lahiru Gunathilake lah...@wso2.com wrote: Hi all, Please find the 3.0.1 alpha build of ESB,WSAS,GREG and IS here[1]. Please verify all the bug fixes done to this release is there in these builds, build system is bit tricky since we are just changing some of the bundles only and we are taking rest of the stuff from our repo, so first we need to make sure all the changes are there in the products. [1]http://builder.wso2.org/~carbon/releases/carbon/3.0.1/Alpha1/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/Alpha1/ Thanks Lahiru -- Lahiru Gunathilake Senior Software Engineer - WSO2 Inc. www.wso2.com Email:lah...@wso2.com email%3alah...@wso2.com Blog: www.lahiru.org Mobile: +94716381143 Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Gadet Server Cluster Issue
Hi, As a workaround can you restart the gs2 node and see. AFAIK, restarting will sync permissions on cluster. Thanks, Krishantha. On Fri, Aug 6, 2010 at 4:58 PM, Daniel Callejas Albalate d...@nextret.netwrote: Hi, I have doubt, we have two gadget server (gs1,gs2) working on cluster, all runs well but when I make a new role on, for example, gs1 add the users and set permission and then I go to gs2 , i can see the new role and the users added to the role but the permissions are not set at all. Is there anything I need to set up? Or the permissions are not synchronized never? Thanks Att, Daniel Callejas Albalate NexTReT - eBusiness Solutions http://www.nextret.net Passeig Bonanova, 9. 08022 Barcelona Calle Fortuny, 3 28010 Madrid Tf. (+34) 932 541 530 Fx. (+34) 934 175 062 ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fwd: Help Required -- Impact Data and Lifecycle Data in WSO2 greg 3.5.0
Hi, What is the browser you are using? You have to use the registry path to view the impact analysis data eg : /_system/governance/wsdls/http/www/ecubicle/net/youtubedownloader.asmx.WSDL Lifecycle data gadget visualize LC stages of services which has 'ServiceLifeCycle' assigned. Thanks, Krishantha. On Mon, Jul 19, 2010 at 2:04 PM, Tyrell Perera tyr...@wso2.com wrote: Hi, I'm forwarding this to the carbon-dev mailing list for wider input. Tyrell On Mon, Jul 19, 2010 at 12:40 PM, Sisira P sisir...@tcs.com wrote: Hi, I have installed wso2 3.5.0 recently. I have published some services and am trying to look at the impact analysis data and lifecycle data in the governance dashboard. But I am not able to view anything there. Both these tabs are just blank.Even if I give some wsdl or xsd path in the Path filed and click on 'view' button, nothing comes up. Pls help. Is there any other configuration that I need to perform? Thanks, Sisira Pillarisetty Tata Consultancy Services Discoverer 4th Floor, International Tech Park Ltd, Whitefield Road, Bangalore - 560066,Karnataka India Mailto: sisir...@tcs.com Website: http://www.tcs.com Experience certainty.IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- Tyrell Perera Product Manager - WSO2 Mashup Server, WSO2 Gadget Server WSO2, Inc.; http://www.wso2.com/ Lean Enterprise Middleware http://www.linkedin.com/in/tyrell http://tyrellperera.blogspot.com http://twitter.com/tyrellperera ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev image/gif___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fwd: Help Required -- Impact Data and Lifecycle Data in WSO2 greg 3.5.0
yes you have to install flash on your machine. Thanks, Krishantha. On Mon, Jul 19, 2010 at 6:45 PM, Sisira P sisir...@tcs.com wrote: Hi, I am using IE as the browser. I have used the registry path only for viewing the impact analysis data (/_system/governance/wsdls/http/BETAAPI/ACHINS208/ACHInstructionInquiry.wsdl ), but even then it does not show up anything. I believe this works with flash. Should flash be installed explicitly on my server for this purpose? Any other configuration that I would need to make? Thanks, Sisira Pillarisetty From: Krishantha Samaraweera krishan...@wso2.com To: carbon-dev@wso2.org Cc: sisir...@tcs.com Date: 07/19/2010 03:03 PM Subject: Re: [Carbon-dev] Fwd: Help Required -- Impact Data and Lifecycle Data in WSO2 greg 3.5.0 -- Hi, What is the browser you are using? You have to use the registry path to view the impact analysis data eg : /_system/governance/wsdls/http/www/ecubicle/net/youtubedownloader.asmx.WSDL Lifecycle data gadget visualize LC stages of services which has 'ServiceLifeCycle' assigned. Thanks, Krishantha. On Mon, Jul 19, 2010 at 2:04 PM, Tyrell Perera *tyr...@wso2.com*tyr...@wso2.com wrote: Hi, I'm forwarding this to the carbon-dev mailing list for wider input. Tyrell On Mon, Jul 19, 2010 at 12:40 PM, Sisira P *sisir...@tcs.com*sisir...@tcs.com wrote: Hi, I have installed wso2 3.5.0 recently. I have published some services and am trying to look at the impact analysis data and lifecycle data in the governance dashboard. But I am not able to view anything there. Both these tabs are just blank.Even if I give some wsdl or xsd path in the Path filed and click on 'view' button, nothing comes up. Pls help. Is there any other configuration that I need to perform? Thanks, Sisira Pillarisetty Tata Consultancy Services Discoverer 4th Floor, International Tech Park Ltd, Whitefield Road, Bangalore - 560066,Karnataka India Mailto: *sisir...@tcs.com* sisir...@tcs.com Website: *http://www.tcs.com* http://www.tcs.com/ Experience certainty.IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- Tyrell Perera Product Manager - WSO2 Mashup Server, WSO2 Gadget Server WSO2, Inc.; *http://www.wso2.com/* http://www.wso2.com/ Lean Enterprise Middleware * **http://www.linkedin.com/in/tyrell* http://www.linkedin.com/in/tyrell* **http://tyrellperera.blogspot.com* http://tyrellperera.blogspot.com/* **http://twitter.com/tyrellperera* http://twitter.com/tyrellperera ___ Carbon-dev mailing list* **carbon-...@wso2.org* Carbon-dev@wso2.org* **https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev*https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you image/gif___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC29
Hi Dumindu, Is it possible to get a new BAM build within today with all fixes done so far. Thanks, krishantha. On 7/7/10, Krishantha Samaraweera krishan...@wso2.com wrote: We came across regression issue yesterday [1] and few documentation issues related to release note, Readme etc.. Doc issues have been fixed and Dumindu is working on fixing [1] Thanks, Krishantha. [1] https://wso2.org/jira/browse/BAM-196 - Endpoint stats are duplicating in hourly analytic On Tue, Jul 6, 2010 at 8:15 AM, Dumindu Pallewela dumi...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC29/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC29/ Thanks, Dumindu -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC29
We came across regression issue yesterday [1] and few documentation issues related to release note, Readme etc.. Doc issues have been fixed and Dumindu is working on fixing [1] Thanks, Krishantha. [1] https://wso2.org/jira/browse/BAM-196 - Endpoint stats are duplicating in hourly analytic On Tue, Jul 6, 2010 at 8:15 AM, Dumindu Pallewela dumi...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC29/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC29/ Thanks, Dumindu -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC27
Hi Dumindu, I saw few L1 issue fixes done yesterday. Can we get new BAM build to do some regression tests before the final QA build on 1st July. Thanks, Krishantha. On Thu, Jun 24, 2010 at 2:05 PM, Dumindu Pallewela dumi...@wso2.com wrote: On Thu, Jun 24, 2010 at 11:49 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Is it possible to get a new BAM build. There are some critical issue fixes that we need to verify. http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC27/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC27/ -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC26
Is it possible to get a new BAM build. There are some critical issue fixes that we need to verify. Thanks, Krishantha. On Mon, Jun 21, 2010 at 6:37 PM, Dumindu Pallewela dumi...@wso2.com wrote: Updated the RC26 build with latest fixes. http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26.1/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26.1/ Thanks, Dumindu. On Mon, Jun 21, 2010 at 2:45 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Thanks for the build Samisa. Seems like some fixes are not there in the build. Fixes done for reporting component and dashboard gadgets are not available. May be you forgot to update those components [?] Thanks, Krishantha. On Mon, Jun 21, 2010 at 8:05 AM, Samisa Abeysinghe sam...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/ Samisa... On Thu, Jun 17, 2010 at 4:40 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Dumindu, Is it possible to get a new BAM build. There are several fixes that we need to verify. Thanks, Krishantha. On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela dumi...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC25/ Thanks, Dumindu. -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev 338.png___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC26
Thanks for the build Samisa. Seems like some fixes are not there in the build. Fixes done for reporting component and dashboard gadgets are not available. May be you forgot to update those components [?] Thanks, Krishantha. On Mon, Jun 21, 2010 at 8:05 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/Samisa... On Thu, Jun 17, 2010 at 4:40 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Dumindu, Is it possible to get a new BAM build. There are several fixes that we need to verify. Thanks, Krishantha. On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela dumi...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC25/ Thanks, Dumindu. -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev 338.png___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC25
Hi Dumindu, Is it possible to get a new BAM build. There are several fixes that we need to verify. Thanks, Krishantha. On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela dumi...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC25/ Thanks, Dumindu. -- Dumindu Pallewela WSO2 | Lean . Enterprise . Middleware | http://wso2.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - 4RC24
Hi Dumindu, Will it be possible to provide us a new BAM pack. So we can verify recent fixes for high priority cases and continue testing. Thanks, Krishantha. On Tue, Jun 8, 2010 at 8:42 AM, Milinda Pathirage mili...@wso2.com wrote: Fixed some issue with docs link and uploaded packs again. Now BAM also available in the 4RC24 directory. On Mon, Jun 7, 2010 at 11:07 PM, Milinda Pathirage mili...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC2http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC23/ 4/ Fixed some issues in simple axis server configuration files used in BPEL samples and fixed doc link in product.xml. Thanks Milinda -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC20
Hi Ratha, On Thu, Jun 3, 2010 at 11:00 AM, ratha rat...@wso2.com wrote: Hi Krishantha, BAM -63 is fixed already and works in my machine well.(Ruwani which RC build u r using?, It should work in RC-18 and later builds.). We are using RC20 build. Thanks, Krishantha. BAM-62 , i don't know wht happened, but it was working earlier and we did a setup in ozone. Anyway i'll look into that. Thanks. -Ratha. Krishantha Samaraweera wrote: Hi Dumindu, Still we couldn't get mediation stats working. Issue seems to be with mediation stat data publisher. Mediation stat publishing is one of the main functionality of BAM and we are struck due to below mentioned blockers. Can you please look into the issues ASAP. Please refer to [1] [2] for issue details Thanks, Krishantha. [1] https://wso2.org/jira/browse/BAM-62 - Mediation stats are not publishing [2] https://wso2.org/jira/browse/BAM-63 - Installation of the feature ' WSO2 Carbon - BAM Mediation Statistics Data Publisher Feature' gives errors On Wed, Jun 2, 2010 at 3:48 PM, Milinda Pathirage mili...@wso2.com mailto:mili...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC20/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC20/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC20/ Thanks Milinda -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org mailto:Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC15
Thanks Sameera for the fix. I installed BAM mediation publishers successfully. But got the following exception when restarting the server. When I login to admin console, error saying Permission issue in Menu item bam_data_publisher_mediation_statistics_menu is printed in the console. Please refer to [1] for error details. org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.annotation.processing; version=0.0.0 at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:307) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:108) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:129) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:143) at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) Thanks, Krishantha [1]http://pastebin.org/278751 On Tue, May 25, 2010 at 5:09 PM, Sameera Jayasoma same...@wso2.com wrote: This is fixed please try now. Thanks Sameera On Mon, May 24, 2010 at 11:14 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, I added p2-repo though feature management page and once I check org.wso2.carbon.bam.data.publisher.mediationstats.feature.group is not available in available feature list. Also, tried with command line feature installation and got the following error when try to install above feature group. It looks like the feature group hasn't been created properly. I checked again with provlg command and unable find any related entry. osgi provinstall org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0 installation failed org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Installable unit not found: org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0 Repositories searched: file:/opt/esb/wso2esb-3.0.0/repository/components/configuration/org.eclipse.osgi/bundles/98/data/listener_1925729951/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/p2-repo/ at org.eclipse.equinox.internal.p2.console.ProvisioningHelper.install(ProvisioningHelper.java:249) at org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provinstall(ProvCommandProvider.java:136) 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.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC15
Hi Samisa, On Mon, May 24, 2010 at 4:14 PM, Samisa Abeysinghe sam...@wso2.com wrote: BAM packs are now available. From where I can get BAM publishers. I don't see them in the p2-repo. Thanks, Krishantha. Samisa... On Mon, May 24, 2010 at 3:43 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Mon, May 24, 2010 at 3:32 PM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/ Note that, BAM packs are not there, as I was hut with a build break with BAM. Samisa... Samisa... On Thu, May 13, 2010 at 10:19 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC14/ Thanks, Samisa... On Wed, May 12, 2010 at 2:55 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC13/ On Sat, May 8, 2010 at 12:06 PM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC12/ I hope we will be able to release BRS, GS and MS with these packs. Please send an update when smoke tests are completed for each pack. Rather than waiting till all are complete, lets release whatever becomes ready to go. Thanks, Samisa... -- blog: http://samisa-abeysinghe.blogspot.com/ Samisa... -- blog: http://samisa-abeysinghe.blogspot.com/ -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC9
Hi, Feature management UI crashed with IBM JDK 1.5 [1] and the issue has been already fixed and verified. Thanks, Krishantha. [1] https://wso2.org/jira/browse/CARBON-7349 On Tue, Apr 27, 2010 at 8:44 AM, Samisa Abeysinghe sam...@wso2.com wrote: Locally available at http://10.100.1.43/~carbon/releases/carbon/3.0.0/4RC9/http://10.100.1.43/%7Ecarbon/releases/carbon/3.0.0/4RC9/ http://10.100.1.43/%7Ecarbon/releases/carbon/3.0.0/4RC9/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC9/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC9/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC9/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta24/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta24/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta24/ Samisa... On Fri, Apr 23, 2010 at 9:08 AM, Samisa Abeysinghe sam...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC8/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC8/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta23/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta23/ On Thu, Apr 22, 2010 at 9:18 AM, Samisa Abeysinghe sam...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC7/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC7/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta22/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta22/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta22/ Samisa... -- blog: http://samisa-abeysinghe.blogspot.com/ -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Pre-Beta build 09
On Thu, Mar 18, 2010 at 5:31 AM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta09/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta09/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta09/ Samisa... Hi All, G-Reg Advance/Activities search are still broken. And some privileges such as metadata, community features, service config are missing in the permission tree. [2010-03-18 10:15:38,012] ERROR - Servlet.service() for servlet bridgeservlet threw exception org.apache.jasper.JasperException: /search/advancedSearch-ajaxprocessor.jsp(142,8) Unable to load tag handler class org.wso2.carbon.ui.taglibs.ResourcePaginator for tag carbon:resourcePaginator at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196) at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573) at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1802) at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069) at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1376) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573) at org.apache.jasper.compiler.Parser.parse(Parser.java:126) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) Thanks, Krishantha. On Wed, Mar 17, 2010 at 5:46 AM, Samisa Abeysinghe sam...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta08/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta08/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta08/ Samisa... On Tue, Mar 16, 2010 at 5:08 PM, Samisa Abeysinghe sam...@wso2.comwrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta07/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta07/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta07/I did not call it beta1, as there is one more major branching change to take place. Also, machup server is broken. Please run some smoke tests and let me know if anything is broken ASAP. Samisa... -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Pre-Beta build 07
I see the following error in G-REG startup console. [2010-03-16 19:14:25,191] ERROR - Error building service from bundle : Symbolic Name: org.wso2.carbon.registry.handler,Bundle Version: 3.0.0.SNAPSHOT, ID: 147 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.wso2.carbon.registry.handler.services.HandlerManagementService.clinit(HandlerManagementService.java:37) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140) at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:504) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:386) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:207) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:97) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:83) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:360) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:208) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:100) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... 16 more Thanks, Krishantha. On Tue, Mar 16, 2010 at 5:08 PM, Samisa Abeysinghe sam...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta07/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta07/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta07/I did not call it beta1, as there is one more major branching change to take place. Also, machup server is broken. Please run some smoke tests and let me know if anything is broken ASAP. Samisa... ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Pre-Beta build 04
On Mon, Mar 8, 2010 at 2:56 PM, Samisa Abeysinghe sam...@wso2.com wrote: Packs are here: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta04/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta04/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta04/Note that some packs are not available in here, due to build failures. Will be available in 05 build. I see the same G-Reg startup error again. please refer to [1] Thanks, Krishantha. [1] http://pastebin.com/ieq6KASn Samisa... On Mon, Mar 8, 2010 at 5:18 AM, Samisa Abeysinghe sam...@wso2.com wrote: Packs are here: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta03/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta03/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta03/ Samisa... On Fri, Mar 5, 2010 at 6:02 AM, Samisa Abeysinghe sam...@wso2.comwrote: Packs available: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta02/http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta02/ http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/2PreBeta02/ Samisa... -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Pre-Beta build 03
Hi All, I see following exception on G-Reg server startup console. [2010-03-08 10:26:29,907] ERROR - Could not initialize custom handlers. Caused by: org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler.setSchemaMediaType(java.lang.String) java.lang.NoSuchMethodException: org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler.setSchemaMediaType(java.lang.String) at java.lang.Class.getMethod(Class.java:1605) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor$HandlerDefinitionObject.invoke(RegistryConfigurationProcessor.java:861) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.buildHandler(RegistryConfigurationProcessor.java:533) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.initializeHandlers(RegistryConfigurationProcessor.java:486) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.populateRegistryConfig(RegistryConfigurationProcessor.java:314) at org.wso2.carbon.registry.core.config.RegistryContext.init(RegistryContext.java:371) at org.wso2.carbon.registry.core.config.RegistryContext.getBaseInstance(RegistryContext.java:267) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.getEmbeddedRegistryService(RegistryCoreServiceComponent.java:314) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.buildRegistryService(RegistryCoreServiceComponent.java:268) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:86) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182) at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:393) at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:176) at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:786) at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:753) at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:88) at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70) [2010-03-08 10:26:29,911] ERROR - Unable to get instance of the registry context org.wso2.carbon.registry.core.exceptions.RegistryException: Could not initialize custom handlers. Caused by: org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler.setSchemaMediaType(java.lang.String) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.initializeHandlers(RegistryConfigurationProcessor.java:491) at org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.populateRegistryConfig(RegistryConfigurationProcessor.java:314) at org.wso2.carbon.registry.core.config.RegistryContext.init(RegistryContext.java:371) at org.wso2.carbon.registry.core.config.RegistryContext.getBaseInstance(RegistryContext.java:267) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.getEmbeddedRegistryService(RegistryCoreServiceComponent.java:314) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.buildRegistryService(RegistryCoreServiceComponent.java:268) at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:86) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560) at
[Carbon-dev] Carbon 3.0.0 class loading issues [was Re: -Dsetup is not working]
Hi All, I got the felling that driver jars pick up problem popped due to some class loading issues in carbon 3.0.0 framework. The same issue occurs in pre-beta2 also. Thanks, Krishantha. On Fri, Feb 26, 2010 at 4:04 AM, Samisa Abeysinghe sam...@wso2.com wrote: On Thu, Feb 25, 2010 at 11:57 PM, Senaka Fernando sen...@wso2.com wrote: Hi Krishantha, This works at times and don't at times isn't it? Its not an issue with -Dsetup, but an issue in the way in how we place the jars on the classpath. hmmm. This sounds like a serious bug to me. Please try to get to the bottom of the problem soon. Samisa... If it doesn't work, it shouldn't work at all. Sameera, what is the correct answer regarding where to place these driver jars? Thanks, Senaka. On Thu, Feb 25, 2010 at 10:59 PM, Krishantha Samaraweera krishan...@wso2.com wrote: the same Issue seems to be there in Alpha2 build. I tried to start the server with oracle and got the same error. Placing driver jars at /lib/endorsed doesn't work either. Thanks, Krishantha. On Wed, Feb 24, 2010 at 3:04 PM, Charitha Kankanamge chari...@wso2.com wrote: Apparently this seems to be an issue with loading jars placed at repository/components/lib directory. When I copied the driver to lib/endorsed, I was able to connect to registry DB. Please have a look. Regards Charitha Charitha Kankanamge WSO2 Inc. http://wso2.org email: chari...@wso2.com cell: +94 718 359 265 blog: http://charithaka.blogspot.com On Wed, Feb 24, 2010 at 2:59 PM, Charitha Kankanamge chari...@wso2.com wrote: I cannot connect to registry DB even after setting up DB using mysql.sql script. I always get Cannot load JDBC driver class 'com.mysql.jdbc.Driver' error at the server startup. mysql driver (mysql-connector-java-5.1.7-bin.jar) was placed at repository/components/lib. ERROR - Cannot start User Manager Core bundle org.wso2.carbon.user.core.UserStoreException: Database Error - Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:151) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:132) at org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:94) at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:34) at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:50) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:141) ... 17 more Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169
Re: [Carbon-dev] Registry Deadlock Encountered
Hi All, I haven't seen the same dead lock situation when running with mysql and H2. The situation may be related oracle ojdbc14.jar Thanks, Krishantha. On Mon, Mar 1, 2010 at 12:05 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, Dead lock detected again with oracle even though we didn't get any dead locks with H2, after the fixes done on Friday evening. I got the following dead lock situation when running worker1 class with 1000 iterations and 40 concurrent users. Increasing default max wait time didn't help for me. [2010-03-01 00:22:53,466] ERROR - A SQLException error has occurred when trying to close result set or prepared statement java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.deleteContentStream(ResourceDAO.java:660) at org.wso2.carbon.registry.core.jdbc.dao.ResourceVersionDAO.versionResource(ResourceVersionDAO.java:1052) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createVersionForResource(VersionRepository.java:191) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createSnapshot(VersionRepository.java:77) at org.wso2.carbon.registry.core.jdbc.Repository.deleteSubTree(Repository.java:473) at org.wso2.carbon.registry.core.jdbc.Repository.delete(Repository.java:403) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:805) at org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:625) at org.wso2.carbon.registry.app.RegistryAdapter.processDeleteRequest(RegistryAdapter.java:602) at org.wso2.carbon.registry.app.RegistryAdapter.extensionRequest(RegistryAdapter.java:124) at org.apache.abdera.protocol.server.impl.AbstractProvider.processExtensionRequest(AbstractProvider.java:196) at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:137) at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool
Re: [Carbon-dev] Registry Deadlock Encountered
On Mon, Mar 1, 2010 at 8:49 PM, Krishantha Samaraweera krishan...@wso2.comwrote: On Mon, Mar 1, 2010 at 8:32 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Mon, Mar 1, 2010 at 7:25 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi All, I haven't seen the same dead lock situation when running with mysql and H2. The situation may be related oracle ojdbc14.jar Have you had a chance to look at MSSQL? Nope, I do not have a MSSQL server instance on my machine. I will run the perf tests with MSSQL by tomorrow using QA test machine. Dead lock detected with MSSQL as well. Please refer to [1] for details. [2010-03-02 10:20:05,642] ERROR - Failed to update the content id: /test/thread_T3/resourceZ0. Transaction (Process ID 64) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transact ion. java.sql.SQLException: Transaction (Process ID 64) was deadlocked on lock resources with another process and has been ch osen as the deadlock victim. Rerun the transaction. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631) at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:505) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.updateContentId(ResourceDAO.java:1276) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.add(ResourceDAO.java:575) at org.wso2.carbon.registry.core.jdbc.Repository.add(Repository.java:944) at org.wso2.carbon.registry.core.jdbc.Repository.put(Repository.java:286) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:713) at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:599) at org.wso2.carbon.registry.app.RegistryAdapter.postEntry(RegistryAdapter.java:1184) at org.wso2.carbon.registry.app.RegistryAdapter.postEntry(RegistryAdapter.java:52) at Thanks, Krishantha. [1] http://pastebin.com/rTgNxVPk Thanks, Krishantha. Samisa... ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Registry Deadlock Encountered
On Mon, Mar 1, 2010 at 6:29 AM, Sumedha Rubasinghe sume...@wso2.com wrote: Krishantha, How many iterations were completed? Not more than 50 iterations. Thanks, Krishantha. /sumedha On Mon, Mar 1, 2010 at 12:05 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, Dead lock detected again with oracle even though we didn't get any dead locks with H2, after the fixes done on Friday evening. I got the following dead lock situation when running worker1 class with 1000 iterations and 40 concurrent users. Increasing default max wait time didn't help for me. [2010-03-01 00:22:53,466] ERROR - A SQLException error has occurred when trying to close result set or prepared statement java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.deleteContentStream(ResourceDAO.java:660) at org.wso2.carbon.registry.core.jdbc.dao.ResourceVersionDAO.versionResource(ResourceVersionDAO.java:1052) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createVersionForResource(VersionRepository.java:191) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createSnapshot(VersionRepository.java:77) at org.wso2.carbon.registry.core.jdbc.Repository.deleteSubTree(Repository.java:473) at org.wso2.carbon.registry.core.jdbc.Repository.delete(Repository.java:403) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:805) at org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:625) at org.wso2.carbon.registry.app.RegistryAdapter.processDeleteRequest(RegistryAdapter.java:602) at org.wso2.carbon.registry.app.RegistryAdapter.extensionRequest(RegistryAdapter.java:124) at org.apache.abdera.protocol.server.impl.AbstractProvider.processExtensionRequest(AbstractProvider.java:196) at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:137) at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81
Re: [Carbon-dev] -Dsetup is not working
the same Issue seems to be there in Alpha2 build. I tried to start the server with oracle and got the same error. Placing driver jars at /lib/endorsed doesn't work either. Thanks, Krishantha. On Wed, Feb 24, 2010 at 3:04 PM, Charitha Kankanamge chari...@wso2.com wrote: Apparently this seems to be an issue with loading jars placed at repository/components/lib directory. When I copied the driver to lib/endorsed, I was able to connect to registry DB. Please have a look. Regards Charitha Charitha Kankanamge WSO2 Inc. http://wso2.org email: chari...@wso2.com cell: +94 718 359 265 blog: http://charithaka.blogspot.com On Wed, Feb 24, 2010 at 2:59 PM, Charitha Kankanamge chari...@wso2.com wrote: I cannot connect to registry DB even after setting up DB using mysql.sql script. I always get Cannot load JDBC driver class 'com.mysql.jdbc.Driver' error at the server startup. mysql driver (mysql-connector-java-5.1.7-bin.jar) was placed at repository/components/lib. ERROR - Cannot start User Manager Core bundle org.wso2.carbon.user.core.UserStoreException: Database Error - Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:151) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:132) at org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:94) at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:34) at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:50) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:141) ... 17 more Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130) ... 19 more Charitha Kankanamge WSO2 Inc. http://wso2.org email: chari...@wso2.com cell: +94 718 359 265 blog: http://charithaka.blogspot.com On Tue, Feb 23, 2010 at 10:56 AM, Senaka Fernando sen...@wso2.com wrote: It has been working for me since yesterday. I wonder what went wrong within a day?? Thanks, Senaka. On Tue, Feb 23, 2010 at 7:48 AM, Sumedha Rubasinghe sume...@wso2.com wrote: Folks, Looks like -Dsetup is no longer working on trunk. Has anyone touched the started up parameter area recently? /sumedha ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Senaka Fernando Software Engineer WSO2 Inc. E-mail: senaka AT wso2.com; Mobile: +94 77 322 1818 http://www.wso2.com/ - Lean . Enterprise . Middleware
Re: [Carbon-dev] Registry Deadlock Encountered
Since it will take time to setup perf tests with embedded registry, APP based perf tests have been executed with alpha2 build using Oracle. Following dead lock situation occurred just after starting the worker1 class with 500 iterations and 20 concurrent users. Please refer to [1] detail error log. [2010-02-25 22:39:25,171] ERROR - A SQLException error has occurred when trying to close result set or prepared statement java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.deleteContentStream(ResourceDAO.java:658) at org.wso2.carbon.registry.core.jdbc.dao.ResourceVersionDAO.versionResource(ResourceVersionDAO.java:1052) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createVersionForResource(VersionRepository.java:191) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createSnapshot(VersionRepository.java:77) at org.wso2.carbon.registry.core.jdbc.Repository.deleteSubTree(Repository.java:471) at org.wso2.carbon.registry.core.jdbc.Repository.delete(Repository.java:403) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:805) at org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:625) at org.wso2.carbon.registry.app.RegistryAdapter.processDeleteRequest(RegistryAdapter.java:602) at org.wso2.carbon.registry.app.RegistryAdapter.extensionRequest(RegistryAdapter.java:124) at org.apache.abdera.protocol.server.impl.AbstractProvider.processExtensionRequest(AbstractProvider.java:196) at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:137) at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Thanks, Krishantha. [1] http://pastebin.com/Wi5RADvm On Wed, Feb 24, 2010 at 1:08 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Wed, Feb 24, 2010 at 12:18 PM, Dimuthu Gamage dimu...@wso2.com wrote: +1
Re: [Carbon-dev] Registry Deadlock Encountered
) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) [2010-02-26 00:31:49,743] ERROR - Failed to add resource to path /tes Thanks, Krishantha. [1] http://pastebin.com/Ji6zTqMP Thanks, Senaka. On Thu, Feb 25, 2010 at 11:16 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Since it will take time to setup perf tests with embedded registry, APP based perf tests have been executed with alpha2 build using Oracle. Following dead lock situation occurred just after starting the worker1 class with 500 iterations and 20 concurrent users. Please refer to [1] detail error log. [2010-02-25 22:39:25,171] ERROR - A SQLException error has occurred when trying to close result set or prepared statement java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.wso2.carbon.registry.core.jdbc.dao.ResourceDAO.deleteContentStream(ResourceDAO.java:658) at org.wso2.carbon.registry.core.jdbc.dao.ResourceVersionDAO.versionResource(ResourceVersionDAO.java:1052) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createVersionForResource(VersionRepository.java:191) at org.wso2.carbon.registry.core.jdbc.VersionRepository.createSnapshot(VersionRepository.java:77) at org.wso2.carbon.registry.core.jdbc.Repository.deleteSubTree(Repository.java:471) at org.wso2.carbon.registry.core.jdbc.Repository.delete(Repository.java:403) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:805) at org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:625) at org.wso2.carbon.registry.app.RegistryAdapter.processDeleteRequest(RegistryAdapter.java:602) at org.wso2.carbon.registry.app.RegistryAdapter.extensionRequest(RegistryAdapter.java:124) at org.apache.abdera.protocol.server.impl.AbstractProvider.processExtensionRequest(AbstractProvider.java:196) at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:137) at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
Re: [Carbon-dev] Error when adding a wsdl to Registry
Hi Tharindu, Are you trying with trunk build??. I don't see the same issue with M2 build. Thanks, Krishantha. On Wed, Feb 17, 2010 at 3:19 PM, Tharindu Mathew thari...@wso2.com wrote: This happens even without a wsdl. Regards, Tharindu On Wed, Feb 17, 2010 at 3:12 PM, Tharindu Mathew thari...@wso2.com wrote: I get the following error when I try to add a service with the following wsdl: http://soamoa.org:9292/artistRegistry?WSDL [2010-02-17 15:07:36,529] ERROR - org.wso2.carbon.registry.core.config.RegistryContext.getServicepath()Ljava/lang/String; java.lang.reflect.InvocationTargetException 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:592) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:171) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:145) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NoSuchMethodError: org.wso2.carbon.registry.core.config.RegistryContext.getServicepath()Ljava/lang/String; at org.wso2.carbon.governance.services.services.AddServicesService.getServicePath(AddServicesService.java:193) ... 33 more [2010-02-17 15:07:36,583] ERROR - Servlet.service() for servlet bridgeservlet threw exception org.apache.axis2.AxisFault: org.wso2.carbon.registry.core.config.RegistryContext.getServicepath()Ljava/lang/String; at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.governance.services.ui.AddServicesServiceStub.getServicePath(AddServicesServiceStub.java:1339) at org.wso2.carbon.governance.services.ui.clients.AddServicesServiceClient.getServicePath(AddServicesServiceClient.java:81) at org.apache.jsp.services.add_005fservice_005fajaxprocessor_jsp._jspService(add_005fservice_005fajaxprocessor_jsp.java:64) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at
Re: [Carbon-dev] Carbon 2.0.3 RC3 packs for testing
Hi All, BAM and G-Reg packs can be released. Thanks, Krishantha. On Thu, Jan 28, 2010 at 7:25 PM, Asela Pathberiya as...@wso2.com wrote: Hi, BPS pack is also ready to release. Thanx, Asela On Thu, Jan 28, 2010 at 4:16 PM, Yumani Ranaweera yum...@wso2.com wrote: Hi, MS and GS packs also can be released. Thanks, Yumani On Thu, Jan 28, 2010 at 3:24 PM, Evanthika Amarasiri evanth...@wso2.comwrote: Hi, The ESB packs can be released now. Thanks, Evanthika On Thu, Jan 28, 2010 at 10:34 AM, Lahiru Gunathilake lah...@wso2.comwrote: Hi Charitha Link is wrong, I have sent the link like this [3] [3]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC3/p2-repo/http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC3/p2-repo/ Please refer that as the p2-repo location. Lahiru On Thu, Jan 28, 2010 at 10:21 AM, Charitha Kankanamge chari...@wso2.com wrote: Folks, I'm getting the following error when trying to add P2 artifact repo. Anyone else got this error? osgi provaddartifactrepo http://builder.wso2.org/~carbon/releases/core/RC3http://builder.wso2.org/%7Ecarbon/releases/core/RC3 java.lang.UnsupportedOperationException: Repository not modifiable: http://builder.wso2.org/~carbon/releases/core/RC3http://builder.wso2.org/%7Ecarbon/releases/core/RC3 at org.eclipse.equinox.internal.provisional.spi.p2.repository.AbstractRepository.assertModifiable(AbstractRepository.java:54) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.save(SimpleArtifactRepository.java:885) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.save(SimpleArtifactRepository.java:881) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.init(SimpleArtifactRepository.java:302) at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.create(SimpleArtifactRepositoryFactory.java:123) at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.factoryCreate(ArtifactRepositoryManager.java:55) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.doCreateRepository(AbstractRepositoryManager.java:272) at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.createRepository(ArtifactRepositoryManager.java:48) at org.eclipse.equinox.internal.p2.console.ProvisioningHelper.addArtifactRepository(ProvisioningHelper.java:86) at org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provaddartifactrepo(ProvCommandProvider.java:104) 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.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224) at java.lang.Thread.run(Thread.java:619) Charitha Kankanamge WSO2 Inc. http://wso2.org email: chari...@wso2.com cell: +94 718 359 265 blog: http://charithaka.blogspot.com On Wed, Jan 27, 2010 at 8:10 AM, Samisa Abeysinghe sam...@wso2.comwrote: On Wed, Jan 27, 2010 at 8:07 AM, Lahiru Gunathilake lah...@wso2.comwrote: On Tue, Jan 26, 2010 at 11:14 AM, Samisa Abeysinghe sam...@wso2.com wrote: So what are the products being re-packed. I can see fixes in bps samples and some of the commits to the Data Services Distribution ...I can build those two products only, so that we can consider other packs as final packs of the 2.0.3 release .. or I can build all the products from the scratch and give RC4 all together. Please build only DS and BPS BTW ESB build is having release date as 22nd which is manually setting, anyone fixed that issue.. ? This is fine, we can live with this. Samisa... Lahiru Samisa... On Tue, Jan 26, 2010 at 8:32 AM, Lahiru Gunathilake lah...@wso2.com wrote: Will repack the products which are having fixes. Please update once you fix these issues. Lahiru On Tue, Jan 26, 2010 at 2:49 AM, Samisa Abeysinghe sam...@wso2.com wrote: It is time to repack only those products that are broken. Lahiru, please note. Samisa... On Mon, Jan 25, 2010 at 10:40 PM, Milinda Pathirage mili...@wso2.com wrote: I found out that this issue is caused by wrong configuration information on sample BPEL package use with WSO2 BPS. I'll fix the sample ASAP. Building BPS product is enough for this change.
Re: [Carbon-dev] Carbon 2.0.3 RC3 packs for testing
The release date of G-Reg is mentioned as 24th and in BAM it is 22nd. Thanks, Krishantha. On Mon, Jan 25, 2010 at 11:03 AM, Yumani Ranaweera yum...@wso2.com wrote: Hi, The date in the release notes for GS and MS appears as 24th Jan. Shouldn't this be 25th Jan? Thanks, Yumani On Mon, Jan 25, 2010 at 10:54 AM, Samisa Abeysinghe sam...@wso2.comwrote: Unless a blocker is hit, can we consider these as final packs. Samisa... On Mon, Jan 25, 2010 at 10:07 AM, Lahiru Gunathilake lah...@wso2.comwrote: [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC3/p2-repo/http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC3/p2-repo/ Lahiru On Mon, Jan 25, 2010 at 10:05 AM, Lahiru Gunathilake lah...@wso2.comwrote: Hi all, Please find the RC3 build packs here[1] and qa-p2-repo[2]. [1]http://builder.wso2.org/~carbon/releaseshttp://builder.wso2.org/%7Ecarbon/releases [2]http://builder.wso2.org/~carbon/releases/core/RC3http://builder.wso2.org/%7Ecarbon/releases/core/RC3 Regards Lahiru -- Lahiru Gunathilake Software Engineer - WSO2 Inc. -- Lahiru Gunathilake Software Engineer - WSO2 Inc. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Samisa Abeysinghe Director, Engineering - WSO2 Inc. http://www.wso2.com/ - lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Yumani Ranaweera WSO2, Inc. - http://wso2.org Email : yum...@wso2.com Cell: +94 077 7795242 Blog : http://yumani.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon 2.0.3 RC2 packs for Testing
Hi all, I got another issue with BAM + Oracle. Please see [1] Thanks, Krishantha. [1] https://wso2.org/jira/browse/BAM-19 - Activity stats not available with oracle. - ORA-00979: not a GROUP BY expression On Fri, Jan 22, 2010 at 4:52 PM, Lahiru Gunathilake lah...@wso2.com wrote: Hi all, After going through this mail thread I found few of the issues which wasn't replied like fixed or won't fixed.. So please have a look and if it's related to you please reply telling whether you have fixed or not. - Context sensitive help still contains obsolete copyright, 2008-2009. Please update it in all the packs. - License file need be updated - Note that, training section is no longer there. - Update support section of WSAS README.txt with the content given by Hasmin, Also, remove the Training section from README.txt. - -IS- - The release note within the bin distribution needs to changed according to new format. Here : - - the new feature list need to appear before the key feature list. - - Get Involved section is missing - - Known Issues section is missing. - - The 'Get Involved' section in new format is appearing as 'Reporting Problems'. Sameera are you done with WSAS changes, not exactly the WSAS docs changes? Thilina are you done with the above mentioned IS fixes? Most of the above changes are not product specific but someone has fixed these please reply to the thread so that I can confirmed that all the minor fixes are done and can start the build. Lahiru On Fri, Jan 22, 2010 at 4:25 PM, Sameera Jayasoma same...@wso2.comwrote: Issues with WSAS docs are also fixed. Sameera On Fri, Jan 22, 2010 at 4:12 PM, Hiranya Jayathilaka hiranya...@gmail.com wrote: Problems reported regarding the ESB docs are fixed. Thanks, Hiranya On Fri, Jan 22, 2010 at 4:04 PM, Asela Pathberiya as...@wso2.comwrote: Hi Lahiru, There must be an incomplete build of the ODE component ( https://wso2.org/jira/browse/CARBON-5859 jira is not fixed). Please have look. Thanx, Asela. On Fri, Jan 22, 2010 at 9:21 AM, Lahiru Gunathilake lah...@wso2.comwrote: Hi all, Please find the carbon 2.0.3 RC2 release packs in here [1] and qa-p2-repo at [2]. [1]http://builder.wso2.org/~carbon/releaseshttp://builder.wso2.org/%7Ecarbon/releases [2]http://builder.wso2.org/~carbon/releases/carbon/2.0.3/RC2/p2-repo/http://builder.wso2.org/%7Ecarbon/releases/carbon/2.0.3/RC2/p2-repo/ Regards Lahiru -- Lahiru Gunathilake Software Engineer - WSO2 Inc. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Hiranya Jayathilaka Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Lahiru Gunathilake Software Engineer - WSO2 Inc. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev