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

2014-02-08 Thread Dimuthu Upeksha
Hi all, Dushan : I'll look in to the facts you have mentioned. Thanks for the feedback. - If you can please send some samples of integration test implementations. We are not familiar with integration test writing. - Currently we needed only CURD operations. To keep ldap connector

Re: [Dev] Exception handling on REST call

2014-02-08 Thread Dushan Abeyruwan
Hi Kirshantha, Handling fault has two flavors, - Handle internal fault such as service EP not available and all the issues related . - Handle Service faults. Ideally when BE is SOAP and if it returns SOAP fault in order to handle such queries we normally append

[Dev] Issue in configuring SSO

2014-02-08 Thread Thilini Ishaka
I was trying to configure SSO as per the documentation [1]. One carbon server is a chunk-7 released product (i.e: BPS 3.2.0 or ESB 4.8.1). As per the doc [1], we need to install 'SAML2 SSO Authenticator' from the p2 repo [2], but the corresponding p2 does not contain a such feature. It has a

Re: [Dev] Exception handling on REST call

2014-02-08 Thread Krishantha Dinesh
Great information. now i can take it forward. thanks for sharing it :) On Sat, Feb 8, 2014 at 7:30 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi Kirshantha, Handling fault has two flavors, - Handle internal fault such as service EP not available and all the issues related . -

Re: [Dev] Issue in configuring SSO

2014-02-08 Thread Bhathiya Jayasekara
Hi Thilini, There is a feature called SAML2 based Single Sign-On authenticator in [2]. Isn't it what you are looking for? There are 3 versions of it. 4.2.0, 4.2.1 and 4.2.2. I tried installing them in ESB 4.8.1. 4.2.2 can't be installed due to some dependency problem. But 4.2.1 can be installed.

[Dev] [error] Cannot get CarbonContext

2014-02-08 Thread Quang Cường Vũ
Hi, dev. I write very simple program and deploy to Application Server I use this code to obtain tenant context: ie. index.jsp % CarbonContext cCtx = CarbonContext.getCurrentContext(); int tenantId = cCtx.getTenantId(); String tenantDomain = cCtx.getTenantDomain(); String

[Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Chamila Wijayarathna
Hello all, I am working on Infra Log Analyzer intern project which uses BAM and CEP. Here we uses 2 instances and BAM and CEP communicating with each other. When I add these two into a remote server and ran it I am getting following warning and error. [*2014-02-09 05:05:42,669] WARN

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Nirmal Fernando
To avoid this please increase the open files limit of your OS. 'ulimit -n' would give you the current number (by default it is 1024 - most of the cases). You can uncomment #ulimit -n 10 (after uncommenting it would be : ulimit -n 10 ) in the wso2server.sh file of wso2 products in order

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Chamila Wijayarathna
Hi Nirmal, Is it enough to only edit wso2server.sh or do I have to do it as well as increase limit in OS. Thank You. On Sun, Feb 9, 2014 at 12:18 PM, Nirmal Fernando nir...@wso2.com wrote: To avoid this please increase the open files limit of your OS. 'ulimit -n' would give you the current

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Nirmal Fernando
When you start the server using wso2server.sh after this modification, that'll increase the open file limit of the process. On Sun, Feb 9, 2014 at 12:34 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi Nirmal, Is it enough to only edit wso2server.sh or do I have to do it as well as

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Bhathiya Jayasekara
FYI: You can do the same by editing /etc/security/limits.conf file too. http://www.datastax.com/docs/1.0/troubleshooting/index#toomany On Sun, Feb 9, 2014 at 12:18 PM, Nirmal Fernando nir...@wso2.com wrote: To avoid this please increase the open files limit of your OS. 'ulimit -n' would

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Chamila Wijayarathna
Hi , Thank you for the information. We are planning to run this for without stopping for a long time. So will the 10 limit exceed some day and give this error again? If so is there any way of avoiding that? Thank You. On Sun, Feb 9, 2014 at 12:41 PM, Bhathiya Jayasekara

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Nirmal Fernando
Yes, but this would increase the limit for the whole system. Further, if you want to verify your process' open file limit, go to '/proc/Your_PID/limits' file. On Sun, Feb 9, 2014 at 12:41 PM, Bhathiya Jayasekara bhath...@wso2.comwrote: FYI: You can do the same by editing

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Nirmal Fernando
On Sun, Feb 9, 2014 at 12:51 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi , Thank you for the information. We are planning to run this for without stopping for a long time. So will the 10 limit exceed some day and give this error again? If so is there any way of avoiding that?

Re: [Dev] [BAM][CEP] Error Too many open files

2014-02-08 Thread Chamila Wijayarathna
Hi, Thank You for information. On Sun, Feb 9, 2014 at 12:54 PM, Nirmal Fernando nir...@wso2.com wrote: On Sun, Feb 9, 2014 at 12:51 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi , Thank you for the information. We are planning to run this for without stopping for a long time. So