[Dev] Example use of Coordinator API

2014-02-06 Thread Chan
Hi Azeez, Do you have a code sample of Coordinator API usage in Carbon 4.2.X? Cheers~ -- Chan (Dulitha Wijewantha) Software Engineer - Mobile Development WSO2Mobile Lean.Enterprise.Mobileware * ~Email duli...@wso2.com * * ~Mobile +94712112165* * ~Website dulithawijewantha.com

Re: [Dev] Example use of Coordinator API

2014-02-06 Thread Nirmal Fernando
Azeez, Does Hazelcast support the coordination election? On Thu, Feb 6, 2014 at 1:47 PM, Chan wrote: > Hi Azeez, > Do you have a code sample of Coordinator API usage in Carbon 4.2.X? > > Cheers~ > -- > Chan (Dulitha Wijewantha) > Software Engineer - Mobile Development > WSO2Mobile > Lean.Enter

[Dev] Error on a fresh installation of WSO2 ELB 2.0.3

2014-02-06 Thread Diego
Hi all! We have a development environment with a running cluster of ESB and AS using both ELB 2.0.3 (for ES 4.7.0) and ELB 2.1.0 (for AS 5.1.0). Now we need to deploy a testing environment with the same configuration, from a fresh installation, and when we try to start ELB 2.0.3 are getting this F

[Dev] Design ProdcutGroup->Instance element in automation.xml

2014-02-06 Thread Malintha Adikari
Hi, We have to finalize the design of the "Instance" element in the automation.xml[1] in a standard way to use in clustered and non-clustered test setups. We have agreed on 6 different instance types which support for different clustering patterns. Note: host type is different from one to other.

Re: [Dev] Error on a fresh installation of WSO2 ELB 2.0.3

2014-02-06 Thread Manoj Kumara
Hi Diego, ELB 2.1.0 was released under Carbon 4.2.0 latest version and during Carbon 4.2.0 release the clustering implementation has changed from Axis2 clustering to Hazelcast. I don't recommend you to test your AS 5.1.0 to be used with ELB 2.1.0. You can either use ESB 2.0.3 with AS 5.1.0 or you

[Dev] [Update] Build Stabilization - sync up

2014-02-06 Thread Ruwan Yatawara
Hi All, Took a few comments down summarizing the points we discussed during today's meeting. Thought it would be useful for others as well. 1) There will be a wso2-dev (this is where all the development happens) account wherein, there will be projects created for every team, each team will have a

Re: [Dev] Example use of Coordinator API

2014-02-06 Thread Afkham Azeez
On Thu, Feb 6, 2014 at 1:50 PM, Nirmal Fernando wrote: > Azeez, > > Does Hazelcast support the coordination election? > There is no such API but we can easily implement it by using the Hazelcast ILock. Whoever owns the lock will become the coordinator. When the member holding the lock dies, Haze

[Dev] [Jaggery]Problem with "response.sendRedirect"

2014-02-06 Thread Dimuthu Upeksha
Hi all, In our project we use following commands to see whether an user has signed in to the system. - var user = session.get("user"); if(user==null){ response.sendRedirect("/InfraPortal/login.jag"); } //some jaggery code What I need to do is, to see whether there

Re: [Dev] [PayloadFactory] Impossible to provide arguments directly to "format" without any wrapper element

2014-02-06 Thread Imesh Gunaratne
May be this error is valid. When the media type of the payload factory is set to XML it is expecting an XML block inside the format tag. A non XML string would be invalid for an XML type payload. If the requirement is to generated a plain text payload, the backend endpoint might be expecting text

Re: [Dev] [ESB]LDAP Connector for WSO2 ESB : Asking for feedbacks

2014-02-06 Thread Samisa Abeysinghe
ESB team, can we please have a look into this? Thanks, Samisa... Samisa Abeysinghe Vice President Developer Evangelism WSO2 Inc. http://wso2.com On Fri, Jan 31, 2014 at 9:34 AM, Dimuthu Upeksha wrote: > Hi all, > We are working on our intern project Infra portal. We needed to do some > LD

