Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Inosh Perera
+1 for Malith's idea. I think It'll suite best for our scenario.

Regards,
Inosh

On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551

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




-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Chan
Hi guys,
Based on all the replies - what I understand is - we need to use an Event
Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
service to pull data from the RDBMS. And then poll that data from the
jaggery service. I am not sure whether we have web sockets support in the
jaggery version we are using or whether we support web sockets at all. I am
adding @sameeraM and @supunM to confirm this.

@Lasantha currently we have written a Data Publisher for BAM. Do we need to
use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
Publisher we wrote?

@Dilini what was the strategy used on the DEBS dashboard?

(Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

Cheers~

On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




-- 
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


[Dev] Encrypted content found in registry

2014-09-26 Thread Susinda Perera
 Hi All

Following is a list of $subject, Will there be a problem if someone changes
the private key in production? If so what would be the solution or
workaround.


  *Server* *Data* *Registry location*  Common KeyStore info
governance/repository/security/key-stores/  Common Logger config info
config/repository/components/org.wso2.carbon.logging/loggers/  GREG Report
Schedule configuration info
config/repository/components/org.wso2.carbon.registry.reporting/configurations/
BAM JMX profiles
governance/repository/components/org.wso2.carbon.publish.jmx.agent/
 ESB BAM server profiles config/bamServerProfiles  APIM BAM server profiles
config/bamServerProfiles  APIM Secure endpoints
config/repository/components/secure-vault  IS Policies
governance/repository/identity/entitlement/  DSS Passwords of ndatasource
configuration config/repository/components/org.wso2.carbon.ndatasource



Thanks


-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Supun Malinga
We do have WS support from tomcat level in AS 6. So jaggery apps too should
be able to use that. Not too sure if jaggery does that already.

thanks,

On Fri, Sep 26, 2014 at 11:32 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 Based on all the replies - what I understand is - we need to use an Event
 Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
 service to pull data from the RDBMS. And then poll that data from the
 jaggery service. I am not sure whether we have web sockets support in the
 jaggery version we are using or whether we support web sockets at all. I am
 adding @sameeraM and @supunM to confirm this.

 @Lasantha currently we have written a Data Publisher for BAM. Do we need
 to use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
 Publisher we wrote?

 @Dilini what was the strategy used on the DEBS dashboard?

 (Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

 Cheers~

 On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
 wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




 --
 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*




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Lasantha Fernando
On 26 September 2014 11:32, Chan duli...@wso2.com wrote:

 Hi guys,
 Based on all the replies - what I understand is - we need to use an Event
 Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
 service to pull data from the RDBMS. And then poll that data from the
 jaggery service. I am not sure whether we have web sockets support in the
 jaggery version we are using or whether we support web sockets at all. I am
 adding @sameeraM and @supunM to confirm this.

 @Lasantha currently we have written a Data Publisher for BAM. Do we need
 to use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
 Publisher we wrote?


Hi Chan,

You can use the BAM (Thrift) Data Publisher directly to push data to CEP.
For the RDBMS case, there is already a Gadget Gen tool written by Tanya
which generates the jaggery service to pull data from RDBMS. Websocket and
Cassandra support for this gadget gen tool is planned, but not yet
implemented AFAIK. If you are publishing events to anything other than
RDBMS, then you would have to write your own jaggery  service to pull data.

Thanks,


 @Dilini what was the strategy used on the DEBS dashboard?

 (Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

 Cheers~

 On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
 wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




 --
 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*




-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Dilini Muthumala
Hi Chan,

In most of the real-time scenarios, data need not be persisted; hence it's
ideal to publish data to a dashboard directly, without writing those to a
database and then polling from it.

To publish data to a dashboard directly, you can try using the CEP
Websocket Output Adaptors, which is available in the current development
branch of CEP, like Lasantha has suggested. AFAIK, websocket is a good
transport to publish data to a dashboard.

Here's a sample code snippet for a javascript client, to read data from a
CEP websocket output adaptor.

$(function () {

url = 'ws://localhost:9763/outputwebsocket/TestWebsocketAdaptorLocal/abc';
ws = new WebSocket(url);

ws.onmessage = function(event) {
redrawGraph();
};
});

function redrawGraph() {
//implement logic to redraw the graph.
}

Here we don't do any polling, but in the event we receive any new data, we
redraw the graphs in the dashboard.


what was the strategy used on the DEBS dashboard?

Websocket Adaptors weren't available those days, so we used a webservice to
which the publsher pushed data; Then the dashboard-client polled data from
the webservice every 'n' milliseconds, and redrew the graphs.

Hope this helps,

Regards,
Dilini

On Fri, Sep 26, 2014 at 11:41 AM, Lasantha Fernando lasan...@wso2.com
wrote:



 On 26 September 2014 11:32, Chan duli...@wso2.com wrote:

 Hi guys,
 Based on all the replies - what I understand is - we need to use an Event
 Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
 service to pull data from the RDBMS. And then poll that data from the
 jaggery service. I am not sure whether we have web sockets support in the
 jaggery version we are using or whether we support web sockets at all. I am
 adding @sameeraM and @supunM to confirm this.

 @Lasantha currently we have written a Data Publisher for BAM. Do we need
 to use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
 Publisher we wrote?


 Hi Chan,

 You can use the BAM (Thrift) Data Publisher directly to push data to CEP.
 For the RDBMS case, there is already a Gadget Gen tool written by Tanya
 which generates the jaggery service to pull data from RDBMS. Websocket and
 Cassandra support for this gadget gen tool is planned, but not yet
 implemented AFAIK. If you are publishing events to anything other than
 RDBMS, then you would have to write your own jaggery  service to pull data.

 Thanks,


 @Dilini what was the strategy used on the DEBS dashboard?

 (Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

 Cheers~

 On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
 wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




 --
 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 

Re: [Dev] Making Realtime Dashboards

2014-09-26 Thread Dakshika Jayathilaka
Hi Chan,

Jaggery supports for WS.

http://jaggeryjs.org/documentation.jag?api=ws

UES supports for WS enabled gadgets as wel..

https://docs.wso2.com/display/UES100/Creating+WebSocket+Enabled+Gadgets





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

On Fri, Sep 26, 2014 at 11:41 AM, Supun Malinga sup...@wso2.com wrote:

 We do have WS support from tomcat level in AS 6. So jaggery apps too
 should be able to use that. Not too sure if jaggery does that already.

 thanks,

 On Fri, Sep 26, 2014 at 11:32 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 Based on all the replies - what I understand is - we need to use an Event
 Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
 service to pull data from the RDBMS. And then poll that data from the
 jaggery service. I am not sure whether we have web sockets support in the
 jaggery version we are using or whether we support web sockets at all. I am
 adding @sameeraM and @supunM to confirm this.

 @Lasantha currently we have written a Data Publisher for BAM. Do we need
 to use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
 Publisher we wrote?

 @Dilini what was the strategy used on the DEBS dashboard?

 (Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

 Cheers~

 On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
 wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




 --
 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*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

 ___
 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] Making Realtime Dashboards

2014-09-26 Thread Supun Malinga
On Fri, Sep 26, 2014 at 11:41 AM, Supun Malinga sup...@wso2.com wrote:

 We do have WS support from tomcat level in AS 6. So jaggery apps too
 should be able to use that. Not too sure if jaggery does that already.

Correction AS 5.2.1 supports WS as well.


 thanks,

 On Fri, Sep 26, 2014 at 11:32 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 Based on all the replies - what I understand is - we need to use an Event
 Sink (Output adaptor) to send all data to a RDBMS. Then create a jaggery
 service to pull data from the RDBMS. And then poll that data from the
 jaggery service. I am not sure whether we have web sockets support in the
 jaggery version we are using or whether we support web sockets at all. I am
 adding @sameeraM and @supunM to confirm this.

 @Lasantha currently we have written a Data Publisher for BAM. Do we need
 to use the HTTPInput adaptor to push data to CEP or can we use the BAM Data
 Publisher we wrote?

 @Dilini what was the strategy used on the DEBS dashboard?

 (Jaggery version we are using is 0.9.0.ALPHA4.wso2v3)

 Cheers~

 On Fri, Sep 26, 2014 at 11:25 AM, Lasantha Fernando lasan...@wso2.com
 wrote:

 Hi Chan,

 You can't poll data from Cassandra as yet for the real-time dashboard.
 Polling from RDBMS databases is supported currently from UES. Also you can
 create a web service and poll data from there. I think that was the
 approach used by Dilini for DEBS dashboard. You might be able to try
 websockets as well which is available in the current development branch of
 CEP. Haven't tried it out though.

 @Dilini, can you add more regarding this if possible?

 Thanks,
 Lasantha

 On 26 September 2014 11:00, Malith Dhanushka mal...@wso2.com wrote:

 In realtime analytics , It doesn't poll data from Cassandra. Rather you
 can utilize preferred output adapter[1] to push results of execution plans
 to dashboards.

 [1] https://docs.wso2.com/display/CEP310/Output+Event+Adaptors

 Thanks,

 On Fri, Sep 26, 2014 at 8:35 AM, Chan duli...@wso2.com wrote:

 Hi guys,
 How do we make realtime dashboards for data. Currently the data is
 Published to the Event Receiver (thus persisted to BAM). Do we poll
 cassandra from the dashboard to show realtime dashboards?

 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*

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




 --
 Malith Dhanushka
 Software Engineer - Data Technologies
 *WSO2, Inc. : wso2.com http://wso2.com/*
 *Mobile*  : +94 716 506 693

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




 --
 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*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Commit to Kernel IDENTITY-2747

2014-09-26 Thread Tharindu Edirisinghe
Hi Sameera / Kernel Team,

Please commit patch for [1]. Pull request is in [2].

[1] https://wso2.org/jira/browse/IDENTITY-2747
[2] https://github.com/wso2-dev/carbon4-kernel/pull/120/
-- 

Thanks  Best Regards,

Tharindu Edirisinghe
Software Engineer

*WSO2 Inc*
*email   : tharin...@wso2.com tharin...@wso2.com *
*mobile : +94 775 181586*
*www: :http://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 Commiters += Rajith Siriwardena

2014-09-26 Thread Suhan Dharmasuriya
Congratz Rajith!

On Fri, Sep 26, 2014 at 11:21 AM, Manula Chathurika Thantriwatte 
manu...@wso2.com wrote:

 Congratulations Rajith !!!

 On Fri, Sep 26, 2014 at 11:18 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Rajith ..!!!

 On Fri, Sep 26, 2014 at 10:33 AM, Niranda Perera nira...@wso2.com
 wrote:

 Congrats Rajith! :-)

 On Fri, Sep 26, 2014 at 10:28 AM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Rajith!

 On Fri, Sep 26, 2014 at 10:19 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Rajith!!!

 On Fri, Sep 26, 2014 at 10:12 AM, Jenananthan Yogendran 
 jenanant...@wso2.com wrote:

 Congrats Rajith

 On Fri, Sep 26, 2014 at 10:04 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congrats Rajith..!!

 On Fri, Sep 26, 2014 at 9:59 AM, Ishara Cooray isha...@wso2.com
 wrote:

 Congrats Rajith..!

 Ishara Cooray
 Senior Software Engineer
 Mobile : +9477 262 9512
 WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 On Fri, Sep 26, 2014 at 9:55 AM, Darshana Akalanka Pagoda Arachchi
 darsha...@wso2.com wrote:

 Congratulations Rajith...!!!

 On Fri, Sep 26, 2014 at 9:48 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congrats Rajith !!!

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

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


 On Fri, Sep 26, 2014 at 9:44 AM, Isuru Ranawaka isu...@wso2.com
 wrote:

 Congrats Rajith

 On Fri, Sep 26, 2014 at 9:39 AM, Malintha Adikari 
 malin...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 9:11 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Rajith !

 On Fri, Sep 26, 2014 at 9:08 AM, Rajkumar Rajaratnam 
 rajkum...@wso2.com wrote:

 Congratulations !!!

 On Fri, Sep 26, 2014 at 9:06 AM, Ayesha Dissanayaka 
 aye...@wso2.com wrote:

 Congratulations Rajith!!

 On Fri, Sep 26, 2014 at 9:04 AM, Yasassri Ratnayake 
 yasas...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 8:52 AM, Chamila Adhikarinayake 
 chami...@wso2.com wrote:

 Congratulations!!

 On Fri, Sep 26, 2014 at 8:42 AM, Sajini De Silva 
 saj...@wso2.com wrote:

 Congratulations Rajith!!!

 On Fri, Sep 26, 2014 at 8:38 AM, Sameera Jayaratna 
 samee...@wso2.com wrote:

 Congratulations!!

 On Fri, Sep 26, 2014 at 8:36 AM, Thilini Shanika 
 thili...@wso2.com wrote:

 Congratulations !!

 On Fri, Sep 26, 2014 at 8:30 AM, Darshana Gunawardana 
 darsh...@wso2.com wrote:

 Congratulations Rajith..!!

 On Fri, Sep 26, 2014 at 8:17 AM, Dunith Dhanushka 
 dun...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 7:58 AM, Nipuni Perera 
 nip...@wso2.com wrote:

 Congratulations !!!



 On Fri, Sep 26, 2014 at 6:35 AM, Dakshika
 Jayathilaka daksh...@wso2.com wrote:

 Congratulation Rajith... !!

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

 On Fri, Sep 26, 2014 at 4:35 AM, Amila Maha
 Arachchi ami...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Rajith Siriwardena as a
 WSO2 Committer. Rajith is a member of WSO2 Cloud team 
 and he has done a
 great contribution to WSO2 Cloud and has shown great 
 enthusiasm in his
 work. In recognition of his contribution, he has been 
 voted as a WSO2
 Committer.

 Rajith, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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




 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




 --
 Regards,


 *Darshana Gunawardana*Software Engineer
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859*Lean .
 Enterprise . Middleware

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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


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




 --



 

[Dev] Invitation: Code Review - Integration Testcases @ Fri Sep 26, 2014 3pm - 4pm (kas...@wso2.com)

2014-09-26 Thread Kasun Dissanayake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20140926T093000Z
DTEND:20140926T103000Z
DTSTAMP:20140926T062723Z
ORGANIZER;CN=Kasun Dissanayake:mailto:kas...@wso2.com
UID:sjbd6cm3jn0v65ngiimad9m...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Rajeeva Uthayasangar;X-NUM-GUESTS=0:mailto:raje...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ruwan Yatawara;X-NUM-GUESTS=0:mailto:ruw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dharshana Warusavitharana;X-NUM-GUESTS=0:mailto:dharsha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Jenananthan Yogendran;X-NUM-GUESTS=0:mailto:jenanant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Waruna Perera;X-NUM-GUESTS=0:mailto:waru...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Rushmin Fernando;X-NUM-GUESTS=0:mailto:rush...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Thilini Shanika;X-NUM-GUESTS=0:mailto:thili...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Dias;X-NUM-GUESTS=0:mailto:nuw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=kas...@wso2.com;X-NUM-GUESTS=0:mailto:kas...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com
CREATED:20140926T062318Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEWeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGV2QHdzbzIub3Jntok=MTUja2Fz
 dW51QHdzbzIuY29tZjU2ZGQxNDA4OWVmOGRkOGJjNmQ4YmQ0MmI1OTcyNGVjYjc5YzVlZgctz=
 Asia/Colombohl=en.
LAST-MODIFIED:20140926T062723Z
LOCATION:LK - 5th Floor Garage
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - Integration Testcases
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Dev] Out of sequence response Exception in Thrift client

2014-09-26 Thread Sajini De Silva
Hi,

I'm getting following exception in a java thrift client when doing a server
call.

org.apache.thrift.TApplicationException: getSlotInfo failed: out of
sequence response
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:76)
at
org.wso2.andes.server.slot.thrift.gen.SlotManagementService$Client.recv_getSlotInfo(SlotManagementService.java:90)
at
org.wso2.andes.server.slot.thrift.gen.SlotManagementService$Client.getSlotInfo(SlotManagementService.java:76)
at
org.wso2.andes.server.slot.thrift.MBThriftClient.getSlot(MBThriftClient.java:55)
at
org.wso2.andes.server.slot.SlotDeliveryWorker.run(SlotDeliveryWorker.java:96)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Does anybody know the cause for this exception?


-- 
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] APPM -Please review and merge the pull request

