[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #28 was SUCCESSFUL (with 18 tests). Change made by ashansa.
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #28 was successful. --- Code has been updated by ashansa. 18 tests in total. http://wso2.org/bamboo/browse/WCB001-PRO006-28/ -- Code Changes -- ashansa (152912): >when deploy latest success artifact, calling deploy to bpel directly avoiding >create artifact and deploy ashansa (152911): >setting default value of doDeploy param to false -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #28 has FAILED (1 tests failed, no failures were new). Change made by ashansa.
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #28 failed. --- Code has been updated by ashansa. 1/888 tests failed, no failures were new. http://wso2.org/bamboo/browse/WCB001-PLA006-28/ - Currently Responsible - No one is responsible for fixing this build. -- Failing Jobs -- - Default Job (Default Stage): 1 of 888 tests failed. -- Code Changes -- ashansa (152912): >when deploy latest success artifact, calling deploy to bpel directly avoiding >create artifact and deploy ashansa (152911): >setting default value of doDeploy param to false -- Tests -- Existing Test Failures (1) - MultipleDefinitionConversionTest: Multiple defn conversion from j s o n -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'
Hi Shariq, I did as you suggested and now the username is available. What I'm not sure is how appropriate/safe this is. Thanks for the help. Regards, Dulanja On Tue, Jan 8, 2013 at 6:17 PM, Dulanja Liyanage wrote: > Hi Shariq, > > I will try that. Thanks! > > Dulanja > > > On Tue, Jan 8, 2013 at 6:12 PM, Muhammed Shariq wrote: > >> Hi, >> >> This looks like an issue I encountered sometime back. We had to revert >> the fixes I did in TomcatValve cz it was causing some other issue .. Can >> you try CarbonContext.getCurrentContext.getUsername() and see what happens >> .. AFAIR its getUsername simple does a return .. we should fix it to check >> if username is null and if so set it properly .. usually that is the >> behavior but there are some edge cases it seem ... >> >> On Tue, Jan 8, 2013 at 3:53 PM, Dulanja Liyanage wrote: >> >>> Hi, >>> >>> I'm testing IS 4.1.0 running on Carbon 4.0.6. While debugging an issue, >>> I encountered the $subject. >>> >>> I logged in as 'admin', so, the username should return as such. But it >>> returns 'null'. >>> >>> However the >>> PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain() >>> returns 'carbon.super' as expected. >>> >>> I'm still debugging this and trying to figure out how CarbonContext >>> works in threads. If someone is already aware of a reason/solution for this >>> it will save time. :) >>> >>> Thanks! >>> Dulanja >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thanks, >> Shariq. >> Phone: +94 777 202 225 >> > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #27 was SUCCESSFUL (with 18 tests). Change made by thilini.
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #27 was successful. --- Code has been updated by thilini. 18 tests in total. http://wso2.org/bamboo/browse/WCB001-PRO006-27/ -- Code Changes -- thilini (152887): >fixing syntax issue -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #27 has FAILED (1 tests failed, no failures were new). Change made by thilini.
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #27 failed. --- Code has been updated by thilini. 1/888 tests failed, no failures were new. http://wso2.org/bamboo/browse/WCB001-PLA006-27/ - Currently Responsible - No one is responsible for fixing this build. -- Failing Jobs -- - Default Job (Default Stage): 1 of 888 tests failed. -- Code Changes -- thilini (152887): >fixing syntax issue -- Tests -- Existing Test Failures (1) - MultipleDefinitionConversionTest: Multiple defn conversion from j s o n -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'
Hi Shariq, I will try that. Thanks! Dulanja On Tue, Jan 8, 2013 at 6:12 PM, Muhammed Shariq wrote: > Hi, > > This looks like an issue I encountered sometime back. We had to revert the > fixes I did in TomcatValve cz it was causing some other issue .. Can you > try CarbonContext.getCurrentContext.getUsername() and see what happens .. > AFAIR its getUsername simple does a return .. we should fix it to check if > username is null and if so set it properly .. usually that is the behavior > but there are some edge cases it seem ... > > On Tue, Jan 8, 2013 at 3:53 PM, Dulanja Liyanage wrote: > >> Hi, >> >> I'm testing IS 4.1.0 running on Carbon 4.0.6. While debugging an issue, I >> encountered the $subject. >> >> I logged in as 'admin', so, the username should return as such. But it >> returns 'null'. >> >> However the >> PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain() >> returns 'carbon.super' as expected. >> >> I'm still debugging this and trying to figure out how CarbonContext works >> in threads. If someone is already aware of a reason/solution for this it >> will save time. :) >> >> Thanks! >> Dulanja >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanks, > Shariq. > Phone: +94 777 202 225 > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'
Hi, This looks like an issue I encountered sometime back. We had to revert the fixes I did in TomcatValve cz it was causing some other issue .. Can you try CarbonContext.getCurrentContext.getUsername() and see what happens .. AFAIR its getUsername simple does a return .. we should fix it to check if username is null and if so set it properly .. usually that is the behavior but there are some edge cases it seem ... On Tue, Jan 8, 2013 at 3:53 PM, Dulanja Liyanage wrote: > Hi, > > I'm testing IS 4.1.0 running on Carbon 4.0.6. While debugging an issue, I > encountered the $subject. > > I logged in as 'admin', so, the username should return as such. But it > returns 'null'. > > However the > PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain() > returns 'carbon.super' as expected. > > I'm still debugging this and trying to figure out how CarbonContext works > in threads. If someone is already aware of a reason/solution for this it > will save time. :) > > Thanks! > Dulanja > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thanks, Shariq. Phone: +94 777 202 225 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WARNING Messages appearing in the build log
Hi All While trying to build Platform 4.0.6 there are few WARNINGS shown such as below in the log; [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.synapse:synapse-securevault:bundle:2.1.1-wso2v2[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.[WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.synapse:synapse-commons:bundle:2.1.1-wso2v2[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead.[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.[WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.synapse:synapse-nhttp-transport:bundle:2.1.1-wso2v2[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.[WARNING] The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead.[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.[WARNING] AFAIK it is part of coding standards and these were rectified previously. Appreciate if these could be rectified & avoid introducing them once again to the code. -- Thanks & Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #26 was SUCCESSFUL (with 18 tests). Change made by vijitha.
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #26 was successful. --- Code has been updated by vijitha. 18 tests in total. http://wso2.org/bamboo/browse/WCB001-PRO006-26/ -- Code Changes -- vijitha (152881): >Updated integration for 4.5.6 vijitha (152880): >Remove the G-Reg profile -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'
Hi, I'm testing IS 4.1.0 running on Carbon 4.0.6. While debugging an issue, I encountered the $subject. I logged in as 'admin', so, the username should return as such. But it returns 'null'. However the PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain() returns 'carbon.super' as expected. I'm still debugging this and trying to figure out how CarbonContext works in threads. If someone is already aware of a reason/solution for this it will save time. :) Thanks! Dulanja ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #26 has FAILED (1 tests failed, no failures were new). Change made by vijitha.
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #26 failed. --- Code has been updated by vijitha. 1/888 tests failed, no failures were new. http://wso2.org/bamboo/browse/WCB001-PLA006-26/ - Currently Responsible - No one is responsible for fixing this build. -- Failing Jobs -- - Default Job (Default Stage): 1 of 888 tests failed. -- Code Changes -- vijitha (152881): >Updated integration for 4.5.6 vijitha (152880): >Remove the G-Reg profile -- Tests -- Existing Test Failures (1) - MultipleDefinitionConversionTest: Multiple defn conversion from j s o n -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Platform build failed
On Tue, Jan 8, 2013 at 2:31 PM, Malaka Silva wrote: > Finally build success. > > I ran the patch release *4.0.6* of orbit, kernal and platform. > > My understanding is that patch release 4.0.6 is the target we need to run. > > Is is correct? > Yes, when all the previously released components available in Nexus that works. Regards, Vijitha. > > > On Mon, Jan 7, 2013 at 10:49 PM, Vijitha Kumara wrote: > >> >> >> On Mon, Jan 7, 2013 at 5:34 PM, Malaka Silva wrote: >> >>> Afterwards I'm getting the following error. >>> >>> Is this because of the JDK version? >>> >>> Apache Maven 3.0.4 >>> Java version: 1.6.0_21, vendor: Sun Microsystems Inc. >>> >>> Any idea? >>> >>> >>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ >>> org.wso2.carbon.attachment.mgt --- >>> [INFO] Verifying module descriptor ... >>> [INFO] Pom descriptor modification detected. >>> [INFO] Deleting >>> /home/wso2/work/wso2carbonplatform/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.0.5/target >>> [INFO] >>> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ >>> org.wso2.carbon.attachment.mgt --- >>> [debug] execute contextualize >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>> [INFO] Copying 9 resources >>> [INFO] >>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ >>> org.wso2.carbon.attachment.mgt --- >>> [INFO] Compiling 56 source files to >>> /home/wso2/work/wso2carbonplatform/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.0.5/target/classes >>> # >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # SIGSEGV (0xb) at pc=0x7fe5e65a0f31, pid=17159, tid=140625405245184 >>> # >>> # JRE version: 6.0_21-b06 >>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode >>> linux-amd64 ) >>> # Problematic frame: >>> # C [libzip.so+0xaf31] >>> # >>> # An error report file with more information is saved as: >>> # >>> /home/wso2/work/wso2carbonplatform/patch-releases/4.0.5/hs_err_pid17159.log >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://java.sun.com/webapps/bugreport/crash.jsp >>> # The crash happened outside the Java Virtual Machine in native code. >>> # See problematic frame for where to report the bug. >>> # >>> Aborted (core dumped) >>> >> >> You could try resuming the build from org.wso2.carbon.attachment.mgt. >> >> And It's always good to work with a latest update of a JDK. >> >> >> Regards, >> Vijitha. >> >> >>> >>> >>> On Fri, Jan 4, 2013 at 5:03 PM, Dulanja Liyanage wrote: >>> Just now I replaced .m2/repository/net/sf/saxon with a saxon folder from a team member, and OAuth Mediator got built. HTH On Fri, Jan 4, 2013 at 4:51 PM, Dulanja Liyanage wrote: > Mentioned the same error in mail thread "Build fail - Identity OAuth > Mediator 4.0.6". Still waiting for a suggestion. > > Thanks, > Dulanja > > On Fri, Jan 4, 2013 at 4:43 PM, Malaka Silva wrote: > >> [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module >> SKIPPED >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 9.743s >> [INFO] Finished at: Fri Jan 04 16:42:03 IST 2013 >> [INFO] Final Memory: 196M/902M >> [INFO] >> >> [ERROR] Failed to execute goal on project >> org.wso2.carbon.identity.oauth.mediator: Could not resolve dependencies >> for >> project >> org.wso2.carbon:org.wso2.carbon.identity.oauth.mediator:bundle:4.0.5: >> Failed to collect dependencies for >> [org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v5 (compile), >> org.wso2.carbon:org.wso2.carbon.core:jar:4.0.5 (compile), >> org.wso2.carbon:org.wso2.carbon.utils:jar:4.0.0 (compile), >> org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v2 (compile), >> org.apache.synapse:synapse-core:jar:2.1.0-wso2v6 (compile), >> org.wso2.carbon:org.wso2.carbon.mediator.service:jar:4.0.0 (compile), >> org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.0 (compile), >> org.wso2.carbon:org.wso2.carbon.identity.oauth.stub:jar:4.0.3 (compile)]: >> Failed to read artifact descriptor for net.sf.saxon:saxon:jar:8.9: Could >> not transfer artifact net.sf.saxon:saxon:pom:8.9 from/to snmp4j-repo ( >> https://server.oosnmp.net/dist/release/): server.oosnmp.net: Unknown >> host server.oosnmp.net -> [Help 1] >> >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with >> the -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> pleas
Re: [Dev] Platform build failed
Finally build success. I ran the patch release *4.0.6* of orbit, kernal and platform. My understanding is that patch release 4.0.6 is the target we need to run. Is is correct? On Mon, Jan 7, 2013 at 10:49 PM, Vijitha Kumara wrote: > > > On Mon, Jan 7, 2013 at 5:34 PM, Malaka Silva wrote: > >> Afterwards I'm getting the following error. >> >> Is this because of the JDK version? >> >> Apache Maven 3.0.4 >> Java version: 1.6.0_21, vendor: Sun Microsystems Inc. >> >> Any idea? >> >> >> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ >> org.wso2.carbon.attachment.mgt --- >> [INFO] Verifying module descriptor ... >> [INFO] Pom descriptor modification detected. >> [INFO] Deleting >> /home/wso2/work/wso2carbonplatform/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.0.5/target >> [INFO] >> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ >> org.wso2.carbon.attachment.mgt --- >> [debug] execute contextualize >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 9 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ >> org.wso2.carbon.attachment.mgt --- >> [INFO] Compiling 56 source files to >> /home/wso2/work/wso2carbonplatform/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.0.5/target/classes >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # SIGSEGV (0xb) at pc=0x7fe5e65a0f31, pid=17159, tid=140625405245184 >> # >> # JRE version: 6.0_21-b06 >> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode >> linux-amd64 ) >> # Problematic frame: >> # C [libzip.so+0xaf31] >> # >> # An error report file with more information is saved as: >> # >> /home/wso2/work/wso2carbonplatform/patch-releases/4.0.5/hs_err_pid17159.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # The crash happened outside the Java Virtual Machine in native code. >> # See problematic frame for where to report the bug. >> # >> Aborted (core dumped) >> > > You could try resuming the build from org.wso2.carbon.attachment.mgt. > > And It's always good to work with a latest update of a JDK. > > > Regards, > Vijitha. > > >> >> >> On Fri, Jan 4, 2013 at 5:03 PM, Dulanja Liyanage wrote: >> >>> Just now I replaced .m2/repository/net/sf/saxon with a saxon folder from >>> a team member, and OAuth Mediator got built. HTH >>> >>> >>> On Fri, Jan 4, 2013 at 4:51 PM, Dulanja Liyanage wrote: >>> Mentioned the same error in mail thread "Build fail - Identity OAuth Mediator 4.0.6". Still waiting for a suggestion. Thanks, Dulanja On Fri, Jan 4, 2013 at 4:43 PM, Malaka Silva wrote: > [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module > SKIPPED > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 9.743s > [INFO] Finished at: Fri Jan 04 16:42:03 IST 2013 > [INFO] Final Memory: 196M/902M > [INFO] > > [ERROR] Failed to execute goal on project > org.wso2.carbon.identity.oauth.mediator: Could not resolve dependencies > for > project > org.wso2.carbon:org.wso2.carbon.identity.oauth.mediator:bundle:4.0.5: > Failed to collect dependencies for > [org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v5 (compile), > org.wso2.carbon:org.wso2.carbon.core:jar:4.0.5 (compile), > org.wso2.carbon:org.wso2.carbon.utils:jar:4.0.0 (compile), > org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v2 (compile), > org.apache.synapse:synapse-core:jar:2.1.0-wso2v6 (compile), > org.wso2.carbon:org.wso2.carbon.mediator.service:jar:4.0.0 (compile), > org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.0 (compile), > org.wso2.carbon:org.wso2.carbon.identity.oauth.stub:jar:4.0.3 (compile)]: > Failed to read artifact descriptor for net.sf.saxon:saxon:jar:8.9: Could > not transfer artifact net.sf.saxon:saxon:pom:8.9 from/to snmp4j-repo ( > https://server.oosnmp.net/dist/release/): server.oosnmp.net: Unknown > host server.oosnmp.net -> [Help 1] > > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > > > > On Fri, Jan 4, 2013 at 4:42 PM, Eranda Sooriyabandara > wrote: > >> Hi Chanaka, >> >> Add the full error.
[Dev] Installing and configuring Java SDK on ubuntu 12.04
Hi All, This link helped me to get rid of the Maven plugin issue in eclipse. I hope this would help you to figure out same kind of problems with different java versions on ubuntu. http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/ Regards, Chanaka F ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev