Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Udara Rathnayake
Hi all, I tried the same toolbox in released BAM 2.4.1[1]. But still I get the same secondary index creation failure, [2014-05-05 12:06:50,248] WARN {org.wso2.carbon.databridge.persistence.cassandra.datastore.CassandraConnector} - Secondary Index creation is not successful... me.prettyprint.hec

Re: [Dev] [C5] Kernel build fails when using org.osgi.framework.wiring package

2014-05-05 Thread Kishanthan Thangarajah
You need to import only the required packages. ".*" imports all the sub packages with the defined version. Try removing that and check again. On Fri, May 2, 2014 at 1:36 PM, Aruna Karunarathna wrote: > Hi all, > > I'm using the org.osgi.framework.wiring in a carbon component and the > following

Re: [Dev] Testing of API-Manager (1.7.0) against BAM instance changes

2014-05-05 Thread Sinthuja Ragendran
Hi Asanthi, On Mon, May 5, 2014 at 8:25 AM, Asanthi Kulasinghe wrote: > Hi, > > Is switching from one BAM instance to another without restarting > API-Manager, a valid scenario ? > It's valid if both BAM receivers point to the same cassandra database as in recommended BAM deployments we clust

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Inosh Goonewardena
Hi Udara, Please attach your toolbox On Mon, May 5, 2014 at 9:02 AM, Udara Rathnayake wrote: > Hi all, > > I tried the same toolbox in released BAM 2.4.1[1]. But still I get the > same secondary index creation failure, > > [2014-05-05 12:06:50,248] WARN > {org.wso2.carbon.databridge.persisten

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Udara Rathnayake
Hi Inosh, I have attached the toolbox, Please note that I have modified HL7.tbox to suits with the kpi-definition BAM sample[1]. In addition I have introduced 'brand' secondary index and modified kpi-definition sample[1] accordingly. Thanks. [1] /samples/kpi-definition Regards, UdaraR On Mon,

[Dev] Handling non-root JSON in DataMapper visual editor

2014-05-05 Thread Gayan Yalpathwala
Hi, Current implementation of visual DataMapper always expects schemas with a root record (Type). This basically should be a named record so that it could be visually represented in the tree structure. A sample is given below. { "name":"sfRecords", "type":"record", "fields":[ {

[Dev] App Factory migration to Turing

2014-05-05 Thread Shamika Ariyawansa
Hi all, App Factory scratch area located at is freezed now. Please use Turing branch [2] for further developments. [1] https://svn.wso2.org/repos/wso2/scratch/appfactorycc [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing -- Shamika Ariyawansa Senior Software Engineer WSO2, In

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Nirodha Pramod
Hi, For issue [2] I have given the privileges as mentioned in [4] but did not work. And as Lakmali mentioned offline we need to give privileges as below. Hence the docs need to be updated. Created a JIRA [5] for that. sqlplus>create user lakmaliuser identified by wso2; sqlplus>grant connect,resou

[Dev] API-Manager 1.7.0 verification with PostgreSQL blocked due to script issues

2014-05-05 Thread Asanthi Kulasinghe
Hi, The following errors are generated on API-Manager 1.7.0 (29th April pack) start up after pointing to PostgreSQL 9.1 databases. This is a blocker for API manager verification with PostgreSQL and is reported under [1]. [1] https://wso2.org/jira/browse/IDENTITY-2199 [2014-05-05 14:02:02,739] E

Re: [Dev] moving httpcore dependency to git

2014-05-05 Thread Kishanthan Thangarajah
There is a process to add new repo to git-hub. We first have to check/discuss the need for new repo creation and then we should assign repo owners for that once deciding (normally the repo owners will the respective product teams). Then the repo is then added by the infra team only. On Mon, May 5

Re: [Dev] Updating the Synapse version of carbon-rules

2014-05-05 Thread Kasun Gajasinghe
Hi Dammina/Thilini, Please revert this patch ASAP since the business-rules job is failing due to this change. https://wso2.org/jenkins/job/carbon-rules/lastFailedBuild/console Thanks, KasunG On Mon, May 5, 2014 at 12:27 PM, Thilini Ishaka wrote: > Done. > > > Thanks > Thilini > > > On Sun, M

Re: [Dev] Streaming JSON Fix

2014-05-05 Thread Manoj Kumara
Hi, Applied to patch0007 with r201892. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sat, May 3, 2014 at 11:09 PM, Shameera Rathnayaka wrote: > Hi Anjana, > > I will have a look and apply the patch. > > Thanks,

[Dev] Merge pull request to mediation-security

2014-05-05 Thread Udara Liyanage
Hi, Please do the $subject for [1] [1] https://github.com/wso2-dev/carbon-mediation/pull/9 -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 __

[Dev] Following info log continuously getting printed in MB 2.1.1

2014-05-05 Thread Amila Maha Arachchi
Hi MB Team, $Subject. TID: [0] [MB] [2014-05-05 04:29:41,726] INFO {org.wso2.andes.server.exchange.TopicExchange} - Message routing key: ping No routes. {org.wso2.andes.server.exchange.TopicExchange} TID: [0] [MB] [2014-05-05 04:29:41,727] WARN {org.wso2.andes.server.AMQChannel} - MESSAGE DI

Re: [Dev] Updating the Synapse version of carbon-rules

2014-05-05 Thread Thilini Ishaka
Hi Dammina, There's no 2.1.3-snapshot, synapse-core version [1]. Made it back to the 2.2.0-snapshot version. @Kasun, Reverted it, build is back in normal. Thanks. [1] http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/synapse/synapse-core/ On Mon, May 5, 2014 at 3:12 AM, Kasun G

Re: [Dev] Following info log continuously getting printed in MB 2.1.1

2014-05-05 Thread Nuwan Silva
This usually can happen when there are no Subscribers to the said topic name "ping". If you add a subscriber for this topic this should go away. Thanks, On Mon, May 5, 2014 at 5:00 PM, Amila Maha Arachchi wrote: > Hi MB Team, > > $Subject. > > TID: [0] [MB] [2014-05-05 04:29:41,726] INFO > {o

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Udara Rathnayake
Hi Inosh, I tried the given toolbox, inside a fresh BAM 2.4.1 pack with the default sample publisher. I still get the same warning[1]. I think this behavior has nothing to with my environment? [1]. [2014-05-05 16:52:22,450] INFO {org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer} -

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Udara Rathnayake
I will try to debug org.wso2.carbon.databridge.persistence.cassandra.datastore.CassandraConnector and see. On Mon, May 5, 2014 at 5:05 PM, Udara Rathnayake wrote: > Hi Inosh, > > I tried the given toolbox, inside a fresh BAM 2.4.1 pack with the default > sample publisher. I still get the same w

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Inosh Goonewardena
Hi Udara, Did try with a fresh BAM pack? Are you pointing to external Cassandra? On Mon, May 5, 2014 at 1:44 PM, Udara Rathnayake wrote: > I will try to debug > org.wso2.carbon.databridge.persistence.cassandra.datastore.CassandraConnector > and see. > > > On Mon, May 5, 2014 at 5:05 PM, Udara R

Re: [Dev] Updating the Synapse version of carbon-rules

2014-05-05 Thread Dammina Sahabandu
Hi Thilini/KasunG, Sorry if I caused any trouble. I made this suggestion according to the wso2-synapse version mentioned here[2]. [2] https://github.com/wso2/wso2-synapse/blob/master/pom.xml On Mon, May 5, 2014 at 5:02 PM, Thilini Ishaka wrote: > Hi Dammina, > > There's no 2.1.3-snapshot, syna

Re: [Dev] Following info log continuously getting printed in MB 2.1.1

2014-05-05 Thread Amila Maha Arachchi
Thanks Nuwan. Yes, it is the reason. I had a chat with Imesh regarding this and came to know they are publishing events to a topic called "ping" and no one is retrieving those messages. On Mon, May 5, 2014 at 5:05 PM, Nuwan Silva wrote: > This usually can happen when there are no Subscribers t

[Dev] QoS for HTTP Endpoints

2014-05-05 Thread Sohani Weerasinghe
Hi All, Is there any particular reason for not providing the facility in ESB Management Console to apply QoS aspects for HTTP Endpoints? Regards, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitte

[Dev] Component rename: carbon-cxf -> org.wso2.carbon.cxf.ext

2014-05-05 Thread Kasun Gajasinghe
Hi, Please note that I have renamed the org.wso2.carbon.webapp.ext:carbon-cxf component to org.wso2.carbon:org.wso2.carbon.cxf.ext in trunk/4.3.0-SNAPSHOT. Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.c

Re: [Dev] Handling non-root JSON in DataMapper visual editor

2014-05-05 Thread Sohani Weerasinghe
Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Mon, May 5, 2014 at 2:09 PM, Gayan Yalpathwala wrote: > Hi, > > Current implementation of visual DataMapper

[Dev] MQTT - MB Integration Implementation Overview

2014-05-05 Thread Pamod Sylvester
Hi All, Following describes the current state/implementation of MQTT transport integrated into the MB, We use the moquette MQTT library as the protocol engine which could be found in [1], which will accept and establish connections between MQTT subscribers and publishers. MQTT has mainly three le

Re: [Dev] MQTT - MB Integration Implementation Overview

2014-05-05 Thread Hasitha Hiranya
Hi Pamod, Great Work!! Let us release a light version of MQTT with current implementation+ possible issue fixes + critical security fixes with MB 3.0.0 release and then build on top of that. Let us have a discussion on the $subject tomorrow. Thanks. On Mon, May 5, 2014 at 8:28 PM, Pamod Sylves

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-05 Thread Hasitha Hiranya
Hi, Following is prabath's explanation There's no any impact on Cassandra from the Transport Listener Framework. Carbon transport listener framework opens up the ports used by the transports configured upon the Carbon Server. However, here in this particular scenario, Cassandra daemon is responsi

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Nirodha Pramod
Hi Lakmali, Can we have a patch for this issue [3] this is an absolute blocker for testing on Oracle. regards, Nirodha On Mon, May 5, 2014 at 10:56 AM, Lakmali Baminiwatta wrote: > Hi, > > On 3 May 2014 00:26, Nirodha Pramod wrote: > >> Hi, >> >> Following two blocking issues were found with

Re: [Dev] MQTT - MB Integration Implementation Overview

2014-05-05 Thread Pamod Sylvester
Also an important point i missed was we need to convert the test cases to fit into our integration test framework and apply them. That will ensure stability IMO we should do that ASAP. On Mon, May 5, 2014 at 9:07 PM, Hasitha Hiranya wrote: > Hi Pamod, > > Great Work!! Let us release a light ver

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Lakmali Baminiwatta
Hi, Please find the fixed oracle script attached. Thanks, Lakmali On 5 May 2014 21:11, Nirodha Pramod wrote: > Hi Lakmali, > > Can we have a patch for this issue [3] this is an absolute blocker for > testing on Oracle. > > regards, > Nirodha > > > On Mon, May 5, 2014 at 10:56 AM, Lakmali Bami

[Dev] Builder Mediator support in ESB

2014-05-05 Thread Sohani Weerasinghe
Hi All, According to the ESB documentation the 'Builder Mediator' has not listed as a standard mediator under the catalog [1], but there is a reference to Builder Mediator at [2] . Since this mediator is available in ESB Graphical Editor, can someone state whether this needs to be supported or re

[Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-05 Thread Chanika Geeganage
Hi, I'm getting a dead page with the following exception when browsing the registry in the DSS 3.2.1 with kernel patch 0007. [2014-05-05 22:04:06,485] ERROR {org.apache.catalina.core.ApplicationDispatcher} - Servlet.service() for servlet bridgeservlet threw exception java.lang.IllegalArgumentExc

Re: [Dev] Not obtaining the server port depending on proxy -Enterprise Store

2014-05-05 Thread Chan
On Mon, May 5, 2014 at 8:43 AM, Ruchira Wageesha wrote: > I don't thing you need to worry about branches, master branch always > accepts PRs. If you can't make the pull request for master due to some > reason, just create a github issue and attach the patch. > ​Will do.​ > > /Ruchira > > > On

Re: [Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-05 Thread Prabath Siriwardena
We are having the same patch with IS 5.0.0 and does not witness such issue.. Please debug and try to isolate... Thanks & regards, -Prabath On Mon, May 5, 2014 at 10:13 PM, Chanika Geeganage wrote: > Hi, > > I'm getting a dead page with the following exception when browsing the > registry in th

[Dev] What are the minimum set of SQL server permissions required for registry/um db user?

2014-05-05 Thread Charitha Kankanamge
Hi folks, I had to assign "sysadmin" server role to the registry/um DB user to start the carbon server with -Dsetup in MSSQL server. With lesser privileges, I'm getting the following error. java.lang.Exception: Error occurred while executing : IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJEC

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Charitha Kankanamge
Hi, Can we please have the corresponding MSSQL script as well? Charitha Kankanamge cell: +1 812-391-7730 http://charithaka.blogspot.com *SOA and Testing without nonsense* On Mon, May 5, 2014 at 9:38 PM, Lakmali Baminiwatta wrote: > Hi, > > Please find the fixed oracle script attached. > > Thank

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Charitha Kankanamge
CREATE TABLE AM_API_DEFAULT_VERSION ( DEFAULT_VERSION_ID INTEGER NOT NULL IDENTITY, API_NAME VARCHAR(256) NOT NULL , API_PROVIDER VARCHAR(256) NOT NULL , DEFAULT_API_VERSION VARCHAR(30) , PUBLISHED_DEFAULT_API_VERSION VARCHAR(30) ,

Re: [Dev] API-Manager 1.7.0 verification with PostgreSQL blocked due to script issues

2014-05-05 Thread Johann Nallathamby
This has been already fixed. Please verify with latest packs. On Mon, May 5, 2014 at 2:57 PM, Asanthi Kulasinghe wrote: > Hi, > > The following errors are generated on API-Manager 1.7.0 (29th April pack) > start up after pointing to PostgreSQL 9.1 databases. > This is a blocker for API manager

[Dev] WSO2 Identity Server 5.0.0 Beta Released!

2014-05-05 Thread Darshana Gunawardana
WSO2 Identity Server 5.0.0 Beta Released! Date: 6th May 2014 WSO2 Identity Server team is pleased to announce the release of 5.0.0 Beta version of WSO2 Identity Server. It can be downloaded from *https://svn.wso2.org/repos/wso2/scratch/IS-5.0.0/beta/

Re: [Dev] What are the minimum set of SQL server permissions required for registry/um db user?

2014-05-05 Thread Prabath Abeysekera
Hi Charitha, In this particular scenario, it looks like you haven't properly configured the database user being used, with "SELECT" privileges. Maybe you did, but there's a possibility that it got overridden by some other setting as well. Let me analyse the set of permissions required for SQL Serv

Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Lakmali Baminiwatta
Hi, On 6 May 2014 02:37, Charitha Kankanamge wrote: > CREATE TABLE AM_API_DEFAULT_VERSION ( > DEFAULT_VERSION_ID INTEGER NOT NULL IDENTITY, > API_NAME VARCHAR(256) NOT NULL , > API_PROVIDER VARCHAR(256) NOT NULL , > DEFAULT_API_VERSION VARCHAR(30)

[Dev] Change password for users in EMM

2014-05-05 Thread Chan
Hi Dilan, For the new UI that you are building -can we have change password feature as well. This is something necessary since our password is randomly generated. Since you are currently building the UI separately - can you also put it in a separate Git repo. Then everyone can contribute to it. Ch

Re: [Dev] Getting a dead page when browsing the registry after applying the kernel patch 0007

2014-05-05 Thread Shelan Perera
Hi Chanika, Have you defined any other carbon datasources? Please have a look at [1] and it may have some clues. [1] https://wso2.org/jira/browse/ESBJAVA-2854 On Mon, May 5, 2014 at 10:13 PM, Chanika Geeganage wrote: > Hi, > > I'm getting a dead page with the following exception when browsing

Re: [Dev] What are the minimum set of SQL server permissions required for registry/um db user?

2014-05-05 Thread Prabath Abeysekera
On Tue, May 6, 2014 at 6:44 AM, Prabath Abeysekera wrote: > Hi Charitha, > > In this particular scenario, it looks like you haven't properly configured > the database user being used, with "SELECT" privileges. Maybe you did, but > there's a possibility that it got overridden by some other setting

[Dev] [DEV] [ESB]

2014-05-05 Thread Malaka Silva
Hi, I build the pack from GIT. Following was found while starting the server. Any idea? Does this has something to do with NTask? [2014-05-06 07:52:26,687] WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentSe

Re: [Dev] [DEV] [ESB]

2014-05-05 Thread Vanjikumaran Sivajothy
Better to start the server with osgi console and cross check whether all the dependencies are got resolved or not. On Mon, May 5, 2014 at 10:36 PM, Malaka Silva wrote: > Hi, > > I build the pack from GIT. Following was found while starting the server. > > Any idea? Does this has something to do

Re: [Dev] Change password for users in EMM

2014-05-05 Thread Chathura Dilan
Yes we can add that feature, depending on read and write access of the user store. And we have to also list what the operations can be performed on user store if it is read only and if it has full read/write access. I will add it to github once we finalize the design after today meeting. On Tue,

Re: [Dev] WSO2 Identity Server 5.0.0 Beta Released!

2014-05-05 Thread Asanthi Kulasinghe
Hi, Is there a P2 repo for this? Regards Asanthi On Tue, May 6, 2014 at 5:53 AM, Darshana Gunawardana wrote: > WSO2 Identity Server 5.0.0 Beta Released! > > > > Date: 6th May 2014 > > > WSO2 Identity Server team is pleased to announce the release of 5.0.0 > Beta version of WSO2 Identity Serv

Re: [Dev] Migration scripts for API-M 1.6.0 to 1.7.0

2014-05-05 Thread Nirodha Pramod
Hi, Can we have this as soon as possible. Created a jira for this. [1] https://wso2.org/jira/browse/APIMANAGER-2292 regards, Nirodha On Thu, Apr 17, 2014 at 7:54 PM, Nuwan Dias wrote: > Hi Nirodha, > > This is still not done. We have a list maintained to identify what needs > to be migrated,

Re: [Dev] [DEV]Creating column families though a simple toolbox

2014-05-05 Thread Udara Rathnayake
Hi all, I think Bhathiya is correct, I found that streamDefinition.getIndexDefinition().getSecondaryIndexData() in LINE 267 within CassandraConnector returns following. [Attribute{name=' payload_brand', type=STRING}] Probably the space character at the beginning of the name attribute causes this

[Dev] OSGI Loading order?

2014-05-05 Thread Malaka Silva
Hi, Are the components loaded according to the order in the bundles.info file? If so how can we change this order of activating components? eg: I need the ntask component to be loaded before synapse deployment starts. Any idea? Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Te

Re: [Dev] G-REG 5.0.0-SNAPHOST start-up failure in Jenkins build

2014-05-05 Thread Kasun Gajasinghe
Hi Sameera/All, We've been trying to find the cause for this issue without much success. It seems this issue [1] is a bit strange. The reason is that this is intermittent. Even though tomcat bundle (which tries to load the said from o.w.c.tomcat.ext bundle) has the DynamicImport-Package set to '*'

[Dev] org.wso2.carbon.databridge.datareceiver not moved to GitHub

2014-05-05 Thread Udara Rathnayake
Hi all, $subject ? I'm unable to find this within both carbon-analytics & carbon-commons repos or even within carbon-utils. Regards, UdaraR -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.bl

Re: [Dev] org.wso2.carbon.databridge.datareceiver not moved to GitHub

2014-05-05 Thread Udara Rathnayake
Hi Kasun, Can we merge this pull request[1]? [1] https://github.com/wso2/carbon-commons/pull/4 On Tue, May 6, 2014 at 12:15 PM, Udara Rathnayake wrote: > Hi all, > > $subject ? > I'm unable to find this within both carbon-analytics & carbon-commons > repos or even within carbon-utils. > > Re