Re: [Dev] AS build failed in clean repo.
Hi GS folks, I fixed the p2 issue in r132081. Please check if its the correct solution and change if necessary. But please make sure the build passes. thanks, On Fri, Jul 6, 2012 at 11:58 PM, Ajith Vitharana aji...@wso2.com wrote: Hi all, Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) Missing requirement: WSO2 Carbon - Javascript Service Hosting UI Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 4.0.0.SNAPSHOT) * requires 'org.wso2.carbon.task.ui.feature.group [4.0.0.SNAPSHOT,4.1.0)' but it could not be found* Cannot satisfy dependency: From: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) To: org.wso2.carbon.jsservices.ui.feature.group [4.0.0.SNAPSHOT] Application failed, log file location: /home/ajithn/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1341598922536.log -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS trunk build failure
Hi GS folks, I fixed the p2 issue in r132081. Please check if its the correct solution and change if necessary. But please make sure the build passes. thanks, On Sat, Jul 7, 2012 at 8:21 AM, Kishanthan Thangarajah kishant...@wso2.comwrote: Looks like this is not fixed yet. I'm still getting this. This time its org.wso2.carbon.task.ui.feature.group. Please have a look ASAP. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) Missing requirement: WSO2 Carbon - Javascript Service Hosting UI Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 4.0.0.SNAPSHOT) requires 'org.wso2.carbon.task.ui.feature.group [4.0.0.SNAPSHOT,4.1.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) To: org.wso2.carbon.jsservices.ui.feature.group [4.0.0.SNAPSHOT] Application failed, log file location: /home/kicha/mvnRepo/m3repo/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1341628896277.log On Fri, Jul 6, 2012 at 5:41 PM, Dilshan Edirisuriya dils...@wso2.comwrote: This has been fixed and committed to trunk. On Fri, Jul 6, 2012 at 2:45 PM, Dilshan Edirisuriya dils...@wso2.comwrote: Hi, Looking into this. Regards, Dilshan On Fri, Jul 6, 2012 at 2:22 PM, Prabath Abeysekera praba...@wso2.comwrote: Hi, AFAIR, JSS hosting features recently migrated to the ntask implementation replacing scheduled-tasks. Seems like the JSS feature poms have not been cleaned up properly to get rid of the previous task implementation related dependencies yet. Regards, Prabath On Fri, Jul 6, 2012 at 2:09 PM, Rajika Kumarasiri raj...@wso2.comwrote: Installing org.apache.synapse.wso2.feature.group 2.1.0.wso2v6. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) Missing requirement: WSO2 Carbon - Javascript Service Hosting Feature 4.0.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 4.0.0.SNAPSHOT) requires 'org.wso2.carbon.task.feature.group [4.0.0.SNAPSHOT,4.1.0)' but it could not be found Application failed, log file location: /home/rajika/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1341563415665.log [INFO] ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Software Engineer WSO2 Inc. Email: praba...@wso2.com harsha...@wso2.com Mobile: +94774171471 http://harshana05.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Understanding the list of handlers running in G-Reg, and understanding the invalid paths (ex:- REGISTRY-1006)
Hi Ajith, We should add some DEBUG logs for both of these, and then start a pack with DEBUG enabled for the respective classes. This should give us a picture of blunders as such. Thanks, Senaka. -- *Senaka Fernando* Member - Integration Technologies Management Committee; 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error building jaggary dependency
That's not right... Why did we move all the jaggery stuff to dependencies? Earlier, it was done the right way, iirc, i.e. components stuff residing in components. If you want things coming out of a maven repo, you can deploy the jars, and remove it from the build, like we do for hive, cassandra, etc. This is a violation of the natural structure of the carbon build. On Sat, Jul 7, 2012 at 5:20 AM, Nuwan Bandara nu...@wso2.com wrote: The idea, is that, webapp mgt snapshot will be uploaded. so that jaggery will get built with the snapshot. Its not perfect but this is the only way as of now. Regards, /Nuwan On Fri, Jul 6, 2012 at 12:33 PM, Kasun Weranga kas...@wso2.com wrote: On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew thari...@wso2.comwrote: Am I missing something here or is a dependency (jaggery) depending on a component (webapp)? Yes, I can see this component (webapp) dependency in dependency/jaggery/pom.xml. We should not use a component in dependency level. If this is by design, when we build in order without building from the platform level, almost always the build will break for engineers who doesn't expect this kind of dependency. On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara nu...@wso2.com wrote: Hi kishanthan, Was there any change in webapp mgt component. I also saw a bamboo build break in jaggery Yes, it should be successful after webapp-mgt component gets build. Please build webapp-mgt and then jaggery. Thanks, Kishanthan. /nuwan Sent from my iPad On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta cham...@wso2.com wrote: Hi, I'm getting following error when building platform/trunk/dependency/jaggary. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation failure [ERROR] /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8] cannot find symbol [ERROR] symbol : constructor TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext) [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer _-_-_-_-_-_-_-_-_-_ Thanks Regards, Chamath. *+94 71 532 0009* -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Seeing a jasper report through a gadget
Hi Tishan/ Sachini, Can we try to create a report out of ireporting, then write a gadget manually referring the output html? We can use the source=url approach described at [1]. Then, we can just add this gadget.xml to the dashboard portal. Shall we try this and see? This should just work unless something unexpected happens. [1] - https://developers.google.com/gadgets/docs/fundamentals refer Turning an Existing Web Page or Application into a Gadget -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Platform #431 has FAILED. Change made by supunm and dinusha.
--- Carbon Snapshot Platform #431 failed. --- This build was manually triggered by Nuwan Bandara. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-431/ -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- supunm (132081): fixing AS p2 failure dinusha (132082): Fixing CARBON-13602. -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error building jaggary dependency
Hi Tharindu, Please refer to the mail *Jaggery is a self contained product which sits in platform/dependencies* which discusses the move. Right now if there is a change in webapp mgt component that effects jaggery, until the webapp snapshot deployed to the maven repo, the jaggery build will break. It is after few meetings we came-up with this solution It is not ideal, for the case of SNAPSHOT however, once we do this release jaggery can always depend on a released version of carbon components, in that way this matter can be mitigated. If you can think of a better way please do propose. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:04 PM, Tharindu Mathew thari...@wso2.com wrote: That's not right... Why did we move all the jaggery stuff to dependencies? Earlier, it was done the right way, iirc, i.e. components stuff residing in components. If you want things coming out of a maven repo, you can deploy the jars, and remove it from the build, like we do for hive, cassandra, etc. This is a violation of the natural structure of the carbon build. On Sat, Jul 7, 2012 at 5:20 AM, Nuwan Bandara nu...@wso2.com wrote: The idea, is that, webapp mgt snapshot will be uploaded. so that jaggery will get built with the snapshot. Its not perfect but this is the only way as of now. Regards, /Nuwan On Fri, Jul 6, 2012 at 12:33 PM, Kasun Weranga kas...@wso2.com wrote: On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew thari...@wso2.comwrote: Am I missing something here or is a dependency (jaggery) depending on a component (webapp)? Yes, I can see this component (webapp) dependency in dependency/jaggery/pom.xml. We should not use a component in dependency level. If this is by design, when we build in order without building from the platform level, almost always the build will break for engineers who doesn't expect this kind of dependency. On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara nu...@wso2.com wrote: Hi kishanthan, Was there any change in webapp mgt component. I also saw a bamboo build break in jaggery Yes, it should be successful after webapp-mgt component gets build. Please build webapp-mgt and then jaggery. Thanks, Kishanthan. /nuwan Sent from my iPad On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta cham...@wso2.com wrote: Hi, I'm getting following error when building platform/trunk/dependency/jaggary. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation failure [ERROR] /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8] cannot find symbol [ERROR] symbol : constructor TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext) [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer _-_-_-_-_-_-_-_-_-_ Thanks Regards, Chamath. *+94 71 532 0009* -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Seeing a jasper report through a gadget
Madhuka, please provide Tishan and Sachini with some assistance for this work, this should be useful for GS2.0 work as well. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:10 PM, Tharindu Mathew thari...@wso2.com wrote: Hi Tishan/ Sachini, Can we try to create a report out of ireporting, then write a gadget manually referring the output html? We can use the source=url approach described at [1]. Then, we can just add this gadget.xml to the dashboard portal. Shall we try this and see? This should just work unless something unexpected happens. [1] - https://developers.google.com/gadgets/docs/fundamentals refer Turning an Existing Web Page or Application into a Gadget -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error building jaggary dependency
That mail thread does not discuss this problem at all, i.e. of a dependency level project referring to a component level as a dependency. And this mail thread shows jaggery is NOT self contained, so the subject itself is misleading. This move should have been done after jaggery is released. Now, whenever there are changes down the line, the build breaks due to jaggery. Anyway, even in the future, won't carbon components depend on the SNAPSHOT version of jaggery? Otherwise, if it depends on a released version, it will be pulling old versions of components such as web app mgt, and thus ending up with two versions of web app mgt (SNAPSHOT and a released version) that can cause osgi constraints and linkage issues. On Sat, Jul 7, 2012 at 1:40 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Tharindu, Please refer to the mail *Jaggery is a self contained product which sits in platform/dependencies* which discusses the move. Right now if there is a change in webapp mgt component that effects jaggery, until the webapp snapshot deployed to the maven repo, the jaggery build will break. It is after few meetings we came-up with this solution It is not ideal, for the case of SNAPSHOT however, once we do this release jaggery can always depend on a released version of carbon components, in that way this matter can be mitigated. If you can think of a better way please do propose. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:04 PM, Tharindu Mathew thari...@wso2.com wrote: That's not right... Why did we move all the jaggery stuff to dependencies? Earlier, it was done the right way, iirc, i.e. components stuff residing in components. If you want things coming out of a maven repo, you can deploy the jars, and remove it from the build, like we do for hive, cassandra, etc. This is a violation of the natural structure of the carbon build. On Sat, Jul 7, 2012 at 5:20 AM, Nuwan Bandara nu...@wso2.com wrote: The idea, is that, webapp mgt snapshot will be uploaded. so that jaggery will get built with the snapshot. Its not perfect but this is the only way as of now. Regards, /Nuwan On Fri, Jul 6, 2012 at 12:33 PM, Kasun Weranga kas...@wso2.com wrote: On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew thari...@wso2.comwrote: Am I missing something here or is a dependency (jaggery) depending on a component (webapp)? Yes, I can see this component (webapp) dependency in dependency/jaggery/pom.xml. We should not use a component in dependency level. If this is by design, when we build in order without building from the platform level, almost always the build will break for engineers who doesn't expect this kind of dependency. On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara nu...@wso2.com wrote: Hi kishanthan, Was there any change in webapp mgt component. I also saw a bamboo build break in jaggery Yes, it should be successful after webapp-mgt component gets build. Please build webapp-mgt and then jaggery. Thanks, Kishanthan. /nuwan Sent from my iPad On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta cham...@wso2.com wrote: Hi, I'm getting following error when building platform/trunk/dependency/jaggary. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation failure [ERROR] /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8] cannot find symbol [ERROR] symbol : constructor TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext) [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer _-_-_-_-_-_-_-_-_-_ Thanks Regards, Chamath. *+94 71 532 0009* -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
Re: [Dev] Error building jaggary dependency
When building through git, can't we download the component/jaggery from a different svn url that would reside in components, similar to a svn external...? On Sat, Jul 7, 2012 at 1:53 PM, Tharindu Mathew thari...@wso2.com wrote: That mail thread does not discuss this problem at all, i.e. of a dependency level project referring to a component level as a dependency. And this mail thread shows jaggery is NOT self contained, so the subject itself is misleading. This move should have been done after jaggery is released. Now, whenever there are changes down the line, the build breaks due to jaggery. Anyway, even in the future, won't carbon components depend on the SNAPSHOT version of jaggery? Otherwise, if it depends on a released version, it will be pulling old versions of components such as web app mgt, and thus ending up with two versions of web app mgt (SNAPSHOT and a released version) that can cause osgi constraints and linkage issues. On Sat, Jul 7, 2012 at 1:40 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Tharindu, Please refer to the mail *Jaggery is a self contained product which sits in platform/dependencies* which discusses the move. Right now if there is a change in webapp mgt component that effects jaggery, until the webapp snapshot deployed to the maven repo, the jaggery build will break. It is after few meetings we came-up with this solution It is not ideal, for the case of SNAPSHOT however, once we do this release jaggery can always depend on a released version of carbon components, in that way this matter can be mitigated. If you can think of a better way please do propose. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:04 PM, Tharindu Mathew thari...@wso2.comwrote: That's not right... Why did we move all the jaggery stuff to dependencies? Earlier, it was done the right way, iirc, i.e. components stuff residing in components. If you want things coming out of a maven repo, you can deploy the jars, and remove it from the build, like we do for hive, cassandra, etc. This is a violation of the natural structure of the carbon build. On Sat, Jul 7, 2012 at 5:20 AM, Nuwan Bandara nu...@wso2.com wrote: The idea, is that, webapp mgt snapshot will be uploaded. so that jaggery will get built with the snapshot. Its not perfect but this is the only way as of now. Regards, /Nuwan On Fri, Jul 6, 2012 at 12:33 PM, Kasun Weranga kas...@wso2.com wrote: On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew thari...@wso2.comwrote: Am I missing something here or is a dependency (jaggery) depending on a component (webapp)? Yes, I can see this component (webapp) dependency in dependency/jaggery/pom.xml. We should not use a component in dependency level. If this is by design, when we build in order without building from the platform level, almost always the build will break for engineers who doesn't expect this kind of dependency. On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara nu...@wso2.comwrote: Hi kishanthan, Was there any change in webapp mgt component. I also saw a bamboo build break in jaggery Yes, it should be successful after webapp-mgt component gets build. Please build webapp-mgt and then jaggery. Thanks, Kishanthan. /nuwan Sent from my iPad On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta cham...@wso2.com wrote: Hi, I'm getting following error when building platform/trunk/dependency/jaggary. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation failure [ERROR] /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8] cannot find symbol [ERROR] symbol : constructor TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext) [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer _-_-_-_-_-_-_-_-_-_ Thanks Regards, Chamath. *+94 71 532 0009* -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error building jaggary dependency
Hi On Sat, Jul 7, 2012 at 2:06 PM, Tharindu Mathew thari...@wso2.com wrote: When building through git, can't we download the component/jaggery from a different svn url that would reside in components, similar to a svn external...? Yes I think, that approach will work, so that means we can put an external to jaggery/components to platform/components and jaggery/features to platform/features from github. Will try this. thanks :) Regards, /Nuwan On Sat, Jul 7, 2012 at 1:53 PM, Tharindu Mathew thari...@wso2.com wrote: That mail thread does not discuss this problem at all, i.e. of a dependency level project referring to a component level as a dependency. And this mail thread shows jaggery is NOT self contained, so the subject itself is misleading. This move should have been done after jaggery is released. Now, whenever there are changes down the line, the build breaks due to jaggery. Anyway, even in the future, won't carbon components depend on the SNAPSHOT version of jaggery? Otherwise, if it depends on a released version, it will be pulling old versions of components such as web app mgt, and thus ending up with two versions of web app mgt (SNAPSHOT and a released version) that can cause osgi constraints and linkage issues. On Sat, Jul 7, 2012 at 1:40 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Tharindu, Please refer to the mail *Jaggery is a self contained product which sits in platform/dependencies* which discusses the move. Right now if there is a change in webapp mgt component that effects jaggery, until the webapp snapshot deployed to the maven repo, the jaggery build will break. It is after few meetings we came-up with this solution It is not ideal, for the case of SNAPSHOT however, once we do this release jaggery can always depend on a released version of carbon components, in that way this matter can be mitigated. If you can think of a better way please do propose. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:04 PM, Tharindu Mathew thari...@wso2.comwrote: That's not right... Why did we move all the jaggery stuff to dependencies? Earlier, it was done the right way, iirc, i.e. components stuff residing in components. If you want things coming out of a maven repo, you can deploy the jars, and remove it from the build, like we do for hive, cassandra, etc. This is a violation of the natural structure of the carbon build. On Sat, Jul 7, 2012 at 5:20 AM, Nuwan Bandara nu...@wso2.com wrote: The idea, is that, webapp mgt snapshot will be uploaded. so that jaggery will get built with the snapshot. Its not perfect but this is the only way as of now. Regards, /Nuwan On Fri, Jul 6, 2012 at 12:33 PM, Kasun Weranga kas...@wso2.comwrote: On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew thari...@wso2.comwrote: Am I missing something here or is a dependency (jaggery) depending on a component (webapp)? Yes, I can see this component (webapp) dependency in dependency/jaggery/pom.xml. We should not use a component in dependency level. If this is by design, when we build in order without building from the platform level, almost always the build will break for engineers who doesn't expect this kind of dependency. On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara nu...@wso2.comwrote: Hi kishanthan, Was there any change in webapp mgt component. I also saw a bamboo build break in jaggery Yes, it should be successful after webapp-mgt component gets build. Please build webapp-mgt and then jaggery. Thanks, Kishanthan. /nuwan Sent from my iPad On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta cham...@wso2.com wrote: Hi, I'm getting following error when building platform/trunk/dependency/jaggary. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation failure [ERROR] /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8] cannot find symbol [ERROR] symbol : constructor TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext) [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer _-_-_-_-_-_-_-_-_-_ Thanks Regards, Chamath. *+94 71 532 0009* -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu
[Dev] Bamboo SVN checkout giving errors
Platform Builders, Can you please have a look at $subject [1] [1] http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-431/log -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in AS spartup Captcha Management Component failed activating
Hi Pradeeban, I still see this in my local AS build. Please have a look. thanks, On Sat, Jun 30, 2012 at 9:04 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote: It doesn't have such hard-coded value, as I see. Anyway, the component doesn't belong for the products, and it has its own feature which is included for manager only. This is introduced into stratos common feature in the commit 127941. I don't think it is needed, as manager (and only manager) anyway has this captcha-mgt feature. I have removed this in commit 131487. Ramith, pls correct me, if CSG or any products will require this feature. In that case, we can use captcha-mgt feature there, like we do in Manager. Now, since this component is removed, this error should not appear in products. Is this error happening in Manager too? I will build and confirm. Regards, Pradeeban. On Sat, Jun 30, 2012 at 7:27 PM, Supun Malinga sup...@wso2.com wrote: On Sat, Jun 30, 2012 at 7:14 PM, Janaka Ranabahu jan...@wso2.com wrote: Hi Supun, It seems like this component has its tenant ID hard coded as 0. The the following line in the exception. yes. *org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0* * * Thanks, Janaka On Sat, Jun 30, 2012 at 6:49 PM, Supun Malinga sup...@wso2.com wrote: Please have a look, [2012-06-30 18:35:11,112] ERROR {org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent} - *** Captcha Management Component failed activating org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0. at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:270) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:226) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:205) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:485) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.getConfigSystemRegistry(CaptchaMgtServiceComponent.java:89) at org.wso2.carbon.captcha.mgt.util.CaptchaUtil.setAnonAccessToCaptchaImages(CaptchaUtil.java:263) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.activate(CaptchaMgtServiceComponent.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:505) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at
[Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
Carbon Snapshot Products #279 Default Job failed. The build was triggered because the code has been changed. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/ -- Code Changes -- supunm (132081): fixing AS p2 failure dinusha (132082): Fixing CARBON-13602. -- Error Summary -- Failed to prepare the build 'WSO2CARBON-PRODUCTS-JOB1-279' -- This message is automatically generated by Atlassian Bamboo ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Bamboo SVN checkout giving errors
Hi, If we delete kernel/trunk/distribution/product dir in bamboo, and restart the build it should work. On Sat, Jul 7, 2012 at 2:19 PM, Nuwan Bandara nu...@wso2.com wrote: Platform Builders, Can you please have a look at $subject [1] [1] http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-431/log -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
If we delete kernel/trunk/distribution/product dir in bamboo, and restart the build it should work. can someone with access to bamboo machine, do it? On Sat, Jul 7, 2012 at 2:18 PM, Bamboo cbuil...@wso2.org wrote: [image: Failed] Carbon Snapshothttp://wso2.org/bamboo/browse/WSO2CARBON/› Products http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS/ › #279http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-279/› Default Job http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/ failed The build was triggered because the code has been changed. No failed tests found, a possible compilation error. Code Changeshttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/commit/ View full change detailshttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/commit/ dinusha http://wso2.org/bamboo/browse/author/dinusha Fixing CARBON-13602. 132082 supunmhttp://wso2.org/bamboo/browse/author/supunm fixing AS p2 failure 132081 Error Summaryhttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/log View full build loghttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/logFailed to prepare the build 'WSO2CARBON-PRODUCTS-JOB1-279'View Online http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279 | Add Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279?commentMode=true | View Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-279/artifact | Download Logshttp://wso2.org/bamboo/download/WSO2CARBON-PRODUCTS-JOB1/build_logs/WSO2CARBON-PRODUCTS-JOB1-279.log This message was sent by Atlassian Bamboo http://wso2.org/bamboo. If you wish to stop receiving these emails edit your user profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify your administrator http://wso2.org/bamboo/viewAdministrators.action. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] AS directory based webapp deployment broken
Getting following error when a directory based webapp is deploying. [2012-07-07 15:23:08,816] INFO {org.apache.axis2.deployment.DeploymentEngine} - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [2012-07-07 15:23:08,817] ERROR {org.wso2.carbon.webapp.deployer.WebappDeployer} - Error occurred while deploying webapp /home/disk1/carbon_builds/newTrunk/platform/trunk/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/deployment/server/webapps/ java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:101) at org.wso2.carbon.webapp.deployer.WebappDeployer.deployThisWebApp(WebappDeployer.java:140) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:94) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) [2012-07-07 15:23:08,817] INFO {org.apache.axis2.deployment.DeploymentEngine} - org.apache.axis2.deployment.DeploymentException: Error occurred while deploying webapp /home/disk1/carbon_builds/newTrunk/platform/trunk/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/deployment/server/webapps/ thanks, -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - sup...@wso2.com sup...@wso2.com mobile - 071 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in AS spartup Captcha Management Component failed activating
Hi Supun, That component couldn't be removed, as it is a dependency for tenant-mgt. So had to add it back. Hence the appearance of the issue again. Will have to find and fix the root cause. Regards, Pradeeban. On Sat, Jul 7, 2012 at 2:39 PM, Supun Malinga sup...@wso2.com wrote: Hi Pradeeban, I still see this in my local AS build. Please have a look. thanks, On Sat, Jun 30, 2012 at 9:04 PM, Kathiravelu Pradeeban pradee...@wso2.com wrote: It doesn't have such hard-coded value, as I see. Anyway, the component doesn't belong for the products, and it has its own feature which is included for manager only. This is introduced into stratos common feature in the commit 127941. I don't think it is needed, as manager (and only manager) anyway has this captcha-mgt feature. I have removed this in commit 131487. Ramith, pls correct me, if CSG or any products will require this feature. In that case, we can use captcha-mgt feature there, like we do in Manager. Now, since this component is removed, this error should not appear in products. Is this error happening in Manager too? I will build and confirm. Regards, Pradeeban. On Sat, Jun 30, 2012 at 7:27 PM, Supun Malinga sup...@wso2.com wrote: On Sat, Jun 30, 2012 at 7:14 PM, Janaka Ranabahu jan...@wso2.comwrote: Hi Supun, It seems like this component has its tenant ID hard coded as 0. The the following line in the exception. yes. *org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0* * * Thanks, Janaka On Sat, Jun 30, 2012 at 6:49 PM, Supun Malinga sup...@wso2.com wrote: Please have a look, [2012-06-30 18:35:11,112] ERROR {org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent} - *** Captcha Management Component failed activating org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0. at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:270) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:226) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:205) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:485) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.getConfigSystemRegistry(CaptchaMgtServiceComponent.java:89) at org.wso2.carbon.captcha.mgt.util.CaptchaUtil.setAnonAccessToCaptchaImages(CaptchaUtil.java:263) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.activate(CaptchaMgtServiceComponent.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at
Re: [Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
yes, looks like something wrong with svn (locked ?? ). i had a look in svn properties, nothing wrong there. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in AS spartup Captcha Management Component failed activating
On Sat, Jul 7, 2012 at 4:46 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote: Hi Supun, That component couldn't be removed, as it is a dependency for tenant-mgt. So had to add it back. Hence the appearance of the issue again. I see. Will have to find and fix the root cause. +1 thanks, Regards, Pradeeban. On Sat, Jul 7, 2012 at 2:39 PM, Supun Malinga sup...@wso2.com wrote: Hi Pradeeban, I still see this in my local AS build. Please have a look. thanks, On Sat, Jun 30, 2012 at 9:04 PM, Kathiravelu Pradeeban pradee...@wso2.com wrote: It doesn't have such hard-coded value, as I see. Anyway, the component doesn't belong for the products, and it has its own feature which is included for manager only. This is introduced into stratos common feature in the commit 127941. I don't think it is needed, as manager (and only manager) anyway has this captcha-mgt feature. I have removed this in commit 131487. Ramith, pls correct me, if CSG or any products will require this feature. In that case, we can use captcha-mgt feature there, like we do in Manager. Now, since this component is removed, this error should not appear in products. Is this error happening in Manager too? I will build and confirm. Regards, Pradeeban. On Sat, Jun 30, 2012 at 7:27 PM, Supun Malinga sup...@wso2.com wrote: On Sat, Jun 30, 2012 at 7:14 PM, Janaka Ranabahu jan...@wso2.comwrote: Hi Supun, It seems like this component has its tenant ID hard coded as 0. The the following line in the exception. yes. *org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0* * * Thanks, Janaka On Sat, Jun 30, 2012 at 6:49 PM, Supun Malinga sup...@wso2.comwrote: Please have a look, [2012-06-30 18:35:11,112] ERROR {org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent} - *** Captcha Management Component failed activating org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0. at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:270) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:226) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:205) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:485) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.getConfigSystemRegistry(CaptchaMgtServiceComponent.java:89) at org.wso2.carbon.captcha.mgt.util.CaptchaUtil.setAnonAccessToCaptchaImages(CaptchaUtil.java:263) at org.wso2.carbon.captcha.mgt.internal.CaptchaMgtServiceComponent.activate(CaptchaMgtServiceComponent.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at
Re: [Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
Actually product/dss/xdoc/... refers to a invalid svn:external. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] Can't deploy car files in latest pack.
Hi Ajith, This should be due to the change i made yesterday. I just realized that I didn't fix the car file uploader to deploy the car file to the new location. I'll fix that. Until then, please copy the car file manually to CARBON_HOME/repository/carbonapps directory without using the UI. Thanks, ~Isuru On Sat, Jul 7, 2012 at 1:20 AM, Ajith Vitharana aji...@wso2.com wrote: Hi All, I'm trying to reproduce the issue [1] in latest G-Reg pack. But that car file doesn't deploy in G-Reg. And also I can't see any errors or warning at backend. [1]https://wso2.org/jira/browse/REGISTRY-999 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 -- Isuru Suriarachchi Senior Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Products #280 Default Job has FAILED. Change made by dinusha.
Carbon Snapshot Products #280 Default Job failed. The build was triggered because the code has been changed. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-280/ -- Code Changes -- dinusha (132085): Fixing CARBON-13601. -- Error Summary -- Failed to prepare the build 'WSO2CARBON-PRODUCTS-JOB1-280' -- This message is automatically generated by Atlassian Bamboo ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] portOffset doesn't propagate into AxisConfig transportIns
Hi, this issue is in carbon trunk ?? --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] portOffset doesn't propagate into AxisConfig transportIns
On Sat, Jul 7, 2012 at 6:06 PM, Nirmal Fernando nir...@wso2.com wrote: On Sat, Jul 7, 2012 at 6:03 PM, Pradeep Fernando prad...@wso2.com wrote: Hi, this issue is in carbon trunk ?? Yes! You can reproduce if you set up a carbon-server cluster, in multicast mode and making one server as a group manager (master). Then after slave joins the master, shutdown the slave. You could notice the incorrect ports (without offset) in the master's log related to the leave of the slave. INFO - DefaultGroupManagementAgent Application member Host:10.100.3.105, Port: 4001, HTTP:8285, HTTPS:8243, ACTIVE:true left cluster. --Pradeep -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] portOffset doesn't propagate into AxisConfig transportIns
Hi, these are Nhttp transport ports. Those get set (and the port offsetting happens) in the mediation-intializer components, #initialize method i AFAIR. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
removed the external. should work nw, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Platform #434 has FAILED. Change made by pradeep.
--- Carbon Snapshot Platform #434 failed. --- This build was manually triggered by Isuru Udana Loku Narangoda. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-434/ -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- pradeep (132090): fixing the wrong svn:external. why use xdocs at all if we are going to use confluence wiki as the doc solution -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error while AS Integration tests and Startup : java.lang.NoSuchMethodError: org.wso2.carbon.core.util.KeyStoreManager.getInstance()
Hi all, Here is the Error shows when integration tests fails, Failed tests: securityScenariosTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase): org.wso2.carbon.core.util.KeyStoreManager.getInstance(Lorg/wso2/carbon/registry/core/session/UserRegistry;)Lorg/wso2/carbon/core/util/KeyStoreManager; testTenantCreation(org.wso2.appserver.integration.tests.TenantWebappDeploymentTestCase): org.wso2.carbon.security.keystore.KeyStoreAdmin.init(ILorg/wso2/carbon/registry/core/Registry;)V Getting this Error when WSO2 AS starts, [2012-07-07 20:30:58,486] ERROR {org.apache.axis2.engine.AxisConfiguration} - Error occured while notifying observer java.lang.NoSuchMethodError: org.wso2.carbon.core.util.KeyStoreManager.getInstance(Lorg/wso2/carbon/registry/core/session/UserRegistry;)Lorg/wso2/carbon/core/util/KeyStoreManager; at org.wso2.carbon.sts.STSDeploymentInterceptor.updateSTSService(STSDeploymentInterceptor.java:127) at org.wso2.carbon.sts.STSDeploymentInterceptor.serviceUpdate(STSDeploymentInterceptor.java:72) at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:651) at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:405) at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:218) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:471) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Thanks AndunSLG ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Platform #435 has FAILED. Change made by maninda.
--- Carbon Snapshot Platform #435 failed. --- Code has been updated by maninda. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435/ -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- maninda (132093): Correctly implemented security checkbox maninda (132092): Correctly implemented security checkbox -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] Carbon Snapshot Products #279 Default Job has FAILED. Change made by supunm and dinusha.
Hi Pradeep, Thanks for looking into this. I triggered a build after your fix. But the problem still exits [1]. [1] http://wso2.org/bamboo/download/WSO2CARBON-PLATFORM-JOB1/build_logs/WSO2CARBON-PLATFORM-JOB1-434.log Thanks, IsuruU On Sat, Jul 7, 2012 at 6:32 PM, Pradeep Fernando prad...@wso2.com wrote: removed the external. should work nw, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Isuru Udana* * * * Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: isu...@wso2.com cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS directory based webapp deployment broken
Hi Reka, looks like changes in r131754 causing this. You can't always assume that webapp is a war. So substring to the last index of '.war' gives this error when a directory based webapp is deployed. Also same error occurs in webapp unloading as well. Please fix this accordingly. thanks, On Sat, Jul 7, 2012 at 3:25 PM, Supun Malinga sup...@wso2.com wrote: Getting following error when a directory based webapp is deploying. [2012-07-07 15:23:08,816] INFO {org.apache.axis2.deployment.DeploymentEngine} - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [2012-07-07 15:23:08,817] ERROR {org.wso2.carbon.webapp.deployer.WebappDeployer} - Error occurred while deploying webapp /home/disk1/carbon_builds/newTrunk/platform/trunk/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/deployment/server/webapps/ java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:101) at org.wso2.carbon.webapp.deployer.WebappDeployer.deployThisWebApp(WebappDeployer.java:140) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:94) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) [2012-07-07 15:23:08,817] INFO {org.apache.axis2.deployment.DeploymentEngine} - org.apache.axis2.deployment.DeploymentException: Error occurred while deploying webapp /home/disk1/carbon_builds/newTrunk/platform/trunk/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/deployment/server/webapps/ thanks, -- 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in AS startup from DataSourceServiceComponent
Hi Prabath/Anjana, I still see the original error in AS startup. Can we move to the ndatasource component and get rid of the old version? thanks, On Mon, Jul 2, 2012 at 8:25 AM, Anjana Fernando anj...@wso2.com wrote: Hi Waruna, Sure, lets check it today. Cheers, Anjana. On Sun, Jul 1, 2012 at 3:54 PM, Waruna Ranasinghe war...@wso2.com wrote: Hi Anjana, On Sat, Jun 30, 2012 at 2:55 PM, Anjana Fernando anj...@wso2.com wrote: Hi Prabath, On Fri, Jun 29, 2012 at 10:28 AM, Prabath Abeysekera praba...@wso2.comwrote: Hi Anjana, On Fri, Jun 29, 2012 at 9:00 AM, Anjana Fernando anj...@wso2.comwrote: Hi, On Thu, Jun 28, 2012 at 8:44 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Supun, I ll have a look. We should remove this component soon, we have the new ndatasource component, and the UI is also finished as I know . So we should just move to that. Okay. If we're going to deprecate the use of the data-sources component, I believe, we might want to formally inform all the product teams who are using that component to migrate to ndatasources as part of the release effort. Then everybody can focus on testing and other release related activities (in which datasources are involved) using the new implementation. +1, I was actually waiting for the UI to be completed for products which uses the UI to manage data sources. Products like BPS was already informed to move into the new component, where they don't use the UI but uses the configuration file. I moved to the new component, server starts without a problem, but I see so many exceptions while running the integration tests. I like to sit with you have a closer look at these issues. The tests get successfully run when I move back to the old datasource component. Unless we sort out these issues, we cannot move to the new component. some exceptions: [1] MySQL: Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Lock wait timeout exceeded; try restarting transaction {prepstmnt 1521328010 DELETE FROM ODE_MESSAGE_EXCHANGE WHERE MESSAGE_EXCHANGE_ID = ? [params=?]} [code=1205, state=41000] at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:247) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:223) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:72) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:1162) at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:272) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1741) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:267) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:118) ... 55 more NestedThrowables: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) [2] H2: 2012-07-01 10:43:39,347] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - NestedThrowables: [2012-07-01 10:43:39,347] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - org.h2.jdbc.JdbcSQLException: Database is already closed (to disable automatic closing at VM shutdown, add ;DB_CLOSE_ON_EXIT=FALSE to the db URL) [90121-140] [2012-07-01 10:43:39,347] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) [2012-07-01 10:43:39,347] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at org.h2.message.DbException.get(DbException.java:167) Thanks, Waruna Cheers, Anjana. Cheers, Anjana. Regards, Prabath On Thu, Jun 28, 2012 at 7:22 PM, Supun Malinga sup...@wso2.comwrote: Please have a look, [2012-06-28 19:19:01,127] [0] [Application Server]ERROR {org.wso2.carbon.datasource.internal.DataSourceServiceComponent} - org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0. [2012-06-28 19:19:01,128] [0] [Application Server]ERROR {org.wso2.carbon.datasource.internal.DataSourceServiceComponent} - Error in retrieving SystemRegistry from Registry Service [2012-06-28 19:19:01,168] [0] [Application Server]ERROR {org.wso2.carbon.datasource.internal.DataSourceServiceComponent} - org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: 0. [2012-06-28 19:19:01,169] [0] [Application Server]ERROR {org.wso2.carbon.datasource.internal.DataSourceServiceComponent} - Error
Re: [Dev] [Bamboo-Build] Carbon Snapshot Platform #435 has FAILED. Change made by maninda.
Removed the svn externals to xdoc in kernel. Thanks, Waruna On Sat, Jul 7, 2012 at 9:23 PM, Bamboo cbuil...@wso2.org wrote: [image: Failed] Carbon Snapshothttp://wso2.org/bamboo/browse/WSO2CARBON/› Platform http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM/ › #435http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435/ failed Code has been updated by manindahttp://wso2.org/bamboo/browse/author/maninda . No failed tests found, a possible compilation error. Failing Jobs http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435/ Job Duration Tests[image: Failed] Default Jobhttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-435/ (Default Stage) Unknown No tests found Logshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-435/log| Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-435/artifact Code Changes http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435/commit/ View full change detailshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435/commit/ maninda http://wso2.org/bamboo/browse/author/maninda Correctly implemented security checkbox 132093 manindahttp://wso2.org/bamboo/browse/author/maninda Correctly implemented security checkbox 132092 View Onlinehttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435 | Add Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-435?commentMode=true This message was sent by Atlassian Bamboo http://wso2.org/bamboo. If you wish to stop receiving these emails edit your user profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify your administrator http://wso2.org/bamboo/viewAdministrators.action. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- - Waruna Ranasinghe Senior Software Engineer, WSO2 Mobile: +94 724 318285 BLOG: http://warunapw.blogspot.com www.wso2.com - Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Products #281 Default Job has FAILED. Change made by maninda, pradeep and sanjayav.
Carbon Snapshot Products #281 Default Job failed. The build was triggered because the code has been changed. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-281/ -- Code Changes -- sanjayav (132086): added the rest of package deployment documentation maninda (132093): Correctly implemented security checkbox pradeep (132090): fixing the wrong svn:external. why use xdocs at all if we are going to use confluence wiki as the doc solution -- Error Summary -- Failed to prepare the build 'WSO2CARBON-PRODUCTS-JOB1-281' -- This message is automatically generated by Atlassian Bamboo ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Seeing a jasper report through a gadget
Hi, On Sat, Jul 7, 2012 at 1:43 PM, Nuwan Bandara nu...@wso2.com wrote: Madhuka, please provide Tishan and Sachini with some assistance for this work, this should be useful for GS2.0 work as well. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:10 PM, Tharindu Mathew thari...@wso2.com wrote: Hi Tishan/ Sachini, Can we try to create a report out of ireporting, then write a gadget manually referring the output html? We can use the source=url approach described at [1]. Then, we can just add this gadget.xml to the dashboard portal. Shall we try this and see? This should just work unless something unexpected happens. Will look into this and update you. [1] - https://developers.google.com/gadgets/docs/fundamentals refer Turning an Existing Web Page or Application into a Gadget -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tishan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Platform #436 has FAILED. Change made by waruna.
--- Carbon Snapshot Platform #436 failed. --- Code has been updated by waruna. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/ -- Failing Jobs -- - Default Job (Default Stage): 77 tests passed. -- Code Changes -- waruna (132097): Removed the invalid svn external -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Commits] [Carbon-platform] svn commit r132076 - carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services
Hi Ajith, No schedule saved nothing for a specific reason. It is actually possible to create a report initially with a minimum set of values and then provide the advanced settings when you actually schedule or generate the report (ex:- resourcePath, loaded attributes). Thereby you could have a single report configuration and then use that to produce multiple reports (ex:- a report for each service or consumer). Now with this commit, everytime you schedule a report, all what you entered gets saved and that makes that whole process inconsistent. However, I feel that your expectation is to be able to add everything required when you originally create the report configuration. If that's the case, can't we fix the Add Report UI instead of this? Thanks, Senaka. On Sat, Jul 7, 2012 at 10:14 PM, Ajith Vitharana aji...@wso2.com wrote: On Sat, Jul 7, 2012 at 11:46 AM, Senaka Fernando sen...@wso2.com wrote: Hi Ajith, I think this commit needs to be reverted. When editing an existing report configuration, the changes should get persisted into the registry. But, the same is not the case when you schedule. For example, you can leave some optional fields blank and create a report but fill them in when scheduling. This would allow two people to schedule two reports having the same basic configuration, with some additional user-specific configuration. If the reporter of this issue expected that scheduling a report should also persist configuration, he/she is mistaken. Hi Senaka Thanks for the review. However, this is not a blind commit. :) When we create a report input value is Report Name , Template , Report Type,Report Class. But, you have created additional properties (cronExpresssion , resourcePath ) with empty values at first phase. (see TestReport.png). Those additional properties should be filled at report schedule phase (schedule.png all the input values are required *), therefore property persistent should be at schedule phase. Thanks Ajith Thanks, Senaka. On Sat, Jul 7, 2012 at 6:45 AM, aji...@wso2.com wrote: Author: ajithn Date: Fri Jul 6 21:15:57 2012 New Revision: 132076 URL: http://wso2.org/svn/browse/wso2?view=revrevision=132076 Log: Fixed REGISTRY-1017 Modified: carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services/ReportingAdminService.java Modified: carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services/ReportingAdminService.java URL: http://wso2.org/svn/browse/wso2/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services/ReportingAdminService.java?rev=132076r1=132075r2=132076view=diff == --- carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services/ReportingAdminService.java (original) +++ carbon/platform/trunk/components/registry/org.wso2.carbon.registry.reporting/src/main/java/org/wso2/carbon/registry/reporting/services/ReportingAdminService.java Fri Jul 6 21:15:57 2012 @@ -73,6 +73,8 @@ taskManager.registerTask(new TaskInfo(configuration.getName(), clazz, propertyMap, new TaskInfo.TriggerInfo(configuration.getCronExpression(; taskManager.rescheduleTask(configuration.getName()); +// Re-adding full configuration properties to report path -REGISTRY-1017 +saveReport(configuration); } public void stopScheduledReport(String name) throws Exception { ___ Commits mailing list comm...@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/commits -- *Senaka Fernando* Member - Integration Technologies Management Committee; 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 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 -- *Senaka Fernando* Member - Integration Technologies Management Committee; 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] Carbon Snapshot Platform #436 has FAILED. Change made by waruna.
The build is failing, because we have commented out the dependencies from the root pom. I assume that dependencies are commented out in-order to use maven deploy command. In that case we may have to introduce a separate bamboo build plan for platform dependencies. Thanks, Waruna On Sun, Jul 8, 2012 at 12:41 AM, Bamboo cbuil...@wso2.org wrote: [image: Failed] Carbon Snapshothttp://wso2.org/bamboo/browse/WSO2CARBON/› Platform http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM/ › #436http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/ failed Code has been updated by warunahttp://wso2.org/bamboo/browse/author/waruna . *0/77* tests failed. Failing Jobs http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/ Job Duration Tests[image: Failed] Default Jobhttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/ (Default Stage) 91 minutes 77 passed Logshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/log| Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/artifact Code Changes http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/commit/ View full change detailshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/commit/ waruna http://wso2.org/bamboo/browse/author/waruna Removed the invalid svn external 132097 View Onlinehttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436 | Add Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436?commentMode=true This message was sent by Atlassian Bamboo http://wso2.org/bamboo. If you wish to stop receiving these emails edit your user profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify your administrator http://wso2.org/bamboo/viewAdministrators.action. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- - Waruna Ranasinghe Senior Software Engineer, WSO2 Mobile: +94 724 318285 BLOG: http://warunapw.blogspot.com www.wso2.com - Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] Carbon Snapshot Platform #437 has FAILED (5 tests failed). Change made by maninda and vijitha.
--- Carbon Snapshot Platform #437 failed. --- Code has been updated by maninda, vijitha. 5/1841 tests failed. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-437/ -- Failing Jobs -- - Default Job (Default Stage): 5 of 1841 tests failed. -- Code Changes -- maninda (132099): Completed secured and unsecured thrift configuration functionality vijitha (132103): Fixed the missing negate check box issue for media type of the Registry advanced search (REGISTRY-861) maninda (132104): Enhanced config UI a little and default load is set for key store settings -- Tests -- New Test Failures (5) - BRSTestServerManager: Start server - CEPTestServerManager: Start server - GSTestServerManager: Start server - ISTestServerManager: Start server - StratosManagerTestServerManager: Start server -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] Carbon Snapshot Platform #436 has FAILED. Change made by waruna.
On Sun, Jul 8, 2012 at 1:53 AM, Waruna Ranasinghe war...@wso2.com wrote: The build is failing, because we have commented out the dependencies from the root pom. I assume that dependencies are commented out in-order to use maven deploy command. In that case we may have to introduce a separate bamboo build plan for platform dependencies. Thanks, Waruna Yes, there was an issue with bamboo build order. I have updated the build tasks with relevant changes. Will check the next build. Thanks, Kishanthan. On Sun, Jul 8, 2012 at 12:41 AM, Bamboo cbuil...@wso2.org wrote: [image: Failed] Carbon Snapshothttp://wso2.org/bamboo/browse/WSO2CARBON/› Platform http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM/ › #436http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/ failed Code has been updated by warunahttp://wso2.org/bamboo/browse/author/waruna . *0/77* tests failed. Failing Jobs http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/ Job Duration Tests[image: Failed] Default Jobhttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/ (Default Stage) 91 minutes 77 passed Logshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/log| Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-436/artifact Code Changes http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/commit/ View full change detailshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436/commit/ waruna http://wso2.org/bamboo/browse/author/waruna Removed the invalid svn external 132097 View Onlinehttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436 | Add Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-436?commentMode=true This message was sent by Atlassian Bamboo http://wso2.org/bamboo. If you wish to stop receiving these emails edit your user profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify your administrator http://wso2.org/bamboo/viewAdministrators.action. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- - Waruna Ranasinghe Senior Software Engineer, WSO2 Mobile: +94 724 318285 BLOG: http://warunapw.blogspot.com www.wso2.com - Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Kernel] Build failed in clean repo
Hi All, On Fri, Jul 6, 2012 at 1:24 PM, Dhanushka Ranasinghe dhanush...@wso2.comwrote: Hi... Seems like there is no Shibboleth repository in our public wso2 nexus [1] [1] http://sr5.us1.wso2.com/nexus What is the status of this? Bamboo kernel build is failing due to this issue [1]. Thanks, Kishanthan. [1] http://wso2.org/bamboo/download/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1-364.log Thank You Dhanushka On Fri, Jul 6, 2012 at 1:12 PM, Ajith Vitharana aji...@wso2.com wrote: On Fri, Jul 6, 2012 at 11:48 AM, Ajith Vitharana aji...@wso2.com wrote: On Fri, Jul 6, 2012 at 10:36 AM, Thilina Buddhika thili...@wso2.comwrote: Please update the Shibboleth repository entry in WSO2 Nexus. Please fix this ASAP, because we can't proceed the build with this issue. :( Hi Infra, Is anyone looking to this problem ? Please update. Thanks Ajith Thanks Ajith Thanks, Thilina On Fri, Jul 6, 2012 at 10:32 AM, Thilina Buddhika thili...@wso2.comwrote: Shibboleth repositories are relocated and they have introduced a Nexus repo instead. https://shibboleth.net/nexus/content/repositories/releases/ Thanks, Thilina On Fri, Jul 6, 2012 at 10:16 AM, Ajith Vitharana aji...@wso2.comwrote: On Fri, Jul 6, 2012 at 10:08 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, This same error has been reported by Kasun and Achala. Will you delete these jars and check whether they are coming from the nexus repo? Downloading: http://shibboleth.internet2.edu/downloads/maven2/org/opensaml/openws/1.2.2/openws-1.2.2.jar Downloading: http://shibboleth.internet2.edu/downloads/maven2/jargs/jargs/1.0/jargs-1.0.jar Thanks Ajith thanks, dimuthu On Fri, Jul 6, 2012 at 9:51 AM, Ajith Vitharana aji...@wso2.comwrote: Hi All, [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ wss4j --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 125 source files to * /home/ajithn/wso2/build/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3 */target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - *[ERROR] error: error reading /home/ajithn/.m2/repository/org/opensaml/openws/1.2.2/openws-1.2.2.jar; error in opening zip file* *[ERROR] error: error reading /home/ajithn/.m2/repository/jargs/jargs/1.0/jargs-1.0.jar; error in opening zip file* [INFO] 2 errors [INFO] - [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 21.111s [INFO] Finished at: Fri Jul 06 09:48:28 IST 2012 [INFO] Final Memory: 18M/1341M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project wss4j: Compilation *failure: Compilation failure:* *[ERROR] error: error reading /home/ajithn/.m2/repository/org/opensaml/openws/1.2.2/openws-1.2.2.jar; error in opening zip file* *[ERROR] error: error reading /home/ajithn/.m2/repository/jargs/jargs/1.0/jargs-1.0.jar; error in opening zip file* -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/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 -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 -- Dhanushka Ranasinghe, WSO2 lnc http://wso2.com E-mail : dhanush...@wso2.com Mobile : +94771928269 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Kernel] Build failed in clean repo
think, ajith fixed this problem. still failing ? ---Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Kernel] Build failed in clean repo
On Sun, Jul 8, 2012 at 8:37 AM, Pradeep Fernando prad...@wso2.com wrote: think, ajith fixed this problem. still failing ? Yes. #364 was the last kernel build and its failing[1] with the same issue mentioned in this thread. Kishanthan. [1] http://wso2.org/bamboo/download/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1/build_logs/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1-364.log ---Pradeep -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ADBException: Unexpected subelement return
Hi all, When I try to invoke a operation in the service using the auto-generated code using wsdl is giving me the following exception. Exception in thread main org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement return at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.wso2.carbon.governance.uri.stub.URIStub.fromOM(URIStub.java:1694) at org.wso2.carbon.governance.uri.stub.URIStub.addURI(URIStub.java:246) at org.wso2.carbon.governance.uri.service.client.UriServiceClient.main(UriServiceClient.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement return at org.wso2.carbon.governance.adduri.services.AddURI$Factory.parse(AddURI.java:447) at org.wso2.carbon.governance.uri.stub.URIStub.fromOM(URIStub.java:1611) ... 7 more Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement return at org.wso2.carbon.governance.adduri.services.AddURI$Factory.parse(AddURI.java:441) ... 8 more What can be the reason for such an exception?? Here I am attaching the wsdl with this. thanks Eranda wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:ns5=http://services.getURIDependencies.governance.carbon.wso2.org; xmlns:ns6=http://exceptions.core.registry.carbon.wso2.org/xsd; xmlns:ns7=http://exception.api.governance.carbon.wso2.org/xsd; xmlns:ns8=http://api.registry.carbon.wso2.org/xsd; xmlns:ns2=http://services.updateURI.governance.carbon.wso2.org; xmlns:ns1=http://services.getURI.governance.carbon.wso2.org; xmlns:ns4=http://services.getURIArtifactIDs.governance.carbon.wso2.org; xmlns:ns3=http://services.deleteURI.governance.carbon.wso2.org; xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:tns=http://ws.apache.org/axis2; xmlns:ns0=http://services.addURI.governance.carbon.wso2.org; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; targetNamespace=http://ws.apache.org/axis2; wsdl:types xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:ax2234=http://exception.api.governance.carbon.wso2.org/xsd; attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://services.addURI.governance.carbon.wso2.org; xs:import namespace=http://exception.api.governance.carbon.wso2.org/xsd; / xs:element name=addURIServiceGovernanceException xs:complexType xs:sequence xs:element minOccurs=0 name=GovernanceException nillable=true type=ax2234:GovernanceException / /xs:sequence /xs:complexType /xs:element xs:element name=addURI xs:complexType xs:sequence xs:element minOccurs=0 name=info nillable=true type=xs:string / /xs:sequence /xs:complexType /xs:element xs:element name=addURIResponse xs:complexType xs:sequence xs:element minOccurs=0 name=return type=xs:string / /xs:sequence /xs:complexType /xs:element /xs:schema xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:ax2234=http://exception.api.governance.carbon.wso2.org/xsd; attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://services.getURI.governance.carbon.wso2.org; xs:import namespace=http://exception.api.governance.carbon.wso2.org/xsd; / xs:element name=getURIServiceGovernanceException xs:complexType xs:sequence xs:element minOccurs=0 name=GovernanceException nillable=true type=ax2234:GovernanceException / /xs:sequence /xs:complexType /xs:element xs:element name=getURI xs:complexType xs:sequence xs:element minOccurs=0 name=artifactId nillable=true type=xs:string / /xs:sequence /xs:complexType /xs:element xs:element name=getURIResponse xs:complexType xs:sequence xs:element minOccurs=0 name=return type=xs:string / /xs:sequence /xs:complexType /xs:element /xs:schema xs:schema
[Dev] nTask component is not working properly
Hi all, I noticed the subject in the BAM2 pack when scheduling the Hive Scripts. When debugging I noticed the task is successfully given to the nTask component, but the scheduled task is not executing as indicated in the cron expression. And also no exceptions are thrown. Screen shot attached. This was working well in the BAM2 M5 pack. As per offline discussion with PrabathA, he mentioned that there is an issue with the nTask component. We need to fix this asap, since it's L1 issue for BAM2. Anjana/PrabathA can you please look into this issue please. Thanks, Sinthuja. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] nTask component is not working properly
attached screen shot. Thanks, Sinthuja. On Sun, Jul 8, 2012 at 9:30 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi all, I noticed the subject in the BAM2 pack when scheduling the Hive Scripts. When debugging I noticed the task is successfully given to the nTask component, but the scheduled task is not executing as indicated in the cron expression. And also no exceptions are thrown. Screen shot attached. This was working well in the BAM2 M5 pack. As per offline discussion with PrabathA, he mentioned that there is an issue with the nTask component. We need to fix this asap, since it's L1 issue for BAM2. Anjana/PrabathA can you please look into this issue please. Thanks, Sinthuja. attachment: Screenshot at 2012-07-08 09:24:37.png___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Bamboo SVN checkout giving errors
As per r132090, wrong svn external was removed and bamboo is now building fine. On Sat, Jul 7, 2012 at 2:42 PM, Tharindu Mathew thari...@wso2.com wrote: Hi, If we delete kernel/trunk/distribution/product dir in bamboo, and restart the build it should work. On Sat, Jul 7, 2012 at 2:19 PM, Nuwan Bandara nu...@wso2.com wrote: Platform Builders, Can you please have a look at $subject [1] [1] http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-431/log -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Bamboo clean repo build issues
Hi All, The following dependencies are either moved or not available anymore from the respected repository locations. Since bamboo ran with a clean repo, we are facing following issues at kernel and platform builds. Can we find alternative repo locations and update public nexus ASAP? We can't proceed with any build because of this. build 07-Jul-2012 21:03:35[ERROR] error: error reading /home/bamboo/.m2/repository/org/opensaml/openws/1.2.2/openws-1.2.2.jar; error in opening zip file build 07-Jul-2012 21:03:35[ERROR] error: error reading /home/bamboo/.m2/repository/jargs/jargs/1.0/jargs-1.0.jar; error in opening zip file build 07-Jul-2012 21:03:35[ERROR] error: error reading /home/bamboo/.m2/repository/org/apache/xerces/xml-apis/2.9.1/xml-apis-2.9.1.jar; error in opening zip file build 07-Jul-2012 21:03:35[ERROR] error: error reading /home/bamboo/.m2/repository/org/apache/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar; error in opening zip file build 07-Jul-2012 21:03:35[ERROR] error: error reading /home/bamboo/.m2/repository/org/apache/xerces/resolver/2.9.1/resolver-2.9.1.jar; error in opening zip file build 07-Jul-2012 21:03:35 [ERROR] error: error reading /home/bamboo/.m2/repository/org/apache/xerces/serializer/2.9.1/serializer-2.9.1.jar; error in opening zip file Thanks, Kishanthan. -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Bamboo clean repo build issues
Hi, AFAIU, nothing wrong with nexus repo. its working fine. http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/xerces/xercesImpl/2.9.1/ --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Kernel] Build failed in clean repo
On Sun, Jul 8, 2012 at 8:37 AM, Pradeep Fernando prad...@wso2.com wrote: think, ajith fixed this problem. still failing ? No . I didn't fix this. Please see my previous comment. Thanks Ajith ---Pradeep -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] nTask component is not working properly
On Sun, Jul 8, 2012 at 9:30 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi all, I noticed the subject in the BAM2 pack when scheduling the Hive Scripts. When debugging I noticed the task is successfully given to the nTask component, but the scheduled task is not executing as indicated in the cron expression. And also no exceptions are thrown. Screen shot attached. This was working well in the BAM2 M5 pack. As per offline discussion with PrabathA, he mentioned that there is an issue with the nTask component. We need to fix this asap, since it's L1 issue for BAM2. Anjana/PrabathA can you please look into this issue please. We also noticed same issue in G-Reg [1]. [1]https://wso2.org/jira/browse/REGISTRY-1031 Thanks Ajith Thanks, Sinthuja. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94714631794 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Seeing a jasper report through a gadget
Hi, On Sun, Jul 8, 2012 at 12:07 AM, Tishan Dahanayaka tis...@wso2.com wrote: Hi, On Sat, Jul 7, 2012 at 1:43 PM, Nuwan Bandara nu...@wso2.com wrote: Madhuka, please provide Tishan and Sachini with some assistance for this work, this should be useful for GS2.0 work as well. Regards, /Nuwan On Sat, Jul 7, 2012 at 1:10 PM, Tharindu Mathew thari...@wso2.comwrote: Hi Tishan/ Sachini, Can we try to create a report out of ireporting, then write a gadget manually referring the output html? We can use the source=url approach described at [1]. Then, we can just add this gadget.xml to the dashboard portal. Shall we try this and see? This should just work unless something unexpected happens. Sure, will do. Will look into this and update you. [1] - https://developers.google.com/gadgets/docs/fundamentals refer Turning an Existing Web Page or Application into a Gadget -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tishan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev