[Dev] ESB Graphical Editor Improvements - Clone Mediator

2014-05-27 Thread Sohani Weerasinghe
Hi All, Clone Mediator of the ESB Graphical Editor has improved by providing the facility to add anonymous endpoints to the targets. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter :

[Dev] Clean repo build fail for Chunk 11

2014-05-27 Thread Harsha Thirimanna
Hi , When i tried to build hunk 11, it was fail, [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.am:org.wso2.apimgt.nested.categories:1.7.0

Re: [Dev] Cache invalidation notification based implementation JDK version

2014-05-27 Thread Afkham Azeez
Yes, only the CoordinatedActivity the HazelcastClusteringAgent are required. On Tue, May 27, 2014 at 11:18 AM, Shazni Nazeer sha...@wso2.com wrote: Hi Amal. The triggering happens in the HazelCastClusterAgent, which is inside the org.wso2.carbon.core.clustering.hazelcast in the 4.3.0

[Dev] running api manager via ngnix on offset 1

2014-05-27 Thread Shavantha Weerasinghe
Hi All I was testing api manager with ngnix proxy for specific scenario. I face a URL redirection issue for the following scenario 1.Configure the /etc/hosts 2.Set the host and management host names of BAM and API Mager with the same host name 3.Start the BAM with default off set and the API

Re: [Dev] Clean repo build fail for Chunk 11

2014-05-27 Thread Harsha Thirimanna
Adding ... *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* * email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 * * twitter: **http://twitter.com/ http://twitter.com/afkham_azeez* *harshathirimann linked-in: **http:

[Dev] WSO2 - TomEE integration progress.

2014-05-27 Thread Chamil Jeewantha
Please refer to WSO2 AS - TomEE Integration Architecture mail thread on architect...@wso2.org, in case you are not aware of the context. Here is the progress of the current work: I have Created one single OpenEJB bundle That can be deployed as a plugin on AS. javax.annotation dependency

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread Miyuru Wanninayaka
Hi Ramindu, This is really strange. If both calls are identical there is no other reason it to fail. BTW AFIK you can't use same oauth_nonce multiple times because it's need to be unique per a request. Can this be the issue. Does response from backend contains any clue about why request is

Re: [Dev] Clean repo build fail for Chunk 11

2014-05-27 Thread Kasun Gajasinghe
Hi, The nested-categories should not be added to the features pom just like we do not add p2-repo generation pom. The reason is that the nested categories contain features that comes from the product itself. org.wso2.am.styles is a good example on that. nested-categories and p2-repo generation

Re: [Dev] Cache invalidation notification based implementation JDK version

2014-05-27 Thread Amal Gunatilake
Cool, Let's update the related code in to 4.3.0. @Azeez: Shall we put the CoordinatedActivity interface in org.wso2.carbon.core.clustering.api (Carbon 4.3.0)? Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, May 27,

Re: [Dev] [CEP] Issues on running sequence queries with every keyword

2014-05-27 Thread Sriskandarajah Suhothayan
Thanks for pointing it out we dont need the every, it does every always I'll fix the doc Suho On Tue, May 27, 2014 at 10:59 AM, Firzhan Naqash firz...@wso2.com wrote: Documentation [1] https://docs.wso2.org/display/CEP310/Sequencessuggests that sequence queries support every keyword. But

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2014-05-27 Thread Manoj Kumara
Hi, But even with a cron job it is bit complected to distinguish what are needed and what is not. The main reason for this is some application level content get created inside temp directory instead of using a work directory to save them. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2

Re: [Dev] Cache invalidation notification based implementation JDK version

2014-05-27 Thread Afkham Azeez
On Tue, May 27, 2014 at 2:13 PM, Amal Gunatilake am...@wso2.com wrote: Cool, Let's update the related code in to 4.3.0. @Azeez: Shall we put the CoordinatedActivity interface in org.wso2.carbon.core.clustering.api (Carbon 4.3.0)? ok Thank you Best regards, *Amal Gunatilake*

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2014-05-27 Thread Sameera Jayasoma
We need to find out the usages of the java.io.tmpdir and work directory. Then we can analyze the usages to see who is storing non-tmp data. Thanks, Sameera. On Tue, May 27, 2014 at 2:44 PM, Manoj Kumara ma...@wso2.com wrote: Hi, But even with a cron job it is bit complected to distinguish

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2014-05-27 Thread Dhanuka Ranasinghe
Hi, What is the real purpose of temp directory? , If some files needed through server lifetime why we put them in a folder called temp. IMHO only temporarily stuff goes into temp folder and permanent stuff (at least server life time) should goes to separate folder. Also system properties related

Re: [Dev] [CEP] Issues on running sequence queries with every keyword

2014-05-27 Thread Lasantha Fernando
Hi Firzhan, Thanks for pointing this out. Can you raise a doc jira for CEP 3.0.0 [2] and other older CEP versions as well? I think it needs to be fixed in older CEP versions as well. [2] https://docs.wso2.org/display/CEP300/Sequences Thanks, Lasantha On 27 May 2014 14:33, Sriskandarajah

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread Ramindu Deshapriya
Hi Miyuru, On Tue, May 27, 2014 at 1:47 PM, Miyuru Wanninayaka [via WSO2 Oxygen Tank] ml-node+s10903n97320...@n7.nabble.com wrote: This is really strange. If both calls are identical there is no other reason it to fail. I was wondering the same thing. BTW AFIK you can't use same

Re: [Dev] org.wso2.carbon.social component for AF release

2014-05-27 Thread Dimuthu Leelarathne
Hi, Lets add these to our SVN and do a build for the beta? Any concerns please shout. thanks, dimuthu On Fri, May 2, 2014 at 10:30 PM, Shamika Ariyawansa sham...@wso2.comwrote: Hi, We need to release the component org.wso2.carbon.social component with App Factory 2.0.0. Currently the

Re: [Dev] BAM integration with AM

2014-05-27 Thread Pubudu Gunatilaka
Hi, When you change the port offset by 1, you need to change following files as well. *In BAM 2.4.1* 1. BAM_Home/repository/conf/etc/hector-config.xml change the port to 9161. Nodeslocalhost:9161/Nodes You do not need to change the datasource files. I think in new BAM 2.4.1 those ports are

Re: [Dev] Modifiyng HouseKeepingTask directory location on carbon server

2014-05-27 Thread Dhanuka Ranasinghe
Hi, Please find the usage of carbon kernel and components. I have used below linux command to find usage. Also please note this is for carbon version 4.2.0 find . -name *.java -exec grep -l java.io.tmpdir {} \; Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ;

Re: [Dev] Potential config bug in IS

2014-05-27 Thread Jason Catlin
Ah. That was it. I didn't know you had to do that. Sorry if I wasted your time :-P jc On Mon, May 26, 2014 at 8:58 AM, Johann Nallathamby joh...@wso2.com wrote: Please update 'HostName' as well as 'MgtHostName' entries and check. On Mon, May 26, 2014 at 8:20 PM, Jason Catlin

[Dev] Please merge ESB Integration test commit#16 pull request

2014-05-27 Thread Nuwan Wimalasekara
Hi ESB Team, Please apply the pull request https://github.com/wso2-dev/product-esb/pull/16 Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620

Re: [Dev] Please merge ESB Integration test commit#16 pull request

2014-05-27 Thread Isuru Udana
done. On Tue, May 27, 2014 at 4:54 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi ESB Team, Please apply the pull request https://github.com/wso2-dev/product-esb/pull/16 Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread krishantha
it is not identical. if you closely monitor using tcp monitor you will see Host header goes as 80. it should 443 since you are calling https back end. that may be the reason for this. try adding follwing property on top of call mediator. property name=quot;REQUEST_HOST_HEADERquot;

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

2014-05-27 Thread Pubudu Gunatilaka
Hi, I was able to complete BPEL event listener, Human task event listener and the data publisher. The source code can be found in my git repo in [1]. I have attached the jar file and [2] contains the instructions to add the jar file to WSO2 BPS in order to publish events to WSO2 BAM. I will start

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

2014-05-27 Thread Nandika Jayawardana
Hi Pubudu, I had a look at your code. You are creating a Data Publisher object every time an event is fired which is not an efficient way to do it. We need to create the Data publisher once and when were an event is written, reuse that data publisher instance. You can have a look at the existing

Re: [Dev] BAM integration with AM

2014-05-27 Thread Eder Castro
Thanks a lot, I have change cassandra.yam and i set 9061 port. Now works! Eder 2014-05-26 22:08 GMT+02:00 Thayalan thaya...@wso2.com: As per your copied exception still server trying to connect to 9160 port even after port offset. BAM 2.4.1 using bam-datasources.xml for BAM related

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

2014-05-27 Thread Pubudu Gunatilaka
Hi, Thank you for the feedback. I will follow above mentioned approach. Thank you. On Tue, May 27, 2014 at 7:33 PM, Nandika Jayawardana nand...@wso2.comwrote: Hi Pubudu, I had a look at your code. You are creating a Data Publisher object every time an event is fired which is not an

[Dev] org.apache.axis2.json.gson.JsonFormatter formats the response as JSON without HTTP Content-Type header

2014-05-27 Thread Charitha Kankanamge
Hi Anjana et all, DSS uses org.apache.axis2.json.gson.JsonFormatter by default. However, when calling a service which responds JSON, the message looks similar to the following. *HTTP/1.1 200 OK* *Transfer-Encoding: chunked* *Date: Tue, 27 May 2014 19:14:45 GMT* *Connection: close* *Server: WSO2

[Dev] [MB 2.2.0] Failed to start correct profile in the nohup mode

2014-05-27 Thread Nirmal Fernando
Hi All, MB profiles failed to start in the nohup mode (./bin/wso2server.sh -Dprofile=cassandra start) due to a bug in the start-up scripts. nohup bash $CARBON_HOME/bin/wso2server.sh /dev/null 21 nohup bash $CARBON_HOME/bin/wso2server.sh *-Dprofile=$PROF* /dev/null 21 We might want to

[Dev] [MB 2.2.0] Can't start MB (default) with an offset, it always tries to connect to 9162

2014-05-27 Thread Nirmal Fernando
Seems like 9160 is hard coded somewhere and if you offset MB and tries to connect to a Cassandra lives in 9160, you can't do that. Easy to reproduce; 1. start MB cassandra profile with 0 offset - cassandra on 9160 2. start MB default profile with 2 offset - errors at MB, since it tries to

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread Ramindu Deshapriya
Hi Krishantha, krishantha wrote it is not identical. if you closely monitor using tcp monitor you will see Host header goes as 80. it should 443 since you are calling https back end. that may be the reason for this. try adding follwing property on top of call mediator. lt;property

Re: [Dev] [MB 2.2.0] Can't start MB (default) with an offset, it always tries to connect to 9162

2014-05-27 Thread Tania Mahanama
Will look into the docs with Ishara. Thanks Nirmal. Regards, Tania On Wed, May 28, 2014 at 4:26 AM, Nirmal Fernando nir...@wso2.com wrote: Seems like 9160 is hard coded somewhere and if you offset MB and tries to connect to a Cassandra lives in 9160, you can't do that. Easy to reproduce;

Re: [Dev] [MB 2.2.0] Can't start MB (default) with an offset, it always tries to connect to 9162

2014-05-27 Thread Indika Sampath
Hi Nirmal, Try out the following steps. 1. MB with cassandra profile 1.1. repository/conf/carbon.xml - offset set to 0 1.2. start the MB with cassandra (cassandra listening port is 9160) 2. MB in default profile 2.1. repository/conf/carbon.xml - offset set to 2 2.2.

Re: [Dev] [CEP] Issues on running sequence queries with every keyword

2014-05-27 Thread Firzhan Naqash
Hi, I have logged an issue in jira [1]. [1] https://wso2.org/jira/browse/DOCUMENTATION-871 Regards, Firzhan On Tue, May 27, 2014 at 3:12 PM, Lasantha Fernando lasan...@wso2.comwrote: Hi Firzhan, Thanks for pointing this out. Can you raise a doc jira for CEP 3.0.0 [2] and other older CEP

Re: [Dev] [MB 2.2.0] Can't start MB (default) with an offset, it always tries to connect to 9162

2014-05-27 Thread Nirmal Fernando
Thanks Indika! On Wed, May 28, 2014 at 9:07 AM, Indika Sampath indi...@wso2.com wrote: Hi Nirmal, Try out the following steps. 1. MB with cassandra profile 1.1. repository/conf/carbon.xml - offset set to 0 1.2. start the MB with cassandra (cassandra listening port is 9160) 2.

[Dev] Get rid of this log in AF

2014-05-27 Thread Amila Maha Arachchi
TID: [0] [AF] [2014-05-27 22:00:15,707] INFO {org.wso2.carbon.appfactory.tenant.mgt.service.TenantManagementService} - ==new get user info bean {org.wso2.carbon.appfactory.tenant.mgt.service.TenantManagementService} This does not provide any useful info. Please get

Re: [Dev] Get rid of this log in AF

2014-05-27 Thread Asanka Dissanayake
Hi, This is already removed. Thanks, Asanka D On Wed, May 28, 2014 at 10:31 AM, Amila Maha Arachchi ami...@wso2.comwrote: TID: [0] [AF] [2014-05-27 22:00:15,707] INFO {org.wso2.carbon.appfactory.tenant.mgt.service.TenantManagementService} - ==new get user info

Re: [Dev] Get rid of this log in AF

2014-05-27 Thread Amila Maha Arachchi
Thanks. On Wed, May 28, 2014 at 11:09 AM, Asanka Dissanayake asan...@wso2.comwrote: Hi, This is already removed. Thanks, Asanka D On Wed, May 28, 2014 at 10:31 AM, Amila Maha Arachchi ami...@wso2.comwrote: TID: [0] [AF] [2014-05-27 22:00:15,707] INFO