2014-09-26 Thread Jenananthan Yogendran
Hi
Fixing APPM-112-Support to copy and make new version of application

Jira :https://wso2.org/jira/browse/APPM-112

Pull request :https://github.com/wso2/app-manager/pull/37

-- 
Jenananthan Yogendran
*Software Engineer,*
*WSO2 inc., http://wso2.com http://wso2.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Getting Following error in BAM at start up. But server get started even
with that error. May be something we can ignore. Other than that all
puppetized servers are up without errors. But having troubles in stratos
since the db names are changed from dev setup in puppet.

TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
{org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
-  InvalidRequestException(why:You have not logged in)
{org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
me.prettyprint.hector.api.exceptions.HInvalidRequestException:
InvalidRequestException(why:You have not logged in)
at
me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
at
me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:164)
at
me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:151)
at
me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
at
me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
at
org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:115)
at
org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:128)
at
org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:132)
at
org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:82)
at
org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Gayan Dhanushka
Hi Danushka,

Just to confirm, this is BAM 2.4.1 right ?

Thanks
Gayan

On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
wrote:

 Getting Following error in BAM at start up. But server get started even
 with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not logged in)
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 me.prettyprint.hector.api.exceptions.HInvalidRequestException:
 InvalidRequestException(why:You have not logged in)
 at
 me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:164)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:151)
 at
 me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
 at
 me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
 at
 me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:115)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:128)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:132)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:82)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Yes

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 1:39 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 Just to confirm, this is BAM 2.4.1 right ?

 Thanks
 Gayan

 On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Getting Following error in BAM at start up. But server get started even
 with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not logged in)
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 me.prettyprint.hector.api.exceptions.HInvalidRequestException:
 InvalidRequestException(why:You have not logged in)
 at
 me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:164)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:151)
 at
 me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
 at
 me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
 at
 me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:115)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:128)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:132)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:82)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 

Re: [Dev] Out of sequence response Exception in Thrift client

2014-09-26 Thread Sajini De Silva
Hi,

Synchronizing methods in client side solved this problem.

Thank you,
Sajini.

On Fri, Sep 26, 2014 at 12:15 PM, Sajini De Silva saj...@wso2.com wrote:

 Hi,

 I'm getting following exception in a java thrift client when doing a
 server call.

 org.apache.thrift.TApplicationException: getSlotInfo failed: out of
 sequence response
 at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:76)
 at
 org.wso2.andes.server.slot.thrift.gen.SlotManagementService$Client.recv_getSlotInfo(SlotManagementService.java:90)
 at
 org.wso2.andes.server.slot.thrift.gen.SlotManagementService$Client.getSlotInfo(SlotManagementService.java:76)
 at
 org.wso2.andes.server.slot.thrift.MBThriftClient.getSlot(MBThriftClient.java:55)
 at
 org.wso2.andes.server.slot.SlotDeliveryWorker.run(SlotDeliveryWorker.java:96)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)

 Does anybody know the cause for this exception?


 --
 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




-- 
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] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Gayan Dhanushka
This was an issue in authenticating with Cassandra when using email
addresses as user names. This is fixed in the latest code.

On Fri, Sep 26, 2014 at 1:40 PM, Danushka Fernando danush...@wso2.com
wrote:

 Yes

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 1:39 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 Just to confirm, this is BAM 2.4.1 right ?

 Thanks
 Gayan

 On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Getting Following error in BAM at start up. But server get started even
 with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not logged in)
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 me.prettyprint.hector.api.exceptions.HInvalidRequestException:
 InvalidRequestException(why:You have not logged in)
 at
 me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:164)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:151)
 at
 me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
 at
 me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
 at
 me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:115)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:128)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:132)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:82)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 

[Dev] Please merge the pull request

2014-09-26 Thread Firzhan Naqash
Please merge the pull request [1] where I have replaced the
deprecated PrivilegedCarbonContext.getCurrentContex method with
new CarbonContext.getThreadLocalCarbonContext() method

[1] https://github.com/wso2-dev/carbon-business-process/pull/6


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


Re: [Dev] Please merge the pull request

2014-09-26 Thread Firzhan Naqash
[ Adding ] Nandika

Regards,
Firzhan

On Fri, Sep 26, 2014 at 2:40 PM, Firzhan Naqash firz...@wso2.com wrote:


 Please merge the pull request [1] where I have replaced the
 deprecated PrivilegedCarbonContext.getCurrentContex method with
 new CarbonContext.getThreadLocalCarbonContext() method

 [1] https://github.com/wso2-dev/carbon-business-process/pull/6


 Regards,
 Firzhan

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


Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
All the servers are up and running in 16.4. Following are the host entries.

192.168.18.193 puppet
192.168.16.4 mysql1.appfactory.private.wso2.com
192.168.16.4 mysql2.appfactory.private.wso2.com
192.168.16.4 appfactoryelb.appfactory.private.wso2.com
192.168.16.4 ldap.appfactory.private.wso2.com
192.168.16.4 identity.appfactory.private.wso2.com
192.168.16.4 cloudmgt.appfactory.private.wso2.com
192.168.16.4 issue-tracker.appfactory.private.wso2.com
192.168.16.4 apps.appfactory.private.wso2.com
192.168.16.4 messaging.appfactory.private.wso2.com
192.168.16.4 process.appfactory.private.wso2.com
192.168.16.4 jenkins.appfactory.private.wso2.com
192.168.16.4 storage.appfactory.private.wso2.com
192.168.16.4 git.appfactory.private.wso2.com
192.168.16.4 s2git.appfactory.private.wso2.com
192.168.16.4 dashboards.appfactory.private.wso2.com
192.168.16.4 keymanager.api.appfactory.private.wso2.com
192.168.16.4 gateway.api.appfactory.private.wso2.com
192.168.16.4 api.appfactory.private.wso2.com
192.168.16.4 monitor.appfactory.private.wso2.com
192.168.16.4 receiver1.appfactory.private.wso2.com
192.168.16.4 node0.cassandra.appfactory.private.wso2.com
192.168.16.4 hadoop0.appfactory.private.wso2.com
192.168.16.4 sc.dev.appfactory.private.wso2.com
192.168.16.4 sc.test.appfactory.private.wso2.com
192.168.16.4 sc.appfactory.private.wso2.com
192.168.16.4 cc.stratos.apache.org
192.168.16.4 as.stratos.apache.org
192.168.18.235 appserver.dev.appfactory.private.wso2.com
192.168.18.236 appserver.test.appfactory.private.wso2.com
192.168.18.230 appserver.appfactory.private.wso2.com
192.168.16.4 mysql-dev-01.appfactory.private.wso2.com
192.168.16.4 mysql-test-01.appfactory.private.wso2.com
192.168.16.4 mysql-prod-01.appfactory.private.wso2.com
10.0.40.25 clouddb-1.cnrakni3i9xw.us-east-1.rds.amazonaws.com
10.0.40.170 clouddb-2.cnrakni3i9xw.us-east-1.rds.amazonaws.com

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 2:23 PM, Gayan Dhanushka gay...@wso2.com wrote:

 This was an issue in authenticating with Cassandra when using email
 addresses as user names. This is fixed in the latest code.

 On Fri, Sep 26, 2014 at 1:40 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Yes

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 1:39 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 Just to confirm, this is BAM 2.4.1 right ?

 Thanks
 Gayan

 On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Getting Following error in BAM at start up. But server get started even
 with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not logged in)
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 me.prettyprint.hector.api.exceptions.HInvalidRequestException:
 InvalidRequestException(why:You have not logged in)
 at
 me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:164)
 at
 me.prettyprint.cassandra.service.ThriftCluster$6.execute(ThriftCluster.java:151)
 at
 me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)
 at
 me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)
 at
 me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:115)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:128)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:132)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:82)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 

Re: [Dev] Please merge the pull request

2014-09-26 Thread Nandika Jayawardana
done.

Thanks
Nandika

On Fri, Sep 26, 2014 at 2:26 PM, Firzhan Naqash firz...@wso2.com wrote:

 [ Adding ] Nandika

 Regards,
 Firzhan

 On Fri, Sep 26, 2014 at 2:40 PM, Firzhan Naqash firz...@wso2.com wrote:


 Please merge the pull request [1] where I have replaced the
 deprecated PrivilegedCarbonContext.getCurrentContex method with
 new CarbonContext.getThreadLocalCarbonContext() method

 [1] https://github.com/wso2-dev/carbon-business-process/pull/6


 Regards,
 Firzhan





-- 
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


Re: [Dev] APPM -Please review and merge the pull request

2014-09-26 Thread Dinusha Senanayaka
Hi Jena,

Merged the pull request.

Regards,
Dinsuha.

On Fri, Sep 26, 2014 at 12:32 PM, Jenananthan Yogendran 
jenanant...@wso2.com wrote:

 Hi
 Fixing APPM-112-Support to copy and make new version of application

 Jira :https://wso2.org/jira/browse/APPM-112

 Pull request :https://github.com/wso2/app-manager/pull/37

 --
 Jenananthan Yogendran
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*




-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Hi all

In AF configuration following config is there.

BPShttps://process.appfactory.private.wso2.com:9543/services/
/BPS

And host entry is there in the hosts file too.

I am getting following error. There is a . instead of a : seperating host
name and port. Any idea?

TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
{org.apache.axis2.transport.http.HTTPSender}
java.net.UnknownHostException: *process.appfactory.private.wso2.com.9543*
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
at
sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
at java.lang.Thread.run(Thread.java:744)



Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 2:30 PM, Danushka Fernando danush...@wso2.com
wrote:

 All the servers are up and running in 16.4. Following are the host
 entries.

 192.168.18.193 puppet
 192.168.16.4 mysql1.appfactory.private.wso2.com
 192.168.16.4 mysql2.appfactory.private.wso2.com
 192.168.16.4 appfactoryelb.appfactory.private.wso2.com
 192.168.16.4 ldap.appfactory.private.wso2.com
 192.168.16.4 identity.appfactory.private.wso2.com
 192.168.16.4 cloudmgt.appfactory.private.wso2.com
 192.168.16.4 issue-tracker.appfactory.private.wso2.com
 192.168.16.4 apps.appfactory.private.wso2.com
 192.168.16.4 messaging.appfactory.private.wso2.com
 192.168.16.4 process.appfactory.private.wso2.com
 192.168.16.4 jenkins.appfactory.private.wso2.com
 192.168.16.4 storage.appfactory.private.wso2.com
 192.168.16.4 git.appfactory.private.wso2.com
 192.168.16.4 s2git.appfactory.private.wso2.com
 192.168.16.4 dashboards.appfactory.private.wso2.com
 192.168.16.4 keymanager.api.appfactory.private.wso2.com
 192.168.16.4 gateway.api.appfactory.private.wso2.com
 192.168.16.4 api.appfactory.private.wso2.com
 192.168.16.4 monitor.appfactory.private.wso2.com
 192.168.16.4 receiver1.appfactory.private.wso2.com
 192.168.16.4 node0.cassandra.appfactory.private.wso2.com
 192.168.16.4 hadoop0.appfactory.private.wso2.com
 192.168.16.4 sc.dev.appfactory.private.wso2.com
 192.168.16.4 sc.test.appfactory.private.wso2.com
 192.168.16.4 sc.appfactory.private.wso2.com
 192.168.16.4 cc.stratos.apache.org
 192.168.16.4 as.stratos.apache.org
 192.168.18.235 appserver.dev.appfactory.private.wso2.com
 192.168.18.236 appserver.test.appfactory.private.wso2.com
 192.168.18.230 appserver.appfactory.private.wso2.com
 192.168.16.4 mysql-dev-01.appfactory.private.wso2.com
 192.168.16.4 mysql-test-01.appfactory.private.wso2.com
 192.168.16.4 mysql-prod-01.appfactory.private.wso2.com
 10.0.40.25 clouddb-1.cnrakni3i9xw.us-east-1.rds.amazonaws.com
 10.0.40.170 clouddb-2.cnrakni3i9xw.us-east-1.rds.amazonaws.com

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:23 PM, Gayan Dhanushka gay...@wso2.com wrote:

 This was an issue in authenticating with Cassandra when using email
 addresses as user names. This is fixed in the latest code.

 On Fri, Sep 26, 2014 at 1:40 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Yes

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 1:39 PM, Gayan Dhanushka gay...@wso2.com
 wrote:

 Hi Danushka,

 Just to confirm, this is BAM 2.4.1 right ?

 Thanks
 Gayan

 On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Getting Following error in BAM at start up. But server get started
 even with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not logged in)
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 me.prettyprint.hector.api.exceptions.HInvalidRequestException:
 InvalidRequestException(why:You have not logged in)
 at
 

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Found it in
cloudmgt/site/conf/cloud-mgt.xml

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 2:45 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi all

 In AF configuration following config is there.

 BPShttps://process.appfactory.private.wso2.com:9543/services/
 /BPS

 And host entry is there in the hosts file too.

 I am getting following error. There is a . instead of a : seperating host
 name and port. Any idea?

 TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
 https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
 {org.apache.axis2.transport.http.HTTPSender}
 java.net.UnknownHostException: *process.appfactory.private.wso2.com.9543*
 at
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
 at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
 at
 sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
 at
 org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
 at
 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
 at
 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
 at java.lang.Thread.run(Thread.java:744)



 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:30 PM, Danushka Fernando danush...@wso2.com
 wrote:

 All the servers are up and running in 16.4. Following are the host
 entries.

 192.168.18.193 puppet
 192.168.16.4 mysql1.appfactory.private.wso2.com
 192.168.16.4 mysql2.appfactory.private.wso2.com
 192.168.16.4 appfactoryelb.appfactory.private.wso2.com
 192.168.16.4 ldap.appfactory.private.wso2.com
 192.168.16.4 identity.appfactory.private.wso2.com
 192.168.16.4 cloudmgt.appfactory.private.wso2.com
 192.168.16.4 issue-tracker.appfactory.private.wso2.com
 192.168.16.4 apps.appfactory.private.wso2.com
 192.168.16.4 messaging.appfactory.private.wso2.com
 192.168.16.4 process.appfactory.private.wso2.com
 192.168.16.4 jenkins.appfactory.private.wso2.com
 192.168.16.4 storage.appfactory.private.wso2.com
 192.168.16.4 git.appfactory.private.wso2.com
 192.168.16.4 s2git.appfactory.private.wso2.com
 192.168.16.4 dashboards.appfactory.private.wso2.com
 192.168.16.4 keymanager.api.appfactory.private.wso2.com
 192.168.16.4 gateway.api.appfactory.private.wso2.com
 192.168.16.4 api.appfactory.private.wso2.com
 192.168.16.4 monitor.appfactory.private.wso2.com
 192.168.16.4 receiver1.appfactory.private.wso2.com
 192.168.16.4 node0.cassandra.appfactory.private.wso2.com
 192.168.16.4 hadoop0.appfactory.private.wso2.com
 192.168.16.4 sc.dev.appfactory.private.wso2.com
 192.168.16.4 sc.test.appfactory.private.wso2.com
 192.168.16.4 sc.appfactory.private.wso2.com
 192.168.16.4 cc.stratos.apache.org
 192.168.16.4 as.stratos.apache.org
 192.168.18.235 appserver.dev.appfactory.private.wso2.com
 192.168.18.236 appserver.test.appfactory.private.wso2.com
 192.168.18.230 appserver.appfactory.private.wso2.com
 192.168.16.4 mysql-dev-01.appfactory.private.wso2.com
 192.168.16.4 mysql-test-01.appfactory.private.wso2.com
 192.168.16.4 mysql-prod-01.appfactory.private.wso2.com
 10.0.40.25 clouddb-1.cnrakni3i9xw.us-east-1.rds.amazonaws.com
 10.0.40.170 clouddb-2.cnrakni3i9xw.us-east-1.rds.amazonaws.com

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:23 PM, Gayan Dhanushka gay...@wso2.com wrote:

 This was an issue in authenticating with Cassandra when using email
 addresses as user names. This is fixed in the latest code.

 On Fri, Sep 26, 2014 at 1:40 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Yes

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 1:39 PM, Gayan Dhanushka gay...@wso2.com
 wrote:

 Hi Danushka,

 Just to confirm, this is BAM 2.4.1 right ?

 Thanks
 Gayan

 On Fri, Sep 26, 2014 at 1:36 PM, Danushka Fernando danush...@wso2.com
  wrote:

 Getting Following error in BAM at start up. But server get started
 even with that error. May be something we can ignore. Other than that all
 puppetized servers are up without errors. But having troubles in stratos
 since the db names are changed from dev setup in puppet.

 TID: [0] [BAM] [2014-09-26 13:08:56,242] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  InvalidRequestException(why:You have not 

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Can see these in AF repeatedly

TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
checking that localhost(127.0.0.1):9160 is a member of the ring since there
are no live hosts
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
checking that localhost(127.0.0.1):9160 is a member of the ring since there
are no live hosts
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
localhost(127.0.0.1):9160 host still appears to be down: Unable to open
transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
Connection refused
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
localhost(127.0.0.1):9160 host still appears to be down: Unable to open
transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
Connection refused
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
Host retry status false with host: localhost(127.0.0.1):9160
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
Host retry status false with host: localhost(127.0.0.1):9160
{me.prettyprint.cassandra.connection.CassandraHostRetryService}
TID: [0] [AF] [2014-09-26 14:51:31,135] ERROR
{me.prettyprint.cassandra.connection.NodeDiscovery} -  Discovery Service
failed attempt to connect CassandraHost
{me.prettyprint.cassandra.connection.NodeDiscovery}
java.lang.NullPointerException
at
me.prettyprint.cassandra.connection.NodeDiscovery.discoverNodes(NodeDiscovery.java:79)
at
me.prettyprint.cassandra.connection.NodeDiscovery.doAddNodes(NodeDiscovery.java:52)
at
me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(NodeAutoDiscoverService.java:45)
at
me.prettyprint.cassandra.connection.NodeAutoDiscoverService$QueryRing.run(NodeAutoDiscoverService.java:51)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)




Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 2:48 PM, Danushka Fernando danush...@wso2.com
wrote:

 Found it in
 cloudmgt/site/conf/cloud-mgt.xml

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:45 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all

 In AF configuration following config is there.

 BPShttps://process.appfactory.private.wso2.com:9543/services/
 /BPS

 And host entry is there in the hosts file too.

 I am getting following error. There is a . instead of a : seperating host
 name and port. Any idea?

 TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
 https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
 {org.apache.axis2.transport.http.HTTPSender}
 java.net.UnknownHostException: *process.appfactory.private.wso2.com.9543*
 at
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
 at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
 at
 sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
 at
 org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
 at
 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
 at
 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
 at java.lang.Thread.run(Thread.java:744)



 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Manjula Rathnayake
Hi Danushka,

This seems to be a known issue, please check [Dev] [DEV][ES]Discovery
Service failed attempt to connect CassandraHost.

thank you.

On Fri, Sep 26, 2014 at 2:52 PM, Danushka Fernando danush...@wso2.com
wrote:

 Can see these in AF repeatedly

 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,135] ERROR
 {me.prettyprint.cassandra.connection.NodeDiscovery} -  Discovery Service
 failed attempt to connect CassandraHost
 {me.prettyprint.cassandra.connection.NodeDiscovery}
 java.lang.NullPointerException
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.discoverNodes(NodeDiscovery.java:79)
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.doAddNodes(NodeDiscovery.java:52)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(NodeAutoDiscoverService.java:45)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService$QueryRing.run(NodeAutoDiscoverService.java:51)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)




 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:48 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Found it in
 cloudmgt/site/conf/cloud-mgt.xml

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:45 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all

 In AF configuration following config is there.

 BPShttps://process.appfactory.private.wso2.com:9543/services/
 /BPS

 And host entry is there in the hosts file too.

 I am getting following error. There is a . instead of a : seperating
 host name and port. Any idea?

 TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
 https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
 {org.apache.axis2.transport.http.HTTPSender}
 java.net.UnknownHostException:
 *process.appfactory.private.wso2.com.9543*
 at
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
 at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
 at
 sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
 at
 org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
 at
 

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Gayan Dhanushka
Hi Danushka,

This is a bug in Hector [1]. Seems like this can be ignored.

[1] https://wso2.org/jira/browse/SS-308

On Fri, Sep 26, 2014 at 2:52 PM, Danushka Fernando danush...@wso2.com
wrote:

 Can see these in AF repeatedly

 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,135] ERROR
 {me.prettyprint.cassandra.connection.NodeDiscovery} -  Discovery Service
 failed attempt to connect CassandraHost
 {me.prettyprint.cassandra.connection.NodeDiscovery}
 java.lang.NullPointerException
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.discoverNodes(NodeDiscovery.java:79)
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.doAddNodes(NodeDiscovery.java:52)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(NodeAutoDiscoverService.java:45)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService$QueryRing.run(NodeAutoDiscoverService.java:51)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)




 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:48 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Found it in
 cloudmgt/site/conf/cloud-mgt.xml

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:45 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all

 In AF configuration following config is there.

 BPShttps://process.appfactory.private.wso2.com:9543/services/
 /BPS

 And host entry is there in the hosts file too.

 I am getting following error. There is a . instead of a : seperating
 host name and port. Any idea?

 TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
 https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
 {org.apache.axis2.transport.http.HTTPSender}
 java.net.UnknownHostException:
 *process.appfactory.private.wso2.com.9543*
 at
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
 at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
 at
 sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
 at
 org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
 at
 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
 at
 

