Re: [Dev] Exception while invoking the API with GET resource in ESB 5.0.0

2017-12-13 Thread Firzhan Naqash
Hi Dilusha, Can you set the Accept header with your CURL command? Regards, Firzhan email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspot.com/ * *twitter:

Re: [Dev] Giving proxy service as API End point causes an error

2017-12-12 Thread Firzhan Naqash
Hi Buddhima, Since timeout has happened, which means the server/machine couldn't resolve the hostname. Can you change your hostname to localhost from buddhimala-ThinkPad-X1-Carbon-5th, and try the scenario again? Regards, Firzhan email: firz...@wso2.com mobile: (+94) 77 9785674

Re: [Dev] Tool to Analyze Performance of MB 4 Message Store

2017-05-05 Thread Firzhan Naqash
Hi Malaka, Will you be considering to check the performance against level DB as well? Since it's a flat file based DB system, I believe that we can use it to achieve significant performance gain. On May 5, 2017 8:36 AM, "Malaka Gangananda" wrote: > Hi All, > > Adding

Re: [Dev] Error While invoking a rest API from a BPMN process.

2016-05-31 Thread Firzhan Naqash
Hi Nandika, We resolved the issue by having contentType under header field .. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog

Re: [Dev] Task instance not appearing in claimable task list

2016-04-20 Thread Firzhan Naqash
Yeah. During defining the form properties, you have to define the candidate groups or assignee. If we haven't define any values, then activiti will be storing an empty field. So admin can't see all the tasks. Tasks are purely based on role members or users. Regards, Firzhan -- *Firzhan

Re: [Dev] Task instance not appearing in claimable task list

2016-04-20 Thread Firzhan Naqash
Hi, Yeah, either candidateUsers or candidateGroups should be defined Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog

Re: [Dev] [BPS] Any idea to differentiate BPMN form property we should generate as text field and a textarea?

2016-04-17 Thread Firzhan Naqash
to define as text area. If the property is a custom property type then you can define the text area [1] [1] http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/ Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc

Re: [Dev] Secure vault for C5 ?

2016-04-07 Thread Firzhan Naqash
We can have kube secret variables to read password [1] [1] [1] http://kubernetes.io/docs/user-guide/secrets/ Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2

[Dev] Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC2

2016-01-28 Thread Firzhan Naqash
to be voted upon: ​​https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC2 [ ] Broken - do not release (explain why) [ ] Stable - go ahead and release ​Thanks, ​WSO2 BPS Team, Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2

Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC1

2016-01-27 Thread Firzhan Naqash
We have to call off this vote due to an issue, we found out during the testing of BPMN feature installation [1]. We will send the RC2 vote mail ASAP. [1] m):https://wso2.org/jira/browse/BPS-975 Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc

Re: [Dev] [BPS] Affect of migration on BPMN from 350 to 351

2016-01-27 Thread Firzhan Naqash
Hi Shazni, In BPS, we store the checksum values of the deployed artifacts in registry db. Therefore during migration we have migrate following items. - registry db - activiti db - contents inside BPS_HOME/repository/deployment/server/bpmn Regards, Firzhan -- *Firzhan Naqash* Senior Software

Re: [Dev] [BPS] Affect of migration on BPMN from 350 to 351

2016-01-27 Thread Firzhan Naqash
//bpmn Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspot.com/ <http://firzhanblogger.blogspot.com

Re: [Dev] Issue activating osgi component with the service component reference

2016-01-25 Thread Firzhan Naqash
Sorry I meant maven-scr-plugin. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspot.com/

Re: [Dev] Issue activating osgi component with the service component reference

2016-01-25 Thread Firzhan Naqash
Hi Nipuna, I guess you have not added themaven-bundle-plugin plugin dependency in your pom file. [1] [1] https://github.com/wso2/carbon-business-process/blob/master/components/bpmn/org.wso2.carbon.bpmn.analytics.publisher/pom.xml Regards, Firzhan -- *Firzhan Naqash* Senior Software

Re: [Dev] [VOTE] Release WSO2 BRS 2.2.0 RC2

2015-12-23 Thread Firzhan Naqash
I have tested following in single node as well as cluster - aar deployment - aar deployment with security policy - Cipher tool password encryption and changing passwords. No issues found. [x] - Stable - Go ahead and release. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer

Re: [Dev] [VOTE] Release WSO2 BRS 2.2.0 RC2

2015-12-23 Thread Firzhan Naqash
Hi Folks, Thanks for testing the product. We are closing the vote with 7 +1s and 0 -1s. Hence we are proceeding with the release of Business Rule Server 2.2.0. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz

[Dev] [Architecture] WSO2 Business Rules Server (BRS) 2.2.0 Released!

2015-12-23 Thread Firzhan Naqash
The WSO2 Business Rules Server (BRS) 2.2.0 Released! December 2015 The WSO2 BRS team is pleased to announce the release of version 2.2.0 of the Open Source Business Rules Server (BRS). WSO2 Business Rules Server (WSO2 BRS) is to be your Business Rule Management System (BRMS). Our ultimate goal

[Dev] [VOTE] Release WSO2 BRS 2.2.0 RC2

2015-12-23 Thread Firzhan Naqash
Hi Devs, WSO2 BRS 2.2.0 RC2 Release Vote This release fixes the following issues: https://wso2.org/jira/browse/BRS-134?filter=12526 Please download BRS 2.2.0 RC2 and test the functionality and vote. Vote will be open for 72 hours or as needed. Binary distribution at:

Re: [Dev] [VOTE] Release WSO2 BRS 2.2.0 RC

2015-12-22 Thread Firzhan Naqash
I have tested following in single node as well as cluster - aar deployment - aar deployment with security policy No issues found. [x] - Stable - Go ahead and release. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com

Re: [Dev] [VOTE] Release WSO2 BRS 2.2.0 RC

2015-12-22 Thread Firzhan Naqash
We have found some permission issues. Hence we are calling off this vote. Once we fixed this issue, I will send a new vote immediately. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com mobile: (+94) 77

[Dev] [Architecture] WSO2 Business Process Server 3.5.1 - Beta Released !

2015-12-17 Thread Firzhan Naqash
WSO2 Business Process Server 3.5.1 - Beta Released ! Date : 17th December 2015 WSO2 BPS team is pleased to announce the Beta release of WSO2 BPS 3.5.1 Beta. You can download the distribution from [1]. WSO2 Business Process Server (BPS) is an easy-to-use Open Source Business Process Server that

Re: [Dev] Enabling security with user name token

2015-10-14 Thread Firzhan Naqash
sys-admin Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551&g

Re: [Dev] [BPS 350]: SchedulerTask Error

2015-10-12 Thread Firzhan Naqash
Hi, Then this seems to be the Hazlecast OOM issue. Please report a jira for this. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B9

Re: [Dev] [BPS 350]: SchedulerTask Error

