[Dev] Compile error while building ESB integration tests

2014-11-05 Thread Omindu Rathnaweera
Hi,

I was trying to write a test case for ESB. When building the tests, the
following error occurred.

[ERROR] COMPILATION ERROR :

[INFO] -

[ERROR]
/Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31]
cannot find symbol

symbol  : class SimulatedService

location: package org.wso2.carbon.esb.util

[ERROR]
/Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31]
cannot find symbol

symbol  : class SimulatedService

location: package org.wso2.carbon.esb.util

[ERROR]
/Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[74,40]
cannot find symbol

symbol  : class SimulatedService

location: class
org.wso2.carbon.esb.nhttp.transport.test.ContentTypeCharsetTestCase

When checking the class I found out that SimulatedService.java class (which
is used by ContentTypeCharsetTestCase.java class as an import) is missing.

Any advice on how to proceed with the issue?

Thank you.
Omindu

-- 
Omindu Rathnaweera
Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-05 Thread Lakshman Udayakantha
Hi Gihan,

I didn't use any tool to explorer the h2 database. just checked the
published statistics in APIM publisher GUI and as you mentioned AUTOSERVER
property is true by default. Any other clue to spot the error?

Thanks

On Wed, Nov 5, 2014 at 1:58 PM, Gihan Anuruddha gi...@wso2.com wrote:

 This can happen if you are using any tool to explore h2 database. Make
 sure you add AUTO_SERVER=TRUE part at the end of connection url.

 urljdbc:h2:BAM_HOME
 /repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE/url

 Regards,
 Gihan

 On Wed, Nov 5, 2014 at 1:27 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 I am working on this jira[1]. As per the offline discussion with Amani, I
 have to break the hive script to individual scripts to address follow
 analytic logics

 org_wso2_apimgt_statistics_destination

 org_wso2_apimgt_statistics_request

 org_wso2_apimgt_statistics_response

 org_wso2_apimgt_statistics_fault

 I have attached the analytic toolbox in which include four individual
 hive scripts to address above analytic logics here[2]. When I deployed this
 new toolbox on BAM, It posts some errors into the server logs. I pasted the
 server log part that contain these errors. Anyway I can notice published
 statistics on APIM dashboard. Anyone has any idea why I am getting these
 errors?

 [2014-11-05 12:46:15,955] ERROR
 {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
 connection

 org.h2.jdbc.JdbcSQLException: Connection is broken: null [90067-140]

 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:156)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

 at
 org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

 at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95)

 at org.h2.Driver.connect(Driver.java:73)

 at java.sql.DriverManager.getConnection(DriverManager.java:582)

 at java.sql.DriverManager.getConnection(DriverManager.java:185)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:248)

 at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)

 at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)

 at
 org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)

 Caused by: java.net.UnknownHostException: null

 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

 at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:883)

 at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1236)

 at java.net.InetAddress.getAllByName0(InetAddress.java:1187)

 at java.net.InetAddress.getAllByName(InetAddress.java:1117)

 at java.net.InetAddress.getAllByName(InetAddress.java:1053)

 at java.net.InetAddress.getByName(InetAddress.java:1003)

 at org.h2.util.NetUtils.createSocket(NetUtils.java:90)

 at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:96)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:327)

 ... 30 more

 [2014-11-05 12:46:15,963] FATAL {ExecReducer} -
 org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while
 processing row (tag=0)
 

Re: [Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-05 Thread Gihan Anuruddha
Might be meta database got corrupted.  Delete metastore_db.h2.db in
BAM_HOME/repository/database and try.

On Wed, Nov 5, 2014 at 2:10 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Gihan,

 I didn't use any tool to explorer the h2 database. just checked the
 published statistics in APIM publisher GUI and as you mentioned AUTOSERVER
 property is true by default. Any other clue to spot the error?

 Thanks

 On Wed, Nov 5, 2014 at 1:58 PM, Gihan Anuruddha gi...@wso2.com wrote:

 This can happen if you are using any tool to explore h2 database. Make
 sure you add AUTO_SERVER=TRUE part at the end of connection url.

 urljdbc:h2:BAM_HOME
 /repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE/url

 Regards,
 Gihan

 On Wed, Nov 5, 2014 at 1:27 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 I am working on this jira[1]. As per the offline discussion with Amani,
 I have to break the hive script to individual scripts to address follow
 analytic logics

 org_wso2_apimgt_statistics_destination

 org_wso2_apimgt_statistics_request

 org_wso2_apimgt_statistics_response

 org_wso2_apimgt_statistics_fault

 I have attached the analytic toolbox in which include four individual
 hive scripts to address above analytic logics here[2]. When I deployed this
 new toolbox on BAM, It posts some errors into the server logs. I pasted the
 server log part that contain these errors. Anyway I can notice published
 statistics on APIM dashboard. Anyone has any idea why I am getting these
 errors?

 [2014-11-05 12:46:15,955] ERROR
 {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
 connection

 org.h2.jdbc.JdbcSQLException: Connection is broken: null [90067-140]

 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:156)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

 at
 org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

 at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95)

 at org.h2.Driver.connect(Driver.java:73)

 at java.sql.DriverManager.getConnection(DriverManager.java:582)

 at java.sql.DriverManager.getConnection(DriverManager.java:185)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at
 org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:248)

 at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)

 at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)

 at
 org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)

 Caused by: java.net.UnknownHostException: null

 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

 at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:883)

 at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1236)

 at java.net.InetAddress.getAllByName0(InetAddress.java:1187)

 at java.net.InetAddress.getAllByName(InetAddress.java:1117)

 at java.net.InetAddress.getAllByName(InetAddress.java:1053)

 at java.net.InetAddress.getByName(InetAddress.java:1003)

 at org.h2.util.NetUtils.createSocket(NetUtils.java:90)

 at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:96)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:327)


Re: [Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-05 Thread Lakshman Udayakantha
Hi Gihan,

Yes. That's the case. When I delete the metastore all errors are gone.
Publishing is also ok. But when I restart the BAM instance errors are
appeared again. any idea why is that?

Thanks

On Wed, Nov 5, 2014 at 2:22 PM, Gihan Anuruddha gi...@wso2.com wrote:

 Might be meta database got corrupted.  Delete metastore_db.h2.db in
 BAM_HOME/repository/database and try.

 On Wed, Nov 5, 2014 at 2:10 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Gihan,

 I didn't use any tool to explorer the h2 database. just checked the
 published statistics in APIM publisher GUI and as you mentioned AUTOSERVER
 property is true by default. Any other clue to spot the error?

 Thanks

 On Wed, Nov 5, 2014 at 1:58 PM, Gihan Anuruddha gi...@wso2.com wrote:

 This can happen if you are using any tool to explore h2 database. Make
 sure you add AUTO_SERVER=TRUE part at the end of connection url.

 urljdbc:h2:BAM_HOME
 /repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE/url

 Regards,
 Gihan

 On Wed, Nov 5, 2014 at 1:27 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 I am working on this jira[1]. As per the offline discussion with Amani,
 I have to break the hive script to individual scripts to address follow
 analytic logics

 org_wso2_apimgt_statistics_destination

 org_wso2_apimgt_statistics_request

 org_wso2_apimgt_statistics_response

 org_wso2_apimgt_statistics_fault

 I have attached the analytic toolbox in which include four individual
 hive scripts to address above analytic logics here[2]. When I deployed this
 new toolbox on BAM, It posts some errors into the server logs. I pasted the
 server log part that contain these errors. Anyway I can notice published
 statistics on APIM dashboard. Anyone has any idea why I am getting these
 errors?

 [2014-11-05 12:46:15,955] ERROR
 {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
 connection

 org.h2.jdbc.JdbcSQLException: Connection is broken: null [90067-140]

 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:156)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

 at
 org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

 at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95)

 at org.h2.Driver.connect(Driver.java:73)

 at java.sql.DriverManager.getConnection(DriverManager.java:582)

 at java.sql.DriverManager.getConnection(DriverManager.java:185)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at
 org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:248)

 at
 org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)

 at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)

 at
 org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)

 Caused by: java.net.UnknownHostException: null

 at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

 at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:883)

 at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1236)

 at java.net.InetAddress.getAllByName0(InetAddress.java:1187)

 at java.net.InetAddress.getAllByName(InetAddress.java:1117)

 at 

[Dev] Act-as scenario bug fix for SAMLTokenIssuer [Rampart]

2014-11-05 Thread Chan
Hi guys,
There is a bug in the SAMLTokenIssuer class in rampart-trust module. I am
attaching the svn diff for the fix.

Cheers~

-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulitha.me http://dulitha.me*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
  *~Github @dulichan https://github.com/dulichan*
  *~SO @chan http://stackoverflow.com/users/813471/chan*


svndiff
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Act-as scenario bug fix for SAMLTokenIssuer [Rampart]

2014-11-05 Thread Chan
Adding the correct Ishara

On Wed, Nov 5, 2014 at 3:06 PM, Chan duli...@wso2.com wrote:

 Hi guys,
 There is a bug in the SAMLTokenIssuer class in rampart-trust module. I am
 attaching the svn diff for the fix.

 Cheers~

 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*




-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulitha.me http://dulitha.me*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
  *~Github @dulichan https://github.com/dulichan*
  *~SO @chan http://stackoverflow.com/users/813471/chan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-05 Thread Lakshman Udayakantha
Hi Gihan,

As per the offline discussion with you, I changed the cron values that are
not overlapping(prime numbers) in analyzers.properties file. Now errors are
not appearing. publishing is also happening successfully. The reason was
when running several hive scripts at the same time, h2 meta store will get
corrupted. Thank you pointing me right direction.

@looping all

Another thing is what are the suggestions for these cron values? As an
example ,Using prime numbers we can reduce, running several scripts at the
same time. suggestions with valid reasons are welcome.

Thanks

On Wed, Nov 5, 2014 at 2:50 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Gihan,

 Yes. That's the case. When I delete the metastore all errors are gone.
 Publishing is also ok. But when I restart the BAM instance errors are
 appeared again. any idea why is that?

 Thanks

 On Wed, Nov 5, 2014 at 2:22 PM, Gihan Anuruddha gi...@wso2.com wrote:

 Might be meta database got corrupted.  Delete metastore_db.h2.db in
 BAM_HOME/repository/database and try.

 On Wed, Nov 5, 2014 at 2:10 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Gihan,

 I didn't use any tool to explorer the h2 database. just checked the
 published statistics in APIM publisher GUI and as you mentioned AUTOSERVER
 property is true by default. Any other clue to spot the error?

 Thanks

 On Wed, Nov 5, 2014 at 1:58 PM, Gihan Anuruddha gi...@wso2.com wrote:

 This can happen if you are using any tool to explore h2 database. Make
 sure you add AUTO_SERVER=TRUE part at the end of connection url.

 urljdbc:h2:BAM_HOME
 /repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE/url

 Regards,
 Gihan

 On Wed, Nov 5, 2014 at 1:27 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 I am working on this jira[1]. As per the offline discussion with
 Amani, I have to break the hive script to individual scripts to address
 follow analytic logics

 org_wso2_apimgt_statistics_destination

 org_wso2_apimgt_statistics_request

 org_wso2_apimgt_statistics_response

 org_wso2_apimgt_statistics_fault

 I have attached the analytic toolbox in which include four individual
 hive scripts to address above analytic logics here[2]. When I deployed 
 this
 new toolbox on BAM, It posts some errors into the server logs. I pasted 
 the
 server log part that contain these errors. Anyway I can notice published
 statistics on APIM dashboard. Anyone has any idea why I am getting these
 errors?

 [2014-11-05 12:46:15,955] ERROR
 {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
 connection

 org.h2.jdbc.JdbcSQLException: Connection is broken: null [90067-140]

 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:156)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

 at
 org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

 at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95)

 at org.h2.Driver.connect(Driver.java:73)

 at java.sql.DriverManager.getConnection(DriverManager.java:582)

 at java.sql.DriverManager.getConnection(DriverManager.java:185)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at
 

Re: [Dev] [ESB 4.8.1] Updating Iterate mediator Target will remove all data in Target

2014-11-05 Thread Dilan Udara Ariyaratne
Hi Eranda,

What do you mean by saying 3. Select Target of the Iterate mediator?

Anyway, I just copy-pasted the configuration you have mentioned in the
Source-view and clicked on Update.

It ended up having the following, just omitting the /address part.

iterate xmlns:ns=http://org.apache.synapse/xsd;
   xmlns:m0=http://services.samples;
   id=iterate_01
   preservePayload=true
   attachPath=//m0:getQuote
   expression=//m0:getQuote/m0:request
 target
endpoint
   address uri=
http://localhost:9000/services/SimpleStockQuoteService/
/endpoint
 /target
/iterate

It works fine to me. I am using ESB 4.8.1

Cheers.




*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. http://wso2.com/
Mobile: +94775149066
lean . enterprise . middleware

On Wed, Nov 5, 2014 at 9:15 AM, Eranda Sooriyabandara era...@wso2.com
wrote:

 Hi ESB team,
 I did the following steps and end up loosing the date inside target of
 iterate mediator

 1. Add new sequence with Iterate mediator
 2. In Target set a endpoint (Address endpoint)

 Now you can see the source view as something like following

 iterate xmlns:ns=http://org.apache.synapse/xsd; xmlns:m0=
 http://services.samples; preservePayload=true
 attachPath=//m0:getQuote expression=//m0:getQuote/m0:request
 id=iterate_01
   target
  endpoint
 address uri=
 http://localhost:9000/services/SimpleStockQuoteService;/address
  /endpoint
   /target
/iterate

 3. Select Target of the Iterate mediator
 4. Hit update without doing any update

 Now you can see the source view as something like following

 iterate xmlns:ns=http://org.apache.synapse/xsd; xmlns:m0=
 http://services.samples; preservePayload=true
 attachPath=//m0:getQuote expression=//m0:getQuote/m0:request
 id=iterate_01
   target/target
/iterate

 See the target element is empty. Is this a known issue?

 thanks
 Eranda


 --

 *Eranda Sooriyabandara*Senior Software Engineer;
 Integration Technologies Team;
 WSO2 Inc.; http://wso2.com
 Lean . Enterprise . Middleware

 E-mail: eranda AT wso2.com
 Mobile: +94 716 472 816
 Linked-In: http://www.linkedin.com/in/erandasooriyabandara
 Blog: http://emsooriyabandara.blogspot.com/





 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB 4.8.1] Updating Iterate mediator Target will remove all data in Target

2014-11-05 Thread Dilan Udara Ariyaratne
Keep the address tag as follows (empty-tag) and give a try
since you are not going to have any values inside, except the attributes.

address uri=http://localhost:9000/services/SimpleStockQuoteService/

Cheers.



*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. http://wso2.com/
Mobile: +94775149066
lean . enterprise . middleware

On Wed, Nov 5, 2014 at 4:22 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Hi Eranda,

 What do you mean by saying 3. Select Target of the Iterate mediator?

 Anyway, I just copy-pasted the configuration you have mentioned in the
 Source-view and clicked on Update.

 It ended up having the following, just omitting the /address part.

 iterate xmlns:ns=http://org.apache.synapse/xsd;
xmlns:m0=http://services.samples;
id=iterate_01
preservePayload=true
attachPath=//m0:getQuote
expression=//m0:getQuote/m0:request
  target
 endpoint
address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
 /endpoint
  /target
 /iterate

 It works fine to me. I am using ESB 4.8.1

 Cheers.




 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 9:15 AM, Eranda Sooriyabandara era...@wso2.com
 wrote:

 Hi ESB team,
 I did the following steps and end up loosing the date inside target of
 iterate mediator

 1. Add new sequence with Iterate mediator
 2. In Target set a endpoint (Address endpoint)

 Now you can see the source view as something like following

 iterate xmlns:ns=http://org.apache.synapse/xsd; xmlns:m0=
 http://services.samples; preservePayload=true
 attachPath=//m0:getQuote expression=//m0:getQuote/m0:request
 id=iterate_01
   target
  endpoint
 address uri=
 http://localhost:9000/services/SimpleStockQuoteService;/address
  /endpoint
   /target
/iterate

 3. Select Target of the Iterate mediator
 4. Hit update without doing any update

 Now you can see the source view as something like following

 iterate xmlns:ns=http://org.apache.synapse/xsd; xmlns:m0=
 http://services.samples; preservePayload=true
 attachPath=//m0:getQuote expression=//m0:getQuote/m0:request
 id=iterate_01
   target/target
/iterate

 See the target element is empty. Is this a known issue?

 thanks
 Eranda


 --

 *Eranda Sooriyabandara*Senior Software Engineer;
 Integration Technologies Team;
 WSO2 Inc.; http://wso2.com
 Lean . Enterprise . Middleware

 E-mail: eranda AT wso2.com
 Mobile: +94 716 472 816
 Linked-In: http://www.linkedin.com/in/erandasooriyabandara
 Blog: http://emsooriyabandara.blogspot.com/





 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-05 Thread Lakshman Udayakantha
adding Amani and NuwanD.

On Wed, Nov 5, 2014 at 3:56 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Gihan,

 As per the offline discussion with you, I changed the cron values that are
 not overlapping(prime numbers) in analyzers.properties file. Now errors are
 not appearing. publishing is also happening successfully. The reason was
 when running several hive scripts at the same time, h2 meta store will get
 corrupted. Thank you pointing me right direction.

 @looping all

 Another thing is what are the suggestions for these cron values? As an
 example ,Using prime numbers we can reduce, running several scripts at the
 same time. suggestions with valid reasons are welcome.

 Thanks

 On Wed, Nov 5, 2014 at 2:50 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Gihan,

 Yes. That's the case. When I delete the metastore all errors are gone.
 Publishing is also ok. But when I restart the BAM instance errors are
 appeared again. any idea why is that?

 Thanks

 On Wed, Nov 5, 2014 at 2:22 PM, Gihan Anuruddha gi...@wso2.com wrote:

 Might be meta database got corrupted.  Delete metastore_db.h2.db in
 BAM_HOME/repository/database and try.

 On Wed, Nov 5, 2014 at 2:10 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi Gihan,

 I didn't use any tool to explorer the h2 database. just checked the
 published statistics in APIM publisher GUI and as you mentioned AUTOSERVER
 property is true by default. Any other clue to spot the error?

 Thanks

 On Wed, Nov 5, 2014 at 1:58 PM, Gihan Anuruddha gi...@wso2.com wrote:

 This can happen if you are using any tool to explore h2 database. Make
 sure you add AUTO_SERVER=TRUE part at the end of connection url.

 urljdbc:h2:BAM_HOME
 /repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE/url

 Regards,
 Gihan

 On Wed, Nov 5, 2014 at 1:27 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 I am working on this jira[1]. As per the offline discussion with
 Amani, I have to break the hive script to individual scripts to address
 follow analytic logics

 org_wso2_apimgt_statistics_destination

 org_wso2_apimgt_statistics_request

 org_wso2_apimgt_statistics_response

 org_wso2_apimgt_statistics_fault

 I have attached the analytic toolbox in which include four individual
 hive scripts to address above analytic logics here[2]. When I deployed 
 this
 new toolbox on BAM, It posts some errors into the server logs. I pasted 
 the
 server log part that contain these errors. Anyway I can notice published
 statistics on APIM dashboard. Anyone has any idea why I am getting these
 errors?

 [2014-11-05 12:46:15,955] ERROR
 {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
 connection

 org.h2.jdbc.JdbcSQLException: Connection is broken: null [90067-140]

 at
 org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:156)

 at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

 at
 org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

 at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111)

 at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95)

 at org.h2.Driver.connect(Driver.java:73)

 at java.sql.DriverManager.getConnection(DriverManager.java:582)

 at java.sql.DriverManager.getConnection(DriverManager.java:185)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

 at
 org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

 at
 org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

 at
 org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

 at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

 at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

 at
 org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

Re: [Dev] Able to install Features without licenses

2014-11-05 Thread Kishanthan Thangarajah
Hi Niranjan,

We need to properly fix these. When a user selects some features to be
installed, the installation should only proceed when all features have
Licence information and user has accepted all of them (if there are
multiple licences).

Also on the licence info page, we need show which features have licences
and which does not. When a particular licence is shared among multiple
features, we can group them together and show.

Thanks,
Kishanthan.


On Mon, Nov 3, 2014 at 10:49 AM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi All,

 When a feature is being installed via the the feature management UI, the
 licenses for the feature is obtained from provisioning plan stored in the
 ServletSession. Currently we cannot install a feature which does not have
 license, but we are able to install it by selecting it with a feature which
 has a license (public jira - [1]).

 Why do we get the licenses from the provisioning plan (line number 260 in
 [2]) instead of the getting it from the Reviewed Installable Units which
 contains only the features that need to be installed?

 [1] - https://wso2.org/jira/browse/CARBON-15049
 [2] -
 https://github.com/wso2/carbon4-kernel/blob/master/core/feature-manager/org.wso2.carbon.feature.mgt.services/src/main/java/org/wso2/carbon/feature/mgt/services/prov/ProvisioningAdminService.java


 Regards,
 Nira
 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-05 Thread Mahesh Chinthaka
Hi all,
After discussing with team I will be implementing this scenario in below
described way,


   1. We will have a Interface called *Undeployer* in *appfactory.core* and
   this interface will be registered as a OSGi Service.
   2. There will be a class called *AbstractStratosUndeployer* in
   *appfactory.deployers* which implemented by *Undeployer* interface.
   3. In this abstract class there will be a method called
   *undeployArtifact()* which will delete an artifact for the given stage
   and given version of a given app.This method is capable of delete remote
   git repos without checking them out to a local repo.


ATM undeplyment is called in onDeletion methods
of JenkinsApplicationEventsListener and NonBuildableApplicationEventListner.
From here onwards these onDeletion methods will call undeployArtifact()
method in class.

Any concerns ???

On Tue, Nov 4, 2014 at 11:21 PM, Mahesh Chinthaka mahe...@wso2.com wrote:

 Hi Samith,
 Thanks , will check and do.

 On Tue, Nov 4, 2014 at 11:16 PM, Samith Dassanayake sam...@wso2.com
 wrote:

 @Mahesh
 IIRC you cannot use RepositoryManager.getAppRepositoryURL() instead of
 getGitRepoUrlForTenant() since it is used get GIT repo url and what we
 need here is S2Git repo url. As Janaka has suggested
 AbstractStratosDeployer.generateRepoUrl() could be used. Please check.

 On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Hi Janaka,
 We initially decided to implement unDeployArtifact() in
 AbstractDeployer, now it seems better to implement it in
 AbstractStratosDeployer.
 +1 to implement it in AbstractStratosDeployer.
 @Harsha,
 WDYT ?

 On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu jan...@wso2.com
 wrote:

 Hi Mahesh,

 On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Hi Harsha,
 While following other codes i was able to figure out some usages and
 below is what im going to do. Let me know if anything wrong.


 *getRepositoryProviderAdminPassword()*
 *getRepositoryProviderAdminUser()*

 These two can be solved. We can
 use DeployerUtil.getRepositoryProviderProperty to get the repository
 provider admin username and password

 Please note that the current implementation of those methods are in
 the NonBuildableArtifactDeployer. Please move them to
 AbstractStratosDeployer so that in future, any deployment related operation
 for stratos can use them.


 *getGitRepoUrlForTenant()*

 RepositoryManager.getAppRepositoryURL can be used to do the job.

 Why can't you use the generateRepoUrl() method in
 AbstractStratosDeployer for this. I didn't compare the implementations of
 those 2 but they might be different since we are using 2 templates for Git
 and S2Git. So please check that too.


 *getServerDeploymentPaths()*

 This will be moved to AbstractDeployer.

 I would rather suggest to use AbstractStratosDeployer here since this
 is related to stratos deployment and might not be the same for any other
 deployment environment in the future


 getFilesToDelete()

 I will move this in to AbstractDeployer, because unDeployAftifact is
 also in the AbstractDeployer and AbstractStratosDeployer is inherited from
 AbstractDeployer. So  I think we have to move it to AbstractDeployer

 Same as above.

 Thanks,
 Janaka



 On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna hars...@wso2.com
 wrote:

 Hi Mahesh,

 Don't write same code twice. Just move it. Because it is not suite to
 use those kind of method that keeping this Service Class. When we are 
 doing
 some changes, we may have to re-factor according to the best practices.
 WDYT ?


 *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
  , +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Hi Harsha,
 Why cant we just make those methods public and use them ? Since
 appfactory.core is already a dependancy in appfactory.deployers
 So we can avoid writing the same code twice.

 On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna hars...@wso2.com
  wrote:

 Hi Janaka,

 There are no new utility method. Just keep it in right place as we
 can reuse it.


 *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
  , +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*


 On 

Re: [Dev] Able to install Features without licenses

2014-11-05 Thread Niranjan Karunanandham
Thanks Kishanthan. I have updated the JIRA with the improvement to show the
features that belong each license.

Regards,
Nira

On Wed, Nov 5, 2014 at 4:46 PM, Kishanthan Thangarajah kishant...@wso2.com
wrote:

 Hi Niranjan,

 We need to properly fix these. When a user selects some features to be
 installed, the installation should only proceed when all features have
 Licence information and user has accepted all of them (if there are
 multiple licences).

 Also on the licence info page, we need show which features have licences
 and which does not. When a particular licence is shared among multiple
 features, we can group them together and show.

 Thanks,
 Kishanthan.


 On Mon, Nov 3, 2014 at 10:49 AM, Niranjan Karunanandham niran...@wso2.com
  wrote:

 Hi All,

 When a feature is being installed via the the feature management UI, the
 licenses for the feature is obtained from provisioning plan stored in the
 ServletSession. Currently we cannot install a feature which does not have
 license, but we are able to install it by selecting it with a feature which
 has a license (public jira - [1]).

 Why do we get the licenses from the provisioning plan (line number 260 in
 [2]) instead of the getting it from the Reviewed Installable Units which
 contains only the features that need to be installed?

 [1] - https://wso2.org/jira/browse/CARBON-15049
 [2] -
 https://github.com/wso2/carbon4-kernel/blob/master/core/feature-manager/org.wso2.carbon.feature.mgt.services/src/main/java/org/wso2/carbon/feature/mgt/services/prov/ProvisioningAdminService.java


 Regards,
 Nira
 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*




-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] When one or more worker nodes are shutdown in a cluster ELB stops sending requests to workers after sometime

2014-11-05 Thread Kishanthan Thangarajah
Gayashan, please share your latest findings on this.

When we see the member left msg, the current member list is updated with
that event (the member gets removed). So above can occur if that is not
happening accordingly. We should also compare the same with and without
hazelcast upgrade.

On Fri, Oct 31, 2014 at 5:30 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Hi all,

 For Carbon testing we have a worker-mgt cluster fronted by ELB and
 requests keep coming in from a jmeter client. During this if one (or more)
 of the worker nodes were shutdown, after some time the ELB stops sending
 requests to the nodes and the connection times out. Following log gets
 printed in the ELB.

 ​​TID: [0] [ELB] [2014-10-31 06:27:32,517]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed to send message to Member Host:172.31.7.214, Remote Host:null, Port:
 4100, HTTP:9765, HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker,
 Active:true . Error Code: 101503
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:32,519]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Dropping the faulty/unreachable Member with Domain:wso2.as.domain,
 Host:172.31.7.214, Port:4100
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:32,738]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed over to Host:172.31.0.128, Remote Host:null, Port: 4100, HTTP:9763,
 HTTPS:9443, Domain: wso2.as.domain, Sub-domain:worker, Active:true
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:32,740]  WARN
 {org.apache.synapse.transport.passthru.ConnectCallback} -  Connection
 refused or failed for : /172.31.7.214:9765
 {org.apache.synapse.transport.passthru.ConnectCallback}
 TID: [0] [ELB] [2014-10-31 06:27:32,743]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed to send message to Member Host:172.31.7.214, Remote Host:null, Port:
 4100, HTTP:9765, HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker,
 Active:true . Error Code: 101503
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:32,745]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Dropping the faulty/unreachable Member with Domain:wso2.as.domain,
 Host:172.31.7.214, Port:4100
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:33,518]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed over to Host:172.31.7.214, Remote Host:null, Port: 4100, HTTP:9765,
 HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker, Active:true
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:33,520]  WARN
 {org.apache.synapse.transport.passthru.ConnectCallback} -  Connection
 refused or failed for : /172.31.7.214:9765
 {org.apache.synapse.transport.passthru.ConnectCallback}
 TID: [0] [ELB] [2014-10-31 06:27:33,523]  WARN
 {org.apache.synapse.transport.passthru.ConnectCallback} -  Connection
 refused or failed for : /172.31.7.214:9765
 {org.apache.synapse.transport.passthru.ConnectCallback}
 TID: [0] [ELB] [2014-10-31 06:27:33,744]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed over to Host:172.31.7.214, Remote Host:null, Port: 4100, HTTP:9765,
 HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker, Active:true
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:33,745]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed to send message to Member Host:172.31.7.214, Remote Host:null, Port:
 4100, HTTP:9765, HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker,
 Active:true . Error Code: 101503
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:33,745]  WARN
 {org.apache.synapse.transport.passthru.ConnectCallback} -  Connection
 refused or failed for : /172.31.7.214:9765
 {org.apache.synapse.transport.passthru.ConnectCallback}
 TID: [0] [ELB] [2014-10-31 06:27:33,747]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Dropping the faulty/unreachable Member with Domain:wso2.as.domain,
 Host:172.31.7.214, Port:4100
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:34,746]  INFO
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed over to Host:172.31.0.128, Remote Host:null, Port: 4100, HTTP:9763,
 HTTPS:9443, Domain: wso2.as.domain, Sub-domain:worker, Active:true
 {org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}
 TID: [0] [ELB] [2014-10-31 06:27:34,748]  INFO
 

Re: [Dev] Able to install Features without licenses

