Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Pradeep Fernando
caching is a common thing.. and we are using CContext in that. That is the root cause. Im not saying it is wrong/right. --Pradeep On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez az...@wso2.com wrote: Oops... we have a problem. Common code cannot take a dependency on Carbon kernel On Thu,

Re: [Dev] G-Reg integration results - tests

2013-07-11 Thread Krishantha Samaraweera
I have seen this issue when restarting G-Reg gracefully. The G-Reg server restart multiple times to change configurations while running tests. Sometime the server hangs at restart. Can you please check when the test get hangs and please share the test logs. You can find the test log at the

Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez az...@wso2.com wrote: Oops... we have a problem. Common code cannot take a dependency on Carbon kernel Can't we go ahead with the axis2 state replication model? I know it is not being used much but that would solve the problem. thanks, Amila.

Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez az...@wso2.com wrote: Oops... we have a problem. Common code cannot take a dependency on Carbon kernel We can have a separate jar for Jache. Like in stax API? i.e getting Jcache API out of carbon kernel. thanks, Amila. On Thu, Jul 11, 2013

Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Afkham Azeez
On Thu, Jul 11, 2013 at 11:47 AM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez az...@wso2.com wrote: Oops... we have a problem. Common code cannot take a dependency on Carbon kernel Can't we go ahead with the axis2 state replication model? I

Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 12:00 PM, Afkham Azeez az...@wso2.com wrote: On Thu, Jul 11, 2013 at 11:47 AM, Amila Suriarachchi am...@wso2.comwrote: On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez az...@wso2.com wrote: Oops... we have a problem. Common code cannot take a dependency on Carbon

[Dev] compilation failure

2013-07-11 Thread Pradeep Fernando
I'm getting this ... any clues ? [ERROR] /home/pradeep/checkout/carbon-trunk/kernel/core/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/jdbc/realm/RegistryUserStoreManager.java:[40,7] org.wso2.carbon.registry.core.jdbc.realm.RegistryUserStoreManager is not abstract and

[Dev] LDAPUserStoreManager in user.core

2013-07-11 Thread Pradeep Fernando
Hi Prabath, Is it possible to move it out from the use.core.. thanks, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] compilation failure

2013-07-11 Thread Amila Suriarachchi
Please update the registry code as well if you guys changing the user core API. thanks, Amila. On Thu, Jul 11, 2013 at 12:30 PM, Pradeep Fernando prad...@wso2.com wrote: I'm getting this ... any clues ? [ERROR]

[Dev] Please refrain from doing changes to user.core and user.api till next Monday...

2013-07-11 Thread Prabath Siriwardena
Hi folks, I am working on doing some core changes in user.api and user.core.. so please refrain from doing any changes in those components.. If you need to do any changes please talk to me... -- Thanks Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 10:21 AM, Prabath Siriwardena prab...@wso2.comwrote: UserStoreManager API is not clean at all.. There so many stuff can remove... Also maintain two interfaces one in the core and another in API. We need to get rid of the interface in core.. On Thu, Jul 11, 2013 at

[Dev] GReg CMIS integration - Alfresco OpenCMIS extension

2013-07-11 Thread Lasith Chandrasekara
Hi Samuel, Can we add shared document [1] for G-Reg 4.6.0 documentation wiki? This can add under connectors with name Alfresco. [1] https://docs.google.com/a/wso2.com/document/d/1Rzf59fqeMkgpenRt6id26RDa02NAyk_KFK3EtaEAoGg/edit?usp=sharing Regards, -Lasith.

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Prabath Siriwardena
No. Users roles coming from the UserStoreManager. AuthorizationManager is about permissions. Thanks regards, -Prabath On Thu, Jul 11, 2013 at 12:42 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11, 2013 at 10:21 AM, Prabath Siriwardena prab...@wso2.comwrote: UserStoreManager

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 10:29 AM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Asela, On Thu, Jul 11, 2013 at 10:06 AM, Asela Pathberiya as...@wso2.com wrote: Hi All, I am not sure why we are keeping following method in the API... Sorry, if i have missed any thing If there are on

[Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Afkham Azeez
$subject -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter:

Re: [Dev] Errors while viewing AppServer home page as a tenant admin user

2013-07-11 Thread Kasun Gajasinghe
We've been debugging this without the reporting feature installed. It still fails with the same error. We found that the issue is with AbstractCarbonUIAuthenticator#onSuccessAdminLogin. There, it calls MultitenantUtils#getTenantDomain(userName) with a username like PRIMARY/tenantUserName. This

[Dev] Build failure in platform trunk

2013-07-11 Thread Gokul Balakrishnan
I'm getting $subject in registry extensions. The full error is as follows: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 38:11.211s [INFO]

[Dev] Event Stats for CEP

2013-07-11 Thread Sriskandarajah Suhothayan
For input/output transport adaptors, event builder, event formatter and event processor components of CEP We are adding some simple statistics feature to monitor the following total event count max event per sec avg event per sec min evnets per sec count on last sec last min

[Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
Hi All, When embedding api-management functionalities into GReg, we had to wrote an tomcat valve as an interceptor for handle requests. For that we implemented a direct tomcat valve which extended from catalina.valves.ValveBase instead of CarbonTomcatValve. But currently we don't have a way to

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Geeth Munasinghe
To enable web statistic monitoring in AS, We are too using tomcat valve to intercept message. Shameera is developing a touch point to add another xml element to a existing xml file. You might be able to use that. Please refer mail thread [Architecture] Can we use P2 based solution to control AS

[Dev] Invitation: [Code Review] G-Reg new feature code reviews @ Thu Jul 11, 2013 3pm - 5pm (pulas...@wso2.com)

2013-07-11 Thread Pulasthi Supun
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130711T093000Z DTEND:20130711T113000Z DTSTAMP:20130711T081913Z ORGANIZER;CN=pulas...@wso2.com:mailto:pulas...@wso2.com UID:hrkh5dupnvmbutskou43dkm...@google.com

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
I took a look at the code, and the only problem I see is the order of registering valves. If the ordering is not a problem, then we can easily implement it. I will look into implementing this. Azeez On Thu, Jul 11, 2013 at 1:37 PM, Afkham Azeez az...@wso2.com wrote: Sorry, maintaining your

Re: [Dev] [Trunk] Compilation Failure - Automation API

2013-07-11 Thread Krishantha Samaraweera
Fixed. Thanks, Krishantha. On Wed, Jul 10, 2013 at 6:05 PM, Krishantha Samaraweera krishan...@wso2.com wrote: This is due to the commit r177768 Someone has changed the RSSAdmin api without building up to the test framework. Please note that test framework depends on service stubs and if

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
On Thu, Jul 11, 2013 at 1:50 PM, Afkham Azeez az...@wso2.com wrote: I took a look at the code, and the only problem I see is the order of registering valves. If the ordering is not a problem, then we can easily implement it. I will look into implementing this. Thanks Azeez.. yes, the problem

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
I have currently changed the kernel code. All valves will now have to be changed. I will take a look at the exisiting valves and then let you know when to make the change. Azeez On Thu, Jul 11, 2013 at 2:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul 11, 2013 at 1:50 PM,

Re: [Dev] Build failure in platform trunk

2013-07-11 Thread Sameera Jayasoma
FYI. We are getting this error in the build. Please fix. Thanks, Sameera. On Thu, Jul 11, 2013 at 1:12 PM, Gokul Balakrishnan go...@wso2.com wrote: I'm getting $subject in registry extensions. The full error is as follows: [INFO]

[Dev] Compilation error on platform/trunk/features/identity/pom.xml

2013-07-11 Thread Geeth Munasinghe
Hi I am getting following error due to wrong pom.xml [ERROR] The project org.wso2.carbon:identity-features:4.2.0-SNAPSHOT (/home/geeth/workspace/carbon/carbon/platform/trunk/features/identity/pom.xml) has 1 error [ERROR] 'modules.module[2]' specifies duplicate child module

Re: [Dev] Compilation error on platform/trunk/features/identity/pom.xml

2013-07-11 Thread Johann Nallathamby
Hi Geeth, Fixed now. Thanks, Johann. On Thu, Jul 11, 2013 at 2:15 PM, Geeth Munasinghe ge...@wso2.com wrote: Hi I am getting following error due to wrong pom.xml [ERROR] The project org.wso2.carbon:identity-features:4.2.0-SNAPSHOT

Re: [Dev] Build failure in platform trunk

2013-07-11 Thread Sanjeewa Malalgoda
Getting same in builder machine as well. Please have a look at. Thanks. Sanjeewa. On Thu, Jul 11, 2013 at 2:13 PM, Sameera Jayasoma same...@wso2.com wrote: FYI. We are getting this error in the build. Please fix. Thanks, Sameera. On Thu, Jul 11, 2013 at 1:12 PM, Gokul Balakrishnan

Re: [Dev] depsync + profile issues in AS worker/manager setup

2013-07-11 Thread Kasun Gajasinghe
Hi Pradeep, Carbon UI bundle comes from the kernel. What would be the procedure to remove bundles from there during worker profile build? DepSync subversion feature comes from org.wso2.carbon.deployment.synchronizer.subversion.feature. Piyum, please include this in p2-profile-gen and the above

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Shariq Muhammed
On Thu, Jul 11, 2013 at 2:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul 11, 2013 at 1:50 PM, Afkham Azeez az...@wso2.com wrote: I took a look at the code, and the only problem I see is the order of registering valves. If the ordering is not a problem, then we can easily

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Amila Maha Arachchi
On Thu, Jul 11, 2013 at 12:47 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11, 2013 at 10:29 AM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Asela, On Thu, Jul 11, 2013 at 10:06 AM, Asela Pathberiya as...@wso2.comwrote: Hi All, I am not sure why we are keeping following

Re: [Dev] depsync + profile issues in AS worker/manager setup

2013-07-11 Thread Pradeep Fernando
for workers we create a profile from scratch... include only the carbon common/server features. --Pradeep On Thu, Jul 11, 2013 at 2:24 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Pradeep, Carbon UI bundle comes from the kernel. What would be the procedure to remove bundles from there

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
Hi Shariq, On Thu, Jul 11, 2013 at 2:24 PM, Shariq Muhammed sha...@wso2.com wrote: On Thu, Jul 11, 2013 at 2:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul 11, 2013 at 1:50 PM, Afkham Azeez az...@wso2.com wrote: I took a look at the code, and the only problem I see is the

Re: [Dev] depsync + profile issues in AS worker/manager setup

2013-07-11 Thread Supun Malinga
Pradeep, Are we talking about separate binary distributions?.. Or how does this work. ? thanks, On Thu, Jul 11, 2013 at 2:28 PM, Pradeep Fernando prad...@wso2.com wrote: for workers we create a profile from scratch... include only the carbon common/server features. --Pradeep On Thu, Jul

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
Can somebody provide me a list of components which contain implementations of CarbonTomcatVale Azeez On Thu, Jul 11, 2013 at 2:33 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi Shariq, On Thu, Jul 11, 2013 at 2:24 PM, Shariq Muhammed sha...@wso2.com wrote: On Thu, Jul 11, 2013 at 2:10

[Dev] Modifiyng HouseKeepingTask directory location on carbon server

2013-07-11 Thread Manoj Kumara
Hi All, When observing on Carbon-JIRA issue [1] I observed that currently on carbon.xml the work directory for house keeping task is set as , WorkDirectory${carbon.home}/tmp/work/WorkDirectory But currently our temp files are created inside CARBON_HOME/tmp directory and these files will not be

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Shariq Muhammed
On Thu, Jul 11, 2013 at 2:33 PM, Dinusha Senanayaka dinu...@wso2.comwrote: Hi Shariq, On Thu, Jul 11, 2013 at 2:24 PM, Shariq Muhammed sha...@wso2.com wrote: On Thu, Jul 11, 2013 at 2:10 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul 11, 2013 at 1:50 PM, Afkham Azeez

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
Looks like only the following have valves: ./apimgt/org.wso2.carbon.apimgt.interceptor/src/main/java/org/wso2/carbon/apimgt/interceptor/valve/.svn/text-base/APIManagerInterceptorValve.java.svn-base:public class APIManagerInterceptorValve implements CarbonTomcatValve {

Re: [Dev] compilation failure

2013-07-11 Thread Pradeep Fernando
Hi, Now getting below error at the platform level [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.registry.info: Compilation failure [ERROR] /home/pradeep/checkout/carbon-trunk/platform/components/registry/

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Supun Malinga
Hi, Some methods may have been used by third parties.. for eg: we can access these methods (UserStoreManager, etc) via osgi services within webapps. We need to think about that aspect also. I'm not saying we shouldn't remove. But we need to think if that would be used and if there is no other way

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 12:47 PM, Prabath Siriwardena prab...@wso2.comwrote: No. Users roles coming from the UserStoreManager. AuthorizationManager is about permissions. yes that is how it has written but roles are related to access control (Authorisation). I just look at the tomcat relam[1]

Re: [Dev] Build failure in platform trunk

2013-07-11 Thread Eranda Sooriyabandara
Hi All, This is the line which claim to be failed. String endpointDetail = ((OMTextImpl) ((OMElementImpl) element). getFirstOMChildIfAvailable()).getText(); According to the error it says that getFirstOMChildIfAvailable() method not found. But if you find

Re: [Dev] Warning while logging in

2013-07-11 Thread Sameera Jayasoma
We are getting this even when we create a tenant.. Can we get rid of this? On Wed, Jul 10, 2013 at 2:50 PM, Prabath Siriwardena prab...@wso2.comwrote: This is harmless.. We need to remove the disable attribute from the primary UserStoreManagaer element in the user-mgt.xml Thanks regards,

Re: [Dev] Warning while logging in

2013-07-11 Thread Prabath Siriwardena
Please remove the disable attribute from the user-mgt.xml - under the primary user store. Thanks regards, -Prabath On Thu, Jul 11, 2013 at 3:16 PM, Sameera Jayasoma same...@wso2.com wrote: We are getting this even when we create a tenant.. Can we get rid of this? On Wed, Jul 10, 2013 at

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
I have implemented this and committed. Get updates of kernel/core and components. Please test this today let me know if there are any issues. Azeez On Thu, Jul 11, 2013 at 2:38 PM, Afkham Azeez az...@wso2.com wrote: Looks like only the following have valves:

Re: [Dev] Warning while logging in

2013-07-11 Thread Prabath Siriwardena
Done.. Thanks regards, -Prabath On Thu, Jul 11, 2013 at 3:20 PM, Prabath Siriwardena prab...@wso2.comwrote: Please remove the disable attribute from the user-mgt.xml - under the primary user store. Thanks regards, -Prabath On Thu, Jul 11, 2013 at 3:16 PM, Sameera Jayasoma

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
On Thu, Jul 11, 2013 at 3:20 PM, Afkham Azeez az...@wso2.com wrote: I have implemented this and committed. Get updates of kernel/core and components. Please test this today let me know if there are any issues. Thanks.. will test this using apimgt valve and let you know. Regards, Dinusha.

Re: [Dev] Errors while viewing AppServer home page as a tenant admin user

2013-07-11 Thread Kasun Gajasinghe
This is fixed in r177961. Please take an update in org.wso2.carbon.ui. Thanks, KasunG On Thu, Jul 11, 2013 at 1:06 PM, Kasun Gajasinghe kas...@wso2.com wrote: We've been debugging this without the reporting feature installed. It still fails with the same error. We found that the issue is

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
Get another update of the kernel. I had to add a no-op valve to avoid an NPE. On Thu, Jul 11, 2013 at 3:24 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul 11, 2013 at 3:20 PM, Afkham Azeez az...@wso2.com wrote: I have implemented this and committed. Get updates of kernel/core

Re: [Dev] Where is the throttling dependency?

2013-07-11 Thread Pradeep Fernando
Hi, inside commons, there are two throttle impls, https://svn.wso2.org/repos/wso2/trunk/commons/throttle https://svn.wso2.org/repos/wso2/trunk/commons/throttle2 what is the correct one ? --Pradeep On Thu, Jul 11, 2013 at 12:09 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11,

Re: [Dev] compilation failure

2013-07-11 Thread Amila Suriarachchi
Now registry extensions fails. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.registry.extensions: Compilation failure [ERROR]

Re: [Dev] Errors while viewing AppServer home page as a tenant admin user

2013-07-11 Thread Kasun Gajasinghe
I have also applied the patch which fixes the reporting component. I will remove the reporting component from AS after verifying the registry search doesn't show up the report generation links. Thanks, KasunG On Thu, Jul 11, 2013 at 3:24 PM, Kasun Gajasinghe kas...@wso2.com wrote: This is

[Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Dushan Abeyruwan
Hi Getting following error when executing proxy service ESB 4.8.0 built 2013-07-11 [2013-07-11 16:37:22,177] INFO - ProxyService Building Axis service for Proxy service : SearchTwitter [2013-07-11 16:37:22,177] INFO - ProxyService Adding service SearchTwitter to the Axis2 configuration

Re: [Dev] compilation failure

2013-07-11 Thread Senaka Fernando
FYI, [Dev] Build failure in platform trunk discusses the same issue. Thanks, Senaka. On Thu, Jul 11, 2013 at 4:19 PM, Amila Suriarachchi am...@wso2.com wrote: Now registry extensions fails. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

Re: [Dev] Build failure in platform trunk

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 2:59 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi All, This is the line which claim to be failed. String endpointDetail = ((OMTextImpl) ((OMElementImpl) element). getFirstOMChildIfAvailable()).getText(); According to the error it says that

Re: [Dev] compilation failure

2013-07-11 Thread Amila Suriarachchi
Now getting this error [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.humantask: Compilation failure: Compilation failure: [ERROR]

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 4:40 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi Getting following error when executing proxy service ESB 4.8.0 built 2013-07-11 [2013-07-11 16:37:22,177] INFO - ProxyService Building Axis service for Proxy service : SearchTwitter [2013-07-11 16:37:22,177]

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2013-07-11 Thread Sameera Jayasoma
We also set the following system property in the wso2server.sh/bat files. IMHO WorkDirectory element in the carbon.xml is a redundant element. We should get rid of it if there are no objections. -Djava.io.tmpdir=$CARBON_HOME/tmp Thanks, Sameera. On Thu, Jul 11, 2013 at 2:37 PM, Manoj

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
Thanks Azeez.. This works fine.. Regards, Dinusha. On Thu, Jul 11, 2013 at 3:27 PM, Afkham Azeez az...@wso2.com wrote: Get another update of the kernel. I had to add a no-op valve to avoid an NPE. On Thu, Jul 11, 2013 at 3:24 PM, Dinusha Senanayaka dinu...@wso2.comwrote: On Thu, Jul

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Miyuru Wanninayaka
Hi Amila, Are you referring to CarbonContext thread local variable? On Thu, Jul 11, 2013 at 6:27 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11, 2013 at 4:40 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi Getting following error when executing proxy service ESB 4.8.0 built

[Dev] Fwd: [Bamboo-Build] WSO2 Carbon 4.1.x Products 4.1.3 #110 has FAILED (3 tests failed, no failures were new). Change made by Deependra Ariyadewa, Prabath Abeysekara and Ranga Siriwardena.

2013-07-11 Thread Ranga Siriwardena
Hi, According to the mail it build 4.1.3 patch release and complains about AM 1.4.0 which is not in 4.1.3 release. Please check. -- Forwarded message -- From: Bamboo cbuil...@wso2.org Date: Thu, Jul 11, 2013 at 7:16 PM Subject: [Bamboo-Build] WSO2 Carbon 4.1.x Products 4.1.3

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 7:31 PM, Miyuru Wanninayaka miy...@wso2.com wrote: Hi Amila, Are you referring to CarbonContext thread local variable? yes. I think that is how it takes the tenant domain. thanks, Amila. On Thu, Jul 11, 2013 at 6:27 PM, Amila Suriarachchi am...@wso2.comwrote:

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Miyuru Wanninayaka
ESB does not sets Carbon Context as thread local because PTT/NHTTP threads are totally under synapse. AFIK only servlet transport sets CC as a thread local. In 4.1.0 branch this is working fine without setting CC as thread local. Did something changed in trunk? On Thu, Jul 11, 2013 at 7:49 PM,

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Afkham Azeez
I have made another major improvement to the valve chaining. Now we have a proper valve chain as follows: TomcatValve chain - CarbonTomcatValve chain - TomcatValve chain So, CarbonTomcatValves can get hold of the response after the TomcatValves webapp have properly processed it. Please test

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Amila Suriarachchi
On Thu, Jul 11, 2013 at 7:59 PM, Miyuru Wanninayaka miy...@wso2.com wrote: ESB does not sets Carbon Context as thread local because PTT/NHTTP threads are totally under synapse. AFIK only servlet transport sets CC as a thread local. In 4.1.0 branch this is working fine without setting CC as

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Afkham Azeez
Yeah, please fix up ESB to properly work with CarbonContext like other products do. There have been a number of mail thread related to this. All threads in Carbon have to be associated with a tenant. Azeez On Thu, Jul 11, 2013 at 7:59 PM, Miyuru Wanninayaka miy...@wso2.com wrote: ESB does not

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Afkham Azeez
On Thu, Jul 11, 2013 at 7:59 PM, Miyuru Wanninayaka miy...@wso2.com wrote: ESB does not sets Carbon Context as thread local because PTT/NHTTP threads are totally under synapse. AFIK only servlet transport sets CC as a thread local. In 4.1.0 branch this is working fine without setting CC as

[Dev] Several service components in AppServer are in the Unsatisfied state

2013-07-11 Thread Afkham Azeez
All Components: ID State Component Name Located in bundle 1 Unsatisfied org.wso2.carbon.caching.impl.internal.CachingServiceComponent javax.cache.wso2(bid=65) 2 Registered org.eclipse.equinox.frameworkadmin.equinox org.eclipse.equinox.frameworkadmin.equinox(bid=115) 3 Active

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Miyuru Wanninayaka
Hi Azeez, Sorry, we were not properly following dev@ discussions recently as team was very busy with ESB 4.7 release. Yes we can set proper CC as thread local in request path via handler for NIO transports by looking at To address. But how this can implement in generic manner for other transport

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2013-07-11 Thread Eranda Sooriyabandara
HI All, G-Reg using the tmp for keeping the zip/gar extracted files until it added to the database. AFAIK there is no usage of tmp/work. thanks Eranda On Thu, Jul 11, 2013 at 6:43 PM, Sameera Jayasoma same...@wso2.com wrote: We also set the following system property in the wso2server.sh/bat

[Dev] [ANN] WSO2 User Engagement Server - 1.0.0 Released

2013-07-11 Thread Nuwan Bandara
*WSO2 User Engagement Server - 1.0.0 Released !* WSO2 User Engagement Server (UES) unlocks enterprise data for business intelligence, monitoring and other enterprise requirements. Empowering not only developers but business users as well, WSO2 UES helps to rapidly create visually appealing and

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Afkham Azeez
On Fri, Jul 12, 2013 at 7:28 AM, Miyuru Wanninayaka miy...@wso2.com wrote: Hi Azeez, Sorry, we were not properly following dev@ discussions recently as team was very busy with ESB 4.7 release. Yes we can set proper CC as thread local in request path via handler for NIO transports by

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Miyuru Wanninayaka
On Fri, Jul 12, 2013 at 9:36 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Jul 12, 2013 at 7:28 AM, Miyuru Wanninayaka miy...@wso2.comwrote: Hi Azeez, Sorry, we were not properly following dev@ discussions recently as team was very busy with ESB 4.7 release. Yes we can set proper CC

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Afkham Azeez
On Fri, Jul 12, 2013 at 9:54 AM, Miyuru Wanninayaka miy...@wso2.com wrote: On Fri, Jul 12, 2013 at 9:36 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Jul 12, 2013 at 7:28 AM, Miyuru Wanninayaka miy...@wso2.comwrote: Hi Azeez, Sorry, we were not properly following dev@ discussions

Re: [Dev] Registering a tomcat valve programmatically

2013-07-11 Thread Dinusha Senanayaka
On Thu, Jul 11, 2013 at 8:55 PM, Afkham Azeez az...@wso2.com wrote: I have made another major improvement to the valve chaining. Now we have a proper valve chain as follows: TomcatValve chain - CarbonTomcatValve chain - TomcatValve chain So, CarbonTomcatValves can get hold of the response

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Dushan Abeyruwan
Hi Miyru, I think we can intercept the Carbon context by writing a dispatch in DispatchPhase this can be a component whose suppose to resides outside synapse. Cheers Dushan On Fri, Jul 12, 2013 at 9:58 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Jul 12, 2013 at 9:54 AM, Miyuru

Re: [Dev] Exception when logging in as a newly created tenant in Greg

2013-07-11 Thread Pulasthi Supun
Hi, This is fixed with https://wso2.org/jira/browse/REGISTRY-1672 Regards, Pulasthi On Wed, Jul 10, 2013 at 6:25 PM, Pulasthi Supun pulas...@wso2.com wrote: Hi All, Found the cause of this issue will provide a patch shortly regards, Pulasthi On Wed, Jul 10, 2013 at 6:08 PM, Pulasthi

[Dev] [Update] User Store Manager Configuration UI - Code Review

2013-07-11 Thread la...@wso2.com
Code Review for User Store Manager Configuration UI feature Cruicible Link : http://wso2.org/crucible/cru/WCP050-1 You have been invited to the following event. Title: User Store Manager Configuration UI - Code Review Cruicible Link : http://wso2.org/crucible/cru/WCP050-1 When: Fri Jul 12, 2013

Re: [Dev] Invitation: [Code Review] G-Reg new feature code reviews @ Thu Jul 11, 2013 3pm - 5pm (pulas...@wso2.com)

2013-07-11 Thread Pulasthi Supun
Hi All please find the comments and suggestions of the code review below *Enhanced RXT functionalities * https://redmine.wso2.com/issues/494 https://redmine.wso2.com/issues/573 General When using String Builder do not use + to add strings When doing replaceAll methods try to add the strings then

[Dev] Trunk Build Failure

2013-07-11 Thread Vanjikumaran Sivajothy
Hi, After getting update from SVN and build I am getting this issue! [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 15.098s [INFO] Finished at:

[Dev] Custom Permissions UI and Shared Roles - Code Review

2013-07-11 Thread Venura Kahawala
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130712T093000Z DTEND:20130712T103000Z DTSTAMP:20130712T052905Z ORGANIZER;CN=ven...@wso2.com:mailto:ven...@wso2.com UID:ma4onnkoghm73hdpj2avple...@google.com

[Dev] Invitation: Custom Permissions UI and Shared Roles - Code Review @ Fri Jul 12, 2013 3pm - 4pm (ven...@wso2.com)

2013-07-11 Thread Venura Kahawala
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130712T093000Z DTEND:20130712T103000Z DTSTAMP:20130712T052906Z ORGANIZER;CN=ven...@wso2.com:mailto:ven...@wso2.com UID:ma4onnkoghm73hdpj2avple...@google.com

Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
IIRC, the happy paths of throttling have been tested in C4 release (August 2012). However, a complete functional test has not been done. On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez az...@wso2.com wrote: $subject -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com

Re: [Dev] Trunk Build Failure

2013-07-11 Thread Sinthuja Ragendran
The relevant method was removed from org.apache.synapse.core.axis2.ProxyService with commit r177967. Please check. Thanks, Sinthuja. On Fri, Jul 12, 2013 at 10:59 AM, Vanjikumaran Sivajothy va...@wso2.comwrote: Hi, After getting update from SVN and build I am getting this issue! [INFO]

Re: [Dev] Trunk Build Failure

2013-07-11 Thread Vanjikumaran Sivajothy
Thank you for the information :) Best regards, Vanji. On Fri, Jul 12, 2013 at 11:03 AM, Sinthuja Ragendran sinth...@wso2.comwrote: The relevant method was removed from org.apache.synapse.core.axis2.ProxyService with commit r177967. Please check. Thanks, Sinthuja. On Fri, Jul 12,

Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Afkham Azeez
But the throttling caching code doesn't look like it supports MT On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge chari...@wso2.comwrote: IIRC, the happy paths of throttling have been tested in C4 release (August 2012). However, a complete functional test has not been done. On Thu,

Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
This cannot be true. Isuru S has closed https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce and mentioned that access throttling worked in AS MT mode. So, it may have been broken in later release. Let me check in SLive now. /Charitha On Fri, Jul 12, 2013 at 11:09 AM, Afkham

Re: [Dev] Upgrading CGLib version from 2.1.3 to be compatible with upgraded ASM

2013-07-11 Thread Kasun Gajasinghe
I have added a CGLib orbit bundle, and made the changes in AS. Other products have not been changed. Thanks, KasunG On Thu, Jul 11, 2013 at 12:00 AM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Jul 10, 2013 at 11:59 PM, Sameera Jayasoma same...@wso2.comwrote: On Wed, Jul 10,

Re: [Dev] NEP at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)

2013-07-11 Thread Miyuru Wanninayaka
Hi Dushan, Dispatcher/Handler will only help in cases where message come to synapse from outside. For other cases, we need to develop a extension point in synapse which invokes after a thread spawn to set CC as thread local. Seems we can get AxisConfiguration in any place which synapse create a

Re: [Dev] Why we need following methods in UserStoreManager API

2013-07-11 Thread Suresh Attanayaka
Hi, On Thu, Jul 11, 2013 at 12:42 PM, Amila Suriarachchi am...@wso2.com wrote: On Thu, Jul 11, 2013 at 10:21 AM, Prabath Siriwardena prab...@wso2.comwrote: UserStoreManager API is not clean at all.. There so many stuff can remove... Also maintain two interfaces one in the core and another

Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
Works in SLive. You can try with http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl Currently throttling is not distributed in cluster and it applies per node. Hence, your quota will be exceeded once you send 10 requests to the service. On Fri, Jul 12, 2013 at 11:16