2015-10-11 Thread Firzhan Naqash
Poller} - {org.apache.tomcat.util.net <http://org.apache.tomcat.util.net>.NioEndpoint$Poller}java.lang.OutOfMemoryError: GC overhead limit exceeded* Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com>

Re: [Dev] [DEV][BPS] Clarification on bps dbscripts

2015-10-09 Thread Firzhan Naqash
have necessary database permissions, you can start the server with -Dsetup option. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B9

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Firzhan Naqash
artifacts to the activiti api. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspo

[Dev] WSO2 Business Process Server(WSO2 BPS) 3.5.0 Released!

2015-10-05 Thread Firzhan Naqash
ild the technology. For more details and to take advantage of this unique opportunity please visit http://wso2.com/support/ For more information about WSO2 BPS, please see http://wso2.com/products/business-process-server/ Thank you for your interest in WSO2 BPS - *The WSO2 BPS Team* - Regar

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Firzhan Naqash
at all Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspo

Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-10-04 Thread Firzhan Naqash
Hi Devs, Since this vote has been open for more than 72 hours and no -1s, we are closing this vote. This vote passed with 9 *+1s* and 0 *-1*. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <la

Re: [Dev] Failing test after business process version upgrade

2015-10-01 Thread Firzhan Naqash
ned permission issue. Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.blogspot.com/ <

[Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-09-29 Thread Firzhan Naqash
Thanks and Regards, WSO2 BPS Team Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.

[Dev] [Release] carbon-business-process 4.4.3 released

2015-09-26 Thread Firzhan Naqash
Hi Repo owners, Please note $subject, and please update your repos if using carbon-business-process components as dependencies. Thanks, Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@w

[Dev] [VOTE] Release WSO2 BPS 3.5.0 RC1

2015-09-26 Thread Firzhan Naqash
Thanks and Regards, WSO2 BPS Team Regards, Firzhan -- *Firzhan Naqash* Senior Software Engineer - Integration Platform Team WSO2 Inc. http://wso2.com email: firz...@wso2.com <lasan...@wso2.com> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*| blog: http://firzhanblogger.

Re: [Dev] Clarification regarding the PR

2015-09-10 Thread Firzhan Naqash
Hi Aruna, This PR was sent some times ago ( Even before the release of 4.4.0 ) to define some of the String constants in the user core and to close one of the input stream ( Which is not closed ). I am not sure this PR can be merged now because the user core might have been changed. Regards,

[Dev] [BPS] Character encoding is not working properly for kernel version 4.4.1

2015-09-09 Thread Firzhan Naqash
Hi All, Currently the getSafeText method of the org.wso2.carbon.ui.util.CharacterEncoder class in the carbon kernel 4.4.1 version doesn't seem to be properly encoding the given text. This issue has been currently fixed with the 4.4.x branch. But for the BPS 3.5 release we are planning to go

Re: [Dev] [BPS] Character encoding is not working properly for kernel version 4.4.1

2015-09-09 Thread Firzhan Naqash
Hi, Since this is a blocker and it involves fixing the already released carbon kernel version, any suggestions or workarounds are welcome Regards, Firzhan On Wed, Sep 9, 2015 at 2:56 PM, Firzhan Naqash <firz...@wso2.com> wrote: > > > Hi All, > > Currently t

[Dev] [BPS][BPMN] Undeployment of BPMN packages

2015-09-03 Thread Firzhan Naqash
Hi All, Currently we are having a requirement to support undeployment of BPMN packages which are having corresponding both active and completed instances. Therefore, before removing the BPMN package, these instances should be cleaned from the database. If the number of instances are quite high,

Re: [Dev] [G-Reg] Error thrown when shutting down the server

2015-08-24 Thread Firzhan Naqash
Hi, I guess IS team also faced same issue like this. We requested them to upgrade to the latest h2 version which is 1.2.140.wso2v3. In addition please add the DB_CLOSE_DELAY=-1 parameter the the jdbc url in bps-datasources.xml file. Still if you are facing any issues ( After doing the above

Re: [Dev] [BPS] Exception throws intermitently when shutdown the server

2015-08-23 Thread Firzhan Naqash
from business-process features right ? On Sat, Aug 22, 2015 at 7:23 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Harsha, Are you using H2 database ? We previously encountered the same issue with H2 database for activiti database. We were able to solve it by adding following parameter

Re: [Dev] [BPS] Exception throws intermitently when shutdown the server

2015-08-22 Thread Firzhan Naqash
Hi Harsha, Are you using H2 database ? We previously encountered the same issue with H2 database for activiti database. We were able to solve it by adding following parameter to the jdbc url DB_CLOSE_DELAY=-1; Can you add the same parameter to the bps-datasources.xml file ? Regards, Firzhan

Re: [Dev] SSLException in cluster

2015-06-09 Thread Firzhan Naqash
Import the nginx certs to publisher's client-trustore Regards, Firzhan On Wed, Jun 10, 2015 at 12:13 AM, Yasassri Ratnayake yasas...@wso2.com wrote: Did you add the keys to the client-truststore of AM nodes? On Wed, Jun 10, 2015 at 10:35 AM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi Sajith,

Re: [Dev] Cannot build Dev Studio projects with Mavan 3.3

2015-05-27 Thread Firzhan Naqash
Hi Sajini, Carbon platform 4.2 works with maven 3.0.5 only Regards, Firzhan On Wed, May 27, 2015 at 8:18 AM, Sajini De Silva saj...@wso2.com wrote: Hi, I tried to build a simple ESB project created using Dev Studio in Windows environment and got the following error. My maven version is

Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-11 Thread Firzhan Naqash
Hi All, Just for clarification, if we are going to move the claimable tasks to a separate tab, then we will be utilising the both involved and claimable tabs. Can I know the necessity of using queued tab in this scenario. Regards, Firzhan On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran

Re: [Dev] [ESB] Building the ESB product from the source

2015-04-27 Thread Firzhan Naqash
Hi Chanaka, The same error has also been observed in IS. I am not sure whether this error occurs due to change in p2 plugin. I am adding kasung. Regards, Firzhan On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray chanakasampat...@gmail.com wrote: Ok I will try maven 3.0.x and let you

Re: [Dev] Does IS has mutual authenticator packed in IS 5.1.0 disctribution?

2015-04-25 Thread Firzhan Naqash
Hi Thraindhu/Darshana, And also IMO, we should make sure it does not throw CNF errors in the console, in the event of mutual SSL authentication is disabled and it doesn't have the custom authentication jar inside the authenticanendpoint/WEB-INF/lib. Regards, Firzhan On Sat, Apr 25, 2015 at

Re: [Dev] [Automation] Could not copy the catalina-server.xml file

2015-03-01 Thread Firzhan Naqash
.*applyConfigurationWithoutRestart*(sourceCatalinaFile, targetCatalinaFile,*true*); Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Sun, Mar 1, 2015 at 10:48 PM, Firzhan Naqash firz...@wso2.com wrote: Hi All, I am trying to write

[Dev] [Automation] Could not copy the catalina-server.xml file

2015-03-01 Thread Firzhan Naqash
Hi All, I am trying to write an automation test where I need to copy the modified catalina-server.xml file in to CARBON_HOME/repository/conf/tomcat folder. But always the catalina-server.xml file get copied in to CARBON_HOME/repository/conf/ folder. But on the other hand I could copy the

Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-12 Thread Firzhan Naqash
Congratulations Pulasthi Regards, Firzhan On Fri, Feb 13, 2015 at 12:23 PM, Jerad Rutnam je...@wso2.com wrote: Congratulations Pulasthi! :) On Fri, Feb 13, 2015 at 12:19 PM, Johann Nallathamby joh...@wso2.com wrote: Hi All, It's my pleasure to announce Pulasthi Mahawithana as a WSO2

Re: [Dev] Secure Vault Secret Resolver is not initialized

2015-02-09 Thread Firzhan Naqash
.securevault/configuration;, svns); var root = factory.createOMElement(Password, ns1); var text = factory.createOMText(root,adminPassword); var reslover = resFactClass.create(root,true); var plaintxt = reslover.resolve(UserManager.AdminUser.Password); On Mon, Feb 9, 2015 at 4:38 PM, Firzhan Naqash firz

Re: [Dev] Secure Vault Secret Resolver is not initialized

2015-02-09 Thread Firzhan Naqash
Hi Udara, Yes. The secret resolver is initialized during carbon server start-up. Therefore You have to explicitly initialize it before hand if you are going to use it as a stand alone application. Regards, Firzhan On Mon, Feb 9, 2015 at 4:29 PM, Udara Liyanage ud...@wso2.com wrote: Hi, I

Re: [Dev] JavaServiceTask : Samples

2015-02-08 Thread Firzhan Naqash
Hi Shiva, I referred the following articles to learn about JavaServiceTasks [1] [2]. For further reference you can go through the chapter 4 of the book Activiti in Action. [1] http://www.jorambarrez.be/blog/2012/10/25/call-a-service-in-a-service-tas/ [2]

Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-01 Thread Firzhan Naqash
Congratz Tharindhu ... Regards, Firzhan On Sun, Feb 1, 2015 at 10:09 PM, Hasintha Indrajee hasin...@wso2.com wrote: Congratulations Tharindu ...!! On Sun, Feb 1, 2015 at 9:58 PM, Johann Nallathamby joh...@wso2.com wrote: Hi All, It's my pleasure to announce Tharindu Edirisinghe as a

Re: [Dev] java.sun.com/jsp/jstl/fmt cannot be resolved in authenticationendpoint web app

2015-01-26 Thread Firzhan Naqash
Hi Dulitha, When you are defining the dependency for JSTL make sure not to mention the scopeprovided/scope tag. This will include the jar in to WEB-INF/lib. Regards, Firzhan On Mon, Jan 26, 2015 at 5:46 PM, Dulitha Wijewantha duli...@wso2.com wrote: I added the JSTL 1.2 jar to WEB-INF/lib

Re: [Dev] [ESB] [Carbon-Mediation] Failure to find ui feature in nexus

2015-01-26 Thread Firzhan Naqash
Hi, You can use the 4.3.0-SNAPSHOT as dependency version. Regards, Firzhan On Mon, Jan 26, 2015 at 6:40 PM, Pulasthi Mahawithana pulast...@wso2.com wrote: Hi, This might be due to using version 4.3.0 in org.wso2.carbon:org.wso2.carbon.mediator.foreach.ui instead of 4.3.0-SNAPSHOT. Try

Re: [Dev] [ESB] [Carbon-Mediation] Failure to find ui feature in nexus

2015-01-26 Thread Firzhan Naqash
Hi, When you are building the by using snapshot nexus retrieves the bundle from snapshots repository [1]. Once the bundle is released ( along with the ESB relase), it will be added to the wso2-public repo [2] [1]

Re: [Dev] How to query Through A JSON Array in a Json Object?

2015-01-22 Thread Firzhan Naqash
Hi Shiva, You can access the json array by using following method. JSONArray dataArray = jsonResponseObject.get(data); for( int i = 0; i dataArray.length; i++){ JSONObject data = dataArray.getJSONObject(i); String deploymentID = dataArray.getString(deploymentId); } Regards, Firzhan

Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread Firzhan Naqash
Hi CD, Previously there was an issue regarding this. The main reason for this issue is that carbon security management feature is being packed with two different WS4J versions. Those are wss4j_1.5.11.wso2v7.jar wss4j_1.5.11.wso2v8-SNAPSHOT.jar I think this issue has been fixed. Its better if

Re: [Dev] java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

2014-12-27 Thread Firzhan Naqash
Hi Prabath, Can you try with the same client after building it using JDK 1.6.X version ? Regards, Firzhan On Tue, Dec 23, 2014 at 11:21 AM, Prabath Ariyarathna prabat...@wso2.com wrote: $subject error occurred while trying to access UsernameToken enable secure proxy service which is exposed

Re: [Dev] WSO2 Committers += Niranda Perera

2014-12-24 Thread Firzhan Naqash
Congratz Niranda :) Regards, Firzhan On Wed, Dec 24, 2014 at 8:15 PM, Supun Sethunga sup...@wso2.com wrote: Congratz Niranda! On Wed, Dec 24, 2014 at 7:56 PM, Kasun De Silva kas...@wso2.com wrote: Congrats Nira !!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com

Re: [Dev] What is the recommended way to initialize singleton

2014-12-19 Thread Firzhan Naqash
Hi Manu, By making the Instance variable *volatile*, you can over come this issue. This also has been mentioned in the reference link that you pointed out (Fixing Double-Checked Locking using Volatile)[1] class Foo { private volatile Instance instance = null; public Helper

Re: [Dev] Base64 encoding for the attachment

2014-12-17 Thread Firzhan Naqash
Hi Kathees, You can use the following code snippet to encode the byte array. String encodedRequestMessage = Base64.encodeBytes(byteArrayOutputStream.toByteArray(), Base64.DONT_BREAK_LINES); Regards, Firzhan On Thu, Dec 18, 2014 at 11:00 AM, Malaka Silva mal...@wso2.com wrote: Hi, You can

[Dev] [CARBON-15109] Verify and Merge the Fix

2014-12-15 Thread Firzhan Naqash
Hi, Please verify and merge the PR[1] for following JIRA [2]. [1] https://github.com/wso2/carbon4-kernel/pull/121 [2] https://wso2.org/jira/browse/CARBON-15109 Regards, Firzhan ___ Dev mailing list Dev@wso2.org

Re: [Dev] Axis2 deployer doesn't work for tenants

2014-11-15 Thread Firzhan Naqash
, Firzhan On Sat, Nov 15, 2014 at 1:32 PM, Lahiru Chandima lahi...@wso2.com wrote: Thanks Frizhan for the nice solution :) Do you know a way to programmatically get deployment directory path of a tenant? Thanks On Sat, Nov 15, 2014 at 1:12 PM, Firzhan Naqash firz...@wso2.com wrote: Hi

Re: [Dev] Axis2 deployer doesn't work for tenants

2014-11-14 Thread Firzhan Naqash
Hi Lahiru, Rathern than defining them in axis2.xml, you can define them in compnent.xml and pom.xml file which worked for me [1] [1] http://architects.dzone.com/articles/writing-axis2-custom-deployers Regards, Firzhan On Fri, Nov 14, 2014 at 7:14 PM, Lahiru Chandima lahi...@wso2.com wrote:

Re: [Dev] Axis2 deployer doesn't work for tenants

2014-11-14 Thread Firzhan Naqash
for a tenant (in repository/tenants/1/event-sinks) Any idea why? Thanks On Fri, Nov 14, 2014 at 8:10 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Lahiru, Rathern than defining them in axis2.xml, you can define them in compnent.xml and pom.xml file which worked for me [1] [1] http

Re: [Dev] Axis2 deployer doesn't work for tenants

2014-11-14 Thread Firzhan Naqash
be a way. Thanks On Sat, Nov 15, 2014 at 10:31 AM, Firzhan Naqash firz...@wso2.com wrote: Hi Lahiru, Deployer's deploy() method will get trigger only when artifacts are being deployed. For super-tenant during the server start-up axis2 re-deploys the artifacts, thus triggering deploy

Re: [Dev] Review and merge carbon business process #21

2014-11-10 Thread Firzhan Naqash
as well? Thanks, Akalanka On Mon, Nov 10, 2014 at 10:43 PM, Firzhan Naqash firz...@wso2.com wrote: Hi, Please commit the pull request [1] . The changes are related on updating the activiti version. [1] https://github.com/wso2-dev/carbon-business-process/pull/21 Regards, Firzhan

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Firzhan Naqash
Congars Milinda Regards, Firzhan On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Congrats Milinda!!! On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Milinda ! On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe

Re: [Dev] how to make sure that cache doesn't get invalidated

2014-10-18 Thread Firzhan Naqash
if entire cluster goes down. In that case we need to persist. So +1 for javax.cache.Cache. Thanks, Darshana On Fri, Oct 17, 2014 at 9:31 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Oct 17, 2014 at 12:44 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, Are there any specific way to make sure

Re: [Dev] how to make sure that cache doesn't get invalidated

2014-10-18 Thread Firzhan Naqash
the security best practices, shall we restrict the cache invalidation time for an hour ? Regards, Firzhan On Sun, Oct 19, 2014 at 11:14 AM, Afkham Azeez az...@wso2.com wrote: On Sun, Oct 19, 2014 at 1:12 AM, Firzhan Naqash firz...@wso2.com wrote: Hi All, Let me explain the use case that I

[Dev] Fwd: Fix for issue https://wso2.org/jira/browse/CARBON-15009

2014-10-17 Thread Firzhan Naqash
Hi, Since this else causes some issues on JDBC secondary user stores, I have attached the diff file which removes it. Please review and merge it for kernel patch0009. Regards, Firzhan Index:

Re: [Dev] how to make sure that cache doesn't get invalidated

2014-10-16 Thread Firzhan Naqash
. Thanks, Darshana On Fri, Oct 17, 2014 at 9:31 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Oct 17, 2014 at 12:44 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, Are there any specific way to make sure that cache doesn't get invalidated other than setting a longer duration

Re: [Dev] What is the standard way of handling exceptions

2014-10-12 Thread Firzhan Naqash
Hi, As a standard practice we either throw the exception or log an error and continue the operation. If that exception will cause serious inconsistency in the entire functionality as a best practice we threw the exception. Other wise we can log error and continue the operation. As Dinesh

[Dev] How do we handle the links associated with carbon.home in platform level

2014-10-04 Thread Firzhan Naqash
Hi, I have a url link like this t${carbon.home}/repository/resources/security/wso2ldap.jks. How do we handle these sort of url in the platform? Are there any specific util classes are there to handle this scenario apart from

[Dev] Please merge the pull request for BPS-574

2014-10-02 Thread Firzhan Naqash
please merge the following pull requests [1] [2] for the jira task [3] [1] https://github.com/wso2-dev/carbon-business-process/pull/7 [2] https://github.com/wso2/orbit/pull/25 [3] https://wso2.org/jira/browse/BPS-574 Regards Firzhan ___ Dev mailing

Re: [Dev] why axis2 async client needs a sleep time?

2014-09-27 Thread Firzhan Naqash
HI Lakshman, They have added sleep method to allow the WebServiceCientCallBackHandler to have some time to obtain the response back from the service. If they haven't mentioned the sleep method, after immediately invoking the service, main method will exit, thus killing all the other services.

[Dev] Please merge the pull request