2014-11-05 Thread Kishanthan Thangarajah
Also please arrange a code review for this.

On Wed, Nov 5, 2014 at 5:32 PM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Thanks Kishanthan. I have updated the JIRA with the improvement to show
 the features that belong each license.

 Regards,
 Nira

 On Wed, Nov 5, 2014 at 4:46 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Hi Niranjan,

 We need to properly fix these. When a user selects some features to be
 installed, the installation should only proceed when all features have
 Licence information and user has accepted all of them (if there are
 multiple licences).

 Also on the licence info page, we need show which features have licences
 and which does not. When a particular licence is shared among multiple
 features, we can group them together and show.

 Thanks,
 Kishanthan.


 On Mon, Nov 3, 2014 at 10:49 AM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi All,

 When a feature is being installed via the the feature management UI, the
 licenses for the feature is obtained from provisioning plan stored in the
 ServletSession. Currently we cannot install a feature which does not have
 license, but we are able to install it by selecting it with a feature which
 has a license (public jira - [1]).

 Why do we get the licenses from the provisioning plan (line number 260
 in [2]) instead of the getting it from the Reviewed Installable Units
 which contains only the features that need to be installed?

 [1] - https://wso2.org/jira/browse/CARBON-15049
 [2] -
 https://github.com/wso2/carbon4-kernel/blob/master/core/feature-manager/org.wso2.carbon.feature.mgt.services/src/main/java/org/wso2/carbon/feature/mgt/services/prov/ProvisioningAdminService.java


 Regards,
 Nira
 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Siddhi Query error

2014-11-05 Thread Chamin Nalinda
Hi

Appreciate your help to solve the following issue.

*Error Message*

*line 4:67 no viable alternative at input '.'*

*Siddhi query*

// *Imported from transactionInStream:1.0.0*
define stream *transactionInStream* (
*transaction_id* string, *pan* string, *ticket_type* string, *amount*
 double, *date_time* long)


define table avgTable (  pan string,  avg_amount double ) from  ('
datasource.name'='transactionInfoDBSource',
'database.name'='transactionInfoDB',
'table.name'='avgTable' );

from transactionInStream join avgTable
on transactionInStream.pan == avgTable.pan  and transactionInStream.amount
as transactionInStream.avg_amount = ((avaTable.avg_amount)*4/3)
select transactionInStream.pan , transactionInStream.amount,
avgTable.avg_amount
insert into lowAmountStream

-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
Blog: http://techspiro.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Siddhi Query error

2014-11-05 Thread Seshika Fernando
Could it be that you have used av*a*Table.avg_amount instead of
av*g*Table.avg_amount
?

On Wed, Nov 5, 2014 at 6:01 PM, Chamin Nalinda cha...@wso2.com wrote:

 Hi

 Appreciate your help to solve the following issue.

 *Error Message*

 *line 4:67 no viable alternative at input '.'*

 *Siddhi query*

 // *Imported from transactionInStream:1.0.0*
 define stream *transactionInStream* (
 *transaction_id* string, *pan* string, *ticket_type* string, *amount*
  double, *date_time* long)


 define table avgTable (  pan string,  avg_amount double ) from  ('
 datasource.name'='transactionInfoDBSource', 
 'database.name'='transactionInfoDB',
 'table.name'='avgTable' );

 from transactionInStream join avgTable
 on transactionInStream.pan == avgTable.pan  and transactionInStream.amount
 as transactionInStream.avg_amount = ((avaTable.avg_amount)*4/3)
 select transactionInStream.pan , transactionInStream.amount,
 avgTable.avg_amount
 insert into lowAmountStream

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][APPFAC] Please commit the patch

2014-11-05 Thread Roshan Deniyage
Hi Harsha,
   Please commit the attached patch for JIRA [1]
​, which includes the enhancements after code review.​

[1]
​ https://wso2.org/jira/browse/APPFAC-2580
*​​https://wso2.org/jira/browse/APPFAC-2585
https://wso2.org/jira/browse/APPFAC-2585​*

Thanks,

Roshan Deniyage
WSO2, Inc: http://wso2.com

Mobile:  +94 777636406
Twitter:
*https://twitt​​er.com/roshku https://twitter.com/roshku*
LinkedIn :  https://www.linkedin.com/in/roshandeniyage
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Siddhi Query error

2014-11-05 Thread Chamin Nalinda
Hi ,
I made the change, but still the same

On Wed, Nov 5, 2014 at 6:11 PM, Seshika Fernando sesh...@wso2.com wrote:

 Could it be that you have used av*a*Table.avg_amount instead of 
 av*g*Table.avg_amount
 ?

 On Wed, Nov 5, 2014 at 6:01 PM, Chamin Nalinda cha...@wso2.com wrote:

 Hi

 Appreciate your help to solve the following issue.

 *Error Message*

 *line 4:67 no viable alternative at input '.'*

 *Siddhi query*

 // *Imported from transactionInStream:1.0.0*
 define stream *transactionInStream* (
 *transaction_id* string, *pan* string, *ticket_type* string, *amount*
  double, *date_time* long)


 define table avgTable (  pan string,  avg_amount double ) from  ('
 datasource.name'='transactionInfoDBSource', 
 'database.name'='transactionInfoDB',
 'table.name'='avgTable' );

 from transactionInStream join avgTable
 on transactionInStream.pan == avgTable.pan  and
 transactionInStream.amount as transactionInStream.avg_amount =
 ((avaTable.avg_amount)*4/3)
 select transactionInStream.pan , transactionInStream.amount,
 avgTable.avg_amount
 insert into lowAmountStream

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
Blog: http://techspiro.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Siddhi Query error

2014-11-05 Thread Tishan Dahanayakage
Hi Chamin,
Adding to Sheshika you need to change your Siddhi query as follows too. You
can't rename inside a condition. Changes made at line 2. Please refer [1]
for Siddhi language specification.

from transactionInStream join avgTable
on transactionInStream.pan == avgTable.pan  and transactionInStream.amount
= ((avgTable.avg_amount)*4/3)
select transactionInStream.pan , transactionInStream.amount,
avgTable.avg_amount
insert into lowAmountStream

[1] https://docs.wso2.com/display/CEP310/Siddhi+Language+Specification

On Wed, Nov 5, 2014 at 6:11 PM, Seshika Fernando sesh...@wso2.com wrote:

 Could it be that you have used av*a*Table.avg_amount instead of 
 av*g*Table.avg_amount
 ?

 On Wed, Nov 5, 2014 at 6:01 PM, Chamin Nalinda cha...@wso2.com wrote:

 Hi

 Appreciate your help to solve the following issue.

 *Error Message*

 *line 4:67 no viable alternative at input '.'*

 *Siddhi query*

 // *Imported from transactionInStream:1.0.0*
 define stream *transactionInStream* (
 *transaction_id* string, *pan* string, *ticket_type* string, *amount*
  double, *date_time* long)


 define table avgTable (  pan string,  avg_amount double ) from  ('
 datasource.name'='transactionInfoDBSource', 
 'database.name'='transactionInfoDB',
 'table.name'='avgTable' );

 from transactionInStream join avgTable
 on transactionInStream.pan == avgTable.pan  and
 transactionInStream.amount as transactionInStream.avg_amount =
 ((avaTable.avg_amount)*4/3)
 select transactionInStream.pan , transactionInStream.amount,
 avgTable.avg_amount
 insert into lowAmountStream

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Siddhi Query error

2014-11-05 Thread Chamin Nalinda
Hi Tishan,

Your answer solved the issue. Thanks heaps.

On Wed, Nov 5, 2014 at 6:18 PM, Tishan Dahanayakage tis...@wso2.com wrote:

 Hi Chamin,
 Adding to Sheshika you need to change your Siddhi query as follows too.
 You can't rename inside a condition. Changes made at line 2. Please refer
 [1] for Siddhi language specification.

 from transactionInStream join avgTable
 on transactionInStream.pan == avgTable.pan  and transactionInStream.amount
 = ((avgTable.avg_amount)*4/3)
 select transactionInStream.pan , transactionInStream.amount,
 avgTable.avg_amount
 insert into lowAmountStream

 [1] https://docs.wso2.com/display/CEP310/Siddhi+Language+Specification

 On Wed, Nov 5, 2014 at 6:11 PM, Seshika Fernando sesh...@wso2.com wrote:

 Could it be that you have used av*a*Table.avg_amount instead of 
 av*g*Table.avg_amount
 ?

 On Wed, Nov 5, 2014 at 6:01 PM, Chamin Nalinda cha...@wso2.com wrote:

 Hi

 Appreciate your help to solve the following issue.

 *Error Message*

 *line 4:67 no viable alternative at input '.'*

 *Siddhi query*

 // *Imported from transactionInStream:1.0.0*
 define stream *transactionInStream* (
 *transaction_id* string, *pan* string, *ticket_type* string, *amount*
  double, *date_time* long)


 define table avgTable (  pan string,  avg_amount double ) from  ('
 datasource.name'='transactionInfoDBSource', 
 'database.name'='transactionInfoDB',
 'table.name'='avgTable' );

 from transactionInStream join avgTable
 on transactionInStream.pan == avgTable.pan  and
 transactionInStream.amount as transactionInStream.avg_amount =
 ((avaTable.avg_amount)*4/3)
 select transactionInStream.pan , transactionInStream.amount,
 avgTable.avg_amount
 insert into lowAmountStream

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Tishan Dahanayakage
 Software Engineer
 WSO2, Inc.
 Mobile:+94 716481328

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, re-transmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.




-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
Blog: http://techspiro.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-11-05 Thread Gayan Gunawardana
Congratzzz Milinda!

On Tue, Nov 4, 2014 at 11:20 AM, Priyadarssini Kishokumar 
priyadarss...@wso2.com wrote:

 Congrats Milinda!

 On Tue, Nov 4, 2014 at 10:45 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats Milinda!

 On Thu, Oct 30, 2014 at 6:56 AM, Akila Ravihansa Perera 
 raviha...@wso2.com wrote:

 Congratulations Milinda!!!

 On Wed, Oct 29, 2014 at 5:09 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Milinda

 On Wed, Oct 29, 2014 at 4:22 PM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!

 On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Milinda!!!

 On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath ins...@wso2.com
 wrote:

 Congrats Milinda!! :)

 On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratulations Milinda!!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 On Wed, Oct 29, 2014 at 3:31 PM, Malintha Adikari 
 malin...@wso2.com wrote:

 Congratulations, Milinda!


 On Wed, Oct 29, 2014 at 9:59 AM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

 Congratulations!!

 On Tue, Oct 28, 2014 at 7:05 PM, Shiva Balachandran 
 sh...@wso2.com wrote:

 Congrats :)

 On Tue, Oct 28, 2014 at 5:07 PM, Roshan Deniyage 
 rosh...@wso2.com wrote:

 Congratulations Milinda !

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Tue, Oct 28, 2014 at 4:26 PM, Tharindu Edirisinghe 
 tharin...@wso2.com wrote:

 Congratulations Milinda 

 On Tue, Oct 28, 2014 at 4:23 PM, Hasintha Indrajee 
 hasin...@wso2.com wrote:

 Congratulations Milinda !!

 On Tue, Oct 28, 2014 at 4:13 PM, Buddhima Wijeweera 
 buddh...@wso2.com wrote:

 Congratulations Milinda !!!

 On Tue, Oct 28, 2014 at 3:39 PM, Yasassri Ratnayake 
 yasas...@wso2.com wrote:

 Congrats Milinda :)

 On Tue, Oct 28, 2014 at 3:34 PM, Mahesh Chinthaka 
 mahe...@wso2.com wrote:

 Congratz milinda...!!!

 On Tue, Oct 28, 2014 at 3:32 PM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Milinda...!!

 On Tue, Oct 28, 2014 at 3:29 PM, Kasun De Silva 
 kas...@wso2.com wrote:

 Congratz Milinda..!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Tue, Oct 28, 2014 at 3:28 PM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Milinda.!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Tue, Oct 28, 2014 at 3:27 PM, Supun Sethunga 
 sup...@wso2.com wrote:

 Congratz!!

 On Tue, Oct 28, 2014 at 3:26 PM, Waruna Jayaweera 
 waru...@wso2.com wrote:

 Congratzz Milinda..

 On Tue, Oct 28, 2014 at 3:14 PM, Godwin Amila Shrimal
 god...@wso2.com wrote:

 Congratulations Milinda !!!

 On Tue, Oct 28, 2014 at 3:11 PM, Firzhan Naqash 
 firz...@wso2.com wrote:

 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 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

 On Tue, Oct 28, 2014 at 2:53 PM, Nandika
 Jayawardana nand...@wso2.com wrote:

 Hi all,

 It's my pleasure to announce Milinda Perera as
 a WSO2 Committer. Milinda has been a valuable 
 contributor to WSO2 BPS
 product and in recognition of his contribution he 
 has been voted as a WSO2
 Committer.

 Milinda, welcome aboard and keep up the good
 work!.

 Regards
 Nandika

 --
 Nandika Jayawardana
 Senior Technical Lead
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-05 Thread Danesh Kuruppu
Congrats Niranjan..!!!

On Wed, Nov 5, 2014 at 1:23 PM, Priyadarssini Kishokumar 
priyadarss...@wso2.com wrote:

 Congratulations Niranjan !

 On Wed, Nov 5, 2014 at 12:30 PM, Chan duli...@wso2.com wrote:

 Congratz !

 On Wed, Nov 5, 2014 at 9:37 AM, Sam Sivayogam s...@wso2.com wrote:

 Congrats Niranjan :)

 On Tue, Nov 4, 2014 at 6:02 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations !!!

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Niranjan as a WSO2 Committer.  He has
 been an active contributor for WSO2 Enterprise Mobility Manager.

 Niranjan, welcome aboard and keep up the good work!.

 --

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* http://wso2.com/
 lean.enterprise.middleware



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Sam Sivayogam*

 Software Engineer

 http://www.wso2.com/
 *Mobile*  : +94 772 906 439
 *Office*   : +94 112 145 345

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Ramith Jayasinghe
Hi Asanka,
 Congratulations!
It is with great pleasure that we welcome you as a WSO2 committer. Keep up
the good work!
thanks and best regards,

-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Mahesh Chinthaka
Congratulations Asanka...!!!

On Wed, Nov 5, 2014 at 10:07 PM, Ramith Jayasinghe ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: mahe...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [CEP][G-Reg] Retrieving a specific file from the Registry

2014-11-05 Thread Madhawa Gunasekara
Hi All,

I'm trying to write a CEP extension to load a trained model (which is
stored as a file in the Registry).
I'm sending filename as a parameter for the extension.Therefore my
extension should search and retrieve the specific file from the RegistryDB.

How can I access the RegistryDB to retrieve the file ?

I found a sample in G-Reg Documentation [1]. is it good to follow this
sample for this scenario ?

Thanks,
Madhawa

[1] https://docs.wso2.com/display/Governance460/Advance+Search+Sample
-- 
*Madhawa Gunasekara*
Software Engineering Intern
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Malintha Adikari
Congratulations...

On Wed, Nov 5, 2014 at 4:46 PM, Mahesh Chinthaka mahe...@wso2.com wrote:

 Congratulations Asanka...!!!

 On Wed, Nov 5, 2014 at 10:07 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Mahesh Chinthaka Vidanagama* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 63 63 083 | Work: +94 112 145 345
 Email: mahe...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-05 Thread Johann Nallathamby
Can you try configuring two IS instances, with hostnames, one with
localhost (default) and one with the IP of the machine. Even 127.0.0.1
should work. This way you don't need to change anything in /etc/hosts.

On Wed, Nov 5, 2014 at 12:37 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi Malithi,

 Changing /etc/hosts at test runtime is not recommended. You cannot edit
 this file without super user privileges. And our tests are public, so
 anybody should be able to run the tests thus accessing system files of test
 execution environment will be a problem.

 You need to write these cases as platform tests.  For the time being you
 can assume two IS instances are running in different hosts and go ahead
 with test cases writing. Our plan is to provide automated product
 deployment framework in future, so once it is available you can get those
 tests cases fully automated.

 Please refer how MB team wrote their platform tests at
 https://github.com/wso2-dev/product-mb/tree/master/modules/integration/tests-platform

 Thanks,
 Krishantha.

 On Wed, Nov 5, 2014 at 11:59 AM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Waruna,

 The problem is changing the etc/hosts in automation tests. I don't think
 it's recommended when writing integrations tests.

 Hope there would be some better solution for this.

 Thanks,
 Malithi.

 On Wed, Nov 5, 2014 at 11:49 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Malithi,

 To overcome session cookie problem pls look at[1].

 [1]
 http://warunaperera.blogspot.com/2014/06/enablingsso-for-wso2-servers-overcome.html

 On Tue, Nov 4, 2014 at 11:06 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi all,

 I'm working on automating the OpenID to SAML federation flow. At the
 moment OpenID implementation on IS 5.1.0 depends on the session, which
 would be fixed in future. Hence when I start two IS instances with the same
 hostname changing only the port the OpenID federation flow breaks since the
 cookie is bound to the hostname and this overwrites each other's session
 information resulting in lost sessions. Thus, I need to start two IS
 instances that bind to different hostnames.
 I would like to know whether this is possible with TAF 4.2.8 or how
 could we achieve this scenario ?

 Thanks,
 Malithi.

 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Rajith Vitharana
Congratulations Asanka ... !!

On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Harsha Kumara
Congratulations Asanka!

On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jars to be included for code coverage - Storage Server

2014-11-05 Thread Krishantha Samaraweera
Hi Prabath,

Can you list the jars should be included for code coverage generation for
Storage Server.

Only jar files at $CARBON_HOME/repository/components/plugin is valid for
inclusion.

Thanks,
Krishantha.

-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Hasitha Hiranya
Congratulations, Asanka...!!!

On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] clarification on hive-site.xml

2014-11-05 Thread Sinthuja Ragendran
Hi shavantha,

As per now it only supports one cassandra host entry, and this property is
only used for Case-4 of [1].

[1] https://docs.wso2.com/display/BAM241/Incremental+Analysis.

Thanks,
Sinthuja.

On Wed, Nov 5, 2014 at 2:13 AM, Shavantha Weerasinghe shavan...@wso2.com
wrote:

 Hi Sinthuja

 within the hive-site.xml, for the below property can we have comma
 separated values to list out all the external cassandra nodes. ex :
 192.168.48.33:9160,192.168.48.35:9160,192.168.48.36:9160,
 192.168.48.37:9160

property

 namehive.incremental.processing.intermediate.results.cassandra.hosts/name
 value192.168.48.33:9160/value
   /property

 regards,
 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300




-- 
*Sinthuja Rajendran*
Senior Software Engineer http://wso2.com/
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Dilan Udara Ariyaratne
Congratulations, Asanka...!!!


*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. http://wso2.com/
Mobile: +94775149066
lean . enterprise . middleware

On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compile error while building ESB integration tests

2014-11-05 Thread Dilan Udara Ariyaratne
Hi Omindu,

I have checked for the ContentTypeCharsetTestCase.java class in the latest
product-esb-master in github and found out that
the line referencing the SimulatedService class has been commented as
follows and not been used.

//SimpleWebServer simpleWebServer = new SimulatedService(port, 200);

May be this class an obsolete one.

So, you can try out the following.

Comment the line appearing this class and give a try.

You will be able to build successfully and run the tests.

Cheers.






*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. http://wso2.com/
Mobile: +94775149066
lean . enterprise . middleware

On Wed, Nov 5, 2014 at 2:05 PM, Omindu Rathnaweera omi...@wso2.com wrote:

 Hi,

 I was trying to write a test case for ESB. When building the tests, the
 following error occurred.

 [ERROR] COMPILATION ERROR :

 [INFO] -

 [ERROR]
 /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31]
 cannot find symbol

 symbol  : class SimulatedService

 location: package org.wso2.carbon.esb.util

 [ERROR]
 /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31]
 cannot find symbol

 symbol  : class SimulatedService

 location: package org.wso2.carbon.esb.util

 [ERROR]
 /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[74,40]
 cannot find symbol

 symbol  : class SimulatedService

 location: class
 org.wso2.carbon.esb.nhttp.transport.test.ContentTypeCharsetTestCase

 When checking the class I found out that SimulatedService.java class
 (which is used by ContentTypeCharsetTestCase.java class as an import) is
 missing.

 Any advice on how to proceed with the issue?

 Thank you.
 Omindu

 --
 Omindu Rathnaweera
 Software Engineer, WSO2 Inc.
 Mobile: +94 771 197 211

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Sameera Jayaratna
Congratulations Asanka!!!

On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 



*Thanks  Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Gayashan Amarasinghe
Congratulations Asanka :)

Gayashan Amarasinghe
(sent from mobile)
On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Sachini Jayasekara
Congratulations Asanka!!!

On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 



*Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Sajini De Silva
Congratulations Asanka!!!

On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Sajini De SIlva
Software Engineer; WSO2 Inc.; http://wso2.com ,
Email: saj...@wso2.com
Blog: http://sajinid.blogspot.com/
Git hub profile: https://github.com/sajinidesilva

Phone: +94 712797729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Dakshika Jayathilaka
Congratulations Asanka,.!!!

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Buddhima Wijeweera
Congratulations Asanka !!!

On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Email: buddh...@wso2.com
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Prasanna Dangalla
Congratulations Asanka.!!!

On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe gayas...@wso2.com
  wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana raji...@wso2.com
  wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe ram...@wso2.com
  wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Denuwanthi De Silva
Congratulations Asanka!!

On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Roshan Wijesena
Congratulations!!

On Wed, Nov 5, 2014 at 10:07 PM, Ramith Jayasinghe ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94752126789*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Hasintha Indrajee
Congratulations Asanka !!

On Thu, Nov 6, 2014 at 10:26 AM, Denuwanthi De Silva denuwan...@wso2.com
wrote:

 Congratulations Asanka!!

 On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka daksh...@wso2.com
  wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
  wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] EMM OAuth Implementation - Android - Storing Consumer Secret

2014-11-05 Thread Chan
Rekindling an old thread. Are we going to support this in next IS release?

