Re: [Carbon-dev] Build Failure in DSS
Hi Pradeep, Thank you for the instructions, Shelan is looking into this. Cheers, Anjana. On Sun, Dec 11, 2011 at 4:01 PM, Pradeep Fernando prad...@wso2.com wrote: Hi Anjana, you have to check the generated manifests to find out what exactly happened. you will find a .tmpXXX file inside p2-profilegen/target. run this shell script against the jar found inside those. then search for that weird string within MANIFEST files( find . iname MANIFEST.MF | xargs grep ..) script for unzipping every jar file. ls -1 *.jar filelist for filename in `cat filelist` do unzip $filename -d temp mv temp unzipped/$filename rm -rf temp/* done hth, --Pradeep ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Abdera test failures in trunk
This test failure is still there.. Can someone please fix this? Thanks, ~Isuru On Tue, Oct 25, 2011 at 4:28 PM, Afkham Azeez az...@wso2.com wrote: INFO] Surefire report directory: /Users/azeez/projects/wso2/org/trunk/carbon2/dependencies/abdera/parser/target/surefire-reports --- T E S T S --- Running org.apache.abdera.test.parser.EncodingTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.793 sec Running org.apache.abdera.test.parser.ServiceDocumentTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec Running org.apache.abdera.test.parser.stax.AtomConformanceTest Tests run: 5, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.448 sec FAILURE! Running org.apache.abdera.test.parser.stax.ConcurrencyTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 sec Running org.apache.abdera.test.parser.stax.EntryLinkTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.386 sec FAILURE! Running org.apache.abdera.test.parser.stax.FeedParserTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 sec Running org.apache.abdera.test.parser.stax.FeedValidatorTest -- *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* ___ 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] Removing the qpid-client library from products
Currently qpid-client library will be installed into each product as part of the CSG feature. I am in the process of re-factoring the CSG component in trunk such that it will not depend on JMS, so on qpid-client library. So I am going to remove the qpid-client library as well from each of the product. Is there any components/features that depends on the qpid-client jar ? I noticed that MB samples depend on this library so it should be fixed to package the orbit bundle. Do let me know if you have any concerns. Rajika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Removing the qpid-client library from products
Please don't commit this to the trunk now since it will break the builds. On Mon, Dec 12, 2011 at 2:24 PM, Rajika Kumarasiri raj...@wso2.com wrote: Currently qpid-client library will be installed into each product as part of the CSG feature. I am in the process of re-factoring the CSG component in trunk such that it will not depend on JMS, so on qpid-client library. So I am going to remove the qpid-client library as well from each of the product. Is there any components/features that depends on the qpid-client jar ? I noticed that MB samples depend on this library so it should be fixed to package the orbit bundle. Do let me know if you have any concerns. Rajika ___ 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...@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* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Removing the qpid-client library from products
I am not going to commit anything. I wanted to know if anybody has any concern regarding removing the qpid-client library in advance. Rajika On Mon, Dec 12, 2011 at 2:26 PM, Afkham Azeez az...@wso2.com wrote: Please don't commit this to the trunk now since it will break the builds. On Mon, Dec 12, 2011 at 2:24 PM, Rajika Kumarasiri raj...@wso2.comwrote: Currently qpid-client library will be installed into each product as part of the CSG feature. I am in the process of re-factoring the CSG component in trunk such that it will not depend on JMS, so on qpid-client library. So I am going to remove the qpid-client library as well from each of the product. Is there any components/features that depends on the qpid-client jar ? I noticed that MB samples depend on this library so it should be fixed to package the orbit bundle. Do let me know if you have any concerns. Rajika ___ 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...@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* ___ 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 at Trunk\dependencies\wss4j Failure
You need to patch your JDK with Unlimited Strength Jurisdiction Policy Files. Follow the instructions listed here[1]. Thanks, Thilina [1] - http://blog.rampartfaq.com/2009/08/faq-001-javasecurityinvalidkeyexception.html On Mon, Dec 12, 2011 at 2:24 PM, Madhuka Udantha madh...@wso2.com wrote: Hi, *Test *at *Trunk\dependencies\wss4j *failure [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30.874s [INFO] Finished at: Mon Dec 12 14:08:26 IST 2011 [INFO] Final Memory: 107M/960M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project wss4j: There are test failures. [ERROR] [ERROR] Please refer to C:\WSO2\Carbon\dependencies\wss4j\1.5.11-wso2v1\target\*surefire-reports*for the individual test results. [ERROR] - [Help 1] . [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30.874s [INFO] Finished at: Mon Dec 12 14:08:26 IST 2011 [INFO] Final Memory: 107M/960M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project wss4j: There are test failures. [ERROR] [ERROR] Please refer to C:\WSO2\Carbon\dependencies\wss4j\1.5.11-wso2v1\target\surefire-reports for the individual test results. [ERROR] - [Help 1] (refer test files are attached in email) -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Removing the qpid-client library from products
The ESB needs the Qpid-client for message processors right? Paul On 12 December 2011 09:05, Rajika Kumarasiri raj...@wso2.com wrote: I am not going to commit anything. I wanted to know if anybody has any concern regarding removing the qpid-client library in advance. Rajika On Mon, Dec 12, 2011 at 2:26 PM, Afkham Azeez az...@wso2.com wrote: Please don't commit this to the trunk now since it will break the builds. On Mon, Dec 12, 2011 at 2:24 PM, Rajika Kumarasiri raj...@wso2.comwrote: Currently qpid-client library will be installed into each product as part of the CSG feature. I am in the process of re-factoring the CSG component in trunk such that it will not depend on JMS, so on qpid-client library. So I am going to remove the qpid-client library as well from each of the product. Is there any components/features that depends on the qpid-client jar ? I noticed that MB samples depend on this library so it should be fixed to package the orbit bundle. Do let me know if you have any concerns. Rajika ___ 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...@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* ___ 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 -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair, VP, Apache Synapse UK: +44 207 096 0336 US: +1 646 595 7614 blog: http://pzf.fremantle.org twitter.com/pzfreo p...@wso2.com wso2.com Lean Enterprise Middleware Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] NoClassDefFoundError when starting QPid broker in trunk
Hi Shammi, Thanks a lot. Now I can start the server without any issue. But we need to upgrade the version of commons-beanutils after this modification, because we have already released this particular version with 3.2.0. Thanks, Thilina On Tue, Dec 6, 2011 at 3:49 PM, Shammi Jayasinghe sha...@wso2.com wrote: Hi, This error has caused due to a osgi bundle conflict.[1]. The problem was both commons-beanutils bundle and commons-collections bundle are exporting org.apache.commons.collections.* package. So this can be fixed by stopping this export of org.apache.commons.collections.* package from commons-beanutils bundle . Since commons-collections bundle exports it by default , it can not be stopped. Is there any specific reason to export this package from commons-beanutils bundle ? Thanks Shammi [1].org.osgi.framework.BundleException: The bundle commons-beanutils_1.8.0.wso2v1 [24] could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.commons.collections.comparators; version=0.0.0, Package uses conflict: Import-Package: org.apache.commons.collections.keyvalue; version=0.0.0, Package uses conflict: Import-Package: org.apache.commons.collections.list; version=0.0.0, Package uses conflict: Import-Package: org.apache.commons.collections.set; version=0.0.0 at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291) at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333) 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:209) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104) at java.lang.Thread.run(Thread.java:619) On Mon, Dec 5, 2011 at 2:26 PM, Thilina Buddhika thili...@wso2.comwrote: Hi Folks, I am getting the following error when starting the QPid broker in trunk. java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule at org.apache.qpid.server.configuration.ServerConfiguration.parseConfig(ServerConfiguration.java:301) at org.apache.qpid.server.configuration.ServerConfiguration.init(ServerConfiguration.java:142) at org.apache.qpid.server.registry.ConfigurationFileApplicationRegistry.init(ConfigurationFileApplicationRegistry.java:37) at org.apache.qpid.server.Main.startup(Main.java:314) at org.apache.qpid.server.Main.execute(Main.java:237) at org.apache.qpid.server.Main.init(Main.java:101) at org.apache.qpid.server.Main.main(Main.java:550) at org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:99) 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
[Carbon-dev] Synapse build error
Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164) ... 23 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395) ... 24 more Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find
Re: [Carbon-dev] XA Transactions
Hi Jorge, I'm a bit busy with some work now, I will check it out later, but I've done this in some way earlier, maybe we'd the server.xml in earlier Carbon versions, I'm not totally sure, you can google around a bit and find the possibilities of adding a data source in Tomcat. In case I find the solution first, I will give an update. Cheers, Anjana. On Mon, Dec 12, 2011 at 12:12 AM, Jorge Infante Osorio jorg...@uci.cuwrote: Hi Anjana. To work with transactions in Tomcat, I need to work with the server.xml and context.xml files. I found context.xml under [CARBON_HOME]\lib\tomcat\conf\ but I don´t find server.xml. Following an Afkham message, I see that carbon don't support server.xml config yet. What can I do in the case I cannot use server.xml? Another idea: deploy ESB inside Apache Tomcat?? For me it´s not so good because I want to use ESB standalone. Thanks Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: Anjana Fernando [mailto:anj...@wso2.com] Enviado el: domingo, 11 de diciembre de 2011 2:38 Para: Jorge Infante Osorio CC: carbon-dev@wso2.org Asunto: Re: XA Transactions Hi Jorge, On Sun, Dec 11, 2011 at 12:53 PM, Jorge Infante Osorio jorg...@uci.cu wrote: My bad. I forgot to check that option :-D thanks, it work now. Can I do the same config with the DBReport in ESB? I´m try to figure out how to do a transaction between 3 DBReport mediators. Good to hear it works! .. as for DBReport, I'm afraid you can't use the same configuration, for this, you may have to dig into the Tomcat configurations and create an XA data source there. I haven't personally tested that scenario that much. But we are also planning to add the XA data source support to the data sources component we have, so we can create global XA data sources from there, which can be used by anywhere. Cheers, Anjana. Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: Anjana Fernando [mailto:anj...@wso2.com] Enviado el: domingo, 11 de diciembre de 2011 1:36 Para: Jorge Infante Osorio; carbon-dev Asunto: Re: XA Transactions Hi, For the error you just mentioned, as the error message mentions, distributed transactions must be enabled in the data service to allow usage of XA data sources. This settings is there in the first page of the wizard, where you can check Enable Distributed Transactions check box, or else in XML edit, in the initial data XML element, you can set the attribute, enableDTP to true, e.g. data name=transaccion1 enableDTP=true ... Cheers, Anjana. Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Synapse build error
The saxon-dom artifacts are available in our Maven repo at [1]. But I see a couple of issues: 1. The jar artifact is not present in the repo (only signatures and checksum values) 2. Files are named 'axon' instead of 'saxon' Looks like some issue with our repo. Thanks, Hiranya [1] - http://dist.wso2.org/maven2/net/sf/saxon/saxon-dom/8.9/ On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164) ... 23 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of
Re: [Carbon-dev] Synapse build error
hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164) ... 23 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted
Re: [Carbon-dev] Synapse build error
Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.com wrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164) ... 23 more Caused by:
Re: [Carbon-dev] Synapse build error
On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote: Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Nuwan, this is an old development branch. We don't use this anymore. It was used for the 3.2.2 release. Current development branch of Synapse is 2.1.0-wso2v5. Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.com wrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at
Re: [Carbon-dev] Synapse build error
Yeah I tried 2.1.0-wso2v5 as well getting the same error On Mon, Dec 12, 2011 at 3:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote: Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Nuwan, this is an old development branch. We don't use this anymore. It was used for the 3.2.2 release. Current development branch of Synapse is 2.1.0-wso2v5. Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.comwrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/was cached in the local repository, resolution will not
Re: [Carbon-dev] Test at Trunk\dependencies\wss4j Failure
Thank you On Mon, Dec 12, 2011 at 2:36 PM, Thilina Buddhika thili...@wso2.com wrote: You need to patch your JDK with Unlimited Strength Jurisdiction Policy Files. Follow the instructions listed here[1]. Thanks, Thilina [1] - http://blog.rampartfaq.com/2009/08/faq-001-javasecurityinvalidkeyexception.html On Mon, Dec 12, 2011 at 2:24 PM, Madhuka Udantha madh...@wso2.com wrote: Hi, *Test *at *Trunk\dependencies\wss4j *failure [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30.874s [INFO] Finished at: Mon Dec 12 14:08:26 IST 2011 [INFO] Final Memory: 107M/960M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project wss4j: There are test failures. [ERROR] [ERROR] Please refer to C:\WSO2\Carbon\dependencies\wss4j\1.5.11-wso2v1\target\*surefire-reports*for the individual test results. [ERROR] - [Help 1] . [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30.874s [INFO] Finished at: Mon Dec 12 14:08:26 IST 2011 [INFO] Final Memory: 107M/960M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project wss4j: There are test failures. [ERROR] [ERROR] Please refer to C:\WSO2\Carbon\dependencies\wss4j\1.5.11-wso2v1\target\surefire-reports for the individual test results. [ERROR] - [Help 1] (refer test files are attached in email) -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Build failure in DSS due to missing feature org.wso2.carbon.deployment.synchronizer.subversion.feature
Hi, I am having a build failure with the following error log in revision Revision: 117429 [INFO] WSO2 DataServices - DataServices Profile Generation SUCCESS [2:09.854s] [INFO] WSO2 Stratos DSS - DataServices Profile Generation FAILURE [2.188s] [INFO] WSO2 DataServices Distribution Parent . SKIPPED [INFO] Data Services Server Distribution . SKIPPED [INFO] WSO2 Stratos DSS - Distribution ... SKIPPED [INFO] WSO2 DSS - Integration Tests .. SKIPPED [INFO] WSO2 DSS - Samples Integration SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:31.042s [INFO] Finished at: Mon Dec 12 15:12:13 IST 2011 [INFO] Final Memory: 57M/539M [INFO] [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-repo-gen (2-p2-repo-generation) on project wso2stratos-dss-profile-gen: ERROR: Failure to find org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), [ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR Regards, Shelan Perera ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in DSS due to missing feature org.wso2.carbon.deployment.synchronizer.subversion.feature
Shelan, Your suppose to fix this !!! ;-) /sumedha On Mon, Dec 12, 2011 at 3:30 PM, Shelan Perera she...@wso2.com wrote: Hi, I am having a build failure with the following error log in revision Revision: 117429 [INFO] WSO2 DataServices - DataServices Profile Generation SUCCESS [2:09.854s] [INFO] WSO2 Stratos DSS - DataServices Profile Generation FAILURE [2.188s] [INFO] WSO2 DataServices Distribution Parent . SKIPPED [INFO] Data Services Server Distribution . SKIPPED [INFO] WSO2 Stratos DSS - Distribution ... SKIPPED [INFO] WSO2 DSS - Integration Tests .. SKIPPED [INFO] WSO2 DSS - Samples Integration SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:31.042s [INFO] Finished at: Mon Dec 12 15:12:13 IST 2011 [INFO] Final Memory: 57M/539M [INFO] [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-repo-gen (2-p2-repo-generation) on project wso2stratos-dss-profile-gen: ERROR: Failure to find org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), [ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR Regards, Shelan Perera ___ 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] Synapse build error
Fixed. Thanks Dhanushka. Regards, /nuwan On Mon, Dec 12, 2011 at 3:07 PM, Nuwan Bandara nu...@wso2.com wrote: Yeah I tried 2.1.0-wso2v5 as well getting the same error On Mon, Dec 12, 2011 at 3:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote: Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Nuwan, this is an old development branch. We don't use this anymore. It was used for the 3.2.2 release. Current development branch of Synapse is 2.1.0-wso2v5. Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.comwrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find
Re: [Carbon-dev] Synapse build error
On Mon, Dec 12, 2011 at 3:36 PM, Nuwan Bandara nu...@wso2.com wrote: Fixed. Thanks Dhanushka. What was the issue? Regards, /nuwan On Mon, Dec 12, 2011 at 3:07 PM, Nuwan Bandara nu...@wso2.com wrote: Yeah I tried 2.1.0-wso2v5 as well getting the same error On Mon, Dec 12, 2011 at 3:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote: Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Nuwan, this is an old development branch. We don't use this anymore. It was used for the 3.2.2 release. Current development branch of Synapse is 2.1.0-wso2v5. Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.comwrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ...
Re: [Carbon-dev] Synapse build error
Same we thought. the jar wasnt there in the repo Regards, /Nuwan On Mon, Dec 12, 2011 at 3:46 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Dec 12, 2011 at 3:36 PM, Nuwan Bandara nu...@wso2.com wrote: Fixed. Thanks Dhanushka. What was the issue? Regards, /nuwan On Mon, Dec 12, 2011 at 3:07 PM, Nuwan Bandara nu...@wso2.com wrote: Yeah I tried 2.1.0-wso2v5 as well getting the same error On Mon, Dec 12, 2011 at 3:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote: Hi guys, Trunk build is stuck here. and I believe this should effect the branch as well Nuwan, this is an old development branch. We don't use this anymore. It was used for the 3.2.2 release. Current development branch of Synapse is 2.1.0-wso2v5. Regards, /Nuwan On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.comwrote: hi, same issue [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.comwrote: Hi Guys, Anybody got the same error, As I found out for some folks synapse builds without an issue, any idea ? [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced at
[Carbon-dev] Shall we remove InfoCard feature from the Identity Server product..?
$subject.. WDYT..? We can do it in the trunk... -- 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
[Carbon-dev] Trunk/dependencies/sandesha/1.6.1-wso2v1 FAILURE
Hi, *$subject at Windows Environment * Constructing Javadoc information... Standard Doclet version 1.6.0_29 Building tree for all the packages and classes... Generating C:/WSO2/Carbon/dependencies/sandesha/1.6.1-wso2v* 1/modules/distribution/target/docs/apidocs\org/apache/sandesha2/polling/\PollingManager.htm *l... [INFO] [INFO] Reactor Summary: [INFO] [INFO] Sandesha2 - Distribution .. FAILURE [5.256s] [INFO] HttpCore NIO .. SKIPPED . [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.5:javadoc (javadoc-generation) on project distribution: An error has occurred in JavaDocs report generation:Exit c ode: 1 *- java.lang.IllegalArgumentException* [ERROR] at sun.net.www.ParseUtil.decode(ParseUtil.java:189) [ERROR] at sun.misc.URLClassPath$FileLoader.init(URLClassPath.java:958) [ERROR] at sun.misc.URLClassPath$3.run(URLClassPath.java:328) [ERROR] at java.security.AccessController.doPrivileged(Native Method) [ERROR] at sun.misc.URLClassPath.getLoader(URLClassPath.java:322) . [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269) [ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143) [ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340) [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:128) [ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:41) [ERROR] at com.sun.tools.javadoc.Main.main(Main.java:31) [ERROR] [ERROR] Command line was:C:\Program Files\Java\jdk1.6.0_29\jre\..\bin\javadoc.exe @options @argfile [ERROR] - [Help 1] *Build OS is: Windows7* -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Error Building trunk/components
[ERROR] Failed to execute goal on project org.wso2.carbon.event.core: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.event.core:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.ws.commons.axiom:axiom-dom:jar:1.2.12-20110605.013714-59 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] Any ideas? -- Hiranya Jayathilaka Associate Technical Lead; 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
Re: [Carbon-dev] test failure in user-manger-kernel [trunk]
Hi Pradeep, I too got an error in AdvancedPermissionTreeTest of user-core tests, locally in trunk. But the same passes in branch. So I couldn't yet figure out a reason for the failure in trunk. According to another mail sent by Azeez, all carbon-core tests have been passed. Please let me know if this still occurs in your environment as well. Thanks, Hasini. On Sat, Dec 10, 2011 at 10:04 PM, Hasini Gunasinghe has...@wso2.com wrote: I will look into this. Thanks, Hasini. On Sat, Dec 10, 2011 at 2:52 PM, Pradeep Fernando prad...@wso2.comwrote: Hi, please fix this. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.201 sec Running org.wso2.carbon.user.core.hybrid.AdvancedHybridRoleManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec Running org.wso2.carbon.user.core.hybrid.HybridRoleManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec Running org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.187 sec FAILURE! Running org.wso2.carbon.user.core.claim.ClaimDAOTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec Running org.wso2.carbon.user.core.claim.AdvancedClaimManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec Results : Tests in error: testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest): Role name: role2 in the system. Please pick another role name. Tests run: 16, Failures: 0, Errors: 1, Skipped: 0 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in DSS due to missing feature org.wso2.carbon.deployment.synchronizer.subversion.feature
It was due to that feature was not built (org.wso2.carbon.deployment.syn chronizer.subversion.feature) eventhough i tried to build from the root.It was rectified after building it after navigating. Immediate pom has included those modules in default pom so might be a random error that it was not built (Or pom may be updated as i was getting an up at the same time). Thanks On Mon, Dec 12, 2011 at 3:36 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Shelan, Your suppose to fix this !!! ;-) /sumedha On Mon, Dec 12, 2011 at 3:30 PM, Shelan Perera she...@wso2.com wrote: Hi, I am having a build failure with the following error log in revision Revision: 117429 [INFO] WSO2 DataServices - DataServices Profile Generation SUCCESS [2:09.854s] [INFO] WSO2 Stratos DSS - DataServices Profile Generation FAILURE [2.188s] [INFO] WSO2 DataServices Distribution Parent . SKIPPED [INFO] Data Services Server Distribution . SKIPPED [INFO] WSO2 Stratos DSS - Distribution ... SKIPPED [INFO] WSO2 DSS - Integration Tests .. SKIPPED [INFO] WSO2 DSS - Samples Integration SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:31.042s [INFO] Finished at: Mon Dec 12 15:12:13 IST 2011 [INFO] Final Memory: 57M/539M [INFO] [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-repo-gen (2-p2-repo-generation) on project wso2stratos-dss-profile-gen: ERROR: Failure to find org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.deployment.synchronizer.subversion.feature -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.wso2.carbon:org.wso2.carbon.deployment.synchronizer.subversion.feature:zip:3.2.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), [ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR Regards, Shelan Perera ___ 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] Shall we remove InfoCard feature from the Identity Server product..?
I don't know of anyone using it. I would be +1 and we can always keep it as a feature in p2 repo if people really need it. I suggest that we mark it as deprecated in our documentation too. Paul On 12 December 2011 10:20, Prabath Siriwardena prab...@wso2.com wrote: $subject.. WDYT..? We can do it in the trunk... -- 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 -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair, VP, Apache Synapse UK: +44 207 096 0336 US: +1 646 595 7614 blog: http://pzf.fremantle.org twitter.com/pzfreo p...@wso2.com wso2.com Lean Enterprise Middleware Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Shall we remove InfoCard feature from the Identity Server product..?
On Mon, Dec 12, 2011 at 4:26 PM, Paul Fremantle p...@wso2.com wrote: I don't know of anyone using it. I would be +1 and we can always keep it as a feature in p2 repo if people really need it. I suggest that we mark it as deprecated in our documentation too. +1 Thanks regards, -Prabath Paul On 12 December 2011 10:20, Prabath Siriwardena prab...@wso2.com wrote: $subject.. WDYT..? We can do it in the trunk... -- 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 -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair, VP, Apache Synapse UK: +44 207 096 0336 US: +1 646 595 7614 blog: http://pzf.fremantle.org twitter.com/pzfreo p...@wso2.com wso2.com Lean Enterprise Middleware Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ 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
Re: [Carbon-dev] Carbon 3.2.3 release : Code freeze : 7 PM IST
Hi folks, Just a gentle reminder, that - we'll be code freezing in 2.5 hrs.. Thanks regards, -Prabath On Mon, Dec 12, 2011 at 12:31 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Carbon 3.2.3 branch will be frozen at 7 PM IST today -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- 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
Re: [Carbon-dev] Update on Tasks / Coordination Components
Below contains the DSS classes that are used for implementing the DSS scheduled tasks based on ntask. * Package /media/data/dev/wso2/carbon/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/task. * DSS Admin Service /media/data/dev/wso2/carbon/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/admin/DataServiceAdmin.java, check methods isTaskScheduled, deleteTask, rescheduleTask, scheduleTask, getTaskInfo and getAllTaskNames. Cheers, Anjana. On Fri, Dec 9, 2011 at 6:54 PM, Anjana Fernando anj...@wso2.com wrote: Hi, Lately I've been writing a new task component ntask, which is directly based on quartz2 rather than having a dependency on Synapse, and also uses the coordination component for controlling distributing tasks in a cluster. To facilitate this, the group communication ability in the coordination component has been improved to contain a synchronous sendReceive call to implement RPC scenarios between peers in the group, which is needed in the task component. The flow simply works in the following steps, * Register a task description TaskInfo, which contains task trigger information as well. * Schedule a registered task with the given name. * Related task controlling operations like, reschedule, pause, resume, delete, get status, list tasks in a specific server etc.. The task functionality is mainly done using a TaskManager interface, which represents a task manager for a specific task type for a specific tenant. For example, for tasks to not to clash in a server which has ESB tasks and DSS tasks, the task type can be given to distinguish between the two. When a task is registered, the target server, the task needs to be scheduled can be specified by giving an implementation of the TaskLocationResolver interface, where given the task context, it must return the location of the server. There's a default task location resolver class used otherwise when not explicitly given, which simply scheduled all the tasks in an round robin fashion among the cluster. The failover scenarios are implemented where, if a node goes down, the leader node will identify it and schedule the orphaned tasks between remaining servers. Also, if the leader node itself goes down, another node will become the leader and reschedule the missing tasks and keep track of the running ones. The ntask component has a module called solutions, which will contain most often used task implementation. I've added a simple web service invocation task implementation there, where in DSS itself, we derive that to create our own tasks. So if there are simple task implementations, they can be put into the solutions module, for reuse. The current ntask implementation is in-cooperated into the upcoming DSS 2.6.3 release, so the new tasks functionality can be tested from that if anyone's interested. Cheers, Anjana. -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Error Building trunk/components
Did you start building with a clean Maven repo? I started building with a clean repo, and components were built successfully with all tests. On Mon, Dec 12, 2011 at 3:54 PM, Hiranya Jayathilaka hira...@wso2.comwrote: [ERROR] Failed to execute goal on project org.wso2.carbon.event.core: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.event.core:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.ws.commons.axiom:axiom-dom:jar:1.2.12-20110605.013714-59 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] Any ideas? -- Hiranya Jayathilaka Associate Technical Lead; 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 -- *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* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Update on Tasks / Coordination Components
Sorry meant to send the SVN locations, they are, * https://svn.wso2.org/repos/wso2/trunk/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/task * https://svn.wso2.org/repos/wso2/trunk/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/admin/DataServiceAdmin.java Cheers, Anjana. On Mon, Dec 12, 2011 at 4:53 PM, Anjana Fernando anj...@wso2.com wrote: Below contains the DSS classes that are used for implementing the DSS scheduled tasks based on ntask. * Package /media/data/dev/wso2/carbon/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/task. * DSS Admin Service /media/data/dev/wso2/carbon/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/admin/DataServiceAdmin.java, check methods isTaskScheduled, deleteTask, rescheduleTask, scheduleTask, getTaskInfo and getAllTaskNames. Cheers, Anjana. On Fri, Dec 9, 2011 at 6:54 PM, Anjana Fernando anj...@wso2.com wrote: Hi, Lately I've been writing a new task component ntask, which is directly based on quartz2 rather than having a dependency on Synapse, and also uses the coordination component for controlling distributing tasks in a cluster. To facilitate this, the group communication ability in the coordination component has been improved to contain a synchronous sendReceive call to implement RPC scenarios between peers in the group, which is needed in the task component. The flow simply works in the following steps, * Register a task description TaskInfo, which contains task trigger information as well. * Schedule a registered task with the given name. * Related task controlling operations like, reschedule, pause, resume, delete, get status, list tasks in a specific server etc.. The task functionality is mainly done using a TaskManager interface, which represents a task manager for a specific task type for a specific tenant. For example, for tasks to not to clash in a server which has ESB tasks and DSS tasks, the task type can be given to distinguish between the two. When a task is registered, the target server, the task needs to be scheduled can be specified by giving an implementation of the TaskLocationResolver interface, where given the task context, it must return the location of the server. There's a default task location resolver class used otherwise when not explicitly given, which simply scheduled all the tasks in an round robin fashion among the cluster. The failover scenarios are implemented where, if a node goes down, the leader node will identify it and schedule the orphaned tasks between remaining servers. Also, if the leader node itself goes down, another node will become the leader and reschedule the missing tasks and keep track of the running ones. The ntask component has a module called solutions, which will contain most often used task implementation. I've added a simple web service invocation task implementation there, where in DSS itself, we derive that to create our own tasks. So if there are simple task implementations, they can be put into the solutions module, for reuse. The current ntask implementation is in-cooperated into the upcoming DSS 2.6.3 release, so the new tasks functionality can be tested from that if anyone's interested. Cheers, Anjana. -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Error Building trunk/components
On Mon, Dec 12, 2011 at 4:54 PM, Afkham Azeez az...@wso2.com wrote: Did you start building with a clean Maven repo? I started building with a clean repo, and components were built successfully with all tests. I second this. The version in org.apache.ws.commons.axiom:axiom-dom:jar:1.2.12-20110605.013714-59 makes me think that repo has some old poms. Regards, --KasunG On Mon, Dec 12, 2011 at 3:54 PM, Hiranya Jayathilaka hira...@wso2.comwrote: [ERROR] Failed to execute goal on project org.wso2.carbon.event.core: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.event.core:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.ws.commons.axiom:axiom-dom:jar:1.2.12-20110605.013714-59 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] Any ideas? -- Hiranya Jayathilaka Associate Technical Lead; 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 -- *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* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *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] Can we have a custom field in JIRA to indicate whether a given issue is a regression or not..?
If possible shall we do the the $subject...? -- 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
[Carbon-dev] Lifecycle permissions
Hi I'm not able to permit users different from admin user to check/uncheck the checkboxes in a lifecycle (promote or demote, even). I give users permissions for lifecycles but they can only see them, not change its status. I have also created a new lifecycle with permissions for states (state name=foo roles=foo_role) or for promoting or demoting operations, but It doesn't works What is the solution?. Am I doing something wrong? Is there any bug? Greetings. -- Roberto Mier Escandón. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Shall we remove InfoCard feature from the Identity Server product..?
On Mon, Dec 12, 2011 at 4:33 PM, Prabath Siriwardena prab...@wso2.comwrote: On Mon, Dec 12, 2011 at 4:26 PM, Paul Fremantle p...@wso2.com wrote: I don't know of anyone using it. I would be +1 and we can always keep it as a feature in p2 repo if people really need it. I suggest that we mark it as deprecated in our documentation too. +1 +1 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
Re: [Carbon-dev] Shall we remove InfoCard feature from the Identity Server product..?
+1. Thanks, Thilina On Mon, Dec 12, 2011 at 3:50 PM, Prabath Siriwardena prab...@wso2.comwrote: $subject.. WDYT..? We can do it in the trunk... -- 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 -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Authenticators priority fail?
Hi Jorge, It is not only the priority parameter which is considered when deciding which authenticator to use. - It will check whether that authenticator is disabled. - Then it will check whether the given authentication request can be handled by this authenticator. For example, the default authenticator requires the username/password present as request parameters which are entered by the user through the login screen of the mgt-console. - Then it will pick the authenticator with the highest priority which satisfies the above two requirements. Hope this helps. Thanks, Thilina 2011/12/12 Jorge Infante Osorio jorg...@uci.cu Hi folks. ** ** In this configuration the TokenUIAuthenticator have priority over SAML2SSOAuthenticator? ** ** I try to access to carbon server using TokenUIAuthenticator, priority 5 over SSO 4, but always redirect me to https://127.0.0.1:9444/samlsso. ** ** Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml !-- Authenticator Configurations for TokenUIAuthenticator -- Authenticator name= TokenUIAuthenticator disabled=true *Priority5/Priority* /Authenticator ** ** !-- Authenticator Configurations for SAML2SSOAuthenticator -- Authenticator name=SAML2SSOAuthenticator *Priority4/Priority* Config Parameter name=LoginPage/carbon/admin/login.jsp/Parameter Parameter name=ServiceProviderIDAScarbonServer/Parameter Parameter name=IdentityProviderSSOServiceURL https://127.0.0.1:9444/samlsso/Parameter /Config /Authenticator /Authenticators ** ** ** ** ** ** Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. ** ** http://www.antiterroristas.cu/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Lifecycle permissions
Hi Roberto, I think there's a problem with your configuration. Can you attach the life-cycle configuration and please mention the G-Reg version you use? 2011/12/12 Roberto Mier Escandón rmescan...@gmail.com Hi I'm not able to permit users different from admin user to check/uncheck the checkboxes in a lifecycle (promote or demote, even). I give users permissions for lifecycles but they can only see them, not change its status. I have also created a new lifecycle with permissions for states (state name=foo roles=foo_role) or for promoting or demoting operations, but It doesn't works What is the solution?. Am I doing something wrong? Is there any bug? Greetings. -- Roberto Mier Escandón. __**_ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/**mailman/listinfo/carbon-devhttp://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/* * *site: **https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/ *blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri* linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ 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 release : Code freeze : 7 PM IST
Hi folks, Code is frozen now.. No more commits to the 3.2.0 branch please... Thanks regards, -Prabath On Mon, Dec 12, 2011 at 4:37 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi folks, Just a gentle reminder, that - we'll be code freezing in 2.5 hrs.. Thanks regards, -Prabath On Mon, Dec 12, 2011 at 12:31 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Carbon 3.2.3 branch will be frozen at 7 PM IST today -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- 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
Re: [Carbon-dev] Lifecycle permissions
Hi Denis: G-Reg version is 4.0.0 There are several configured Life-cycle. For example: aspect name=TestPermissionsLifeCycle class=org.wso2.carbon.governance.registry.extensions.aspects.DefaultLifeCycle configuration type=literal lifecycle scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 initialstate=Development state id=Development datamodel data name=checkItems item name=Code Completed forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item item name=WSDL, Schema Created forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item item name=QoS Created forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item /data /datamodel transition event=Promote target=Tested/ /state state id=Tested datamodel data name=checkItems item name=Effective Inspection Completed forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item item name=Test Cases Passed forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item item name=Smoke Test Passed forEvent= permissions permission roles=everyone,admin,tios_deploy_role/ /permissions /item /data /datamodel transition event=Promote target=Production/ transition event=Demote target=Development/ /state state id=Production transition event=Demote target=Tested/ /state /scxml /lifecycle /configuration /aspect But, also, I have tried to configure a distributed LCM sample life-cycle, and the result has been the same. The configuration for distributed LCM is: aspect name=TestDistributedLC class=org.wso2.carbon.governance.samples.lcm.DistributedLCM !-- Checklist can either be provided as a resource(type=resource) or as xml content(type=literal, default) as provided below. -- !-- configuration type=resource/workspace/configuration/configuration -- !-- OR -- configuration type=literal lifecycle state name=Diseño roles=tios_deploy_role permissions permission action=promote roles=tios_deploy_role/ /permissions checkitemuno/checkitem checkitemdos/checkitem checkitemtres/checkitem /state state name=Final roles=tios_deploy_role permissions permission action=demote roles=tios_deploy_role/ /permissions checkitemcuatro/checkitem checkitemcinco/checkitem checkitemseis/checkitem /state /lifecycle /configuration /aspect Best Regards. El 12/12/2011 14:56, Denis Weerasiri escribió: Hi Roberto, I think there's a problem with your configuration. Can you attach the life-cycle configuration and please mention the G-Reg version you use? 2011/12/12 Roberto Mier Escandón rmescan...@gmail.com mailto:rmescan...@gmail.com Hi I'm not able to permit users different from admin user to check/uncheck the checkboxes in a lifecycle (promote or demote, even). I give users permissions for lifecycles but they can only see them, not change its status. I have also created a new lifecycle with permissions for states (state name=foo roles=foo_role) or for promoting or demoting operations, but It doesn't works What is the solution?. Am I doing something wrong? Is there any bug? Greetings. -- Roberto Mier Escandón. ___ Carbon-dev mailing list Carbon-dev@wso2.org mailto:Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com http://wso2.com/, /email: denis http://goog_277208233///[AT] wso2.com/ http://wso2.com// / /site: //https://sites.google.com/site/ddweerasiri// /blog: //http://ddweerasiri.blogspot.com/ http://ddweerasiri.blogspot.com// twitter: //http://twitter.com/ddweerasiri// linked-in: //http://lk.linkedin.com/in/ddweerasiri/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Roberto Mier Escandón. ___ 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 release : Code freeze : 7 PM IST
hi, Carbon 3.2.3 Building is progress Thank you. On Mon, Dec 12, 2011 at 8:05 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi folks, Code is frozen now.. No more commits to the 3.2.0 branch please... Thanks regards, -Prabath On Mon, Dec 12, 2011 at 4:37 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi folks, Just a gentle reminder, that - we'll be code freezing in 2.5 hrs.. Thanks regards, -Prabath On Mon, Dec 12, 2011 at 12:31 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Carbon 3.2.3 branch will be frozen at 7 PM IST today -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- 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 -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Build failure on trunk/dependencies with a clean repo
Hi, Trying to build with a clean repo, C:\src\wso2\carbon\dependenciesmvn --version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\bin\apache-maven-3.0.3 Java version: 1.6.0_29, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_29\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows C:\src\wso2\carbon\dependenciesmvn clean install -Dmaven.test.skip=true -Dmaven.clean.failOnError=false [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project (C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml) has 1 error [ERROR] Non-parseable POM C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml: unexpected character in markup (position: END_TAG seen .../executions\n /plugin\n... @228:3) @ line 228, column 3 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException Any idea why? -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure on trunk/dependencies with a clean repo
Oops, I had the assembly plugin commented out previous and had a conflict during an svn up. Sorted now. -Chintana On Mon, Dec 12, 2011 at 10:05 PM, Chintana Wilamuna chint...@wso2.comwrote: Hi, Trying to build with a clean repo, C:\src\wso2\carbon\dependenciesmvn --version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\bin\apache-maven-3.0.3 Java version: 1.6.0_29, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_29\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows C:\src\wso2\carbon\dependenciesmvn clean install -Dmaven.test.skip=true -Dmaven.clean.failOnError=false [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project (C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml) has 1 error [ERROR] Non-parseable POM C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml: unexpected character in markup (position: END_TAG seen .../executions\n /plugin\n... @228:3) @ line 228, column 3 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException Any idea why? -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure on trunk/dependencies with a clean repo
Seems the pom is invalid. did you check ? Regards, /Nuwan On Mon, Dec 12, 2011 at 10:05 PM, Chintana Wilamuna chint...@wso2.comwrote: Hi, Trying to build with a clean repo, C:\src\wso2\carbon\dependenciesmvn --version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\bin\apache-maven-3.0.3 Java version: 1.6.0_29, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_29\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows C:\src\wso2\carbon\dependenciesmvn clean install -Dmaven.test.skip=true -Dmaven.clean.failOnError=false [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project (C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml) has 1 error [ERROR] Non-parseable POM C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml: unexpected character in markup (position: END_TAG seen .../executions\n /plugin\n... @228:3) @ line 228, column 3 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException Any idea why? -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ 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
Re: [Carbon-dev] XA Transactions
Done: https://wso2.org/jira/browse/DS-533 Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: Anjana Fernando [mailto:anj...@wso2.com] Enviado el: sábado, 10 de diciembre de 2011 22:41 Para: Jorge Infante Osorio CC: carbon-dev@wso2.org Asunto: Re: XA Transactions Hi Jorge, The root cause here is this, DS Fault Message: Setter method for property 'URL' cannot be found DS Code: UNKNOWN_ERROR At org.wso2.carbon.dataservices. core.description.xa.XADataSourceInfo.initXA(XAD ataSourceInfo.java:59) Which means, the XADataSource property URL is not available. That means, simply, there should be a setter named setURL in Postgres XADataSource implementation. But as I just checked here [1], there's no such thing. Seems this is a bug in our wizard, where we auto-populate some well known properties like URL, username and password properties. We've made an assumption that all XADataSource implementations will contain those three properties in any possible names like, some will have user and another username and so on, we've made the presets like that, but obviously we got it wrong with Postgres, where it doesn't really have the URL property in anyway. So what we have to do is, we have to give the properties: serverName, databaseName, portNumber as mentioned here [1], to get the similar functionality. Normally you can add them from the XADataSource page in the wizard, but because of the URL property, you will have to add these from the XML edit view, and remove the URL property also. And please create an issue for this in Carbon JIRA under data services UI component. [1] http://jdbc.postgresql.org/development/privateapi/org/postgresql/ds/common/B aseDataSource.html#setServerName(java.lang.String) http://jdbc.postgresql.org/development/privateapi/org/postgresql/ds/common/ BaseDataSource.html#setServerName%28java.lang.String%29 Cheers, Anjana. On Sun, Dec 11, 2011 at 8:45 AM, Jorge Infante Osorio jorg...@uci.cu wrote: Hi Anjana, thanks. Tool: AS 4.1.2. I follow your suggestion and create a DS with the postgreSQL driver postgresql-9.0-801.jdbc4.jar , with this simple configuration: data name=transaccion1 config id=rr property name=org.wso2.ws.dataservice.xa_datasource_classorg.postgresql.xa.PGXADat aSource/property property name=org.wso2.ws.dataservice.xa_datasource_properties property name=URLjdbc:postgresql://127.0.0.1:5432/pruebas/property property name=Useruser/property property name=Passwordpass/property /property /config query id=selecALL useConfig=rr sqlselect * from estudiantes/sql result element=estudiantes rowName=estudiante defaultNamespace=http://estudiantes.cdae.uci.cu; element name=nombre column=nombre xsdType=xs:string / /result /query operation name=SeleccionarTodos call-query href=selecALL / /operation /data Is the AS I see this error after deploy the DS in the UI console: DS Fault Message: Cannot create XADataSource instance using the class: org.postgresql.xa.PGXADataSource DS Code: UNKNOWN_ERROR Source DataService:- Name: transaccion1 Location: \transaccion1.dbs Description: N/A Default Namespace: http://ws.wso2.org/dataservice Nested Exception:- DSFault Message: Setter method for property 'URL' cannot be found DS Code: UNKNOWN_ERROR at org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.initXA(XAD ataSourceInfo.java:59) at org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.(XADataSou rceInfo.java:50) at org.wso2.carbon.dataservices.core.description.config.RDBMSConfig.createXADat aSourceInfo(RDBMSConfig.java:83) at org.wso2.carbon.dataservices.core.description.config.RDBMSConfig.(RDBMSConfi g.java:49) at org.wso2.carbon.dataservices.core.description.config.ConfigFactory.getRDBMSC onfig(ConfigFactory.java:74) at org.wso2.carbon.dataservices.core.description.config.ConfigFactory.createCon fig(ConfigFactory.java:52) at org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataS erviceFactory.java:151) at org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java :717) at org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java: 1068) at org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy mentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java: 813) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav a:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav a:371) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe ner.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe ner.java:365) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule rTask.java:73) at
[Carbon-dev] Discussion about changes to Carbon test framework in trunk
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? -- *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* ___ 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
This may change/break some of our existing stuff, but we need to do the proper thing. So, as part of this stabilization effort, let's properly fix it, and if we have to throw out existing stuff make major changes, so be it. 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? -- *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* -- *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* ___ 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
+1, multiple carbon servers will definitely be helpful for bam integration tests, to be confident that things don't break... On Tue, Dec 13, 2011 at 12:02 AM, Afkham Azeez az...@wso2.com wrote: This may change/break some of our existing stuff, but we need to do the proper thing. So, as part of this stabilization effort, let's properly fix it, and if we have to throw out existing stuff make major changes, so be it. 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? -- *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* -- *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* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Regards, Tharindu blog: http://mackiemathew.com/ ___ 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 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/ * 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* -- 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] Carbon 3.2.3 release : Code freeze : 7 PM IST
hi, Revision: 117546, Building is Going on On Mon, Dec 12, 2011 at 8:42 PM, Madhuka Udantha madh...@wso2.com wrote: hi, Carbon 3.2.3 Building is progress Thank you. On Mon, Dec 12, 2011 at 8:05 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi folks, Code is frozen now.. No more commits to the 3.2.0 branch please... Thanks regards, -Prabath On Mon, Dec 12, 2011 at 4:37 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi folks, Just a gentle reminder, that - we'll be code freezing in 2.5 hrs.. Thanks regards, -Prabath On Mon, Dec 12, 2011 at 12:31 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Carbon 3.2.3 branch will be frozen at 7 PM IST today -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- 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 -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/ ___ 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
+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
[Carbon-dev] Axis2 Saaj got Test Failures
Hi, Axis2 Saaj component has following test failures. Tests in error: testComment(org.apache.axis2.saaj.TextTest) testClose(org.apache.axis2.saaj.SOAPConnectionTest) testCloseTwice(org.apache.axis2.saaj.SOAPConnectionTest) testCallOnCloseConnection(org.apache.axis2.saaj.SOAPConnectionTest) testGet(org.apache.axis2.saaj.SOAPConnectionTest) testCreateMessage(org.apache.axis2.saaj.MessageFactoryTest) testCreateMessage2(org.apache.axis2.saaj.MessageFactoryTest) testNewInstane(org.apache.axis2.saaj.MessageFactoryTest) testParseMTOMMessage(org.apache.axis2.saaj.MessageFactoryTest) testAttachments(org.apache.axis2.saaj.AttachmentSerializationTest) testExtractContentAsDocument(org.apache.axis2.saaj.SOAPBodyTest) testAddAttribute(org.apache.axis2.saaj.SOAPBodyTest) testAddAttribute2(org.apache.axis2.saaj.SOAPBodyTest) testAddFault(org.apache.axis2.saaj.SOAPBodyTest) testAddSource(org.apache.axis2.saaj.SOAPPartTest) testAddSource2(org.apache.axis2.saaj.SOAPPartTest) testAddSource3(org.apache.axis2.saaj.SOAPPartTest) testAddingPrefixesForChildElements(org.apache.axis2.saaj.PrefixesTest) testAttribute(org.apache.axis2.saaj.PrefixesTest) testAttrPrifix(org.apache.axis2.saaj.PrefixesTest) testSaveRequired2(org.apache.axis2.saaj.SOAPMessageTest) testHeaders(org.apache.axis2.saaj.SOAPHeaderTest) org.apache.axis2.saaj.integration.IntegrationTest org.apache.axis2.saaj.integration.IntegrationTest testCreateElement2(org.apache.axis2.saaj.SOAPFactoryTest) testFaults(org.apache.axis2.saaj.SOAPFaultTest) testAppendSubCode(org.apache.axis2.saaj.SOAPFaultTest) testAddFaultReasonText2(org.apache.axis2.saaj.SOAPFaultTest) testSetFaultRole(org.apache.axis2.saaj.SOAPFaultTest) testSetFaultNode(org.apache.axis2.saaj.SOAPFaultTest) testHasDetail(org.apache.axis2.saaj.SOAPFaultTest) test(org.apache.axis2.saaj.SOAPNamespaceTest) testTransform(org.apache.axis2.saaj.SOAPEnvelopeTest) testEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest) testDetachHeader(org.apache.axis2.saaj.SOAPEnvelopeTest) testDetachBody(org.apache.axis2.saaj.SOAPEnvelopeTest) testEnvelope2(org.apache.axis2.saaj.SOAPEnvelopeTest) testEnvelopeWithCommentInEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest) testEnvelopeWithCommentInBody(org.apache.axis2.saaj.SOAPEnvelopeTest) testEnvelopeWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest) testTransformWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest) Thanks and Regards, Harshana -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com http://wso2.org Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Twitter: http://twitter.com/harshana05 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Fwd: [Carbon-build] Build failed in Jenkins: carbon-trunk #11
build failure in IS, User Admin Test Module FAILURE [46.956s]. -- Forwarded message -- From: WSO2 Jenkins Builder cbuil...@wso2.org Date: Tue, Dec 13, 2011 at 3:35 AM Subject: [Carbon-build] Build failed in Jenkins: carbon-trunk #11 To: carbon-bu...@wso2.org See http://jenkins.wso2.com/job/carbon-trunk/11/changes Changes: [azeez] Introduced a TestRunner. This will ensure that the server is started only once during integration tests. [amila] fixing compilation issues with brs [azeez] Added a sleep as a temporary hack for build failing on Mac. The requests from tests are reaching the server before the server has properly started up. [amila] fixing compilation issues -- [...truncated 124042 lines...] at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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.junit.JUnitTestSet.execute(JUnitTestSet.java:210) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) at org.apache.maven.surefire.Surefire.run(Surefire.java:129) 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) Transport error: 404 Error: Not Found org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659) at org.wso2.carbon.integration.core.ServerLogin.login(ServerLogin.java:51) at org.wso2.carbon.integration.core.TestTemplate.login(TestTemplate.java:89) at org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:36) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk
+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. 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
Re: [Carbon-dev] Fwd: [Carbon-build] Build failed in Jenkins: carbon-trunk #11
Hi DSS integration tests are failing too, because of the similar reason.(Server is not up when the tests are running,) Thanks Shelan On Tue, Dec 13, 2011 at 8:09 AM, Pradeep Fernando prad...@wso2.com wrote: build failure in IS, User Admin Test Module FAILURE [46.956s]. -- Forwarded message -- From: WSO2 Jenkins Builder cbuil...@wso2.org Date: Tue, Dec 13, 2011 at 3:35 AM Subject: [Carbon-build] Build failed in Jenkins: carbon-trunk #11 To: carbon-bu...@wso2.org See http://jenkins.wso2.com/job/carbon-trunk/11/changes Changes: [azeez] Introduced a TestRunner. This will ensure that the server is started only once during integration tests. [amila] fixing compilation issues with brs [azeez] Added a sleep as a temporary hack for build failing on Mac. The requests from tests are reaching the server before the server has properly started up. [amila] fixing compilation issues -- [...truncated 124042 lines...] at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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.junit.JUnitTestSet.execute(JUnitTestSet.java:210) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) at org.apache.maven.surefire.Surefire.run(Surefire.java:129) 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) Transport error: 404 Error: Not Found org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659) at org.wso2.carbon.integration.core.ServerLogin.login(ServerLogin.java:51) at org.wso2.carbon.integration.core.TestTemplate.login(TestTemplate.java:89) at org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:36) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
Re: [Carbon-dev] Fwd: [Carbon-build] Build failed in Jenkins: carbon-trunk #11
Azeez fixed this yesterday. Thanks, Thilina On Tue, Dec 13, 2011 at 8:52 AM, Shelan Perera she...@wso2.com wrote: Hi DSS integration tests are failing too, because of the similar reason.(Server is not up when the tests are running,) Thanks Shelan On Tue, Dec 13, 2011 at 8:09 AM, Pradeep Fernando prad...@wso2.comwrote: build failure in IS, User Admin Test Module FAILURE [46.956s]. -- Forwarded message -- From: WSO2 Jenkins Builder cbuil...@wso2.org Date: Tue, Dec 13, 2011 at 3:35 AM Subject: [Carbon-build] Build failed in Jenkins: carbon-trunk #11 To: carbon-bu...@wso2.org See http://jenkins.wso2.com/job/carbon-trunk/11/changes Changes: [azeez] Introduced a TestRunner. This will ensure that the server is started only once during integration tests. [amila] fixing compilation issues with brs [azeez] Added a sleep as a temporary hack for build failing on Mac. The requests from tests are reaching the server before the server has properly started up. [amila] fixing compilation issues -- [...truncated 124042 lines...] at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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.junit.JUnitTestSet.execute(JUnitTestSet.java:210) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) at org.apache.maven.surefire.Surefire.run(Surefire.java:129) 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) Transport error: 404 Error: Not Found org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659) at org.wso2.carbon.integration.core.ServerLogin.login(ServerLogin.java:51) at org.wso2.carbon.integration.core.TestTemplate.login(TestTemplate.java:89) at org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:36) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at
Re: [Carbon-dev] Content Assist for Eclipse Text base Editors
On Wed, Dec 7, 2011 at 8:59 PM, Chathuri Wimalasena chath...@wso2.comwrote: On Wed, Dec 7, 2011 at 5:27 PM, Harshana Martin harsh...@wso2.com wrote: Hi Jasintha, On Wed, Dec 7, 2011 at 2:18 PM, Jasintha Dasanayake jasin...@wso2.comwrote: Hi all I have recently done a POC regards eclipse editor's content assist. I came across there is an editor called eclipse “StructuredTextEditor” [1] which has come up with Content Assist Looks good! +1 So if any custom editor need a content assist that custom editor can extends from the StructuredTextEditor it will provide the content assist for that custom editor. So this means we should be able to get the content assist and auto complete features enabled for our existing editors by making the editors to extend this editor. Can you extend your PoC to check whether it is possible to integrate this with our existing multipage editors? Yes it is a possible integration, We can add structure editor into multipage editor using addpages method in multipage editor . /Jasintha +1. We can start with the DS editor since ESB editor can be bit complicated compare to DS editor. This will be a major enhancement if we can add this to the alpha release of CS 2.0.0. I am working on ESB editor content assistance I think we can add into CS 2.0 0 /Jasintha Regards, Chathuri Thanks and Regards, Harshana The StructuredTextEditor content assist is based on the given schema . Hopefully we can apply this for Carbon studio ESB and Data service editors Thanks /Jasintha [1] - org.eclipse.wst.sse.ui.StructuredTextEditor -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware* * * *mobile :- 077 291 6596* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com http://wso2.org Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Twitter: http://twitter.com/harshana05 ___ 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 -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware* * * *mobile :- 077 291 6596* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Content Assist for Eclipse Text base Editors
Hi Kalpa Can we use structure editor to provide content assist for DS editor or do we need any extends to add into EMF model base editors ? /Jasintha On Tue, Dec 13, 2011 at 10:13 AM, Jasintha Dasanayake jasin...@wso2.comwrote: On Wed, Dec 7, 2011 at 8:59 PM, Chathuri Wimalasena chath...@wso2.comwrote: On Wed, Dec 7, 2011 at 5:27 PM, Harshana Martin harsh...@wso2.comwrote: Hi Jasintha, On Wed, Dec 7, 2011 at 2:18 PM, Jasintha Dasanayake jasin...@wso2.comwrote: Hi all I have recently done a POC regards eclipse editor's content assist. I came across there is an editor called eclipse “StructuredTextEditor” [1] which has come up with Content Assist Looks good! +1 So if any custom editor need a content assist that custom editor can extends from the StructuredTextEditor it will provide the content assist for that custom editor. So this means we should be able to get the content assist and auto complete features enabled for our existing editors by making the editors to extend this editor. Can you extend your PoC to check whether it is possible to integrate this with our existing multipage editors? Yes it is a possible integration, We can add structure editor into multipage editor using addpages method in multipage editor . /Jasintha +1. We can start with the DS editor since ESB editor can be bit complicated compare to DS editor. This will be a major enhancement if we can add this to the alpha release of CS 2.0.0. I am working on ESB editor content assistance I think we can add into CS 2.0 0 /Jasintha Regards, Chathuri Thanks and Regards, Harshana The StructuredTextEditor content assist is based on the given schema . Hopefully we can apply this for Carbon studio ESB and Data service editors Thanks /Jasintha [1] - org.eclipse.wst.sse.ui.StructuredTextEditor -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware* * * *mobile :- 077 291 6596* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com http://wso2.org Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Twitter: http://twitter.com/harshana05 ___ 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 -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware* * * *mobile :- 077 291 6596* -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware* * * *mobile :- 077 291 6596* ___ 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 release : Code freeze : 7 PM IST
There were some build failures in some components due to the relative path issue.. Those are fixed now and Sanjeewa will trigger the build in few minutes... Thanks regards, -Prabath On Tue, Dec 13, 2011 at 12:48 AM, Madhuka Udantha madh...@wso2.com wrote: hi, Revision: 117546, Building is Going on On Mon, Dec 12, 2011 at 8:42 PM, Madhuka Udantha madh...@wso2.com wrote: hi, Carbon 3.2.3 Building is progress Thank you. On Mon, Dec 12, 2011 at 8:05 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Code is frozen now.. No more commits to the 3.2.0 branch please... Thanks regards, -Prabath On Mon, Dec 12, 2011 at 4:37 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Just a gentle reminder, that - we'll be code freezing in 2.5 hrs.. Thanks regards, -Prabath On Mon, Dec 12, 2011 at 12:31 PM, Prabath Siriwardena prab...@wso2.com wrote: Hi folks, Carbon 3.2.3 branch will be frozen at 7 PM IST today -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- 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 -- Madhuka Udantha http://madhukaudantha.blogspot.com/ -- Madhuka Udantha http://madhukaudantha.blogspot.com/ ___ 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
Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk
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 The plan is to come up with a single framework which will reside in org.wso2.carbon.integration.core, which will be used by all the integration tests in the products as well as the automation tests. Something like the following. public class CarbonTestRunner extends TestSuite { public static Test suite() throws Exception { //copyArtifacts(); TestSuite testSuite = new TestSuite(); testSuite.addTestSuite(StartCarbonServerTest.class); testSuite.addTestSuite(LoginTest.class); testSuite.addTestSuite(SecurityVerificationTest.class); return testSuite; } public void copyArtifacts(){ } public void startServers(){ } public void runTests(){ } public void shutdownServers(){ } } --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/ -- *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* ___ 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
Also I think you need to have some startup/teardown impl in CarbonTestRunner so that common init/cleanup work can be done in there. For an example inserting a database entry at the beginning and deleting at the end. On Tue, Dec 13, 2011 at 10:44 AM, Afkham Azeez az...@wso2.com wrote: 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 The plan is to come up with a single framework which will reside in org.wso2.carbon.integration.core, which will be used by all the integration tests in the products as well as the automation tests. Something like the following. public class CarbonTestRunner extends TestSuite { public static Test suite() throws Exception { //copyArtifacts(); TestSuite testSuite = new TestSuite(); testSuite.addTestSuite(StartCarbonServerTest.class); testSuite.addTestSuite(LoginTest.class); testSuite.addTestSuite(SecurityVerificationTest.class); return testSuite; } public void copyArtifacts(){ } public void startServers(){ } public void runTests(){ } public void shutdownServers(){ } } --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/ -- *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* ___ 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] 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] Discussion about changes to Carbon test framework in trunk
Hi Krishantha, Oh, that's great. I wasn't aware of all of it. Will have a look into this when I find sometime, to ensure that we are covering all popular combinations. Thanks, Senaka. On Tue, Dec 13, 2011 at 11:23 AM, Krishantha Samaraweera krishan...@wso2.com wrote: 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 -- *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] Abdera test failures in trunk
Hi Isuru, Will have a look once the release work is sorted. I'm wondering whether this is due to some recent changes in Axiom. I feel that it might be causing issues in Abdera. If so, we might need to tell Andreas to be mindful about those. Thanks, Senaka. On Mon, Dec 12, 2011 at 2:20 PM, Isuru Suriarachchi is...@wso2.com wrote: This test failure is still there.. Can someone please fix this? Thanks, ~Isuru On Tue, Oct 25, 2011 at 4:28 PM, Afkham Azeez az...@wso2.com wrote: INFO] Surefire report directory: /Users/azeez/projects/wso2/org/trunk/carbon2/dependencies/abdera/parser/target/surefire-reports --- T E S T S --- Running org.apache.abdera.test.parser.EncodingTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.793 sec Running org.apache.abdera.test.parser.ServiceDocumentTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec Running org.apache.abdera.test.parser.stax.AtomConformanceTest Tests run: 5, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.448 sec FAILURE! Running org.apache.abdera.test.parser.stax.ConcurrencyTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 sec Running org.apache.abdera.test.parser.stax.EntryLinkTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.386 sec FAILURE! Running org.apache.abdera.test.parser.stax.FeedParserTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 sec Running org.apache.abdera.test.parser.stax.FeedValidatorTest -- *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* ___ 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 -- *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] How we break the build..? :-)
Hi all, Do we have this list on a wiki page or a document or something similar so that we can refer to it and ensure everyone is aware of what should not be done. Thanks, Senaka. On Sun, Dec 11, 2011 at 10:19 AM, Supun Malinga sup...@wso2.com wrote: On Fri, Dec 9, 2011 at 1:54 PM, Supun Malinga sup...@wso2.com wrote: On Fri, Dec 9, 2011 at 1:51 PM, Prabath Abeysekera praba...@wso2.comwrote: Just got the update of the number 14. Hence, changing the number to 15. 15) Commits not being atomic. ;) 16) not specifying the osgi properties properly and exact. This will give error in p2profile-gen goals.. :) 17) Not properly handling externals! one eg: you get some resource externally from another component and modify it in your component and commit. original component breaks. On Fri, Dec 9, 2011 at 1:45 PM, Anjana Fernando anj...@wso2.com wrote: 14. work on a component that no one knows about and break other people's products! ;) .. Cheers, Anjana, On Thu, Dec 8, 2011 at 4:16 PM, Harshana Martin harsh...@wso2.comwrote: 13. Add a new module to dependency, orbit and commit only orbit related changes. Thanks and Regards, Harshana On Thu, Dec 8, 2011 at 4:04 PM, Prabath Siriwardena prab...@wso2.comwrote: 12. Commented out some modules from the components root pom [these components not needed to my product] and committed it back accidentally.. Thanks regards, -Prabath On Thu, Dec 8, 2011 at 2:37 PM, Supun Malinga sup...@wso2.comwrote: On Thu, Dec 8, 2011 at 2:28 PM, Kathiravelu Pradeeban pradee...@wso2.com wrote: 10. Applying a previously applied patch. If we try to apply a patch that was already applied or partially applied, it will revert the previous commit of the patch. (Just like applying the reverse of the original patch.) 11. updating the version of a component. you update only in one product and forget the rest :) I have done that once, I recall. Have to take an svn up and check whether the patch is already applied before applying it and committing. Regards, Pradeeban. On Thu, Dec 8, 2011 at 2:19 PM, Sameera Jayasoma same...@wso2.comwrote: On Thu, Dec 8, 2011 at 9:53 AM, Prabath Siriwardena prab...@wso2.com wrote: 8. Built without tests and committed - my fix has broken a test case 9. Changes to orbit bundles can caues chaos, unless you build the whole thing and verify. These changes includes version changes, import/export changes, embedding of jar files. Sameera. Thanks regards, -Prabath On Thu, Dec 8, 2011 at 9:49 AM, Supun Malinga sup...@wso2.comwrote: On Thu, Dec 8, 2011 at 9:23 AM, Supun Malinga sup...@wso2.comwrote: my bad. wrong number! 7) most frequent case in patch-releases : when adding a new version of a component, we never add the relative path property. :) 1) most frequent case in patch-releases : when adding a new version of a component, we never add the relative path property. :) On Thu, Dec 8, 2011 at 9:12 AM, Prabath Siriwardena prab...@wso2.com wrote: Nothing serious.. just for fun.. following are few ways how we did break the build in the past.. :-) Please add whatever you remember how you or your colleague broke the build... No names please 1. Changed a public API, built the components in my product and committed 2. Added a new method to an interface - updated it's implementation in my product and committed - forgot to send mail to carbon-dev on the interface change 3. Added new class - builds fine locally - committed all the other changes - forgot to commit the new file 4. Added new a component - added a new feature - committed both - updated the root pom of features - but, forgot to update the root pom of components 5. Added a new dependency to the pom of my component - did some code changes - did an svn stat from ../src - committed all code changes - missed the pom with the new dependency Let's build this list.. :) -- 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 -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - sup...@wso2.com sup...@wso2.com mobile - 071 56 91 321 -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - sup...@wso2.com sup...@wso2.com mobile - 071 56 91 321 ___ 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 -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2,
[Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
Hi, Is there any product specific fixes needed to rectify this?. I am getting the similiar errors in DSS and while debugging core/integration in SeverUtils i saw that endpoint https://localhost:9443/services/AuthenticationAdmin?wsdl is not available even after the message Successfully started Carbon server. Returning. Thanks, Shelan On Mon, Dec 12, 2011 at 6:40 PM, Thilina Buddhika thili...@wso2.com wrote: Hi Azeez, I was able to get the IS built successfully in trunk with the integration tests. [Please see the attached log] So it looks like this is occurring only in certain environments. In the case of Identity Server, the eventing component is activated after the startup finalizer printing the WSO2 Carbon started in.. statement. But seems like it does not have any effect on the integration tests. So we can leave it from the possible causes for this failure. Thanks, Thilina On Sun, Dec 11, 2011 at 1:21 PM, Afkham Azeez az...@wso2.com wrote: This seems to be a bundle start order issue. When I run the IS integration tests in Maven debug mode, they pass. Let's compare the teminal outputs in the success failure cases. In the failure case, the tests are sending the requests before the server has successfully started it seems. The IS components need to be checked. *Success case* *-* [2011-12-11 13:12:47,591] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 27 sec Successfully started Carbon server. Returning... [Broker] BRK-1006 : Using configuration : /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2011-12-11 13:12:51,549] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [2011-12-11 13:12:51,552] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 [2011-12-11 13:12:51,555] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5672 [2011-12-11 13:12:51,655] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2011-12-11 13:12:51,662] ERROR {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Error Instantiating Registry Event Source [2011-12-11 13:12:51,707] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2011-12-11 13:12:52,654] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://localhost:9443/carbon/ [2011-12-11 13:12:53,518] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:12:53,0518] from IP address 10.216.202.231 [2011-12-11 13:12:55,481] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null Running User Admin Tests... [2011-12-11 13:12:55,520] INFO {org.wso2.carbon.integration.core.AuthenticateStub} - AuthenticateStub : Stub created with session JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null User Admin Tests were successful... [2011-12-11 13:13:35,738] INFO {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - 'admin' logged out at [2011-12-11 13:13:35,0738] [2011-12-11 13:13:37,407] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:13:37,0407] from IP address 10.216.202.231 [2011-12-11 13:13:38,070] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBDF7250EF5EBD0583C83EBB1DE7409E; Path=/; Secure=null; HttpOnly=null Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.084 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 *Failure Case* *---* * * 2011-12-11 13:15:14,956] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2011-12-11 13:15:14,957] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Identity Server-3.2.0-SNAPSHOT [2011-12-11 13:15:14,958] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 26 sec Successfully started Carbon server. Returning... [Broker] BRK-1006 : Using configuration : /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2011-12-11 13:15:17,760] INFO {org.apache.axis2.transport.http.HTTPSender} - Unable to sendViaPost to url[https://localhost:9443/services/AuthenticationAdmin] org.apache.axis2.AxisFault:
[Carbon-dev] Carbon 3.2.3 Branch test failure - please fix
[INFO] [INFO] Building WSO2 Carbon - Coordination Core [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [clean:clean {execution: auto-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 15 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/classes [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] [INFO] Generating 2 MetaType Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml [INFO] Writing abstract service descriptor /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. [INFO] Generating 1 Service Component Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 5 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/surefire-reports --- T E S T S --- Running org.wso2.carbon.coordination.core.test.QueueTest log4j:WARN No appenders could be found for logger (org.wso2.carbon.coordination.server.CoordinationServer). log4j:WARN Please initialize the log4j system properly. *** QUEUE TEST 1 *** ExceptionCode: GENERIC_ERROR Nested Exception: null at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129) at org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64) at org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102) Caused by: ExceptionCode: GENERIC_ERROR Nested Exception: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000120 at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116) ... 2 more Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000120 at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:734) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:75) ... 3 more ExceptionCode: GENERIC_ERROR Nested Exception: null at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129) at org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64) at org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102) Caused by: ExceptionCode: GENERIC_ERROR Nested Exception: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000121 at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116) ... 2 more Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for
Re: [Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
Try to start the server in standlone mode and see whether it starts up successfully with all bundles in their proper states. On Tue, Dec 13, 2011 at 12:17 PM, Shelan Perera she...@wso2.com wrote: Hi, Is there any product specific fixes needed to rectify this?. I am getting the similiar errors in DSS and while debugging core/integration in SeverUtils i saw that endpoint https://localhost:9443/services/AuthenticationAdmin?wsdl is not available even after the message Successfully started Carbon server. Returning. Thanks, Shelan On Mon, Dec 12, 2011 at 6:40 PM, Thilina Buddhika thili...@wso2.comwrote: Hi Azeez, I was able to get the IS built successfully in trunk with the integration tests. [Please see the attached log] So it looks like this is occurring only in certain environments. In the case of Identity Server, the eventing component is activated after the startup finalizer printing the WSO2 Carbon started in.. statement. But seems like it does not have any effect on the integration tests. So we can leave it from the possible causes for this failure. Thanks, Thilina On Sun, Dec 11, 2011 at 1:21 PM, Afkham Azeez az...@wso2.com wrote: This seems to be a bundle start order issue. When I run the IS integration tests in Maven debug mode, they pass. Let's compare the teminal outputs in the success failure cases. In the failure case, the tests are sending the requests before the server has successfully started it seems. The IS components need to be checked. *Success case* *-* [2011-12-11 13:12:47,591] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 27 sec Successfully started Carbon server. Returning... [Broker] BRK-1006 : Using configuration : /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2011-12-11 13:12:51,549] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [2011-12-11 13:12:51,552] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 [2011-12-11 13:12:51,555] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5672 [2011-12-11 13:12:51,655] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2011-12-11 13:12:51,662] ERROR {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Error Instantiating Registry Event Source [2011-12-11 13:12:51,707] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2011-12-11 13:12:52,654] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://localhost:9443/carbon/ [2011-12-11 13:12:53,518] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:12:53,0518] from IP address 10.216.202.231 [2011-12-11 13:12:55,481] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null Running User Admin Tests... [2011-12-11 13:12:55,520] INFO {org.wso2.carbon.integration.core.AuthenticateStub} - AuthenticateStub : Stub created with session JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null User Admin Tests were successful... [2011-12-11 13:13:35,738] INFO {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - 'admin' logged out at [2011-12-11 13:13:35,0738] [2011-12-11 13:13:37,407] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:13:37,0407] from IP address 10.216.202.231 [2011-12-11 13:13:38,070] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBDF7250EF5EBD0583C83EBB1DE7409E; Path=/; Secure=null; HttpOnly=null Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.084 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 *Failure Case* *---* * * 2011-12-11 13:15:14,956] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2011-12-11 13:15:14,957] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Identity Server-3.2.0-SNAPSHOT [2011-12-11 13:15:14,958] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 26 sec Successfully started Carbon server. Returning... [Broker] BRK-1006 : Using configuration :
Re: [Carbon-dev] Carbon 3.2.3 Branch test failure - please fix
So now we have ZooKeeper as well? 3 different group management frameworks (Tribes, JGroups ZooKeeper) within a single Carbon framework! This is going to get really messy, specially on Cloud deployments. On Tue, Dec 13, 2011 at 12:38 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: [INFO] [INFO] Building WSO2 Carbon - Coordination Core [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [clean:clean {execution: auto-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 15 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/classes [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] [INFO] Generating 2 MetaType Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml [INFO] Writing abstract service descriptor /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. [INFO] Generating 1 Service Component Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 5 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/surefire-reports --- T E S T S --- Running org.wso2.carbon.coordination.core.test.QueueTest log4j:WARN No appenders could be found for logger (org.wso2.carbon.coordination.server.CoordinationServer). log4j:WARN Please initialize the log4j system properly. *** QUEUE TEST 1 *** ExceptionCode: GENERIC_ERROR Nested Exception: null at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129) at org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64) at org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102) Caused by: ExceptionCode: GENERIC_ERROR Nested Exception: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000120 at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116) ... 2 more Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000120 at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:734) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:75) ... 3 more ExceptionCode: GENERIC_ERROR Nested Exception: null at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129) at org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64) at org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102) Caused by: ExceptionCode: GENERIC_ERROR Nested Exception: KeeperErrorCode = ConnectionLoss for
Re: [Carbon-dev] Carbon 3.2.3 Branch test failure - please fix
Hi Azeez, On Tue, Dec 13, 2011 at 12:48 PM, Afkham Azeez az...@wso2.com wrote: So now we have ZooKeeper as well? 3 different group management frameworks (Tribes, JGroups ZooKeeper) within a single Carbon framework! This is going to get really messy, specially on Cloud deployments. Yeah, this was decided to use with the task implementation meeting we had sometime back. The coordination component is based on ZooKeeper, and group management is only a single feature in it. As for the test fail, it seems the builder machine has somehow stopped responding, we cannot run maven in it anymore, not sure if that was the cause for the test to fail. But also, as it looks like, only the first test failed and all subsequent ones succeeded, so there's a chance that the coordination server was not up when the tests were run, there's just a sleep to delay the test running to make sure the server is up, so maybe this is not enough, I'm disabling the tests for now, to not to face any complications in server startup failures/delays in the builder machines for a tests. Cheers, Anjana. On Tue, Dec 13, 2011 at 12:38 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: [INFO] [INFO] Building WSO2 Carbon - Coordination Core [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [clean:clean {execution: auto-clean}] [INFO] Deleting /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 15 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/classes [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] [INFO] Generating 2 MetaType Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml [INFO] Writing abstract service descriptor /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. [INFO] Generating 1 Service Component Descriptors to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 5 source files to /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/surefire-reports --- T E S T S --- Running org.wso2.carbon.coordination.core.test.QueueTest log4j:WARN No appenders could be found for logger (org.wso2.carbon.coordination.server.CoordinationServer). log4j:WARN Please initialize the log4j system properly. *** QUEUE TEST 1 *** ExceptionCode: GENERIC_ERROR Nested Exception: null at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129) at org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64) at org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102) Caused by: ExceptionCode: GENERIC_ERROR Nested Exception: KeeperErrorCode = ConnectionLoss for /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b000120 at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80) at org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116) ... 2 more Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for
[Carbon-dev] Where is geronimo-stax-api_1.0_spec ?
Hi, Can anyone let me know where is org.apache.geronimo.specs.wso2:geronimo-stax-api_1.0_spec:1.0 package is? The version 1.0 comes from ${version.geronimo.specs.geronimo-jpa_2.0_spec} that resides in root pom. But I don't see where this package comes from. It should at orbit, right? [1] This question is related to its usage in greg samples. [1] http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/geronimo/specs/wso2/geronimo-stax-api_1.0_spec/ Thanks, --KasunG -- *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