[Dev] Getting exception in Installing BAM Mediator Aggregate Feature

2014-09-26 Thread Aiyadurai Rajeevan
Hi All,

I'm going through the link[1] to configure BAM Mediator, but when i send a
request to proxy using addurl command as suggested in the article i could
see the response in the client console but could see the JSON data in the
BAM server console with some exception as ERROR
{org.wso2.carbon.databridge.streamdefn.registry.datastore.RegistryStreamDefinitionStore}
-  Error in saving Stream Definition

seems like exception occurred while inserting data into DB.

And i couldn't find the *Cassandra Explorer* in the BAM server as explained
in the tutorial.

Appreciate if someone could please let me know how to recover this.

attached herewith the error log.

[1] https://docs.wso2.com/display/BAM241/Setting+up+BAM+Mediator

Thanks  Regards,
S.A.Rajeevan
Software Engineer WSO2 Inc
E-Mail: rajeev...@wso2.com | Mobile : +94776411636


BAM server excption log.pdf
Description: Adobe PDF document
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Code Review - Integration Testcases @ Fri Sep 26, 2014 3pm - 4pm (Dinusha Senanayaka)

2014-09-26 Thread Dinusha Senanayaka
Code review notes:

- testDeleteApplication() - check 404 status code  instead of response
message.
- Use before  after test framework annotations and include application
creation , publish, subscription  delete there.
- Resource validation need to be done for both authorize  unauthorized
options. Currently it has checked only authorized option.
- Deploy a actual xacml policy and do the xacml policy evaluation. With the
current test case it does not detect if xacml policy deployment get fails.

Regards,
Dinusha.


On Fri, Sep 26, 2014 at 11:57 AM, Kasun Dissanayake kas...@wso2.com wrote:

 more details »
 https://www.google.com/calendar/event?action=VIEWeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGludXNoYUB3c28yLmNvbQtok=MTUja2FzdW51QHdzbzIuY29tMGRiN2FlMjkwZDAwOGM5YWU1MzA1MTA0YmVkOTYzZmQxYjI1NTAzNQctz=Asia/Colombohl=en
 Code Review - Integration Testcases
 *When*
 Fri Sep 26, 2014 3pm – 4pm Colombo
 *Where*
 LK - 5th Floor Garage (map
 https://maps.google.lk/maps?q=LK+-+5th+Floor+Garagehl=en)
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/kasunu
 https://plus.google.com/hangouts/_/wso2.com/kasunu?hceid=a2FzdW51QHdzbzIuY29t.sjbd6cm3jn0v65ngiimad9m078
 *Calendar*
 Dinusha Senanayaka
 *Who*
 •
 Kasun Dissanayake - organizer
 •
 Dharshana Warusavitharana
 •
 Rajeeva Uthayasangar
 •
 Waruna Perera
 •
 Dinusha Senanayaka
 •
 Ruwan Yatawara
 •
 Sumedha Rubasinghe
 •
 dev@wso2.org
 •
 Nuwan Dias
 •
 Thilini Shanika
 •
 Rushmin Fernando
 •
 Jenananthan Yogendran

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGludXNoYUB3c28yLmNvbQrst=1tok=MTUja2FzdW51QHdzbzIuY29tMGRiN2FlMjkwZDAwOGM5YWU1MzA1MTA0YmVkOTYzZmQxYjI1NTAzNQctz=Asia/Colombohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGludXNoYUB3c28yLmNvbQrst=3tok=MTUja2FzdW51QHdzbzIuY29tMGRiN2FlMjkwZDAwOGM5YWU1MzA1MTA0YmVkOTYzZmQxYjI1NTAzNQctz=Asia/Colombohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGludXNoYUB3c28yLmNvbQrst=2tok=MTUja2FzdW51QHdzbzIuY29tMGRiN2FlMjkwZDAwOGM5YWU1MzA1MTA0YmVkOTYzZmQxYjI1NTAzNQctz=Asia/Colombohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGludXNoYUB3c28yLmNvbQtok=MTUja2FzdW51QHdzbzIuY29tMGRiN2FlMjkwZDAwOGM5YWU1MzA1MTA0YmVkOTYzZmQxYjI1NTAzNQctz=Asia/Colombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account dinu...@wso2.com because you
 are subscribed for invitations on calendar Dinusha Senanayaka.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Request to commit a fix to patch0009

2014-09-26 Thread Kalpa Welivitigoda
Hi Sameera,

Would you please commit the fix for [1] attached herewith to patch0009?

[1] https://wso2.org/jira/browse/CARBON-14965

-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
Index: src/main/java/org/wso2/carbon/core/multitenancy/transports/TenantTransportSender.java
===
--- src/main/java/org/wso2/carbon/core/multitenancy/transports/TenantTransportSender.java	(revision 207444)
+++ src/main/java/org/wso2/carbon/core/multitenancy/transports/TenantTransportSender.java	(working copy)
@@ -83,6 +83,8 @@
 supperTenantAxisConfiguration.getTransportOut(transportOutName));
 
 superTenantOutMessageContext.setEnvelope(msgContext.getEnvelope());
+superTenantOutMessageContext.setProperty(org.apache.synapse.commons.json.JsonInputStream,
+msgContext.getProperty(org.apache.synapse.commons.json.JsonInputStream));
 
 superTenantOutMessageContext.setTo(msgContext.getTo());
 superTenantOutMessageContext.setSoapAction(msgContext.getSoapAction());
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Commit and release hazelcast 3.2.6.wso2v1 orbit bundle to the nexus repo

2014-09-26 Thread Gayashan Amarasinghe
Hi Maheshika,

Can you merge the following pull request and release the bundle to the
nexus please?

https://github.com/wso2/orbit/pull/23

Thanks.
/Gayashan

-- 
*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


Re: [Dev] Commit and release hazelcast 3.2.6.wso2v1 orbit bundle to the nexus repo

2014-09-26 Thread Maheshika Goonetilleke
Hi Gayashan

Released as requested. Please check.



On Fri, Sep 26, 2014 at 5:11 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Hi Maheshika,

 Can you merge the following pull request and release the bundle to the
 nexus please?

 https://github.com/wso2/orbit/pull/23

 Thanks.
 /Gayashan

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

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




-- 

Thanks  Best Regards,

Maheshika Goonetilleke
Engineering Process Coordinator

*WSO2 Inc*
*email   : mahesh...@wso2.com mahesh...@wso2.com*
*mobile : +94 773 596707*
*www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Enterprise Store H2 database growing repeatedly

2014-09-26 Thread Senduran Balasubramaniyam
Hi,

We have noticed that whenever we restart the enterprise store, size of
“ES_STORAGE.lobs.db” is increasing by around 15MB.

Following is our observation (size of ES_HOME/repository/database)
  action size   unpack the ES 3.7M  start the server 20M  restart the server
35M  again a restart 50M  one more restart 66M

Is this a know issue in ES ?
ES version : 1.2.0-SNAPSHOT

Thanks
Senduran
​
-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ http://wso2.com/
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enterprise Store H2 database growing repeatedly

2014-09-26 Thread Senduran Balasubramaniyam
On Fri, Sep 26, 2014 at 5:22 PM, Senduran Balasubramaniyam 
sendu...@wso2.com wrote:

 Hi,

 We have noticed that whenever we restart the enterprise store, size of
 “ES_STORAGE.lobs.db” is increasing by around 15MB.

 Following is our observation (size of ES_HOME/repository/database)
   action size   unpack the ES 3.7M  start the server 20M  restart the
 server 35M  again a restart 50M  one more restart 66M

 Is this a know issue in ES ?
 ES version : 1.2.0-SNAPSHOT

 Thanks
 Senduran
 ​
 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ http://wso2.com/
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integrating Integration test modules to IS server #5

2014-09-26 Thread Johann Nallathamby
Hi Nuwan,

This is great stuff..!! Thank you very much.

Regards,
Johann

On Wed, Sep 24, 2014 at 3:51 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Hi IS Team,
 Please merge the pull request
 https://github.com/wso2-dev/product-is/pull/5. This will add integration
 test modules to the IS and contains the user management test cases.

 Thanks,
 Nuwanw

 --
 Nuwan Wimalasekara
 Senior Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620






-- 
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] Enterprise Store H2 database growing repeatedly

2014-09-26 Thread Sameera Medagammaddegedara
Hi Senduran,

This seems to be caused by the asset resources been deployed more than
once.As a workaround please remove the following folders:

publisher/config/default/gadgets
publisher/config/default/ebooks
publisher/config/default/sites

I have created an issue to track the problem:
https://wso2.org/jira/browse/STORE-517

Thank You,
Sameera

On Fri, Sep 26, 2014 at 5:26 PM, Senduran Balasubramaniyam 
sendu...@wso2.com wrote:



 On Fri, Sep 26, 2014 at 5:22 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi,

 We have noticed that whenever we restart the enterprise store, size of
 “ES_STORAGE.lobs.db” is increasing by around 15MB.

 Following is our observation (size of ES_HOME/repository/database)
   action size   unpack the ES 3.7M  start the server 20M  restart the
 server 35M  again a restart 50M  one more restart 66M

 Is this a know issue in ES ?
 ES version : 1.2.0-SNAPSHOT

 Thanks
 Senduran
 ​
 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 DSS logs out before session timeout