2014-09-26 Thread Firzhan Naqash
Please merge the pull request [1] where I have replaced the deprecated PrivilegedCarbonContext.getCurrentContex method with new CarbonContext.getThreadLocalCarbonContext() method [1] https://github.com/wso2-dev/carbon-business-process/pull/6 Regards, Firzhan

Re: [Dev] Please merge the pull request

2014-09-26 Thread Firzhan Naqash
[ Adding ] Nandika Regards, Firzhan On Fri, Sep 26, 2014 at 2:40 PM, Firzhan Naqash firz...@wso2.com wrote: Please merge the pull request [1] where I have replaced the deprecated PrivilegedCarbonContext.getCurrentContex method with new CarbonContext.getThreadLocalCarbonContext() method [1

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-09-22 Thread Firzhan Naqash
Hi, Can you attach your wired carbon log along with the synapse configuration. Regards, Firzhan On Mon, Sep 22, 2014 at 2:36 PM, Keerthika Mahendralingam keerth...@wso2.com wrote: When I sent delete request with json payload I got the following message: Empty JSON body. I also tried with

Re: [Dev] Separating sql statements from jaggery code

2014-09-20 Thread Firzhan Naqash
Hi Kalpa, +1 for this option. In addition, if it is a jaggery code why don't you consider about storing the sql commands in an xml file and later can be used to load those sql commands. This will give you a much cleaner approach and accommodating changes to the sql commands are much easy.

Re: [Dev] Conflicts in content type

2014-09-19 Thread Firzhan Naqash
It sends you an error message with status code 411. It simply means the server (E is expecting header field Content-Length for some reasons. You have to re-check your ESB configuration again. Regards, Firzhan On Fri, Sep 19, 2014 at 11:21 AM, Elilmatha Sivanesan elilma...@wso2.com wrote: We

[Dev] Please merge the pull requests for BPS-552

2014-09-17 Thread Firzhan Naqash
Hi, Please review and merge the pull requests [1] and [2]. This fixes the issue [3]. [1] https://github.com/wso2-dev/carbon-business-process/pull/5 [2] https://github.com/wso2-dev/product-bps/pull/5 [3] https://wso2.org/jira/browse/BPS-552 Regards, Firzhan

Re: [Dev] Error in writing a Carbon component

2014-09-17 Thread Firzhan Naqash
Hi Lahiru, I think you haven't mentioned the repository and plugin-repository proplerly in your pom.xml file. Try to add nexus-repo in your pom.xml file repositories repository idwso2-nexus/id nameWSO2 internal Repository/name

Re: [Dev] Problem using a cassandra datasource

2014-09-14 Thread Firzhan Naqash
Hi Rajeev, providers tag is missing in your master-datasource.xml file. can you add this and try out providers providerorg.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader/provider providerorg.wso2.carbon.cassandra.datareader.datasource.CassandraDataSourceReader/provider /providers

Re: [Dev] [BPEL] Invoking Admin Service

2014-09-14 Thread Firzhan Naqash
Hi, You can add your securing policy in a secured-services.xml file and then you can point that file using serviceDescriptionReference attribute in deploy.xml file. You can find a sample under $BPS_HOME/repository/samples/BPEL/SecuredWithServiceDescriptorProcess.zip. Regards, Firzhan On Sun,

[Dev] Please merge the pull request #4 for carbon-business-process

2014-09-12 Thread Firzhan Naqash
Hi, Please review and merge the pull request[1] which covers the issues [2] and [3] [1] https://github.com/wso2-dev/carbon-business-process/pull/4 [2] https://wso2.org/jira/browse/BPS-562 [3] https://wso2.org/jira/browse/BPS-467 Regards, Firzhan

[Dev] Please merge pull request #3 for carbon-business-process

2014-09-11 Thread Firzhan Naqash
Hi, Please review and merge the pull request[1], which is a fix for issue[2] [1] https://github.com/wso2-dev/carbon-business-process/pull/3 [2] https://wso2.org/jira/browse/BPS-562 Regards, Firzhan ___ Dev mailing list Dev@wso2.org

Re: [Dev] Graceful Restart is not working

2014-09-10 Thread Firzhan Naqash
Hi All, We have already discussed this issue in the mail thread [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader. Rather than checking the null point, I feel like we have to investigate why the registry's search feature

Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.

2014-09-01 Thread Firzhan Naqash
Hi Amalka, Since you are trying to set up for automation test, have you turned on the filtering of maven-resources-plugin? If so that might be trying to modify the H2 database while APIM modifying it, thus leads to corruption. Can you check on it ? Regards, Firzhan On Mon, Sep 1, 2014 at

Re: [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader

2014-08-31 Thread Firzhan Naqash
, There is already a carbon JIRA[1] for this issue. [1] https://wso2.org/jira/browse/CARBON-14904 On Sun, Aug 31, 2014 at 10:52 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, Thanks Ajith for the detailed explanation. I have created following JIRA[1] [1] https://wso2.org/jira/browse

[Dev] Please merge pull request #3 for product-bps

2014-08-31 Thread Firzhan Naqash
Hi, Please review and merge the pull request[1], which is a fix for issue[2] [1] https://github.com/wso2-dev/product-bps/pull/3 [2] https://wso2.org/jira/browse/BPS-185 Thanks, Regards, Firzhan ___ Dev mailing list Dev@wso2.org

Re: [Dev] Error when creating a feature from WSO2 Carbon Component

2014-08-30 Thread Firzhan Naqash
Hi, carbon4-kernel's parent pom has the following plugin repositories. You can try out them based on your necessity. pluginRepositories pluginRepository idwso2.releases/id nameWSO2 internal Repository/name

Re: [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader

2014-08-30 Thread Firzhan Naqash
Hi Malinga, I am also encountering the same error when I tried to shut down the BPSserver. Any luck with the above error ? Can you share your findings ? Regards, Firzhan On Fri, Jul 4, 2014 at 7:30 PM, Supun Malinga sup...@wso2.com wrote: Hi, Any idea about the following, TID: [0] [AS]

Re: [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader

2014-08-30 Thread Firzhan Naqash
file in each product or am I missing some thing in initial configuration which is forcing me to add this xml tag ? Regards, Firzhan On Sat, Aug 30, 2014 at 11:24 PM, Kasun Gajasinghe kas...@wso2.com wrote: Please raise a jira on this. Thanks. On Sat, Aug 30, 2014 at 10:54 PM, Firzhan

Re: [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader

2014-08-30 Thread Firzhan Naqash
raise a jira on this. Thanks. On Sat, Aug 30, 2014 at 10:54 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Malinga, I am also encountering the same error when I tried to shut down the BPSserver. Any luck with the above error ? Can you share your findings ? Regards, Firzhan On Fri

Re: [Dev] Adder BPEL Sample - Issue

2014-08-27 Thread Firzhan Naqash
Hi, There seems to be some logic issues in your BPEL workflow. When you are trying to perform AssignOutput operation you are copying the value from AdderServiceResponse to CaclPLResponse. which is totally wrong Ideally you should be copying the CaclPLResponse to output variable. Thanks

Re: [Dev] Adder BPEL Sample - Issue

2014-08-27 Thread Firzhan Naqash
PM, Firzhan Naqash firz...@wso2.com wrote: Hi, There seems to be some logic issues in your BPEL workflow. When you are trying to perform AssignOutput operation you are copying the value from AdderServiceResponse to CaclPLResponse. which is totally wrong Ideally you should be copying

[Dev] [BPS][NDATA Source][Activiti Engine] Proposed fix for NData Source causing issues on graceful shut down of Activiti engine.

2014-08-24 Thread Firzhan Naqash
Hi All, We identified the root cause for the JIRA issue [1] https://wso2.org/jira/browse/BPS-185. In datasources.properties file, Database connectivity related information are stored in org.apache.commons.dbcp.BasicDataSource class. BasciDataSource class has the following variable{ protected

Re: [Dev] Sample Carbon Component Error

2014-08-21 Thread Firzhan Naqash
Hi Shiva, I think there are no issues with the WSDL file. The basic reason for this issue is that client wasn't expecting the element ID. Therefore you can try out the same sample after generating the client again by using the same wsdl. Regards, Firzhan On Thu, Aug 21, 2014 at 3:41 PM, Shiva

[Dev] [DEV] [BPS] BPS 3.5.0 Milestone planning meeting notes

2014-08-19 Thread Firzhan Naqash
Hi All, Following updates have been discussed on $subject for the upcoming BPS release. 1) Implementing the functionality to reuse the login credentials when invoking REST API calls. 2) Re-factoring the code already implemented following functionalists. a) BAMToolBox b) JMX for Human Task c)

  1   2   >