On Thu, Apr 17, 2014 at 8:26 PM, Kasun Dananjaya Delgolla kas...@wso2.com
wrote:

 +1. I think this is the ideal way of doing that.


 On Thu, Apr 17, 2014 at 5:57 PM, Gayan Gunawardana ga...@wso2.com wrote:

 Hi,

 +1 for dynamic client generation.

 This is what we have discussed in several meetings.

 If time permit I can have a look at the spec and do the implementation.
 This will be an ideal solution for most of security holes.



 On Thu, Apr 17, 2014 at 5:41 PM, Suresh Attanayaka sur...@wso2.com
 wrote:

 Hi,

 We can use Dynamic Client Registration[1] to get a ClientKey and a
 ClientSecrete. The advantage here is that different instances of the same
 application will have different ClientKey and ClientSecrete. With this we
 can identify each installation.

 Dynamic Client Registration has a registration endpoint which requires
 an initial token. The initial token can be obtained using basic
 authentication, then the client can use that initial token to register
 itself at the EMM and get the ClientKey + ClientSecrete.

 Once the client has received the ClientKey and ClientSecrete, it should
 store it securely.

 [1]- http://openid.net/specs/openid-connect-registration-1_0.html




 On Thu, Apr 17, 2014 at 2:52 PM, Harshan Liyanage hars...@wso2.com
 wrote:

 I think we could use a technique like *Image Steganography[[1]* to
 store consumer key/secret inside the application so it would be difficult
 to hack. For the image we can use something like application logo so it
 won't get much attention. On the otherhand we could modify the
 steganography algorithm and make it much more secure.

 [1]. http://en.wikipedia.org/wiki/Steganography

 Best Regards,

 Lakshitha Harshan
 Software Engineer
 Mobile: *+94724423048*
 Email: hars...@wso2.com
 Blog : http://harshanliyanage.blogspot.com/
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.


 On Thu, Apr 17, 2014 at 2:21 PM, Chathura Dilan chathu...@wso2.com
 wrote:

 if it is unique to the app, there could be another security issue.
 Someone can get our source and authenticate himself with his app, and they
 are able to download the key from the server.


 On Thu, Apr 17, 2014 at 2:12 PM, Chathura Dilan chathu...@wso2.com
 wrote:

 Is consumer/secret key unique to a user or is it unique to the app?


 On Thu, Apr 17, 2014 at 12:20 PM, Chan duli...@wso2.com wrote:

 +1 to the idea since basic auth will be first used to obtain the
 consumer secret. But we might have to change the flow from how it 
 usually
 work.

 Cheers~


 On Thu, Apr 17, 2014 at 12:17 PM, Kasun Dananjaya Delgolla 
 kas...@wso2.com wrote:

 Hi All,

 We're going to protect all the API calls from EMM client side using
 OAuth.

 I have a concern whether to store the consumer key/secret inside
 the EMM Agent Application or making it dynamic. We can actually send 
 those
 2 when the user authenticates from the mobile client (As the 
 response), and
 then we can store it inside a private preference (Which is application
 private).

 I see this as the safest way because keeping it hardcoded in the
 source or a file might be extremely easy to hack. So WDYT?

 Regards,
 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 777 997 850
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 http://lk.linkedin.com/in/kasundananjaya*



 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 777 997 850
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 http://lk.linkedin.com/in/kasundananjaya*




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*




 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer - WSO2 Inc.)*
 www.dilan.me




 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer - WSO2 Inc.)*
 www.dilan.me



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Web : http://www.ssoarcade.com/
 Facebook : https://www.facebook.com/IdentityWorld
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060
 Mobile : +016166171172

 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Pamod Sylvester
Congratulations Asanka !

On Thu, Nov 6, 2014 at 12:00 PM, Hasintha Indrajee hasin...@wso2.com
wrote:

 Congratulations Asanka !!

 On Thu, Nov 6, 2014 at 10:26 AM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Congratulations Asanka!!

 On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
  wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya 
 hasit...@wso2.com wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com
 *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Pamod Sylvester *
 *Senior Software Engineer *
Integration Technologies Team, WSO2 Inc.; http://wso2.com
email: pa...@wso2.com cell: 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Kasun De Silva
Congrats Asanka!!!

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Thu, Nov 6, 2014 at 12:24 PM, Pamod Sylvester pa...@wso2.com wrote:

 Congratulations Asanka !

 On Thu, Nov 6, 2014 at 12:00 PM, Hasintha Indrajee hasin...@wso2.com
 wrote:

 Congratulations Asanka !!

 On Thu, Nov 6, 2014 at 10:26 AM, Denuwanthi De Silva denuwan...@wso2.com
  wrote:

 Congratulations Asanka!!

 On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara 
 sachi...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya 
 hasit...@wso2.com wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
  wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2
 Inc. *

 *lean . enterprise . middleware |  http://wso2.com
 http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Suhan Dharmasuriya
Congrats Asanka!!!

On Thu, Nov 6, 2014 at 12:26 PM, Kasun De Silva kas...@wso2.com wrote:

 Congrats Asanka!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Nov 6, 2014 at 12:24 PM, Pamod Sylvester pa...@wso2.com wrote:

 Congratulations Asanka !

 On Thu, Nov 6, 2014 at 12:00 PM, Hasintha Indrajee hasin...@wso2.com
 wrote:

 Congratulations Asanka !!

 On Thu, Nov 6, 2014 at 10:26 AM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

 Congratulations Asanka!!

 On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
  wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Asanka,.!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara 
 sachi...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya 
 hasit...@wso2.com wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara 
 hars...@wso2.com wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2
 Inc. *

 *lean . enterprise . middleware |  http://wso2.com
 http://wso2.com *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev 

Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-05 Thread Malithi Edirisinghe
Hi Johann,

Sure. I will try as you have suggested.

Thanks,
Malithi.

On Wed, Nov 5, 2014 at 11:19 PM, Johann Nallathamby joh...@wso2.com wrote:

 Can you try configuring two IS instances, with hostnames, one with
 localhost (default) and one with the IP of the machine. Even 127.0.0.1
 should work. This way you don't need to change anything in /etc/hosts.

 On Wed, Nov 5, 2014 at 12:37 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Malithi,

 Changing /etc/hosts at test runtime is not recommended. You cannot edit
 this file without super user privileges. And our tests are public, so
 anybody should be able to run the tests thus accessing system files of test
 execution environment will be a problem.

 You need to write these cases as platform tests.  For the time being you
 can assume two IS instances are running in different hosts and go ahead
 with test cases writing. Our plan is to provide automated product
 deployment framework in future, so once it is available you can get those
 tests cases fully automated.

 Please refer how MB team wrote their platform tests at
 https://github.com/wso2-dev/product-mb/tree/master/modules/integration/tests-platform

 Thanks,
 Krishantha.

 On Wed, Nov 5, 2014 at 11:59 AM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Waruna,

 The problem is changing the etc/hosts in automation tests. I don't think
 it's recommended when writing integrations tests.

 Hope there would be some better solution for this.

 Thanks,
 Malithi.

 On Wed, Nov 5, 2014 at 11:49 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Malithi,

 To overcome session cookie problem pls look at[1].

 [1]
 http://warunaperera.blogspot.com/2014/06/enablingsso-for-wso2-servers-overcome.html

 On Tue, Nov 4, 2014 at 11:06 PM, Malithi Edirisinghe malit...@wso2.com
  wrote:

 Hi all,

 I'm working on automating the OpenID to SAML federation flow. At the
 moment OpenID implementation on IS 5.1.0 depends on the session, which
 would be fixed in future. Hence when I start two IS instances with the 
 same
 hostname changing only the port the OpenID federation flow breaks since 
 the
 cookie is bound to the hostname and this overwrites each other's session
 information resulting in lost sessions. Thus, I need to start two IS
 instances that bind to different hostnames.
 I would like to know whether this is possible with TAF 4.2.8 or how
 could we achieve this scenario ?

 Thanks,
 Malithi.

 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev