Re: [Dev] [Social] Documentation around how to cluster social components.

2014-05-22 Thread Manuranga Perera
Ramith and I had an offline discussion on this. summary of which is : social currently don't a way to configure LoadBalancingDataPublisher. I will add that feature and let AF team know so they can utilize it to point to multiple AF nodes. On Thu, May 22, 2014 at 11:12 AM, Manuranga Perera

[Dev] New orbit bundles needs to be added to EMM

2014-05-22 Thread Dilshan Edirisuriya
Hi, I need to add few orbit bundles which are needed for EMM OSGI components (Carbon 4.2.0). The requirement for this has been discussed in architecture thread [1]. Those are as follows. 1) bcmail version 1.49 - bouncycastle license at [2] 2) bcpkix version 1.49 - bouncycastle license at [2] 3)

Re: [Dev] [Social] Documentation around how to cluster social components.

2014-05-22 Thread Ramith Jayasinghe
Thanks Manu. On Thu, May 22, 2014 at 11:50 AM, Manuranga Perera m...@wso2.com wrote: Ramith and I had an offline discussion on this. summary of which is : social currently don't a way to configure LoadBalancingDataPublisher. I will add that feature and let AF team know so they can utilize

Re: [Dev] [Social] Documentation around how to cluster social components.

2014-05-22 Thread Sinthuja Ragendran
Hi, On Thu, May 22, 2014 at 11:50 AM, Manuranga Perera m...@wso2.com wrote: Ramith and I had an offline discussion on this. summary of which is : social currently don't a way to configure LoadBalancingDataPublisher. I will add that feature and let AF team know so they can utilize it to

Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-05-22 Thread Pubudu Gunatilaka
Hi, For the BPEL Processes, I was able to write a custom event listener using the BPELEventListener from the *org.apache.ode.bpel.iapi* package. According to my proposal in [1] I have shown the instance information through the BAM Dashboard which is in figure 3. Same details also can be viewed

Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-05-22 Thread Hasitha Aravinda
Good progress Pubudu, On Thu, May 22, 2014 at 1:21 PM, Pubudu Gunatilaka pubudu...@gmail.comwrote: Hi, For the BPEL Processes, I was able to write a custom event listener using the BPELEventListener from the *org.apache.ode.bpel.iapi* package. According to my proposal in [1] I have shown

[Dev] New Feature for WSO2 Governance Registry - Exemption to Life-cycle Policies for a particular period (RM Feature- #477)

2014-05-22 Thread Vishmi Money
Hi, I have developed this feature for WSO2 Governance Registry, to enable the exemption of users from requiring certain privileges, to perform certain life-cycle operations during a given period, based on some exemption policy. With this feature a specific time period can be assigned for

[Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Chaminda Jayawardena
I am going to set up *single ELB(2.1.1) and two AS(5.2.1) EC2 instances *for testing autoscaling on ELB; it's getting and error when it starts the ELB in *autoscale is enabled mode*. Please see the exception below. 2014-05-22 11:06:21,319] ERROR - AxiomXpathParser Essential 'className' element

Re: [Dev] PostgreSQL Connection error when starting up API Manager 1.6.0

2014-05-22 Thread Chamara Ariyarathne
Finally got it to work after a few iterations. The correct entry to the pg_hba.conf should be as following. #TYPE DATABASE USER CIDR-ADDRESS IP-MASK METHOD host all all 172.16.2.10 255.255.255.255 md5 After successfully connected to the database the -Dsetup also worked and the tables in the

[Dev] [Jaggery]Restricting requests on a jaggery resource based on HTTP method used

2014-05-22 Thread Sameera Kannangara
Hi all, I want to restrict HTTP verbs that can be used on a given jaggery resource. For example user should be able to make only HTTP POST and PUT requests only on the index.jag file. If they make any HTTP GET or DELETE requests they will get a 400 - bad request response. I referred to jaggery

[Dev] [DEV] org.wso2.carbon.datasource.server_4.3.0.SNAPSHOT feature contains synapse-commons

2014-05-22 Thread Malaka Silva
Hi, org.wso2.carbon.datasource.server_4.3.0.SNAPSHOT feature bundles synapse-commons. Due to the above synapse-commons that bundles with datasource.server will replace the latest file with a older version in ESB 4.9.0. Please fix this. Best Regards, Malaka Silva Senior Tech Lead M: +94 777

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Isuru Haththotuwa
I too had a look at the configs. As Chaminda has stated in the mail, the className element is already there in the cloud-controller.xml. But, still the ELB logs that its not specified, when the cartridge definition file is getting deployed. This is strange. On Thu, May 22, 2014 at 4:48 PM,

[Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Sewwandi Perera
Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to write all Cassandra related logs to cassandra_system.log and all zookeeper related logs to zookeeper.log. We came up to a requirement where, we need to append all Cassandra logs also

[Dev] API Store list all the tenant domains publicly.

2014-05-22 Thread Chathura Dilan
Hi All, We are using API Manager with our EMM 1.1.0 release to publish some of our APIs which are consumed by Android devices. We have API Store Jaggery app in our EMM The API Store publicly list down all the tenants publicly in the front page. So this could lead to a privacy issue. Is there

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Chamara Ariyarathne
What I heard from IsuruU is that this ELB 2.1.1 version is a bug fix version, which includes, some fixed patches. So my argument is, the previously worked configurations should work absolutely well in the new setup too. Then why is there an exception asking a new element? Has there been any

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Isuru Udana
On Thu, May 22, 2014 at 5:08 PM, Chamara Ariyarathne chama...@wso2.comwrote: What I heard from IsuruU is that this ELB 2.1.1 version is a bug fix version, which includes, some fixed patches. So my argument is, the previously worked configurations should work absolutely well in the new setup

Re: [Dev] API Store list all the tenant domains publicly.

2014-05-22 Thread Chathura Dilan
Adding Sumedha and Nuwan On Thu, May 22, 2014 at 5:07 PM, Chathura Dilan chathu...@wso2.com wrote: Hi All, We are using API Manager with our EMM 1.1.0 release to publish some of our APIs which are consumed by Android devices. We have API Store Jaggery app in our EMM The API Store

[Dev] About Jaggery Apps in Greg 5

2014-05-22 Thread Shazni Nazeer
I have been looking into stabilizing the Jaggery Apps (greg-bam and greg-publisher in particular) in the GREG pack. Initially there were issues in logging into the greg-bam due to unavailability of certain jaggery modules inside the pack. After adding jaggery modules like caramel, carbon,

[Dev] ESB 4.9.0 M1 Released

2014-05-22 Thread Malaka Silva
Hi All, WSO2 ESB 4.9.0 M1 is available at [1] [1] http://svn.wso2.org/repos/wso2/people/malaka/ESB/ESB4.9.0/ wso2esb-4.9.0-SNAPSHOT.zip Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn :

Re: [Dev] Synapse Hot Deployment and Undeployment ?

2014-05-22 Thread Malaka Silva
thx Kishanthan. This works after registering the deployer. On Tue, May 13, 2014 at 3:48 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: All new deployers should be registered with Axis2 deployment engine before it can be used. I think in synapse case, all the artifact deployers are

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Nirmal Fernando
On Thu, May 22, 2014 at 5:10 PM, Isuru Udana isu...@wso2.com wrote: On Thu, May 22, 2014 at 5:08 PM, Chamara Ariyarathne chama...@wso2.comwrote: What I heard from IsuruU is that this ELB 2.1.1 version is a bug fix version, which includes, some fixed patches. So my argument is, the

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Chaminda Jayawardena
Please find the attachment here with... On Thu, May 22, 2014 at 6:52 PM, Nirmal Fernando nir...@wso2.com wrote: On Thu, May 22, 2014 at 5:10 PM, Isuru Udana isu...@wso2.com wrote: On Thu, May 22, 2014 at 5:08 PM, Chamara Ariyarathne chama...@wso2.comwrote: What I heard from IsuruU

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Isuru Udana
Issue is due to some change in axis2 in kernel patch0002 On Thu, May 22, 2014 at 7:01 PM, Chaminda Jayawardena chami...@wso2.comwrote: Please find the attachment here with... On Thu, May 22, 2014 at 6:52 PM, Nirmal Fernando nir...@wso2.com wrote: On Thu, May 22, 2014 at 5:10 PM, Isuru

[Dev] [DEV] Feature conflicts when MB install as a feature in ESB

2014-05-22 Thread Indika Sampath
Hi All, Installing Message Broker as a feature in the ESB end up with issue reported in [1] and [2]. We found that there are Event feature and Key store management feature conflict in the both MB and ESB packs. In carbon/platform/branches/turing/features/repository/4.2.10/pom.xml has following

[Dev] [ESB 4.8.1] Cloud Agent try to create ROLE even though LDAP is in read only mode.

2014-05-22 Thread Harsha Thirimanna
Hi, Because of $subject, it throws exception when ESB start. ERROR {org.wso2.carbon.cloud.gateway.agent.internal.CGAgentServiceComponent} - Cloud not activated the CGAgentServiceComponent. {org.wso2.carbon.cloud.gateway.agent.internal.CGAgentServiceComponent}

[Dev] Jaggery Test Framework issue

2014-05-22 Thread Harshan Liyanage
Hi, I'm writing unit tests for EMM using jaggery test framework. But whenever I put beforeEach[1] and afterEach[1] in unit tests (refer to *Setup* and *Teardown* section), statements inside beforeEach and afterEach automatically executes when I'm loading/refreshing the test page. Because of that

[Dev] [Clustering][Appfactory] Error when member leaves the cluster.down

2014-05-22 Thread Ramith Jayasinghe
HI, We have 2 Appfactory nodes joined to ELB-2.1.1 to form a cluster. when one of the nodes shutsdown (by CTRL +C) following error gets printed in other AF node: [2014-05-22 22:38:22,171] ERROR {org.apache.cassandra.service.AbstractCassandraDaemon} - Exception in thread

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Kishanthan Thangarajah
On Thu, May 22, 2014 at 5:06 PM, Sewwandi Perera sewwa...@wso2.com wrote: Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to write all Cassandra related logs to cassandra_system.log and all zookeeper related logs to

Re: [Dev] [Clustering][Appfactory] Error when member leaves the cluster.down

2014-05-22 Thread Afkham Azeez
On Thu, May 22, 2014 at 10:41 PM, Ramith Jayasinghe ram...@wso2.com wrote: WKABasedMembershipScheme.java:152) from the code, it looks like hazelcastMember.getInetSocketAddress() becomes null!! How could that happen? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com

[Dev] [Appfactory][Clustering] ELB 2.1.1 goes to a endless loop when a member leaves.

2014-05-22 Thread Ramith Jayasinghe
$subject. When one appfactory node ( out of 2 nodes which forms the cluster) becomes unavailable (By CTRL +C ) ELB 2.1.1 keeps on printing following forever. TID: [0] [ELB] [2014-05-22 23:20:13,996] INFO {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} - Dropping the

Re: [Dev] [Clustering][Appfactory] Error when member leaves the cluster.down

2014-05-22 Thread Afkham Azeez
Are you using host names instead of IP addresses? Hazelcast has this well known issue where host names cause weird failures. You need to use IP addresses. On Thu, May 22, 2014 at 11:48 PM, Ramith Jayasinghe ram...@wso2.com wrote: I see this when member joins: Exception in thread

Re: [Dev] [Clustering][Appfactory] Error when member leaves the cluster.down

2014-05-22 Thread Ramith Jayasinghe
Well... I used host names! I could try with IP too. On Fri, May 23, 2014 at 12:27 AM, Afkham Azeez az...@wso2.com wrote: Are you using host names instead of IP addresses? Hazelcast has this well known issue where host names cause weird failures. You need to use IP addresses. On Thu, May

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Ishara Premadasa
Hi Kishanthan, On Thu, May 22, 2014 at 10:41 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Thu, May 22, 2014 at 5:06 PM, Sewwandi Perera sewwa...@wso2.comwrote: Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to

Re: [Dev] [Clustering][Appfactory] Error when member leaves the cluster.down

2014-05-22 Thread Isuru Perera
Please try with IPs. There can be issues with hostnames On Thu, May 22, 2014 at 12:03 PM, Ramith Jayasinghe ram...@wso2.com wrote: Well... I used host names! I could try with IP too. On Fri, May 23, 2014 at 12:27 AM, Afkham Azeez az...@wso2.com wrote: Are you using host names instead of

Re: [Dev] [ESB 4.8.1] Cloud Agent try to create ROLE even though LDAP is in read only mode.

2014-05-22 Thread Isuru Perera
I think we should modify the Cloud Agent to use internal roles. IS Team, WDYT? On Thu, May 22, 2014 at 7:40 AM, Harsha Thirimanna hars...@wso2.com wrote: Hi, Because of $subject, it throws exception when ESB start. ERROR

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Indika Sampath
Hi All, What unclear point here is how to use two log4j.properties files in same pack. Because even if you started any carbon related server with profiles means it's starting the same pack with same configuration files. Only difference is features which are activating at the runtime is different.

Re: [Dev] [ESB 4.8.1] Cloud Agent try to create ROLE even though LDAP is in read only mode.

2014-05-22 Thread Asela Pathberiya
On Fri, May 23, 2014 at 1:18 AM, Isuru Perera isu...@wso2.com wrote: I think we should modify the Cloud Agent to use internal roles. IS Team, WDYT? +1 we can create them as internal roles.. On Thu, May 22, 2014 at 7:40 AM, Harsha Thirimanna hars...@wso2.com wrote: Hi, Because of