2014-09-26 Thread Shani Ranasinghe
Hi Chamin,

These type of queries should be sent to the dev@ mailing list. Hence adding.

Regarding your query, you are probably using the try it tool on DSS 3.1.1
is it? If so, it is a known issue.

There are issues reported against this.  [1]

[1]
https://wso2.org/jira/browse/WSAS-1549?jql=text%20~%20%22ERROR%20org.wso2.carbon.statistics.ui.StatisticsAdminClient%20Cannot%20get%20service%20stats%22
https://wso2.org/jira/browse/WSAS-1549?jql=text%20%7E%20%22ERROR%20org.wso2.carbon.statistics.ui.StatisticsAdminClient%20Cannot%20get%20service%20stats%22

You can refer the mailing thread [Dev] DSS:The input stream for an
incoming message is null, where the same issue has been discussed.




On Fri, Sep 26, 2014 at 11:33 AM, Chamin Nalinda cha...@wso2.com wrote:

 What is the reason behind WSO2 DSS to sign out automatically before the
 session timeout (i.e. 15 minutes)

 When ever I try to navigate to a new sample after completing one, DSS has
 logged out automatically.

 Can someone explain this ? ( I reckon this is not an error or something :)
 )

 --
 *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




-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Rajith Siriwardena

2014-09-26 Thread Abimaran Kugathasan
Congrats Rajith!

On Fri, Sep 26, 2014 at 11:55 AM, Suhan Dharmasuriya suh...@wso2.com
wrote:

 Congratz Rajith!

 On Fri, Sep 26, 2014 at 11:21 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations Rajith !!!

 On Fri, Sep 26, 2014 at 11:18 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Rajith ..!!!

 On Fri, Sep 26, 2014 at 10:33 AM, Niranda Perera nira...@wso2.com
 wrote:

 Congrats Rajith! :-)

 On Fri, Sep 26, 2014 at 10:28 AM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Rajith!

 On Fri, Sep 26, 2014 at 10:19 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Rajith!!!

 On Fri, Sep 26, 2014 at 10:12 AM, Jenananthan Yogendran 
 jenanant...@wso2.com wrote:

 Congrats Rajith

 On Fri, Sep 26, 2014 at 10:04 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congrats Rajith..!!

 On Fri, Sep 26, 2014 at 9:59 AM, Ishara Cooray isha...@wso2.com
 wrote:

 Congrats Rajith..!

 Ishara Cooray
 Senior Software Engineer
 Mobile : +9477 262 9512
 WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 On Fri, Sep 26, 2014 at 9:55 AM, Darshana Akalanka Pagoda Arachchi
 darsha...@wso2.com wrote:

 Congratulations Rajith...!!!

 On Fri, Sep 26, 2014 at 9:48 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congrats Rajith !!!

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

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


 On Fri, Sep 26, 2014 at 9:44 AM, Isuru Ranawaka isu...@wso2.com
  wrote:

 Congrats Rajith

 On Fri, Sep 26, 2014 at 9:39 AM, Malintha Adikari 
 malin...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 9:11 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Rajith !

 On Fri, Sep 26, 2014 at 9:08 AM, Rajkumar Rajaratnam 
 rajkum...@wso2.com wrote:

 Congratulations !!!

 On Fri, Sep 26, 2014 at 9:06 AM, Ayesha Dissanayaka 
 aye...@wso2.com wrote:

 Congratulations Rajith!!

 On Fri, Sep 26, 2014 at 9:04 AM, Yasassri Ratnayake 
 yasas...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 8:52 AM, Chamila Adhikarinayake 
 chami...@wso2.com wrote:

 Congratulations!!

 On Fri, Sep 26, 2014 at 8:42 AM, Sajini De Silva 
 saj...@wso2.com wrote:

 Congratulations Rajith!!!

 On Fri, Sep 26, 2014 at 8:38 AM, Sameera Jayaratna 
 samee...@wso2.com wrote:

 Congratulations!!

 On Fri, Sep 26, 2014 at 8:36 AM, Thilini Shanika 
 thili...@wso2.com wrote:

 Congratulations !!

 On Fri, Sep 26, 2014 at 8:30 AM, Darshana Gunawardana
 darsh...@wso2.com wrote:

 Congratulations Rajith..!!

 On Fri, Sep 26, 2014 at 8:17 AM, Dunith Dhanushka 
 dun...@wso2.com wrote:

 Congrats Rajith!

 On Fri, Sep 26, 2014 at 7:58 AM, Nipuni Perera 
 nip...@wso2.com wrote:

 Congratulations !!!



 On Fri, Sep 26, 2014 at 6:35 AM, Dakshika
 Jayathilaka daksh...@wso2.com wrote:

 Congratulation Rajith... !!

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

 On Fri, Sep 26, 2014 at 4:35 AM, Amila Maha
 Arachchi ami...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Rajith Siriwardena as
 a WSO2 Committer. Rajith is a member of WSO2 Cloud 
 team and he has done a
 great contribution to WSO2 Cloud and has shown great 
 enthusiasm in his
 work. In recognition of his contribution, he has 
 been voted as a WSO2
 Committer.

 Rajith, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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




 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com
 http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




 --
 Regards,


 *Darshana Gunawardana*Software Engineer
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859*Lean .
 Enterprise . Middleware

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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


 

[Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Roshan Deniyage
Hi Devs,

- I am working with appfactory dev setup which works with the wso2 storage
server. When creating new application, developer can create a new database
and related users for that.
Storage Server 1.0.1 is used.

- Appfactory uses storage server to create database.

The question is, when creating new user, wso2-ss add a random suffix to the
username given. What is the logic behind this? Is there a special format
for this suffix?

Any comment would be appreciated.


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


Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-26 Thread Danushka Fernando
Action Items

1. Set ports only if elb is not there.
2. Make catlina-server.xml a template.
3. Modify modules to run devsetup in one run.


Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 2:59 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 This is a bug in Hector [1]. Seems like this can be ignored.

 [1] https://wso2.org/jira/browse/SS-308

 On Fri, Sep 26, 2014 at 2:52 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Can see these in AF repeatedly

 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,132]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Not
 checking that localhost(127.0.0.1):9160 is a member of the ring since there
 are no live hosts
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  WARN
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 localhost(127.0.0.1):9160 host still appears to be down: Unable to open
 transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
 Connection refused
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,133]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host retry status false with host: localhost(127.0.0.1):9160
 {me.prettyprint.cassandra.connection.CassandraHostRetryService}
 TID: [0] [AF] [2014-09-26 14:51:31,135] ERROR
 {me.prettyprint.cassandra.connection.NodeDiscovery} -  Discovery Service
 failed attempt to connect CassandraHost
 {me.prettyprint.cassandra.connection.NodeDiscovery}
 java.lang.NullPointerException
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.discoverNodes(NodeDiscovery.java:79)
 at
 me.prettyprint.cassandra.connection.NodeDiscovery.doAddNodes(NodeDiscovery.java:52)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService.doAddNodes(NodeAutoDiscoverService.java:45)
 at
 me.prettyprint.cassandra.connection.NodeAutoDiscoverService$QueryRing.run(NodeAutoDiscoverService.java:51)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)




 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:48 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Found it in
 cloudmgt/site/conf/cloud-mgt.xml

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 2:45 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all

 In AF configuration following config is there.

 BPShttps://process.appfactory.private.wso2.com:9543/services/
 /BPS

 And host entry is there in the hosts file too.

 I am getting following error. There is a . instead of a : seperating
 host name and port. Any idea?

 TID: [0] [AF] [2014-09-26 14:35:03,947]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[*https://process.appfactory.private.wso2.com.9543/services/CreateTenan
 https://process.appfactory.private.wso2.com.9543/services/CreateTenan*t]
 {org.apache.axis2.transport.http.HTTPSender}
 java.net.UnknownHostException:
 *process.appfactory.private.wso2.com.9543*
 at
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
 at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:451)
 at
 

Re: [Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Harsha Kumara
Hi Roshan,

This suffix is added as a hash of tenant domain of a particular tenant. The
database username such as MySQL and others has max length where tenant
domain exceeds that limit. So in order to shorten the tenant domain we take
the hash value of tenant and append it to the provided username by a user
when creating a database user. If there is no limit for the username, then
we would append it along with the username.

Hope I'm clear to you.

Thanks,
Harsha

On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage rosh...@wso2.com wrote:

 Hi Devs,

 - I am working with appfactory dev setup which works with the wso2
 storage server. When creating new application, developer can create a new
 database and related users for that.
 Storage Server 1.0.1 is used.

 - Appfactory uses storage server to create database.

 The question is, when creating new user, wso2-ss add a random suffix to
 the username given. What is the logic behind this? Is there a special
 format for this suffix?

 Any comment would be appreciated.


 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



 ___
 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


Re: [Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Danushka Fernando
Hi Roshan

Actually the problem we are solving using this suffix is let the users
create a db/db user with same name in two tenants. We are achieving mysql
multitenancy by this approach. I guess this is the answer you were looking
for.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 6:21 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Roshan,

 This suffix is added as a hash of tenant domain of a particular tenant.
 The database username such as MySQL and others has max length where tenant
 domain exceeds that limit. So in order to shorten the tenant domain we take
 the hash value of tenant and append it to the provided username by a user
 when creating a database user. If there is no limit for the username, then
 we would append it along with the username.

 Hope I'm clear to you.

 Thanks,
 Harsha

 On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage rosh...@wso2.com wrote:

 Hi Devs,

 - I am working with appfactory dev setup which works with the wso2
 storage server. When creating new application, developer can create a new
 database and related users for that.
 Storage Server 1.0.1 is used.

 - Appfactory uses storage server to create database.

 The question is, when creating new user, wso2-ss add a random suffix to
 the username given. What is the logic behind this? Is there a special
 format for this suffix?

 Any comment would be appreciated.


 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



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


Re: [Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Samith Dassanayake
Hi Roshan,

As Harsha mentioned, to adhere the aforementioned constraint as well as to
give the username an unique identification based on the tenant domain, we
append a hash value that is created based on the tenant domain. For an
ordinary tenant, the tenant domain will be appended to the username
together with an underscore and the given username will be returned as it
is in the case of super tenant.

Thnaks,
Samith

On Fri, Sep 26, 2014 at 6:21 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Roshan,

 This suffix is added as a hash of tenant domain of a particular tenant.
 The database username such as MySQL and others has max length where tenant
 domain exceeds that limit. So in order to shorten the tenant domain we take
 the hash value of tenant and append it to the provided username by a user
 when creating a database user. If there is no limit for the username, then
 we would append it along with the username.

 Hope I'm clear to you.

 Thanks,
 Harsha

 On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage rosh...@wso2.com wrote:

 Hi Devs,

 - I am working with appfactory dev setup which works with the wso2
 storage server. When creating new application, developer can create a new
 database and related users for that.
 Storage Server 1.0.1 is used.

 - Appfactory uses storage server to create database.

 The question is, when creating new user, wso2-ss add a random suffix to
 the username given. What is the logic behind this? Is there a special
 format for this suffix?

 Any comment would be appreciated.


 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



 ___
 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




-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Roshan Deniyage
Hi
​Folks,
Thanks for the explanation. Got the idea. It seems that the format is
username_hash value of tenant domain. It seems that the _ character
is hard coded in the code. Hope that would be re-factored in the future.

Thanks,

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 Fri, Sep 26, 2014 at 6:36 PM, Samith Dassanayake sam...@wso2.com wrote:

 Hi Roshan,

 As Harsha mentioned, to adhere the aforementioned constraint as well as to
 give the username an unique identification based on the tenant domain, we
 append a hash value that is created based on the tenant domain. For an
 ordinary tenant, the tenant domain will be appended to the username
 together with an underscore and the given username will be returned as it
 is in the case of super tenant.

 Thnaks,
 Samith

 On Fri, Sep 26, 2014 at 6:21 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Roshan,

 This suffix is added as a hash of tenant domain of a particular tenant.
 The database username such as MySQL and others has max length where tenant
 domain exceeds that limit. So in order to shorten the tenant domain we take
 the hash value of tenant and append it to the provided username by a user
 when creating a database user. If there is no limit for the username, then
 we would append it along with the username.

 Hope I'm clear to you.

 Thanks,
 ​​
 Harsha

 On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage rosh...@wso2.com
 wrote:

 Hi Devs,

 - I am working with appfactory dev setup which works with the wso2
 storage server. When creating new application, developer can create a new
 database and related users for that.
 Storage Server 1.0.1 is used.

 - Appfactory uses storage server to create database.

 The question is, when creating new user, wso2-ss add a random suffix to
 the username given. What is the logic behind this? Is there a special
 format for this suffix?

 Any comment would be appreciated.


 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



 ___
 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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


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


Re: [Dev] [SS] Why add suffix when creating database user?

2014-09-26 Thread Roshan Deniyage
Hi
​
Danushka,
   Got the idea of storage server's internal representation. But, the doubt
is whether we need to use the generated username as it is in the appfactory
side. If so, user would be confused since the name given by him is modified
in the middle of the process.
​
Thanks,​

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 Fri, Sep 26, 2014 at 6:32 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi Roshan

 Actually the problem we are solving using this suffix is let the users
 create a db/db user with same name in two tenants. We are achieving mysql
 multitenancy by this approach. I guess this is the answer you were looking
 for.

 Thanks  Regards
 ​​
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Sep 26, 2014 at 6:21 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Roshan,

 This suffix is added as a hash of tenant domain of a particular tenant.
 The database username such as MySQL and others has max length where tenant
 domain exceeds that limit. So in order to shorten the tenant domain we take
 the hash value of tenant and append it to the provided username by a user
 when creating a database user. If there is no limit for the username, then
 we would append it along with the username.

 Hope I'm clear to you.

 Thanks,
 Harsha

 On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage rosh...@wso2.com
 wrote:

 Hi Devs,

 - I am working with appfactory dev setup which works with the wso2
 storage server. When creating new application, developer can create a new
 database and related users for that.
 Storage Server 1.0.1 is used.

 - Appfactory uses storage server to create database.

 The question is, when creating new user, wso2-ss add a random suffix to
 the username given. What is the logic behind this? Is there a special
 format for this suffix?

 Any comment would be appreciated.


 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



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


[Dev] [AppFactory] Git Server access rights

2014-09-26 Thread Godwin Amila Shrimal
Hi,

I am trying to to delete a repository in *git.appfactory.private.wso2.com:8443
http://git.appfactory.private.wso2.com:8443 *using admin user name and
password and it gives an error as *admin forbidden to access
?req=DELETE_REPOSITORYname=git/test5.com/test5.git/rpc/?req=delete_repository
http://test5.com/test5.git/rpc/?req=delete_repository*

I used same programme to delete the repo in* gitblit.s2.wso2.com:8444
http://gitblit.s2.wso2.com:8444 * and it worked properly.

BTW If I access admin portal *git.appfactory.private.wso2.com
http://git.appfactory.private.wso2.com *and login using admin username
and password  it doesn't shows the repo created for tenant and can see when
log from tenant user. In *gitblit.s2.wso2.com:8444
http://gitblit.s2.wso2.com:8444 *it shows all repo when log using admin.

Is there any access right change in  *git.appfactory.private.wso2.com
http://git.appfactory.private.wso2.com ? *or what can be the reason for
this ?


Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFactory] Git Server access rights

2014-09-26 Thread Danushka Fernando
Thats because git admin user is not admin. In dev setups we name him as
gitblitsystemadmin. You can find it in appfactory.xml

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Fri, Sep 26, 2014 at 8:10 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Hi,

 I am trying to to delete a repository in *git.appfactory.private.wso2.com:8443
 http://git.appfactory.private.wso2.com:8443 *using admin user name and
 password and it gives an error as *admin forbidden to access
 ?req=DELETE_REPOSITORYname=git/test5.com/test5.git/rpc/?req=delete_repository
 http://test5.com/test5.git/rpc/?req=delete_repository*

 I used same programme to delete the repo in* gitblit.s2.wso2.com:8444
 http://gitblit.s2.wso2.com:8444 * and it worked properly.

 BTW If I access admin portal *git.appfactory.private.wso2.com
 http://git.appfactory.private.wso2.com *and login using admin username
 and password  it doesn't shows the repo created for tenant and can see
 when log from tenant user. In *gitblit.s2.wso2.com:8444
 http://gitblit.s2.wso2.com:8444 *it shows all repo when log using admin.

 Is there any access right change in  *git.appfactory.private.wso2.com
 http://git.appfactory.private.wso2.com ? *or what can be the reason for
 this ?


 Thanks
 Godwin

 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

 ___
 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] Enterprise Store H2 database growing repeatedly

2014-09-26 Thread Senduran Balasubramaniyam
Hi Sameera,

The suggested workaround, prevent the H2 database from growing.

Thank you
Senduran

On Fri, Sep 26, 2014 at 5:40 PM, Sameera Medagammaddegedara 
samee...@wso2.com wrote:

 Hi Senduran,

 This seems to be caused by the asset resources been deployed more than
 once.As a workaround please remove the following folders:

 publisher/config/default/gadgets
 publisher/config/default/ebooks
 publisher/config/default/sites

 I have created an issue to track the problem:
 https://wso2.org/jira/browse/STORE-517

 Thank You,
 Sameera

 On Fri, Sep 26, 2014 at 5:26 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:



 On Fri, Sep 26, 2014 at 5:22 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi,

 We have noticed that whenever we restart the enterprise store, size of
 “ES_STORAGE.lobs.db” is increasing by around 15MB.

 Following is our observation (size of ES_HOME/repository/database)
   action size   unpack the ES 3.7M  start the server 20M  restart the
 server 35M  again a restart 50M  one more restart 66M

 Is this a know issue in ES ?
 ES version : 1.2.0-SNAPSHOT

 Thanks
 Senduran
 ​
 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




 --
 Sameera Medagammaddegedara
 Software Engineer

 Contact:
 Email: samee...@wso2.com
 Mobile: + 94 077 255 3005




-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ http://wso2.com/
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to commit a fix to patch0009

2014-09-26 Thread Sameera Jayasoma
Applied the patch

On Fri, Sep 26, 2014 at 10:51 PM, Kalpa Welivitigoda kal...@wso2.com
wrote:

 As per the chat we had, did the modifications and the new patch is at [1]

 Public JIRA: https://wso2.org/jira/browse/CARBON-14965

 [1] https://wso2.org/jira/secure/attachment/33797/jsonStream_v2.patch

 On Fri, Sep 26, 2014 at 5:08 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Hi Sameera,

 Would you please commit the fix for [1] attached herewith to patch0009?

 [1] https://wso2.org/jira/browse/CARBON-14965

 --
 Best Regards,

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




 --
 Best Regards,

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




-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] Pull requests for the following issues

2014-09-26 Thread Pubudu Dissanayake
Ping !

