Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-08-07 Thread Senaka Fernando
Also, for the benefit of everybody following this thread: Please note that the performance is very much optimized for the most frequent operations primarily involving READs, and such optimizations have introduced minor side effects to performance of infrequent operations such as WRITEs. This is by

Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-08-07 Thread Senaka Fernando
Hi Evanthika, Having a mount and not having a mount (at least based on recent performance tests) did not show significant differences in times. However, if the mounted DB is either remote (or local and heavily loaded) a delay of a certain factor is expected. I don't think that it should be conside

Re: [Dev] [BLOCKED] WSO2AS pack provided on Aug-07th not working on windows

2013-08-07 Thread Pradeep Fernando
Hi, Im looking in to this issue.. On Thu, Aug 8, 2013 at 10:51 AM, Thayalan wrote: > Hi All, > > None of the jsp pages loading in Windows 7 from the Management Console UI > with the latest pack provided on Aug 7th. > WSAS-1437 > > > Regards, > Associate

Re: [Dev] Latest ELB spins after a simple load test/long running test

2013-08-07 Thread Evanthika Amarasiri
Thanks Kasun. - Evanthika On Thu, Aug 8, 2013 at 11:22 AM, Kasun Indrasiri wrote: > I think this is the CPU spinning issue which occurs due to a JDK bug. We > will provide, pack with upgraded httpcore + the fix for spinning issue > ASAP. > > > On Thu, Aug 8, 2013 at 11:10 AM, Evanthika Amarasi

Re: [Dev] Latest ELB spins after a simple load test/long running test

2013-08-07 Thread Kasun Indrasiri
I think this is the CPU spinning issue which occurs due to a JDK bug. We will provide, pack with upgraded httpcore + the fix for spinning issue ASAP. On Thu, Aug 8, 2013 at 11:10 AM, Evanthika Amarasiri wrote: > Hi, > > We setup a worker/manager separated cluster with the latest ELB. Then we > s

Re: [Dev] Webapps & JAX-WS/JAX-RS can not be deployed on ugust 7th AS pack

2013-08-07 Thread Shashika Ubhayaratne
This issue occurred only on Google Chrome while uploading webapps. On Thu, Aug 8, 2013 at 10:46 AM, Shashika Ubhayaratne wrote: > Please note that this issue not reproduced on the same pack again and > doing further analysis. > > Shashika Ubhayaratne > Associate Technical Lead - QA > WSO2 Inc: h

Re: [Dev] {trunk build issue} Throttling component.

2013-08-07 Thread Nuwan Wimalasekara
Hi get the svn up of kernal/trunk/dependencies/neethi/2.0.4-wso2v4 and try Thanks, Nuwnaw On Thu, Aug 8, 2013 at 10:44 AM, Vijayaratha Vijayasingam wrote: > > Hi all; > Im getting following..Can anyone point me where should i take up? > 438,37] cannot find symbol > ymbol : class Policy > ocat

Re: [Dev] Logging Tomcat logs in App-server startup

2013-08-07 Thread Pradeep Fernando
In a recent fix by shameera, we merged both juli logging and apache-commons logging log outputs. I think we have to control tomcat level logs using the its properties file.. Shameera, please look in to this.. thanks, --Pradeep On Thu, Aug 8, 2013 at 9:44 AM, Shashika Ubhayaratne wrote: > Hi, >

[Dev] [BLOCKED] WSO2AS pack provided on Aug-07th not working on windows

2013-08-07 Thread Thayalan
Hi All, None of the jsp pages loading in Windows 7 from the Management Console UI with the latest pack provided on Aug 7th. WSAS-1437 Regards, Associate Technical Lead - QA Mob: +94(0)777872485 ___ Dev mailing li

Re: [Dev] Webapps & JAX-WS/JAX-RS can not be deployed on ugust 7th AS pack

2013-08-07 Thread Shashika Ubhayaratne
Please note that this issue not reproduced on the same pack again and doing further analysis. Shashika Ubhayaratne Associate Technical Lead - QA WSO2 Inc: http://www.wso2.com/ Mobile: *+94773383831* On Thu, Aug 8, 2013 at 10:36 AM, Shashika Ubhayaratne wrote: > Hi, > > While uploading webapp/ J

[Dev] {trunk build issue} Throttling component.

2013-08-07 Thread Vijayaratha Vijayasingam
Hi all; Im getting following..Can anyone point me where should i take up? 438,37] cannot find symbol ymbol : class Policy ocation: class org.wso2.carbon.throttle.core.ThrottleFactory ERROR] \Projects\platform\trunk\components\throttling\org.wso2.carbon.throttle.core\src\main\java\org\wso2\carbon\t

[Dev] Webapps & JAX-WS/JAX-RS can not be deployed on ugust 7th AS pack

2013-08-07 Thread Shashika Ubhayaratne
Hi, While uploading webapp/ JAX-WS/ JAX-RS services, following message prompted and not allowed to deploy it. "Web application name consists / or character." No errors thrown on backend log. Thanks, Shashika ___ Dev mailing list Dev@wso2.org http://ws

Re: [Dev] WSO2 Committers += Asanka Vithanage

2013-08-07 Thread Gayan Dhanushka
Congratz Asanka!!! On Wed, Aug 7, 2013 at 10:55 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Congratulations Asanka !!! > > > On Wed, Aug 7, 2013 at 10:52 AM, Dunith Dhanushka wrote: > >> Congrats Asanka! >> >> >> On Wed, Aug 7, 2013 at 10:44 AM, Ushani Balasooriya wrote:

Re: [Dev] WSO2 Committers += Chanika

2013-08-07 Thread Gayan Dhanushka
Congratzz Chanika.!!! On Tue, Aug 6, 2013 at 10:03 AM, Chamath Gunawardana wrote: > Congrats Chanika ..! > > > On Tue, Aug 6, 2013 at 8:45 AM, Darshana Gunawardana wrote: > >> Congratulation Chanika..!! >> >> >> On Mon, Aug 5, 2013 at 10:47 AM, Dhanuka Ranasinghe wrote: >> >>> Congratulation

Re: [Dev] Logging Tomcat logs in App-server startup

2013-08-07 Thread Shashika Ubhayaratne
Hi, Same behavior observed while doing some operations like roload/ stop/ start.

Re: [Dev] Caching implementation performance improvement

2013-08-07 Thread Danushka Fernando
Thats what my question was about. Thanks Azeez. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Aug 7, 2013 at 5:28 PM, Afkham Azeez wrote: > > > > On Wed, Aug 7, 2013 at 2:59 PM, Danushka Fernando wrote: > >> Hi, >> Just wondering

[Dev] Logging Tomcat logs in App-server startup

2013-08-07 Thread Evanthika Amarasiri
Hi, Any particular reason for $subject? (This is with latest packs -7th Aug) JAVA_HOME environment variable is set to /opt/software/java/SUN-JDK7/jdk1.7.0 CARBON_HOME environment variable is set to /home/evanthika/WSO2/CARBON/CARBON-4.2.0/7thAug/wso2as-5.2.0-SNAPSHOT log4j:WARN No appenders could

Re: [Dev] G-Reg (trunk) content of an artifact different from G-Reg 4.5.3

2013-08-07 Thread Chandana Napagoda
Hi Eranda, Yes it seems to be a bug caused by the RXT improvements. If we move into a new rxt enhancement, we may have to provide data migration scripts as well. Regards, Chandana On Wed, Aug 7, 2013 at 1:27 PM, Eranda Sooriyabandara wrote: > Hi guys, > I think I found the solution for this. W

Re: [Dev] Upgrading Jettison from 1.1.wso2v1 to 1.3.4.wso2v1

2013-08-07 Thread Nuwan Bandara
On Thu, Aug 8, 2013 at 12:46 AM, Kasun Gajasinghe wrote: > Hi, > > We need to $subject since CXF requires Jettison 1.3.4 to function > properly. [1] As I see, Synapse core uses Jettison, and as I see, Synapse > core successfully passed with tests. I haven't committed the fixes to there > yet. I c

Re: [Dev] nested-categories/greg/repository doesn't exit

2013-08-07 Thread Shelan Perera
Fixed in r180257. Sorry It was not added to refactored set of components when committing. Thanks On Thu, Aug 8, 2013 at 12:09 AM, Shameera Rathnayaka wrote: > Hi Shelan, > > Please note $Subject. > > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project > org.

[Dev] Upgrading Jettison from 1.1.wso2v1 to 1.3.4.wso2v1

2013-08-07 Thread Kasun Gajasinghe
Hi, We need to $subject since CXF requires Jettison 1.3.4 to function properly. [1] As I see, Synapse core uses Jettison, and as I see, Synapse core successfully passed with tests. I haven't committed the fixes to there yet. I can go ahead and commit if it's OK to upgrade. Jaggery team, can you p

[Dev] nested-categories/greg/repository doesn't exit

2013-08-07 Thread Shameera Rathnayaka
Hi Shelan, Please note $Subject. [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.wso2.governance:org.wso2.governance.nested.categories:4.6.0-SNAPSHOT (/build/trunk/platform/features/nested-categories/greg/pom.xml) has 1 error [ERROR] Child module /buil

Re: [Dev] [Commits] [Carbon-platform] svn commit r180125 - in carbon/platform/trunk/dependencies/synapse/2.1.1-wso2v8/modules/core/src/main/java/org/apache/synapse: . config/xml/rest rest

2013-08-07 Thread Ruwan Yatawara
Hi Isuru, Yes, according to the initial implementation of this fix, APIs which support both protocols (http and https), were made to include both values as a space separated string in the namespace. However as pointed out by Hiranya in [1], we opted to maintain only one transport value in the tran

Re: [Dev] G-Reg (trunk) content of an artifact different from G-Reg 4.5.3

2013-08-07 Thread Eranda Sooriyabandara
Hi guys, I think I found the solution for this. We need to remove the option-text field its redundant now. We can replace it easily by our new unbounded option. Both of the following configurations are rendered in the UI in the same way. Option-text configuration Envi

[Dev] Sending custom parameters in confirmation email link

2013-08-07 Thread Ashansa Perera
Hi all, At the organization registration of aPaaS we need to send a confirmation email to the user. ( We use EmailVerifcationSubscriber for this purpose ) But here we need to send some custom parameters with the confirmation link other than the confirmation key. ie: we need to send something like

Re: [Dev] G-Reg (trunk) content of an artifact different from G-Reg 4.5.3

2013-08-07 Thread Eranda Sooriyabandara
Hi Chandana, As we discussed offline this is the expected behavior but this is the content of the resource of a service where some endpoints are added when adding its WSDL. See how wsdl endpoints added to the service content. http://www.wso2.org/governance/metadata";> http://docs.oas

Re: [Dev] [Commits] [Carbon-platform] svn commit r180125 - in carbon/platform/trunk/dependencies/synapse/2.1.1-wso2v8/modules/core/src/main/java/org/apache/synapse: . config/xml/rest rest

2013-08-07 Thread Isuru Udana
Hi Nuwan, After updating synapse with this commit, Rest API's which I had deployed in my ESB instance are failing to deploy now. It seems like API's having both http and https transports (transports="http https") are failing to deploy. According to the following logic at APIFactory, it seems like

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

2013-08-07 Thread Supun Malinga
Hi Kasun, We can pack the common bundle with the server feature as well. thanks, On Wed, Aug 7, 2013 at 9:31 PM, Kasun Gajasinghe wrote: > > We have removed most of the UI bundles from worker profile. We are unable > to remove some UI bundles like Carbon UI from worker profile because of > ap

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

2013-08-07 Thread Kasun Gajasinghe
We have removed most of the UI bundles from worker profile. We are unable to remove some UI bundles like Carbon UI from worker profile because of apparently a inconsistent use of server and ui features. One scenario I noticed was that org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso

Re: [Dev] G-Reg (trunk) content of an artifact different from G-Reg 4.5.3

2013-08-07 Thread Ajith Vitharana
Hi Chandana, This can be due to the improvements made for unbounded field support in RXT. ? Thanks Ajith. On Wed, Aug 7, 2013 at 9:20 PM, Eranda Sooriyabandara wrote: > Hi Chandana, > In previous releases the Service (GovernanceArtifact) content was like [1] > and now its like [2]. Is this t

Re: [Dev] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project wss4j: Compilation failure: Compilation failure:

2013-08-07 Thread Venura Kahawala
Hi, Same issue occurred to me when I was using jdk1.7.0_07. I moved to jdk1.6.0_45 and issue was resolved. Regards, Venura On Wed, Jul 24, 2013 at 11:58 AM, Ayashkantha Ramasinghe < ayashkan...@wso2.com> wrote: > Hi, > > I got the $subject while building the trunk-kernel and I tried with a > c

[Dev] G-Reg (trunk) content of an artifact different from G-Reg 4.5.3

2013-08-07 Thread Eranda Sooriyabandara
Hi Chandana, In previous releases the Service (GovernanceArtifact) content was like [1] and now its like [2]. Is this the expected model with your new design of infinite entries? It seems to be a bug for me. Please add some explanation too. thanks Eranda [1]. http://www.wso2.org/governance/metada

Re: [Dev] Why aren't Hazelcast & Tomcat logs appearing in the console anymore?

2013-08-07 Thread Shameera Rathnayaka
Hi Azeez, This has been fixed in latest trunk and now both Hazelcast and Tomcat logs(java loggings) log to wso2carbon.log file too. thanks, Shameera. On Wed, Aug 7, 2013 at 7:42 PM, Afkham Azeez wrote: > > $subject > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.co

Re: [Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Krishantha Samaraweera
First of all this is not framework issue. The issue has caused by the way we have done test design. The same behavior was observed when using priority and dependOn annotation together (could be caused by testNG issue) I have explained the reason for the using of duplicate create service/LC methods

[Dev] Why aren't Hazelcast & Tomcat logs appearing in the console anymore?

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

Re: [Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Vijitha Kumara
Hi Nuwan, I see most of the test cases have cleanup code to do the necessary stuff but we need to review all of them as well if there's any doubt. But this is not about resource cleanup rather the issue with the inferences and the related consequences I explained. The test in focus is not done bu

Re: [Dev] What web request data should publish to the BAM as web statistics

2013-08-07 Thread Udara Rathnayake
Found this article[1] on hits, views and unique visitors, might help to understand the accuracy of web stats. [1] http://support.tigertech.net/stats-hits On Wed, Aug 7, 2013 at 6:00 PM, Geeth Munasinghe wrote: > I cannot think of a generic way of distinguishing between different urls, > whethe

Re: [Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Nuwan Wimalasekara
This happens when the resources used for a test is not cleared properly after the test. Those clearance should be called under AfterClass or After Test annotated methods. Then Those methods will call even if the test is failed or passed. Then there are no effects of other test classes. Some test

Re: [Dev] What web request data should publish to the BAM as web statistics

2013-08-07 Thread Geeth Munasinghe
I cannot think of a generic way of distinguishing between different urls, whether a request for a image or for css style sheets. we cannot recognize a css request just by looking ".css" at the end of the url. Sometimes even css request goes with query parameter at the end of the url. AFAIK there is

[Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Vijitha Kumara
Hi All, Apparently there's some serious ordering/execution issue when the bunch of tests run with the framework. For example if you run a single class LCStateIdNameTestCase all test passes but fails when running only with the package (org.wso2.carbon.registry.lifecycle.test in this case). Failure

Re: [Dev] Caching implementation performance improvement

2013-08-07 Thread Afkham Azeez
On Wed, Aug 7, 2013 at 2:59 PM, Danushka Fernando wrote: > Hi, > Just wondering about the update mechanism. What happens when original > value or L2 cache value get updated? > I think the question is, if the L2 (distributed) cache got updated from another node, how does it get reflected in the L1

Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-08-07 Thread Evanthika Amarasiri
Hi, We tried several combinations of configurations to figure out the cause for the delay we noticed in tenant creation. At the end, we found out that the cause is the registry mount. *Without* a registry mount, it took ~8 seconds for the tenant creation. *With* a registry mount, it took ~60 secon

Re: [Dev] [Architecture] Caching implementation performance improvement

2013-08-07 Thread Danushka Fernando
I am asking about caching invalidating mechanism Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Aug 7, 2013 at 5:13 PM, Isuru Perera wrote: > > > > On Wed, Aug 7, 2013 at 2:59 PM, Danushka Fernando wrote: > >> Hi, >> Just wondering

Re: [Dev] [Architecture] Caching implementation performance improvement

2013-08-07 Thread Isuru Perera
On Wed, Aug 7, 2013 at 2:59 PM, Danushka Fernando wrote: > Hi, > Just wondering about the update mechanism. What happens when original > value or L2 cache value get updated? > What do you mean by this? If I understand correctly, when you need to update the value for a key, you need to use the Cac

Re: [Dev] Status of ESB 4.8.0 on kernal 4.2.0

2013-08-07 Thread Kasun Indrasiri
On Wed, Aug 7, 2013 at 4:17 PM, Asela Pathberiya wrote: > There is no any API changes in user core interface... We have just > modified the method in Abstract class and same time we have done the fix in > user.mgt that is used that method. you have not properly svn up and build > it properly...

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Samisa Abeysinghe
Guys, in general, please do a detailed logical analysis when the cluster fails while in QA. Making ballpark gestimates does not help. And if you are not sure, you then need to gather facts, like message flows, logs, loads on nodes etc, based on the behavior applicable. On Wed, Aug 7, 2013 at 2:5

Re: [Dev] Status of ESB 4.8.0 on kernal 4.2.0

2013-08-07 Thread Asela Pathberiya
There is no any API changes in user core interface... We have just modified the method in Abstract class and same time we have done the fix in user.mgt that is used that method. you have not properly svn up and build it properly... this why you can see these errors. Thanks, Asela. On Tue,

Re: [Dev] Status of ESB 4.8.0 on kernal 4.2.0

2013-08-07 Thread Krishantha Samaraweera
Hi, Following UM error is all over the logs. I think Asela has fixed the issue now. [2013-08-06 22:09:16,683] INFO {org.wso2.carbon.automation.core.utils. coreutils.InputStreamHandler} - Caused by: java.lang.NoSuchMethodError: org.wso2.carbon.user.core.common.AbstractUserStoreManager.getRoleNam

Re: [Dev] Fwd: Feature Categorization for APIM

2013-08-07 Thread Sanjeewa Malalgoda
On Wed, Aug 7, 2013 at 1:27 PM, Amila De Silva wrote: > Hi, > > Since the existing feature breakdown doesn't help much when installing > high level components in APIManager, thought of restructuring the > categories. > Only the following categories will be defined. > > 1. Store > 2. Publisher > 3

Re: [Dev] Why count_record13080XXXXXX.properties file created under WSO2_AS_HOME directory?

2013-08-07 Thread Sagara Gunathunga
On Wed, Aug 7, 2013 at 2:58 PM, Thayalan wrote: > Hi, > > When I'm doing multi profile testing on a Windows 7 machine (WSO2 AS > 5.2.0) I've observed several similar property files getting created in the > HOME directory of the WSO2 AS. What the real use of this file? > > Sample file attached. >

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Nuwan Bandara
Hi Senaka, Sorry for the noise, there was a bug in the code at JS side. All working now Regards, /Nuwan On Wed, Aug 7, 2013 at 2:46 PM, Nuwan Bandara wrote: > HI Senaka, > > > On Wed, Aug 7, 2013 at 2:34 PM, Senaka Fernando wrote: > >> Hi Nuwan, >> >> Alright. Then there should be somethin

Re: [Dev] Caching implementation performance improvement

2013-08-07 Thread Danushka Fernando
Hi, Just wondering about the update mechanism. What happens when original value or L2 cache value get updated? Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Aug 7, 2013 at 2:02 PM, Afkham Azeez wrote: > [image: Inline image 1] > >

[Dev] Why count_record13080XXXXXX.properties file created under WSO2_AS_HOME directory?

2013-08-07 Thread Thayalan
Hi, When I'm doing multi profile testing on a Windows 7 machine (WSO2 AS 5.2.0) I've observed several similar property files getting created in the HOME directory of the WSO2 AS. What the real use of this file? Sample file attached. Regards, Associate Technical Lead - QA Mob: +94(0)777872485

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Afkham Azeez
Search for "Cluster initialization completed" log message in the two IS nodes. See whether that is printed, and yet the member didn't join the ELB. On Wed, Aug 7, 2013 at 11:00 AM, Chamara Ariyarathne wrote: > Here having a setup with One ELB and Two IS nodes (As Mgt nodes). > > When one IS node

Re: [Dev] Pending documentation issues for AS 5.2.0

2013-08-07 Thread Kasun Gajasinghe
WSAS-1379 is committed. Thanks, KasunG On Wed, Aug 7, 2013 at 12:40 PM, Piyum Fernando wrote: > Hi, > > Fix for the https://wso2.org/jira/browse/WSAS-1379 attached to the jira. > It will be committed soon. > > Thanks. > > > On Wed, Aug 7, 2013 at 11:10 AM, Mariangela Hills wrote: > >> Hi Sarag

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Nuwan Bandara
HI Senaka, On Wed, Aug 7, 2013 at 2:34 PM, Senaka Fernando wrote: > Hi Nuwan, > > Alright. Then there should be something that makes JS call return before > the BE operation completes. If there is no return type would the JS > operation simply assume that it invokes an asynchronous method? > I

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Chamara Ariyarathne
No I was only going to make them two management nodes. So subDomain was set to mgt. On Wed, Aug 7, 2013 at 2:40 PM, Afkham Azeez wrote: > Did you try designating the two nodes as worker nodes & getting those to > join the ELB? Did that work? > > > On Wed, Aug 7, 2013 at 2:36 PM, Afkham Azeez w

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Afkham Azeez
Did you try designating the two nodes as worker nodes & getting those to join the ELB? Did that work? On Wed, Aug 7, 2013 at 2:36 PM, Afkham Azeez wrote: > ELB knows nothing about the nodes it fronts. If the setup works properly > with AS nodes, it should just work with IS nodes. > > > On Wed,

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Afkham Azeez
ELB knows nothing about the nodes it fronts. If the setup works properly with AS nodes, it should just work with IS nodes. On Wed, Aug 7, 2013 at 2:24 PM, Chamara Ariyarathne wrote: > So the final decision of our IS deployment is to not to use ELB, but > logically assume one IS instance as manag

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Senaka Fernando
Hi Nuwan, Alright. Then there should be something that makes JS call return before the BE operation completes. If there is no return type would the JS operation simply assume that it invokes an asynchronous method? Thanks, Senaka. On Wed, Aug 7, 2013 at 2:22 PM, Nuwan Bandara wrote: > > > > O

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Chamara Ariyarathne
So the final decision of our IS deployment is to not to use ELB, but logically assume one IS instance as manager and the other one as worker, and continuing working with the manager node. In that case the other node which we assume as the worker, will only serve the API calls. P.S. IS uses depsyn

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Nuwan Bandara
On Wed, Aug 7, 2013 at 2:18 PM, Senaka Fernando wrote: > Hi Nuwan, > > Are you invoking this java operation via some sort of WS (or other) > interface? > No WS, just via OSGI Service > > Thanks, > Senaka. > > > On Wed, Aug 7, 2013 at 1:50 PM, Nuwan Bandara wrote: > >> Hi Senaka, >> >> >> On W

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Afkham Azeez
There is no such restriction in the ELB. But if there is depsync, there could be conflicts, but for IS there is(was) no depsync. On Wed, Aug 7, 2013 at 2:17 PM, Chamara Ariyarathne wrote: > Hi Azeez, > > In our deployments, Do we not support more than one Manager Nodes ? > > On Wed, Aug 7, 2013

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Senaka Fernando
Hi Nuwan, Are you invoking this java operation via some sort of WS (or other) interface? Thanks, Senaka. On Wed, Aug 7, 2013 at 1:50 PM, Nuwan Bandara wrote: > Hi Senaka, > > > On Wed, Aug 7, 2013 at 1:23 PM, Senaka Fernando wrote: > >> Hi Nuwan, >> >> No simply wait for the BE call (VM-oper

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Chamara Ariyarathne
Hi Azeez, In our deployments, Do we not support more than one Manager Nodes ? On Wed, Aug 7, 2013 at 12:35 PM, Chamara Ariyarathne wrote: > Well yes, something is still wrong. When the node 1 is down the Mgt > console request does not go to the other. > In the ELB log; > > [2013-08-07 07:04:29,1

Re: [Dev] Caching implementation performance improvement

2013-08-07 Thread Afkham Azeez
[image: Inline image 1] On Wed, Aug 7, 2013 at 11:31 AM, Afkham Azeez wrote: > While running certain scenarios during testing of the Carbon 4.2.0 packs, > we saw certain performance issues when distributed Hazelcast HashMaps are > used as the backing data structure. To overcome this, I have int

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Nuwan Bandara
Hi Senaka, On Wed, Aug 7, 2013 at 1:23 PM, Senaka Fernando wrote: > Hi Nuwan, > > No simply wait for the BE call (VM-operation or WS-call) to complete. > The java operation doesn't return anything upon success, hence javascript code just trigger this operation and go on to the next line, whic

Re: [Dev] WSO2 Committers += Geeth

2013-08-07 Thread Ushani Balasooriya
Congrats Geeth! On Tue, Aug 6, 2013 at 8:48 AM, Tanya Madurapperuma wrote: > Congratz Geeth !!! > > > On Tue, Aug 6, 2013 at 8:42 AM, Darshana Gunawardana wrote: > >> Congratulation Geeth..!! >> >> >> On Mon, Aug 5, 2013 at 8:52 PM, Hasitha Hiranya wrote: >> >>> Congrats Geeth >>> >>> >>> On Mo

Re: [Dev] Fwd: Feature Categorization for APIM

2013-08-07 Thread Amila De Silva
Hi, Since the existing feature breakdown doesn't help much when installing high level components in APIManager, thought of restructuring the categories. Only the following categories will be defined. 1. Store 2. Publisher 3. KeyManager 4. Gateway Worker 5. Gateway Manager Each feature category w

Re: [Dev] NPE - Error occurred while running CacheCleanupTask

2013-08-07 Thread Afkham Azeez
Are the two Hazelcast properties set? On Wed, Aug 7, 2013 at 1:02 PM, Chamara Ariyarathne wrote: > > > On Wed, Aug 7, 2013 at 1:01 PM, Chamara Ariyarathne wrote: > >> This happened in the 6th IS build. >> > > TID: [0] [IS] [2013-08-07 07:29:37,949] ERROR > {org.wso2.carbon.caching.impl.CacheClea

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Senaka Fernando
Hi Nuwan, No simply wait for the BE call (VM-operation or WS-call) to complete. If you want to make this asynchronous and still check whether the operation completed, then you can see whether the asset can be fetched by ID. But, I believe that the former is a straightforward thing to do. Thanks,

Re: [Dev] UnsupportedOperationException when trying to cluster ESB with worker manager setup

2013-08-07 Thread Afkham Azeez
NodeManager entry is set to enabled. ESB has its own axis2.xml. Completely remove the node manager segment from it and commit that file. Azeez On Wed, Aug 7, 2013 at 12:25 PM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > Hi, > > What is the reason for this exception? > > [2013-08-07

Re: [Dev] NPE - Error occurred while running CacheCleanupTask

2013-08-07 Thread Chamara Ariyarathne
On Wed, Aug 7, 2013 at 1:01 PM, Chamara Ariyarathne wrote: > This happened in the 6th IS build. > TID: [0] [IS] [2013-08-07 07:29:37,949] ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} - Error occurred while running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTask} com.haze

Re: [Dev] NPE - Error occurred while running CacheCleanupTask

2013-08-07 Thread Chamara Ariyarathne
This happened in the 6th IS build. On Mon, Jul 29, 2013 at 7:01 PM, Afkham Azeez wrote: > Seems like a null value has been placed in the cache. Anyway, I have now > handled that condition as well. > > Azeez > > > On Mon, Jul 29, 2013 at 6:56 PM, Nirodha Pramod wrote: > >> Hi Azeez, >> >> In the

Re: [Dev] Status of ESB 4.8.0 on kernal 4.2.0

2013-08-07 Thread Krishantha Samaraweera
On Wed, Aug 7, 2013 at 6:20 AM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > > > > On Wed, Aug 7, 2013 at 12:34 AM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> Hi, >> >> On Tue, Aug 6, 2013 at 5:30 PM, Jeewantha Dharmaparakrama < >> jeewan...@wso2.com> wrote: >> >>> Hi

Re: [Dev] Pending documentation issues for AS 5.2.0

2013-08-07 Thread Piyum Fernando
Hi, Fix for the https://wso2.org/jira/browse/WSAS-1379 attached to the jira. It will be committed soon. Thanks. On Wed, Aug 7, 2013 at 11:10 AM, Mariangela Hills wrote: > Hi Saraga, > > Further to our discussion yesterday, here is the status of the mentioned > JIRAs [1] (AS JIRA sheet). In add

Re: [Dev] Weird behavior with load balancing a IS Cluster

2013-08-07 Thread Chamara Ariyarathne
Well yes, something is still wrong. When the node 1 is down the Mgt console request does not go to the other. In the ELB log; [2013-08-07 07:04:29,105] ERROR - TenantAwareLoadBalanceEndpoint No application members available having host name : mgt.identity.qa-test.wso2.com and tenant id : 0 [2013-0

Re: [Dev] [Architecture] Caching implementation performance improvement

2013-08-07 Thread Dhanuka Ranasinghe
*Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Wed, Aug 7, 2013 at 12:12 PM, Afkham Azeez wrote: > > > > On Wed, Aug 7, 2013 at 12:10 PM, Afkham Azeez wrote: > >> >> >> >> On Wed, Aug 7, 2013 at 12:00 PM, Dhan

[Dev] UnsupportedOperationException when trying to cluster ESB with worker manager setup

2013-08-07 Thread Jeewantha Dharmaparakrama
Hi, What is the reason for this exception? [2013-08-07 12:02:14,278] FATAL - CarbonServerManager WSO2 Carbon initialization Failed java.lang.UnsupportedOperationException: setNodeManager is no longer supported at org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.setNodeManage

Re: [Dev] Setting permission to rxt instance

2013-08-07 Thread Nuwan Bandara
Hi Senaka On Wed, Aug 7, 2013 at 10:08 AM, Senaka Fernando wrote: > Hi Dulitha, > > It depends on the client you use. If your code (or the BE code of the > Jaggery code you've written, waits for the operation to complete, then it > is synchronous. If it is not, then it wont behave that way. >