Re: [Dev] [PayloadFactory] Impossible to provide arguments directly to "format" without any wrapper element

2014-02-06 Thread Nirmal Fernando
Yes, if it's xml media type you should use a xml inside format AFAIK. I think in your case you could simply use the enrich mediator instead. Sent via my mobile -- Nirmal -- On Jan 27, 2014 11:48 AM, "Subash Chaturanga" wrote: > Hi, > My scenario is as follows. Following is not possible and cann

Re: [Dev] [ESB]LDAP Connector for WSO2 ESB : Asking for feedbacks

2014-02-06 Thread Dushan Abeyruwan
Hi Dimuthu, - Code require proper exception handling and of cause some cleanup (i.e for for users, we should compile proper error message use AbstractMediator handleException) - Use Logs not sysouts(see synapse inbuilt mediators) - Integration tests ? - Only CURD operations ?

Re: [Dev] [ESB]LDAP Connector for WSO2 ESB : Asking for feedbacks

2014-02-06 Thread Isuru Udana
Hi Dimuthu, Following is a feedback on the code. ** Log statements in synapse configuration* - We should not print any logs from the synapse configuration for the happy path. So remove all logs in templates. ** Need better exception handling.* - Print exceptions using log statements and remove e

Re: [Dev] [Jaggery]Problem with "response.sendRedirect"

2014-02-06 Thread Venura Kahawala
Hi, You need to add a return statement at the end of the redirect. So it will look like below *response.sendRedirect("/InfraPortal/login.jag");* *return;* The issue is happening even though you redirect to the login page, flow in the sane page will execute and you might have another redirect a

[Dev] [DSS] When finish the Edit Wizard, always remove db configurations

2014-02-06 Thread Harsha Thirimanna
Hi, I have created data service that connecting oracle DB. After I created successfully, I tried to change it using Edit Wizard. even though i change it or not, when i finish it , missing db configuration detail every time. 1. Working configuration oracle.jdbc.xa.client.OracleXADataSource

Re: [Dev] [DSS] When finish the Edit Wizard, always remove db configurations

2014-02-06 Thread Harsha Thirimanna
Adding, I am testing this with Data Service feature in ESB 4.8.0. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * * email: **hars...@wso2.com* * cell: +94 71 5186770* * twitter: **http://twitter.com/ * *harshat

Re: [Dev] Example use of Coordinator API

2014-02-06 Thread Sameera Jayasoma
I guess we do have a similar implementation in our Task component where a task is executed only in one member of the cluster. I got to know that you guys have a similar requirement. Thanks, Sameera. On Thu, Feb 6, 2014 at 7:02 PM, Afkham Azeez wrote: > > > > On Thu, Feb 6, 2014 at 1:50 PM, N

Re: [Dev] [DSS] When finish the Edit Wizard, always remove db configurations

2014-02-06 Thread Anjana Fernando
Hi, I also encountered this behavior once, Chanika, can you check if its a bug in the latest release, we will have to fix it for the immediate next release. Cheers, Anjana. On Fri, Feb 7, 2014 at 11:13 AM, Harsha Thirimanna wrote: > Adding, > I am testing this with Data Service feature in ESB

Re: [Dev] WSS4j 1.5.11-wso2v6 not available in nexus

2014-02-06 Thread Malaka Silva
Hi Guys, The issue still exists for clean repo. The location should be http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/security/wss4j/1.5.11.wso2v6 not http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/security/wso2/ wss4j/1.5.11.wso2v6/ On Fri, Jan 31

Re: [Dev] Design ProdcutGroup->Instance element in automation.xml

2014-02-06 Thread Nuwan Wimalasekara
On Thu, Feb 6, 2014 at 3:25 PM, Malintha Adikari wrote: > Hi, > > We have to finalize the design of the "Instance" element in the > automation.xml[1] in a standard way to use in clustered and > non-clustered test setups. We have agreed on 6 different instance types > which support for different