[Dev] Add new mobile application fails in MSSQL

2016-09-30 Thread Harshan Liyanage
Hi all,

I'm getting the below exception when click on "Add new mobile app" button
of publisher app in EMM 2.2.0-Beta pack. We are using app-manager feature
version 1.2.3. However when diggin into this issue I've found that the
included APP Manager MSSQL script is out-dated and it does not have some
required tables. I've updated the MSSQL script and attached here-with. I
really appreciate if someone from APPM team can test this script and verify.

[2016-09-30 19:01:33,939] ERROR {org.wso2.carbon.appmgt.impl.dao.AppMDAO} -
 Failed to retrieve business owners.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name
'APM_BUSINESS_OWNER'.
at
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
at
com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285)
at
org.wso2.carbon.appmgt.impl.dao.AppMDAO.getBusinessOwners(AppMDAO.java:358)
at
org.wso2.carbon.appmgt.impl.APIProviderImpl.getBusinessOwners(APIProviderImpl.java:167)
at
org.wso2.carbon.appmgt.impl.UserAwareAPIProvider.getBusinessOwners(UserAwareAPIProvider.java:36)
at
org.wso2.carbon.appmgt.hostobjects.APIProviderHostObject.jsFunction_getBusinessOwners(APIProviderHostObject.java:377)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.publisher.assets.default.c1._c_getBusinessOwner_2(/publisher/assets/default/asset.jag:53)
at
org.jaggeryjs.rhino.publisher.assets.default.c1.call(/publisher/assets/default/asset.jag)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
at
org.jaggeryjs.rhino.publisher.assets.default.c1._c_anonymous_3(/publisher/assets/default/asset.jag:109)
at
org.jaggeryjs.rhino.publisher.assets.default.c1.call(/publisher/assets/default/asset.jag)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at
org.jaggeryjs.rhino.publisher.modules.c4._c_anonymous_12(/publisher/modules/router-g.js:183)
at
org.jaggeryjs.rhino.publisher.modules.c4.call(/publisher/modules/router-g.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.assets.default.c1._c_anonymous_1(/publisher/assets/default/asset.jag:701)
at
org.jaggeryjs.rhino.publisher.assets.default.c1.call(/publisher/assets/default/asset.jag)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.modules.c6._c_anonymous_17(/publisher/modules/publisher.js:438)
at
org.jaggeryjs.rhino.publisher.modules.c6.call(/publisher/modules/publisher.js)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
at
org.jaggeryjs.rhino..scripts.c0._c_anonymous_17(/scripts/server.js:286)
at org.jaggeryjs.rhino..scripts.c0.call(/scripts/server.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.modules.c6._c_anonymous_16(/publisher/modules/publisher.js:433)
at
org.jaggeryjs.rhino.publisher.modules.c6.call(/publisher/modules/publisher.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.publisher.assets.default.c1._c_script_0(/publisher/assets/default/asset.jag:24)
at
org.jaggeryjs.rhino.publisher.assets.default.c1.call(/publisher/assets/default/asset.jag)
at
org.jaggeryjs.rhino.publisher.assets.default.c1.exec(/publisher/assets/default/asset.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at

Re: [Dev] Removing/Replacing shindig from wso2 dashboard framework

2016-09-30 Thread Udara Rathnayake
right now gadget is a combination of few html/css/js files. Aren't we make
it a bit complex by treating as a UUF component?


On Fri, Sep 30, 2016 at 2:36 PM, Dulitha Wijewantha 
wrote:

> IMO - isolation is not a requirement for the current use cases. Best would
> be to build the components separately and style them using SASS (using
> inheritance of CSS classes). Web components would be useful to be build
> components but the component story is already filled up with UUF right?
>
> On Fri, Sep 30, 2016 at 1:37 PM, Udara Rathnayake  wrote:
>
>> Hi All,
>>
>> Currently we are utilizing shindig[1] as the underlying gadget container,
>> mainly to support gadget level isolation.  We faced problems with shindig
>> in the past due to the usage of iframes etc.. and shindig is a retired
>> project also.
>>
>> With the current set of use-cases around dashboards (Analytics dashboard
>> etc.), we are evaluating capabilities around web-components[2] to build the
>> infrastructure for dashboards.
>>
>> Further if we take a look at igviz samples[3], similarly we can do the
>> dashboard without iframes etc.. Only concern is isolation (if required,
>> with current use-cases) which can introduce through web-components.
>>
>> Appreciate your thoughts.
>>
>> [1] https://shindig.apache.org/
>> [2] https://developer.mozilla.org/en-US/docs/Web/Web_Components
>> [3] http://dunithd.github.io/igviz-site/samples/index.html
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
>  * ~Email   duli...@wso2.com *
> *  ~Mobile +94712112165 <%2B94712112165>*
> *  ~Website   dulitha.me *
> *  ~Twitter @dulitharw *
>   *~Github @dulichan *
>   *~SO @chan *
>



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


Re: [Dev] Removing/Replacing shindig from wso2 dashboard framework

2016-09-30 Thread Dulitha Wijewantha
IMO - isolation is not a requirement for the current use cases. Best would
be to build the components separately and style them using SASS (using
inheritance of CSS classes). Web components would be useful to be build
components but the component story is already filled up with UUF right?

On Fri, Sep 30, 2016 at 1:37 PM, Udara Rathnayake  wrote:

> Hi All,
>
> Currently we are utilizing shindig[1] as the underlying gadget container,
> mainly to support gadget level isolation.  We faced problems with shindig
> in the past due to the usage of iframes etc.. and shindig is a retired
> project also.
>
> With the current set of use-cases around dashboards (Analytics dashboard
> etc.), we are evaluating capabilities around web-components[2] to build the
> infrastructure for dashboards.
>
> Further if we take a look at igviz samples[3], similarly we can do the
> dashboard without iframes etc.. Only concern is isolation (if required,
> with current use-cases) which can introduce through web-components.
>
> Appreciate your thoughts.
>
> [1] https://shindig.apache.org/
> [2] https://developer.mozilla.org/en-US/docs/Web/Web_Components
> [3] http://dunithd.github.io/igviz-site/samples/index.html
>
> --
> Regards,
> UdaraR
>



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


Re: [Dev] [MB320][EE] Issues when executing a mixed subscriber script on a distributed setup

2016-09-30 Thread Pubudu Priyashan
+1. Thanks!

Pubudu D.P
Senior Software Engineer - QA Team | WSO2 inc.
Mobile : +94775464547

Linkedin: https://uk.linkedin.com/in/pubududp
Medium: https://medium.com/@pubududp


On Fri, Sep 30, 2016 at 2:18 PM, Indika Sampath  wrote:

> Hi Pubudu,
>
> We found that mentioned issue is currently fixed in the master branch [1].
> Our plan is to provide you a SNAPSHOT pack from current master branch after
> cutting a branch. You could continue on testing with it and report bugs
> against ALPHA.
>
> [1] https://github.com/wso2/andes/pull/711
>
> Cheers!
>
> On Fri, Sep 30, 2016 at 10:47 AM, Pubudu Priyashan 
> wrote:
>
>> Hi guys,
>>
>> While preparing the long running tests we observed the issue raised at
>> [1]. Basically what happens is when we send mixed subscribers (Queues,
>> Topics, Durable topics, Shared subscriptions) to Node1 and Node2, some of
>> the subscribers are not getting created. We have attached the script used
>> for this in the mentioned JIRA above. Currently, this is a roadblock for us
>> to continue with the long-running tests. Appreciate if we can get this
>> addressed as soon as possible. Thanks!
>>
>> [1] https://wso2.org/jira/browse/MB-1816
>>
>>
>> Cheers,
>> Pubudu D.P
>> Senior Software Engineer - QA Team | WSO2 inc.
>> Mobile : +94775464547
>>
>> Linkedin: https://uk.linkedin.com/in/pubududp
>> Medium: https://medium.com/@pubududp
>>
>>
>
>
> --
> Indika Sampath
> Senior Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 716 424 744
> Blog: http://indikasampath.blogspot.com/
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB320][EE] Issues when executing a mixed subscriber script on a distributed setup

2016-09-30 Thread Indika Sampath
Hi Pubudu,

We found that mentioned issue is currently fixed in the master branch [1].
Our plan is to provide you a SNAPSHOT pack from current master branch after
cutting a branch. You could continue on testing with it and report bugs
against ALPHA.

[1] https://github.com/wso2/andes/pull/711

Cheers!

On Fri, Sep 30, 2016 at 10:47 AM, Pubudu Priyashan  wrote:

> Hi guys,
>
> While preparing the long running tests we observed the issue raised at
> [1]. Basically what happens is when we send mixed subscribers (Queues,
> Topics, Durable topics, Shared subscriptions) to Node1 and Node2, some of
> the subscribers are not getting created. We have attached the script used
> for this in the mentioned JIRA above. Currently, this is a roadblock for us
> to continue with the long-running tests. Appreciate if we can get this
> addressed as soon as possible. Thanks!
>
> [1] https://wso2.org/jira/browse/MB-1816
>
>
> Cheers,
> Pubudu D.P
> Senior Software Engineer - QA Team | WSO2 inc.
> Mobile : +94775464547
>
> Linkedin: https://uk.linkedin.com/in/pubududp
> Medium: https://medium.com/@pubududp
>
>


-- 
Indika Sampath
Senior Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 716 424 744
Blog: http://indikasampath.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MSF4J] Reference to a private GitHub repo

2016-09-30 Thread Thusitha Thilina Dayaratne
Hi Sagara,

I'll look into this.

Thanks
Thusitha

On Fri, Sep 30, 2016 at 2:14 PM, Sagara Gunathunga  wrote:

>
> Shall we get rid of following reference[1] to a personal private repo ?
>
> 
> 
> customized-sso-agent-for-jwt-github-mvn-repo
> 
> https://raw.github.com/maheshakya/sso-agent-for-jwt/mvn-repo/
> 
> true
> always
> 
> 
> 
>
>
>
> [1] - https://github.com/wso2/msf4j/blob/master/samples/jwt-
> claims/sso-agent-sample/pom.xml
>
>
> Thanks !
> --
> Sagara Gunathunga
>
> Associate Director / Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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


[Dev] [MSF4J] Reference to a private GitHub repo

2016-09-30 Thread Sagara Gunathunga
Shall we get rid of following reference[1] to a personal private repo ?



customized-sso-agent-for-jwt-github-mvn-repo
https://raw.github.com/maheshakya/sso-agent-for-jwt/mvn-repo/

true
always






[1] -
https://github.com/wso2/msf4j/blob/master/samples/jwt-claims/sso-agent-sample/pom.xml



Thanks !
-- 
Sagara Gunathunga

Associate Director / Architect; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Removing/Replacing shindig from wso2 dashboard framework

2016-09-30 Thread Udara Rathnayake
Hi All,

Currently we are utilizing shindig[1] as the underlying gadget container,
mainly to support gadget level isolation.  We faced problems with shindig
in the past due to the usage of iframes etc.. and shindig is a retired
project also.

With the current set of use-cases around dashboards (Analytics dashboard
etc.), we are evaluating capabilities around web-components[2] to build the
infrastructure for dashboards.

Further if we take a look at igviz samples[3], similarly we can do the
dashboard without iframes etc.. Only concern is isolation (if required,
with current use-cases) which can introduce through web-components.

Appreciate your thoughts.

[1] https://shindig.apache.org/
[2] https://developer.mozilla.org/en-US/docs/Web/Web_Components
[3] http://dunithd.github.io/igviz-site/samples/index.html

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


[Dev] MessageContext data from ESB server logs

2016-09-30 Thread Palani Tester
Hi All,


I'm using ESB Server version 4.8.1. Set Trace options for couple of logs and 
unable to get MessageContext details. Can I get MessageContext data given for 
each mediate class through Server logs?



Thanks,

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