Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Deependra Ariyadewa
There is not requirement to match the Cluster name we refer in the Hector to the Cluster name in Cassandra but it is good to have same name to make less confusions. Thanks, Deependra. On Wed, Nov 13, 2013 at 12:54 PM, Chamara Ariyarathne chama...@wso2.comwrote:

Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Chamara Ariyarathne
Is it the same way the hector client work in BAM also ? On Wed, Nov 13, 2013 at 2:02 PM, Deependra Ariyadewa d...@wso2.com wrote: There is not requirement to match the Cluster name we refer in the Hector to the Cluster name in Cassandra but it is good to have same name to make less

Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Chamara Ariyarathne
On Wed, Nov 13, 2013 at 2:21 PM, Chamara Ariyarathne chama...@wso2.comwrote: Is it the same way the hector client work in BAM also ? On Wed, Nov 13, 2013 at 2:02 PM, Deependra Ariyadewa d...@wso2.comwrote: There is not requirement to match the Cluster name we refer in the Hector to the

Re: [Dev] [dev] ConcurrentModificationException while initializing w/m ESB 4.8.0 Pre RC1 build 20131112

2013-11-13 Thread Kishanthan Thangarajah
Looks like DeploymentEngine#addDeployer method is called from all the synapse artifact related deployer components, which can cause this concurrent modification exception intermittently. I can reproduce this in ESB with some sleep introduced at axis2 level for RepositoryListener#

Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Deependra Ariyadewa
On Wed, Nov 13, 2013 at 2:21 PM, Chamara Ariyarathne chama...@wso2.comwrote: Is it the same way the hector client work in BAM also ? Yes, This is a Hector feature. On Wed, Nov 13, 2013 at 2:02 PM, Deependra Ariyadewa d...@wso2.comwrote: There is not requirement to match the Cluster name

Re: [Dev] Carbon 4.2.0 branch build failure

2013-11-13 Thread Sameera Jayasoma
When I install IntellijIDEA, it asked me to install Java and I let him install. So it installed 1.6 in the following location /System/Library/Java/JavaVirtualMachines/1.6.0.jdk Then I installed JDK 1.7 and it got installed to the following location.

[Dev] [Turing][Chunk 04] Build failure in Proxy Services Core Feature 4.2.0

2013-11-13 Thread Hasitha Aravinda
Hi, Getting following error in clean repo. Please have a look. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 17.547s [INFO] Finished at: Wed

Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Prabath Abeysekera
Hi Guys, I guess it's perfectly fine to have those parameter values the way we already have 'em, given that we clearly mention in docs that there's no direct relationship between those params (and maybe as a comment in the configuration file itself too). Because, if we make the values of those

Re: [Dev] [Turing][Chunk 04] Build failure in Proxy Services Core Feature 4.2.0

2013-11-13 Thread Hasitha Aravinda
HI, Chunk 4 feature pom has different versions of proxyadmin feature[1] . what is the correct one. ? module../../../features/proxyadmin/module module../../../features/proxyadmin/org.wso2.carbon.proxyadmin.ui.feature/4.2.1/module

Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Deependra Ariyadewa
On Wed, Nov 13, 2013 at 3:33 PM, Prabath Abeysekera praba...@wso2.comwrote: Hi Guys, I guess it's perfectly fine to have those parameter values the way we already have 'em, given that we clearly mention in docs that there's no direct relationship between those params (and maybe as a comment

Re: [Dev] [dev] ConcurrentModificationException while initializing w/m ESB 4.8.0 Pre RC1 build 20131112

2013-11-13 Thread Kishanthan Thangarajah
We already have this reported at https://wso2.org/jira/browse/CARBON-14435 and https://issues.apache.org/jira/browse/AXIS2-5152. On Wed, Nov 13, 2013 at 2:43 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Looks like DeploymentEngine#addDeployer method is called from all the synapse

Re: [Dev] Carbon 4.2.0 branch build failure

2013-11-13 Thread Sameera Jayasoma
More proof :) *JAVA_HOME environment variable is set to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home* CARBON_HOME environment variable is set to /Users/sameera/Work/wso2/distributions/carbon/wso2carbon-4.2.0 [2013-11-13 16:27:11,934] INFO

[Dev] SS-1.1.0 pack for QA