On Wed, Sep 10, 2014 at 6:17 PM, Aruna Karunarathna ar...@wso2.com wrote:

 Hi all,

 Please send the pull requests for the following issues.

 https://wso2.org/jira/browse/CARBON-14891
 ​​
 https://wso2.org/jira/browse/CARBON-14850
 https://wso2.org/jira/browse/CARBON-14718
 https://wso2.org/jira/browse/CARBON-14894
 ​

​Please update above mentioned public jira tickets with relevant pull
requests.

 ​

 Regards,
 Aruna

 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




-- 
*Pubudu Dissanayake*
 Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mob: + 94 775 503 304

Blog: http://geekdetected.wordpress.com/
Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
http://lk.linkedin.com/in/pubududissanayake
Flickr : https://www.flickr.com/photos/pubudufx/
Twitter: https://twitter.com/GeekInAction
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to commit a fix to patch0009

2014-09-26 Thread Kalpa Welivitigoda
Thanks

On Fri, Sep 26, 2014 at 11:20 PM, Sameera Jayasoma same...@wso2.com wrote:

 Applied the patch

 On Fri, Sep 26, 2014 at 10:51 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 As per the chat we had, did the modifications and the new patch is at [1]

 Public JIRA: https://wso2.org/jira/browse/CARBON-14965

 [1] https://wso2.org/jira/secure/attachment/33797/jsonStream_v2.patch

 On Fri, Sep 26, 2014 at 5:08 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Hi Sameera,

 Would you please commit the fix for [1] attached herewith to patch0009?

 [1] https://wso2.org/jira/browse/CARBON-14965

 --
 Best Regards,

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




 --
 Best Regards,

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




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
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


[Dev] WSO2 BAM 2.5.0 Beta Released!!!

2014-09-26 Thread Gihan Anuruddha
Hi All,

WSO2 Business Activity Monitor 2.5.0 Beta Release is available for download
at [1]. This release includes following bug fixes, improvements and a new
feature.

Bug

   - [BAM-1314 https://wso2.org/jira/browse/BAM-1314] - Gadget Generator
   Wizard, when i click on preview SQL results if the result is empty set
   it is displaying inappropriate message
   - [BAM-1440 https://wso2.org/jira/browse/BAM-1440] - [Message Console]
   Query Validation Failed when Status set as All
   - [BAM-1443 https://wso2.org/jira/browse/BAM-1443] - Thrift Receiver
   bind only to the network IP
   - [BAM-1450 https://wso2.org/jira/browse/BAM-1450] - Navigate to
   Explore Cassandra throwing backend exception
   - [BAM-1513 https://wso2.org/jira/browse/BAM-1513] - [BAM] [Tenant]
   Error occurred during the Tenant loading - Error while deploying webapp:
   StandardContext[bamdashboards]
   - [BAM-1530 https://wso2.org/jira/browse/BAM-1530] - [BAM] [JMX] NPE
   occurred just after creating a JMX Profile to monitor BAM itself
   - [BAM-1532 https://wso2.org/jira/browse/BAM-1532] - [BAM] [Reports]
   Edited reports not get saved
   - [BAM-1536 https://wso2.org/jira/browse/BAM-1536] - [BAM] [Tenant]
   Key Spaces duplicate for Tenant
   - [BAM-1537 https://wso2.org/jira/browse/BAM-1537] - [BAM] [Tenant]
   Error occurred when Switching data publisher configuration from Tenant to
   Super Tenant
   - [BAM-1539 https://wso2.org/jira/browse/BAM-1539] - [intermittent] on
   some occasions if BAM which is also sharing registry with CEP nodes is
   restarted, then Caused by: java.lang.ClassNotFoundException: org.wso2.
   carbon.ntask.core.impl.clustered.rpc.RescheduleTaskCall is thrown
   - [BAM-1593 https://wso2.org/jira/browse/BAM-1593] - Publishing data
   using tenant-admin user throwing exception
   - [BAM-1594 https://wso2.org/jira/browse/BAM-1594] - [BAM]
   [Intermittent] Error occurred when executing Hive script which added just
   after adding Tenant Specific Data Sources.
   - [BAM-1630 https://wso2.org/jira/browse/BAM-1630] - Gadget gen tool -
   Preview SQL results will not show more than 10 rows
   - [BAM-1631 https://wso2.org/jira/browse/BAM-1631] - Session retention
   issue in gadget gen tool
   - [BAM-1691 https://wso2.org/jira/browse/BAM-1691] - Observe ERROR
   {org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} - Failed to get
   connection org.h2.jdbc.JdbcSQLException: Connection is broken: null:
   Name or service not known [90067-140] at the timeof analyzer execution
   - [BAM-1695 https://wso2.org/jira/browse/BAM-1695] - When redeploy the
   tBox, related gadjets not display on the Gadjet server
   - [BAM-1730 https://wso2.org/jira/browse/BAM-1730] - Message tracing
   on tenant mode displays __MultitenantDispatcherService admin service
   calls also as activities
   - [BAM-1743 https://wso2.org/jira/browse/BAM-1743] - Getting ERROR
   {org.apache.hadoop.hive.ql.exec.Task} - FAILED: Error in metadata: java.
   lang.NumberFormatException: null
org.apache.hadoop.hive.ql.metadata.HiveException:
   java.lang.NumberFormatException: null when running hive queries
   - [BAM-1747 https://wso2.org/jira/browse/BAM-1747] - Got an OOM on BAM
   2.4.2 5th august standalone pack
   - [BAM-1756 https://wso2.org/jira/browse/BAM-1756] - Observe errors on
   BAM side when AS publish data to the restarted BAM server
   - [BAM-1762 https://wso2.org/jira/browse/BAM-1762] - Observe erros on BAM
   and cassandra side when datasources created with non admin carbon user
   - [BAM-1775 https://wso2.org/jira/browse/BAM-1775] - wso2server.bat
   script fails when --run parameter is provided
   - [BAM-1781 https://wso2.org/jira/browse/BAM-1781] - Fixes related to
   HTTP input event adaptor
   - [BAM-1782 https://wso2.org/jira/browse/BAM-1782] - Fix related to
   Kafka Input Event Adaptor
   - [BAM-1788 https://wso2.org/jira/browse/BAM-1788] - Revert BAM
   Cassandra datasource name into WSO2BAM_CASSANDRA_DATASOURCE
   - [BAM-1802 https://wso2.org/jira/browse/BAM-1802] - ReferenceError:
   log is not defined is printed in the console when browsing the gadget
   portal
   - [BAM-1803 https://wso2.org/jira/browse/BAM-1803] - While adding a
   table report (in Tools -- Reports) an ERROR comes up with the message No
   Tables found in datasource WSO2BAM_CASSANDRA_EVENT_INDEX_SOURCE

Improvement

   - [BAM-1639 https://wso2.org/jira/browse/BAM-1639] - [Toolbox] Remove
   username/password from the toolbox in streamdefn.properties
   - [BAM-1752 https://wso2.org/jira/browse/BAM-1752] - Cassandra Data
   deletion support for the Archival Feature
   - [BAM-1783 https://wso2.org/jira/browse/BAM-1783] - Add a
   configuration to specify the async data publisher consistancy
   - [BAM-1789 https://wso2.org/jira/browse/BAM-1789] - Set the hostName
   parameter to 0.0.0.0 in data-bridge-config.xml file by default

New Feature

   - [BAM-1770 https://wso2.org/jira/browse/BAM-1770] - Add MQTT Input
   Event Adaptor to BAM


[1] -

[Dev] [CARBON-14984] Assigned roles details on an user does not list accurately on view roles page

2014-09-26 Thread Malith Dhanushka
Hi Carbon/IS team,

We observed [1] with patch0009 while BAM 2.5.0 testing. This was only
noticed with patch0009 in place and find more details in jira. please have
a look.

[1] https://wso2.org/jira/browse/CARBON-14984

Thanks
-- 
Malith Dhanushka
Software Engineer - Data Technologies
*WSO2, Inc. : wso2.com http://wso2.com/*
*Mobile*  : +94 716 506 693
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Question about securing a service in ESB, providing Integrity

2014-09-26 Thread Dushan Abeyruwan
Hi
 Read description of again,
 what it says

signed using symmetric key then encrypt using service public key,  so
server end only way to verify now decrypt message using service private
key, and validate signature with symmetric key.

  Now validating integrity : symmetric key is shared only between to agreed
parties, so they store symmetric keys in their respective key stores, and
there is almost no chance that intruder can stand in between and generate
new symmetric key because, symmetric key is a agreement between client and
service, even if some one generate new symmetric key should inform service
beforehand (and normally services wont store symmetric keys randomly unless
verified and authenticated).

Cheers,
Dushan

On Wed, Sep 24, 2014 at 1:21 PM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi All,

 Following is the diagram given by ESB about how it provides integrity for
 a service. (Securing a service using basic scenario No. 3)

 [image: Inline image 1]


 According to the diagram, client uses a generated symmetric key to sign
 the message, encrypts the used key using server's public key and sends
 along with the message.

 But, I cannot understand how this provides integrity. As I see, someone
 can intercept the message sent by the client, alter the message, generate a
 new symmetric key, sign the altered message using this key, encrypt the key
 using server's public key and send along with the message without a
 problem. Since the original message is now altered, there's no integrity.

 Can somebody please explain what I have gotten wrong?

 Thanks

 --
 Lahiru Chandima
 *Senior Software Engineer*
 Mobile : +94 (0) 772 253283
 lahi...@wso2.com

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




-- 
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev