[Dev] Issue in ./wso2server.sh restart

2012-12-06 Thread Sanjaya Ratnaweera
Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets

[Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.

2012-12-06 Thread Hasini Gunasinghe
Hi all, I have used PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() to obtain the username of the logged in user at the back end, which correctly returned the username in carbon 4.0.3 (i.e IS 4.0.0) But now this returns null, even though a user is logged in (encountered in IS

Re: [Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.

2012-12-06 Thread Sinthuja Ragendran
Hi, Similar issue was found earlier and fixed in r150208. Please update core/org.wso2.carbon.tomcat.ext/4.0.5 and check. Thanks, Sinthuja. On Thu, Dec 6, 2012 at 2:32 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi all, I have used

Re: [Dev] Exception when retrieving the MBeans list from BAM as a tenant

2012-12-06 Thread Tharindu Mathew
Please follow the format of creating a patch and assigning to a related person. Also, it will help if you bug them to commit it ;) On Thu, Dec 6, 2012 at 12:07 PM, Ishan Somasiri ish...@wso2.com wrote: Hi all, As per Senakas suggestion, I changed the code as follows and everything is working

[Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default

2012-12-06 Thread Dileepa Jayakody
Hi All, As a fix to [1], UTF8 characters not supported on Windows by default, I added the *-Dfile.encoding=UTF8 * parameter to wso2server.bat file in Kernel [2]. If anyone uses different/updated startup script please update the .bat script accordingly. Thanks, Dileepa [1]

Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default

2012-12-06 Thread Dileepa Jayakody
Only changed the .bat file [1] because this is specific to Windows [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.bat On Thu, Dec 6, 2012 at 2:59 PM, Dileepa Jayakody dile...@wso2.com wrote: Hi All, As a fix to [1], UTF8

[Dev] Developer Studio 3.0.0 Alpha Released !

2012-12-06 Thread Jasintha Dasanayake
We have WSO2 Developer Studio 3.0.0 Alpha ready to be downloaded at [1]. Installed eclipse distributions available at [2] New Feature - [TOOLS-1342 https://wso2.org/jira/browse/TOOLS-1342] - Support for named endpoints to be opened in a separate editor page. - [TOOLS-1343

Re: [Dev] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}

2012-12-06 Thread Amani Soysa
On Thu, Dec 6, 2012 at 12:12 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi, I was checking the IS p2-profile to clean up if any unnecessary features are present. Out of the existing features, I am not very much clear whether following features are must to have in IS. Appreciate the

Re: [Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.

2012-12-06 Thread Hasini Gunasinghe
Thanks Sinthuja.. Yes, it is fixed after updating the kernel. On Thu, Dec 6, 2012 at 2:44 PM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, Similar issue was found earlier and fixed in r150208. Please update core/org.wso2.carbon.tomcat.ext/4.0.5 and check. Thanks, Sinthuja. On Thu,

Re: [Dev] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}

2012-12-06 Thread Hasini Gunasinghe
Thanks all.. @Nirmal, then I will remove org.wso2.carbon.load.balance.agent.server.feature from p2-profile for the moment. Hope it can be added back when the functionality you have mentioned is supported.. Thanks, Hasini. On Thu, Dec 6, 2012 at 3:40 PM, Amani Soysa am...@wso2.com wrote: On

Re: [Dev] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}

2012-12-06 Thread Nirmal Fernando
On Thu, Dec 6, 2012 at 4:24 PM, Hasini Gunasinghe has...@wso2.com wrote: Thanks all.. @Nirmal, then I will remove org.wso2.carbon.load.balance.agent.server.feature from p2-profile for the moment. Hope it can be added back when the functionality you have mentioned is supported.. +1

Re: [Dev] Issue in ./wso2server.sh restart

2012-12-06 Thread Tharindu Mathew
BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera sanj...@wso2.com wrote: Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It

Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default

2012-12-06 Thread Chethiya Abeysinghe
There are different Unix/Linux distros not having UTF8 by default. So we might have to consider doing this for .sh file too? - chethiya software engineer, WSO2 On Dec 6, 2012 3:09 PM, Dileepa Jayakody dile...@wso2.com wrote: Only changed the .bat file [1] because this is specific to Windows

Re: [Dev] Issue in ./wso2server.sh restart

2012-12-06 Thread Buddhika Chamith
I will add this. In fact there was another separate fix committed to Windows script today. Regards Buddhika On Thu, Dec 6, 2012 at 7:41 PM, Tharindu Mathew thari...@wso2.com wrote: BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera

Re: [Dev] Issue in ./wso2server.sh restart

2012-12-06 Thread Nirmal Fernando
I added this fix to ELB, thanks Sanjaya! Buddhika, On Thu, Dec 6, 2012 at 8:57 PM, Buddhika Chamith buddhi...@wso2.com wrote: I will add this. In fact there was another separate fix committed to Windows script today. Can you point to this change, please? Regards Buddhika On Thu, Dec

Re: [Dev] Issue in ./wso2server.sh restart

2012-12-06 Thread Nirmal Fernando
On Thu, Dec 6, 2012 at 9:11 PM, Buddhika Chamith buddhi...@wso2.com wrote: Revision is r150451. Also the thread wso2server.bat is updated to support UTF8 encoding on Windows by default Cool! Thanks. Regards Buddhika On Thu, Dec 6, 2012 at 9:06 PM, Nirmal Fernando nir...@wso2.com wrote:

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Kernel 4.0.5 #41 has FAILED. Change made by dileepa, supunm and sanjaya.

2012-12-06 Thread Bamboo
--- WSO2 Carbon 4.0.x Kernel 4.0.5 #41 failed. --- Code has been updated by dileepa, supunm, sanjaya. No failed tests found, a possible compilation error.

Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default

2012-12-06 Thread Dileepa Jayakody
On Thu, Dec 6, 2012 at 7:44 PM, Chethiya Abeysinghe cheth...@wso2.comwrote: There are different Unix/Linux distros not having UTF8 by default. So we might have to consider doing this for .sh file too? +1. - chethiya software engineer, WSO2 On Dec 6, 2012 3:09 PM, Dileepa Jayakody

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x - Nightly Kernel_4.0.5 #23 has FAILED. Change made by 4 authors.

2012-12-06 Thread Bamboo
--- WSO2 Carbon 4.0.x - Nightly Kernel_4.0.5 #23 failed. --- This build occurred because it is a dependant of WCB002-NORB003-13. No failed tests found, a

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Platform 4.0.5 #75 has FAILED. Change made by 15 authors.

2012-12-06 Thread Bamboo
--- WSO2 Carbon 4.0.x Platform 4.0.5 #75 failed. --- Code has been updated by hasini, krishantha, sinthuja, vijitha, dushan, subash, senaka, chethiya, anjana,

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Kernel 4.0.5 #42 has FAILED. Change made by Kishanthan Thangarajah and dileepa.

2012-12-06 Thread Bamboo
--- WSO2 Carbon 4.0.x Kernel 4.0.5 #42 failed. --- Code has been updated by Kishanthan Thangarajah, dileepa. No failed tests found, a possible compilation

[Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Kernel 4.0.5 build #42

2012-12-06 Thread Maheshika Goonetilleke
Hi all Kernel 4.0.5 build #42 has failed due to the following error; 06-Dec-2012 15:29:21[INFO] BUILD FAILURE06-Dec-2012 15:29:21[INFO] 06-Dec-2012 15:29:21[INFO] Total time: 45:14.394s06-Dec-2012 15:29:21[INFO] Finished at:

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Platform 4.0.5 #76 was SUCCESSFUL (with 1772 tests). Change made by 16 authors.

2012-12-06 Thread Bamboo
--- WSO2 Carbon 4.0.x Platform 4.0.5 #76 was successful. --- Code has been updated by krishantha, hasini, sinthuja, vijitha, hasithah, dileepa, subash,