2013-11-13 Thread Bhathiya Jayasekara
Hi all, Please find the pack URL below. https://svn.wso2.org/repos/wso2/scratch/ss-dev/SS-1.1.0-QA/2/wso2ss-1.1.0.zip Thanks, Bhathiya -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn:

[Dev] [dev] Servicemeta file not deleting properly {https://wso2.org/jira/browse/ESBJAVA-2616}

2013-11-13 Thread Dushan Abeyruwan
Hi All, It seems like service metatafile not deleted properly when deleting proxy as in AbstractFilePersistenceManager. it looks *detach* nodes *instead of deleting* is this a correct behavior.. public boolean delete(String resourceId, String xpathStr) { ResourceFileData fileData =

[Dev] Compilation error in P2-profile in SS

2013-11-13 Thread Shani Ranasinghe
Hi, I get a $subject when compiling the ss p2-profile. Please find the stack trace below. [INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd

Re: [Dev] [dev] Servicemeta file not deleting properly {https://wso2.org/jira/browse/ESBJAVA-2616}

2013-11-13 Thread Dushan Abeyruwan
commitTransaction has some relation with the above method, which means el.detach means not setting to fileData.setOMElement(null); thus skipping the deletion operation public synchronized void commitTransaction(String resourceId) throws PersistenceException { if (fileData != null *

Re: [Dev] Compilation error in P2-profile in SS

2013-11-13 Thread Prabath Abeysekera
Hi Shani, It looks like, version of one of the artifacts being published is supplied with an un-resolvable property (or some malformed string) which forces artifact publishing phase of p2 profile generation to fail. Please check whether the property aliases used are properly configured. Cheers,

[Dev] WSO2 ESB 4.8.0 - Alpha Released !

2013-11-13 Thread Shafreen Anfar
Hi, ESB version 4.8.0 Alpha is available at, https://svn.wso2.org/repos/wso2/people/shafreen/ESB480/alpha/wso2esb-4.8.0.zip Connectors can be found in $ESB_HOME/repository/connectors -- Regards, *Shafreen* Software Engineer WSO2 Inc Mobile : 077-556-395-1

[Dev] Caching with multi-tenant applications

2013-11-13 Thread Supun Malinga
Hi Azeez/All, As per [1] we can use the platform provided cache. My question is how do we handle multi tenancy here. Do we have a cache manager per tenant?. Or what's the way to handle multi tenant scenario.. [1]

Re: [Dev] WSO2 ESB 4.8.0 - Alpha Released !

2013-11-13 Thread Dushan Abeyruwan
Hi It seems like connectors are not updated correctly with the Alpha pack shared, anyway for QA process for 4.8.0 Alpha please do download the latest connectors from [1] [1]https://svn.wso2.org/repos/wso2/people/shafreen/connectors/ On Wed, Nov 13, 2013 at 8:16 PM, Shafreen Anfar

Re: [Dev] WSO2 ESB 4.8.0 - Alpha Released !

2013-11-13 Thread Evanthika Amarasiri
Noted Dushan, Evanthika On Wed, Nov 13, 2013 at 10:49 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi It seems like connectors are not updated correctly with the Alpha pack shared, anyway for QA process for 4.8.0 Alpha please do download the latest connectors from [1]

Re: [Dev] Caching with multi-tenant applications

2013-11-13 Thread Afkham Azeez
Any cache manager (and therefore all its caches) you request for is automatically tenant qualified. A tenant can have multiple cache managers. On Wed, Nov 13, 2013 at 8:47 PM, Supun Malinga sup...@wso2.com wrote: Hi Azeez/All, As per [1] we can use the platform provided cache. My question is

[Dev] (no subject)

2013-11-13 Thread Vanjikumaran Sivajothy
Hi all, Currently i am in the process of setting up a WSO2 MB cluster based on [1]. Some time I am getting OOM in internal Cassandra server. Therefore i found there is another document that explain about [2] Tuning the external Cassandra server. Nevertheless, [1] uses the Internal Cassandra

[Dev] WSO2 MB- Internal Cassandra tuning Guide

2013-11-13 Thread Vanjikumaran Sivajothy
Hi all, Currently i am in the process of setting up a WSO2 MB cluster based on [1]. Some time I am getting OOM in internal Cassandra server. Therefore i found there is another document that explain about [2] Tuning the external Cassandra server. Nevertheless, [1] uses the Internal Cassandra

Re: [Dev] Caching with multi-tenant applications

2013-11-13 Thread Supun Malinga
Thanks On Wed, Nov 13, 2013 at 11:05 PM, Afkham Azeez az...@wso2.com wrote: Any cache manager (and therefore all its caches) you request for is automatically tenant qualified. A tenant can have multiple cache managers. On Wed, Nov 13, 2013 at 8:47 PM, Supun Malinga sup...@wso2.com wrote:

[Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Dushan Abeyruwan
$subject,when ELB 2.1.0 with W/M when particular EP goes suspend or timeout, LB keep tying the same message forever.. This required immediate attention FYI QA team pls try to reproduce this , did test with ESB 4.8.0 alpha pack. Cheers, Dushan Abeyruwan Associate Tech Lead *Integration

Re: [Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Miyuru Wanninayaka
I think what happens is leaf endpoints never get suspended and failover retry set to true. So request keeps retrying with next active endpoint forever. On Thu, Nov 14, 2013 at 9:29 AM, Dushan Abeyruwan dus...@wso2.com wrote: $subject,when ELB 2.1.0 with W/M when particular EP goes suspend or

Re: [Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Dushan Abeyruwan
This should be something ELB team need to attend and fix am I? On Thu, Nov 14, 2013 at 9:34 AM, Miyuru Wanninayaka miy...@wso2.com wrote: I think what happens is leaf endpoints never get suspended and failover retry set to true. So request keeps retrying with next active endpoint forever.

[Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Dushan Abeyruwan
$subject, when ELB shutdown and restarts and expecting Mgt's and Wrk's to be rejoined ASAP but seems this not happening(some time it takes while to join,or never joins),but when mgrs's and wrks restarts those will be joining back FYI : QA team please do verify this.. Cheers, Dushan Abeyruwan

Re: [Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Miyuru Wanninayaka
We can't fix it now as ELB is already released. Any fix has to go to next ELB release. Pls report a L1 against it. On Thu, Nov 14, 2013 at 9:35 AM, Dushan Abeyruwan dus...@wso2.com wrote: This should be something ELB team need to attend and fix am I? On Thu, Nov 14, 2013 at 9:34 AM, Miyuru

Re: [Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Dushan Abeyruwan
https://wso2.org/jira/browse/LB-126 On Thu, Nov 14, 2013 at 9:40 AM, Miyuru Wanninayaka miy...@wso2.com wrote: We can't fix it now as ELB is already released. Any fix has to go to next ELB release. Pls report a L1 against it. On Thu, Nov 14, 2013 at 9:35 AM, Dushan Abeyruwan

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Evanthika Amarasiri
We are trying this with the latest packs now. Evanthika On Thu, Nov 14, 2013 at 9:40 AM, Dushan Abeyruwan dus...@wso2.com wrote: $subject, when ELB shutdown and restarts and expecting Mgt's and Wrk's to be rejoined ASAP but seems this not happening(some time it takes while to join,or

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Dushan Abeyruwan
This required immediate attention..https://wso2.org/jira/browse/LB-127 On Thu, Nov 14, 2013 at 9:40 AM, Dushan Abeyruwan dus...@wso2.com wrote: $subject, when ELB shutdown and restarts and expecting Mgt's and Wrk's to be rejoined ASAP but seems this not happening(some time it takes while

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Dushan Abeyruwan
Once more shutting down ELB cause following NEP ctive:true [2013-11-14 09:49:37,179] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.getEndpoint(DynamicLoadbalanceEndpoint.java:435) at

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Amila Maha Arachchi
You need to have at least one WK member in a given time when you are dealing with hazelcast. If ELB is the only WK member in your setup, when you restart the ELB, others will never join the ELB until they are restarted. To get this working, ELB also should have a WK member (can be the ESB mgt

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Dushan Abeyruwan
On Thu, Nov 14, 2013 at 9:50 AM, Amila Maha Arachchi ami...@wso2.comwrote: You need to have at least one WK member in a given time when you are dealing with hazelcast. If ELB is the only WK member in your setup, when you restart the ELB, others will never join the ELB until they are

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Dushan Abeyruwan
On Thu, Nov 14, 2013 at 9:55 AM, Dushan Abeyruwan dus...@wso2.com wrote: On Thu, Nov 14, 2013 at 9:50 AM, Amila Maha Arachchi ami...@wso2.comwrote: You need to have at least one WK member in a given time when you are dealing with hazelcast. If ELB is the only WK member in your setup, when

Re: [Dev] [dev] ELB 2.1.0 with ESB W/M, Continues looping never ends when ESB EP goes suspended or timedout

2013-11-13 Thread Evanthika Amarasiri
This was reported by Ushani. https://wso2.org/jira/browse/LB-125 Evanthika On Thu, Nov 14, 2013 at 9:44 AM, Dushan Abeyruwan dus...@wso2.com wrote: https://wso2.org/jira/browse/LB-126 On Thu, Nov 14, 2013 at 9:40 AM, Miyuru Wanninayaka miy...@wso2.comwrote: We can't fix it now as ELB is

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Evanthika Amarasiri
I'm sorry I did not quite get what Dushan said in the intial email. Yes Dushan, this is a known fact. When ELB is restarted, you will have to restart all other nodes unless you have another WKA member in your cluster. As AmilaM mentioned, this can either be another ELB or a Mgt/Wrk node.

Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-13 Thread Madhuka Udantha
Hi Krishantha and test automation team, I would like to get your opinion on this task regard to is there standard methodology on current testing framework where we can added such testing framework or better to go on fully independent model? My thinking is, - As it is application level

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Jackie Wheeler
Copying Sam, who is handling the clustering docs. On Wed, Nov 13, 2013 at 8:38 PM, Evanthika Amarasiri evanth...@wso2.comwrote: I'm sorry I did not quite get what Dushan said in the intial email. Yes Dushan, this is a known fact. When ELB is restarted, you will have to restart all other

Re: [Dev] [dev] ELB 2.1.0 with ESB 4.8.0 Alpha W/M when LB shutdown and restarts Mgt and Wrk Nodes not joining back or taking quite while joining

2013-11-13 Thread Samuel Gnaniah
Added a note to capture this. http://docs.wso2.org/display/CLUSTER420/Creating+a+Cluster *Samuel Gnaniah* Senior Technical Writer WSO2 (pvt.) Ltd. Colombo, Sri Lanka (+94) 773131798 On Thu, Nov 14, 2013 at 11:28 AM, Jackie Wheeler jac...@wso2.com wrote: Copying Sam, who is handling the

[Dev] Adding removeObserver() method to AxisConfiguration

2013-11-13 Thread Lakmali Baminiwatta
Hi all, In AxisSericeTracker@stop() method, it retrieves the observers list from the AxisConfiguration and removes the already added AxisSericeTracker observer[1]. But what is returned from AxisConfiguration is a copy of actual observers, hence this removal doesn not actually happens.

Re: [Dev] Carbon Cassandra Authenticator

2013-11-13 Thread Chan
Hi Bhathiya, I added the patch but the following error comes - java.lang.NullPointerException at org.wso2.carbon.identity.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:64) at

Re: [Dev] [jira] (ESBJAVA-2680) Unable to Invoke the JIRA Connector an error occured.

2013-11-13 Thread Dushan Abeyruwan
how its working for me W/M with latest Alpha pack with latest connectors shared https://svn.wso2.org/repos/wso2/people/shafreen/connectors/ proxy xmlns=http://ws.apache.org/ns/synapse; name=JiraConnector transports=https,http statistics=disable trace=disable

Re: [Dev] Adding removeObserver() method to AxisConfiguration

2013-11-13 Thread Sagara Gunathunga
+1 I think you are referring to following commit[1] on Axis2 trunk. [1] - http://svn.apache.org/viewvc?view=revisionamp;revision=1324666 Thanks ! On Thu, Nov 14, 2013 at 12:33 PM, Lakmali Baminiwatta lakm...@wso2.comwrote: Hi all, In AxisSericeTracker@stop() method, it retrieves the

Re: [Dev] Adding removeObserver() method to AxisConfiguration

2013-11-13 Thread Lakmali Baminiwatta
Hi Sagara, On 14 November 2013 12:49, Sagara Gunathunga sag...@wso2.com wrote: +1 I think you are referring to following commit[1] on Axis2 trunk. [1] - http://svn.apache.org/viewvc?view=revisionamp;revision=1324666http://svn.apache.org/viewvc?view=revisionrevision=1324666 Yes, this