Re: [Dev] Using OSGI "Configuration Property Types" - for interpretation of configurations

2016-02-11 Thread Pamod Sylvester
We were evaluating the possibility of using this to pull out fields in the configurations we define i.e when we introduce a transport module we could have transport related configs/fields being identified and populated through this. On Thu, Feb 11, 2016 at 9:51 AM, Kishanthan Thangarajah

[Dev] How to insert persisted stream data to a separate table

2016-02-11 Thread Thusitha Thilina Dayaratne
Hi, I've setup ESB 4.8.1 along with DAS 3.0.1 and published some proxy invoking stats to the DAS according to the [1] I can see the data on the data explorer window for the BAM_MEDIATION_STATS_DATA_PUBLISHER Then I executed following query to create a new table through the batch analytic console

[Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Madhawa Perera
Hi, I'm getting following compilation error when building the Carbon Kernel 4.2.0 from source. I'm using apache maven 3.3.9 and jdk 1.7.0_80 The error that I'm getting is as follows [ERROR] COMPILATION ERROR : [INFO]

Re: [Dev] How to insert persisted stream data to a separate table

2016-02-11 Thread Sachith Withana
Hi Thusitha, You have to create another temporary table in spark for the BAM_MEDIATION_STATS_DATA_PUBLISHER table as well. ex: create temporary table BAM_MEDIATION_STATS_DATA_PUBLISHER using CarbonAnalytics options (tableName "BAM_MEDIATION_STATS_DATA_PUBLISHER") And then execute the Insert

[Dev] WSO2 Committers += Jayanga Kaushalya

2016-02-11 Thread Johann Nallathamby
Hi All, It's my pleasure to announce Jayanga Kaushalya as a WSO2 Committer. Jayanga has been a valuable contributor for WSO2 Identity Server product, and in recognition of his contribution to WSO2, he has been voted as a WSO2 Committer. Jayanga, congratulations and keep up the good work! Thanks

Re: [Dev] [MB] Adding H2 Driver as a Dependency only for the Destribution

2016-02-11 Thread Akalanka Pagoda Arachchi
Hi Niranjan, Yes, we could have avoided adding h2-database-engine as a dependency in 4.4.x Andes. If we add the h2 driver to the datasource feature, it would mean whenever datasource feature is used h2 driver will be copied. Will that be OK? My opinion is if the H2 driver is not a dependency for

Re: [Dev] [MB] Adding H2 Driver as a Dependency only for the Destribution

2016-02-11 Thread Niranjan Karunanandham
Hi Akalanka, On Fri, Feb 12, 2016 at 11:37 AM, Akalanka Pagoda Arachchi < darsha...@wso2.com> wrote: > Hi Niranjan, > > Yes, we could have avoided adding h2-database-engine as a dependency in > 4.4.x Andes. > > If we add the h2 driver to the datasource feature, it would mean whenever >

[Dev] Synapse-2.1.7-wso2v1 Released

2016-02-11 Thread Vijitha Ekanayake
Hi, Please note $subject. org.apache.synapse Apache-Synapse 2.1.7-wso2v1 Thanks. -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list

Re: [Dev] Populate configuration files when a feature is deployed

2016-02-11 Thread Niranjan Karunanandham
Hi Asitha, As an example, you can check out the cipher-tool p2.inf [1]. [1] - https://github.com/wso2/cipher-tool/blob/master/features/org.wso2.ciphertool.feature/resources/p2.inf Regards, Nira On Fri, Feb 12, 2016 at 11:07 AM, Niranjan Karunanandham wrote: > Hi Asitha, >

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Lochana Ranaweera
Hi all, The issue was fixed with the modified script. Thank you. On Fri, Feb 12, 2016 at 9:26 AM, Jayanga Dissanayake wrote: > Hi Lochana, > > This error is due to your mySql table are not having the "tenantId" > column. > This will be solved by modifying the Hive script to

Re: [Dev] Error while creating init for 4.10

2016-02-11 Thread Nadeeshaan Gunasinghe
Hi Malaka, As you mentioned I tried the dynamic name instead of conf:/Resource/foo . http://ws.apache.org/ns/synapse; name="testproxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">

Re: [Dev] Populate configuration files when a feature is deployed

2016-02-11 Thread Niranjan Karunanandham
Hi Asitha, On Fri, Feb 12, 2016 at 10:54 AM, Asitha Nanayakkara wrote: > Hi all, > > At the moment, all the configuration files that are relevant to a specific > feature need to be added at the distribution packaging phase using maven > assembly plugin. > > Therefore when a

[Dev] [MB] Adding H2 Driver as a Dependency only for the Destribution

2016-02-11 Thread Akalanka Pagoda Arachchi
Hi All, In the previous distributions, we had H2 database driver as a dependency for our features so that it will be copied to the plugins folder when the pack is created.However, in this scenario, H2 database driver is not exactly a dependency of the Andes Core feature since it is not using the

[Dev] Carbon-mediation-4.6.1-ALPHA released

2016-02-11 Thread Viraj Senevirathne
Hi All, Carbon-mediation-4.6.1-ALPHA released. org.wso2.carbon.mediation carbon-mediation 4.6.1-ALPHA Thanks. -- Viraj Senevirathne Software Engineer; WSO2, Inc. Mobile : +94 71 958 0269 Email : vir...@wso2.com ___ Dev mailing list Dev@wso2.org

Re: [Dev] [MB] Adding H2 Driver as a Dependency only for the Destribution

2016-02-11 Thread Ramith Jayasinghe
I suppose at minimum, BPS, GREG needs a database by default to be packed. Therefore any thoughts? On Fri, Feb 12, 2016 at 10:46 AM, Akalanka Pagoda Arachchi wrote: > Hi All, > > In the previous distributions, we had H2 database driver as a dependency for > our features so

Re: [Dev] [MB] Adding H2 Driver as a Dependency only for the Destribution

2016-02-11 Thread Niranjan Karunanandham
Hi Akalanka / all On Fri, Feb 12, 2016 at 10:46 AM, Akalanka Pagoda Arachchi < darsha...@wso2.com> wrote: > Hi All, > > In the previous distributions, we had H2 database driver as a dependency > for our features so that it will be copied to the plugins folder when the > pack is created.However,

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Madhawa Perera
Hi Tharindu & Chathurika, It works fine. I used maven 3.0.5 and jdk 1.6. Thank you for the help. Best Regards, Madhawa On Thu, Feb 11, 2016 at 3:27 PM, Chathurika De Silva wrote: > Hi Madhawa > > This blog might be a help as well [1] > > [1]

Re: [Dev] [DAS][3.0.1] -Dsetup startup error

2016-02-11 Thread Shashika Ubhayaratne
I was able to reproduce this issue by just starting DAS 301 fresh pack with -Dsetup. This pack does not contain dbscripts/Identity folder and scripts. Regards, Shashika Shashika Ubhayaratne Associate Technical Lead - QA WSO2 Inc: http://www.wso2.com/ Mobile: *+94773383831* On Fri, Feb 12,

[Dev] Populate configuration files when a feature is deployed

2016-02-11 Thread Asitha Nanayakkara
Hi all, At the moment, all the configuration files that are relevant to a specific feature need to be added at the distribution packaging phase using maven assembly plugin. Therefore when a feature is installed to a carbon server the relevant configuration files are not copied. Either needs to

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Tharindu Edirisinghe
Try switching the JDK to 1.6 and it should work. Regards, TharinduE On Thu, Feb 11, 2016 at 3:34 PM, Yashothara Shanmugarajah < yashoth...@wso2.com> wrote: > Hi, > > I have tried with 3.0.4. However I too got the following errors when > attempting to build. I have built carbon 4.2.0. > > >

[Dev] WSO2 ESB 5.0.0 - Milestone 1 Released!

2016-02-11 Thread Viraj Senevirathne
*WSO2 ESB 5.0.0-Milestone 1 Released* ESB Team is pleased to announce the WSO2 ESB 5.0.0 - Milestone 1 Release. It contains following new features and bug fixes. New Features Added in this Release - WebSockets Connectivity - Adding websockets support for WSO2 ESB. - Message Flow Tracing -

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Kalpa Welivitigoda
Hi Lochana, Would you please share the toolbox? It seems that there is a mismatch between the fields in the SQL query with those in the db. The exception is thrown from db.jag and it is a common place where all the SQL statements are executed. Shall we isolate the request that fails (you can do

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Tharindu Edirisinghe
The reason is [1] is failing when trying to build with JDK 1.7. You'll have to use JDK 1.6. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/ Regards, TharinduE On Thu, Feb 11, 2016 at 3:36 PM, Tharindu Edirisinghe wrote: >

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Lochana Ranaweera
Adding dev On Thu, Feb 11, 2016 at 3:35 PM, Lochana Ranaweera wrote: > Hi all, > > When going through the previous implementation of the AS Statistics > Monitoring feature in [1] which is applicable for AS 5.3.0 and BAM 2.5.0, > it was noted that regardless of the stream

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Chathurika De Silva
Hi Madhawa This blog might be a help as well [1] [1] https://dzone.com/articles/how-build-wso2-carbon-420 Regards Erandi On Thu, Feb 11, 2016 at 3:24 PM, Tharindu Edirisinghe wrote: > Hi Madhawa, > > Can you try to build with some maven 3.0.x version ? According to [1] >

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Lochana Ranaweera
Adding Jayanga and KalpaW On Thu, Feb 11, 2016 at 3:37 PM, Lochana Ranaweera wrote: > Adding dev > > On Thu, Feb 11, 2016 at 3:35 PM, Lochana Ranaweera > wrote: > >> Hi all, >> >> When going through the previous implementation of the AS Statistics >>

Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-02-11 Thread Shabir Mohamed
Hi, As per an offline discussion with SameeraJ and Niranjan , I was informed $subject has no significant impact and that is the how it has been done in WSO2-AS [1]

[Dev] WSO2 Committers += Chamara Philips

2016-02-11 Thread Johann Nallathamby
Hi All, It's my pleasure to announce Chamara Philips as a WSO2 Committer. Chamara has been a valuable contributor for WSO2 Identity Server product, and in recognition of his contribution to WSO2, he has been voted as a WSO2 Committer. Chamara, congratulations and keep up the good work! Thanks &

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Tharindu Edirisinghe
Hi Madhawa, Can you try to build with some maven 3.0.x version ? According to [1] that's the recommendation. I've been able to build the kernel with 3.0.4 version. [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites Regards, TharinduE On Thu, Feb 11, 2016 at 3:18 PM, Madhawa

Re: [Dev] [Carbon-Kernel 4.2.0] Compilation Error while building

2016-02-11 Thread Yashothara Shanmugarajah
Hi, I have tried with 3.0.4. However I too got the following errors when attempting to build. I have built carbon 4.2.0. [ERROR] [ERROR] /home/yasho/yashothara/CarbonClone/Carbon-kernel-4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[12,33]

Re: [Dev] Native inbound and connector for IBM MQ 7.5

2016-02-11 Thread Malaka Silva
Yes sometimes there are issues when installing on​ linux based system. Go ahead and try on Windows. ​You can call me Malaka :) On Thu, Feb 11, 2016 at 7:28 PM, Riyafa Abdul Hameed < riyafa...@cse.mrt.ac.lk> wrote: > Dear sir, > > I failed to install IBM MQ 7.5 on my Ubuntu machine. It seemed to

Re: [Dev] Error while creating init for 4.10

2016-02-11 Thread Malaka Silva
conf:/Resource/foo should be dynamic. On Thu, Feb 11, 2016 at 7:02 PM, Nadeeshaan Gunasinghe wrote: > Hi Malaka, > > I tried the scenario with this proxy configuration. This works fine as > expected > > http://ws.apache.org/ns/synapse; name="testProxy" >

Re: [Dev] Native inbound and connector for IBM MQ 7.5

2016-02-11 Thread Riyafa Abdul Hameed
Dear sir, I failed to install IBM MQ 7.5 on my Ubuntu machine. It seemed to be because of attempting to install rpm files. I will try to install it in a windows machine or in a redhat or fedora version of linux. Then I will try connection as a consumer and producer from a java client. I shall

[Dev] Getting tenant domain from tenant id

2016-02-11 Thread Lahiru Manohara
Hi All, I am writing a web application for AppCloud and i need to get tenant domain from tenant id. The application in super tenant. Thanks! -- Best regards, *Lahiru Manohara* *Software Engineer* Mobile: +94716561576 WSO2 Inc. | http://wso2.com lean.enterprise.middleware

[Dev] Fault sequence with different behaviour in wso2 4.8.1 and 4.9.0

2016-02-11 Thread Jorge
Hi all. In WSO2 ESB 4.8.1 in a fault sequence the use of payloadmediator not working, but If you move the same proxy to ESB 4.9.0, work. Why? How can we create a custom response message inside fault sequence? Can you check this:

Re: [Dev] Error while creating init for 4.10

2016-02-11 Thread Nadeeshaan Gunasinghe
Hi Malaka, I tried the scenario with this proxy configuration. This works fine as expected http://ws.apache.org/ns/synapse; name="testProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">

Re: [Dev] Getting tenant domain from tenant id

2016-02-11 Thread Amalka Subasinghe
UserRealmService realmService = (UserRealmService) PrivilegedCarbonContext.getThreadLocalCarbonContext() .getOSGiService(UserRealmService.class); String tenantDomain = realmService.getTenantManager().getDomain(tenantId); Amalka Subasinghe Senior Software

Re: [Dev] Fault sequence with different behaviour in wso2 4.8.1 and 4.9.0

2016-02-11 Thread Vijitha Ekanayake
Hi John, Can you try replacing entire SOAPEnvelope at the PayloadFactory format as [1] inside the fault sequence. [1]. http://schemas.xmlsoap.org/soap/envelope/;> Custom message

Re: [Dev] [DAS-3.0.0] Unable to retrieve matching records via JS API

2016-02-11 Thread Udara Rathnayake
Hi, Another small update, We have start and count parameters within following[1]. I think these two parameters are misleading as we are retrieving total count(number of matching records) curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v

[Dev] [DAS][3.0.1] -Dsetup startup error

2016-02-11 Thread Udara Rathnayake
Hi, I have configured a DAS 3.0.1 instance with mssql. Added registry and usermgt datasource configurations to the master-datasources.xml and default carbon datasource is untouched(pointing to the default h2). Then configured analytics-datasources.xml by pointing to MSSQL DBs. While starting

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Lochana Ranaweera
Hi Kalpa, Please find the toolbox here https://drive.google.com/a/wso2.com/file/d/0B2SWP2RvcxJjUFNYVHpvazhFSU0/view?usp=sharing I will do so and update this thread. On Fri, Feb 12, 2016 at 1:20 AM, Kalpa Welivitigoda wrote: > Hi Lochana, > > Would you please share the

Re: [Dev] Deploying a Dashboard for Web Application Statistics Monitoring for AS

2016-02-11 Thread Jayanga Dissanayake
Hi Lochana, This error is due to your mySql table are not having the "tenantId" column. This will be solved by modifying the Hive script to have the tenantId in all the mySql tables. "tenantId" was added with the latest updates. It seems the tenantId is missing in the hive script. Please find

Re: [Dev] [ESB Connectors] Connectors with Refresh token support

2016-02-11 Thread Thulasika Vijayanathan
Hi Kasun, We have automated init method to avoid the access token expiration and applied it for the following connectors: - Google Prediction - Google Task - Google Spreadsheet - SalesforceREST Thank you On Wed, Feb 10, 2016 at 10:49 AM, Kesavan Yogarajah

Re: [Dev] Improving APIM test coverage and Writing new Test cases

2016-02-11 Thread Bhathiya Jayasekara
Hi Rukshan, AFAIK there's something (may be a base class) Chamin implemented which can be used to write tests cases for new REST API. Hope we can use the same. @Chamin: Could you please explain how to use it? Thanks, Bhathiya On Fri, Feb 12, 2016 at 10:13 AM, Rukshan Premathunga

[Dev] WSO2 Puppet Modules 1.0.0 Released!

2016-02-11 Thread Isuru Haththotuwa
WSO2 Private PaaS team is pleased to announce the release of WSO2 Puppet Modules 1.0.0. Main features of this release: - A consistent set of Puppet Modules for the following WSO2 products: - WSO2 API Manager 1.9.1 - WSO2 Application Server 5.3.0 - WSO2