Re: [Dev] Gitignore file

2014-10-28 Thread Inosh Perera
Hi Niranjan,
Very useful tip. Also git stash[1] is very useful when you are working on
multiple branches and when you want to switch to another branch without
committing to remote repository.

[1] http://git-scm.com/book/en/v1/Git-Tools-Stashing

Regards,
Inosh

On Tue, Oct 28, 2014 at 10:07 AM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi all,

 Gitignore is used to ignore the list of files that should be ignored by
 git. This is very useful when you want to add all the changes that you have
 made to your local repository without having to worry about accidentally
 adding temporary files (created by gedit or vim) and IDEA files.

 This repo[1] gives a list of gitignore based on your requirement.
 Temporary files also need to be ignore[2].

 [1] - https://github.com/github/gitignore
 [2] -
 http://stackoverflow.com/questions/23703923/gitignore-is-not-ignoring-my-vim-temporary-files

 Regards,
 Nira

 --

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

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




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


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-28 Thread Dilan Udara Ariyaratne
Congratulations Lasindu!


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

On Tue, Oct 28, 2014 at 11:12 AM, Chanuka Dissanayake chan...@wso2.com
wrote:

 Congratulations Lasindu!

 On Mon, Oct 27, 2014 at 11:17 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Lasindu  !!

 On Mon, Oct 20, 2014 at 8:48 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Lasindu !

 On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu has
 done great contributions to Apache Stratos and WSO2 Private PaaS products.
 And in recognition of his contribution he has been voted as a WSO2 
 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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


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


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-28 Thread Jerad Rutnam
Congratulations Lasindu! :)

On Tue, Oct 28, 2014 at 1:40 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Congratulations Lasindu!


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

 On Tue, Oct 28, 2014 at 11:12 AM, Chanuka Dissanayake chan...@wso2.com
 wrote:

 Congratulations Lasindu!

 On Mon, Oct 27, 2014 at 11:17 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Lasindu  !!

 On Mon, Oct 20, 2014 at 8:48 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Lasindu !

 On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu has
 done great contributions to Apache Stratos and WSO2 Private PaaS products.
 And in recognition of his contribution he has been voted as a WSO2 
 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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



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




-- 
*Jerad Rutnam | **Software Engineer - UI*
WSO2, Inc. www.wso2.com

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


Re: [Dev] WSO2 Committers += Rajkumar Rajaratnam

2014-10-28 Thread Dilan Udara Ariyaratne
Congratulations, Rajkumar!!!


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

On Mon, Oct 27, 2014 at 11:16 PM, Rajith Vitharana raji...@wso2.com wrote:

 Congratulations Rajkumar!!

 On Mon, Oct 20, 2014 at 8:47 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Rajkumar !

 On Tue, Oct 21, 2014 at 9:07 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Raj as a WSO2 Committer. Raj has done great
 contributions to Apache Stratos and WSO2 Private PaaS products. And in
 recognition of his contribution he has been voted as a WSO2 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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


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


Re: [Dev] WSO2 Committers += Rajkumar Rajaratnam

2014-10-28 Thread Jerad Rutnam
Congratz Rajkumar!

On Tue, Oct 28, 2014 at 1:41 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Congratulations, Rajkumar!!!


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

 On Mon, Oct 27, 2014 at 11:16 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Rajkumar!!

 On Mon, Oct 20, 2014 at 8:47 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Rajkumar !

 On Tue, Oct 21, 2014 at 9:07 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Raj as a WSO2 Committer. Raj has done
 great contributions to Apache Stratos and WSO2 Private PaaS products. And
 in recognition of his contribution he has been voted as a WSO2 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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



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




-- 
*Jerad Rutnam | **Software Engineer - UI*
WSO2, Inc. www.wso2.com

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


Re: [Dev] Hazelcast - ManagementCenterService could not be constructed! error in server startup

2014-10-28 Thread Niranjan Karunanandham
Hi Sameera

As per the offline discussion we had, I have create v2 for hazelcast 3.2.6
and included the resource hazelcast-runtime.properties in hazelcast
3.2.6.wso2v2 pom in orbit repo. I have also update the parent pom in
carbon4-kernel with the new orbit version hazelcast. I have sent the pull
requests to orbit[1] and carbon4-kernel[2] respectively.

[1] - https://github.com/wso2/orbit/pull/32
[2] - https://github.com/wso2/carbon4-kernel/pull/63

Regards,
Nira

On Mon, Oct 27, 2014 at 3:21 PM, Niranjan Karunanandham niran...@wso2.com
wrote:

 [adding sameeraJ]

 On Mon, Oct 27, 2014 at 3:18 PM, Niranjan Karunanandham niran...@wso2.com
  wrote:

 Hi all,

 When clustering is enabled with debug logs are enabled for hazelcast (via
 logging-bridge.properties), the following error message is displayed
 (entire error message available in JIRA [1]):

 WARN {com.hazelcast.instance.Node} -  [127.0.0.1]:0 [wso2.carbon.domain]
 [unknown] ManagementCenterService could not be constructed!
 java.lang.IllegalArgumentException: version string 'unknown' is not valid


 This happens when in the hazelcast, hazelcast.version and
 hazelcast.build are null. This value is set in hazelcast in
 HazelCastUtil.java [2] from System properties. If it is not defined in
 system properties, then it tries to get the value from
 hazelcast-runtime.properties.  Therefore in order to fix this issue, we
 need to either set the above mentioned to values in the system properties
 or by including the hazelcast-runtime.properties in hazelcast
 3.2.6.wso2v1 pom [3]. Is this correct? Please advice.


 [1] - https://wso2.org/jira/browse/CARBON-15027
 [2] -
 https://github.com/hazelcast/hazelcast/blob/v3.2.6/hazelcast/src/main/java/com/hazelcast/util/HazelcastUtil.java
 [3] -
 https://github.com/wso2/orbit/blob/master/hazelcast/3.2.6.wso2v1/pom.xml


 Regards,
 Nira

 --

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




 --

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




-- 

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


[Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Himasha Guruge
Hi all,

I was trying out on creating new asset types in Enterprise Store, and was
able to add a new asset type as mentioned in the documentation. But when I
try to customize by altering the fields (add/remove) of the rxt file , I
get the following error while accessing publisher url.

*org.mozilla.javascript.WrappedException: Wrapped
org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
from null (/publisher/modules/ext/core/extension.parser.js#97)
(/publisher/controllers/assets_router.jag#83)*

Are there any default fields that all rxts should include? If so what would
be the reason behind it? Appreciate any advice on this.
-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Dilan Udara Ariyaratne
Hi All,

I am currently working on an EMM Issue that is directly associated with
Jaggery Sender Object [1].
When I run the email sending function that wraps up the Jaggery
Sender.send() function, that results in an AuthenticationFailedException
as follows.

ERROR {JAGGERY.modules.user:js} -  org.mozilla.javascript.WrappedException:
Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException:
javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
at
org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
at
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at
org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at
org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at
org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at
org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
at
org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at
org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
at
org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
at
org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
at
org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
at

Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Inosh Perera
Hi Dilan,
It would be easier, if you can provide the configurations(parameters) you
provided to this function can also be included here. Is it the same as,
var sender = new email.Sender(smtp.gmail.com, 25, username, password
, tls);

Regards,
Inosh

On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated with
 Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
 at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
 at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
 at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)
 at
 

[Dev] [G-Reg] Adding subscription functionality in clustered environments

2014-10-28 Thread Sameera Kannangara
Hi Carbon Team,

Pull request [1] fixes the jiras reported at [2]  [3].
Can you please merge the pull request at [1] to test this functionality in
G-Reg 5.0.0 pack.

Thank you,
SameeraK.

[1] https://github.com/wso2-dev/carbon-utils/pull/19
[2] https://wso2.org/jira/browse/REGISTRY-2273
[3] https://wso2.org/jira/browse/REGISTRY-2300

-- 
*Sameera Kannangara*
Software Engineer
Platform TG; WSO2 Inc. http://wso2.com
Contact:
phone: +94719541577
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Rajkumar Rajaratnam

2014-10-28 Thread Priyadarssini Kishokumar
Congrats Raj !!!

On Tue, Oct 28, 2014 at 1:42 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratz Rajkumar!

 On Tue, Oct 28, 2014 at 1:41 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Rajkumar!!!


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

 On Mon, Oct 27, 2014 at 11:16 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Rajkumar!!

 On Mon, Oct 20, 2014 at 8:47 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Rajkumar !

 On Tue, Oct 21, 2014 at 9:07 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Raj as a WSO2 Committer. Raj has done
 great contributions to Apache Stratos and WSO2 Private PaaS products. And
 in recognition of his contribution he has been voted as a WSO2 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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



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




 --
 *Jerad Rutnam | **Software Engineer - UI*
 WSO2, Inc. www.wso2.com

 *Email: je...@wso2.com je...@wso2.com*

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




-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Dilan Udara Ariyaratne
Hi Inosh,

I used the same configuration as provided in the documentation
and it didn't work at all.


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

On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters) you
 provided to this function can also be included here. Is it the same as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated with
 Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
 at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
 at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 

Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-28 Thread Priyadarssini Kishokumar
Congratulations Lasindu !

On Tue, Oct 28, 2014 at 1:41 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations Lasindu! :)

 On Tue, Oct 28, 2014 at 1:40 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations Lasindu!


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

 On Tue, Oct 28, 2014 at 11:12 AM, Chanuka Dissanayake chan...@wso2.com
 wrote:

 Congratulations Lasindu!

 On Mon, Oct 27, 2014 at 11:17 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Lasindu  !!

 On Mon, Oct 20, 2014 at 8:48 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Lasindu !

 On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana lak...@wso2.com
  wrote:

 Hi all,

 It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu has
 done great contributions to Apache Stratos and WSO2 Private PaaS 
 products.
 And in recognition of his contribution he has been voted as a WSO2 
 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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



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




 --
 *Jerad Rutnam | **Software Engineer - UI*
 WSO2, Inc. www.wso2.com

 *Email: je...@wso2.com je...@wso2.com*

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




-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Nandika Jayawardana
Hi all,

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

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

Regards
Nandika

-- 
Nandika Jayawardana
Senior Technical Lead
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Sameera Jayaratna
Hi Himasha,

Can you share the RXT definition you tried that gives the error?
What is the ES version you are working with?

AFAIK provider, name, version and created time are mandatory in an RXT
definition as they are required for basic processing of an asset in ES.

Thank you,
Sameera

On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge himas...@wso2.com wrote:

 Hi all,

 I was trying out on creating new asset types in Enterprise Store, and was
 able to add a new asset type as mentioned in the documentation. But when I
 try to customize by altering the fields (add/remove) of the rxt file , I
 get the following error while accessing publisher url.

 *org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
 from null (/publisher/modules/ext/core/extension.parser.js#97)
 (/publisher/controllers/assets_router.jag#83)*

 Are there any default fields that all rxts should include? If so what
 would be the reason behind it? Appreciate any advice on this.
 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




-- 



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

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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Dilan Udara Ariyaratne
Congratulations, Milinda!


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

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

 Hi all,

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

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

 Regards
 Nandika

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

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


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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Rajkumar Rajaratnam
Congratz, Milinda!

On Tue, Oct 28, 2014 at 2:57 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Congratulations, Milinda!


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

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

 Hi all,

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

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

 Regards
 Nandika

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

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



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




-- 
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639 | +94783498120
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Gayashan Amarasinghe
Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Jerad Rutnam
Congratulations, Milinda!

On Tue, Oct 28, 2014 at 2:58 PM, Rajkumar Rajaratnam rajkum...@wso2.com
wrote:

 Congratz, Milinda!

 On Tue, Oct 28, 2014 at 2:57 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Milinda!


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

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

 Hi all,

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

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

 Regards
 Nandika

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

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



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




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

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




-- 
*Jerad Rutnam | **Software Engineer - UI*
WSO2, Inc. www.wso2.com

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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Kalpa Welivitigoda
Congratulations Milinda !

On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Aruna Karunarathna
Congratzz Milinda..!!!

On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




-- 

*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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Lakshman Udayakantha
Congratz Milinda...!!

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

 Hi all,

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

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

 Regards
 Nandika

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

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




-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Vijitha Ekanayake
Congratulations Milinda !!!

On Tue, Oct 28, 2014 at 2:59 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations, Milinda!

 On Tue, Oct 28, 2014 at 2:58 PM, Rajkumar Rajaratnam rajkum...@wso2.com
 wrote:

 Congratz, Milinda!

 On Tue, Oct 28, 2014 at 2:57 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Milinda!


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

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

 Hi all,

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

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

 Regards
 Nandika

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

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



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




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

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




 --
 *Jerad Rutnam | **Software Engineer - UI*
 WSO2, Inc. www.wso2.com

 *Email: je...@wso2.com je...@wso2.com*

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




-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Suhan Dharmasuriya
Congrats Milinda!!!

On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Himasha Guruge
Hi Sameera,

Thanks for the response, earlier I had removed create time which must've
caused the issue. Once I added it back the error was resolved. This is the
RXT definition I used.

?xml version=1.0?
artifactType type=application/vnd.wso2-chevron+xml shortName=chevron
singularLabel=Chevron
  pluralLabel=Chevrons
  hasNamespace=false iconSet=10

storagePath/chevrons/@{overview_provider}/@{overview_name}/@{overview_version}/storagePath
nameAttributeoverview_name/nameAttribute
ui
list
column name=Provider
data type=path value=overview_provider
href=@{storagePath}/
/column
column name=Name
data type=path value=overview_name
href=@{storagePath}/
/column
column name=Platform
data type=path value=overview_platform
href=@{storagePath}/
/column
column name=Version
data type=path value=overview_version
href=@{storagePath}/
/column
/list
/ui
content
table name=Overview
field type=text required=true
nameProvider/name
/field
field type=text required=true
nameName/name
/field
field type=text required=true
nameVersion/name
/field
field type=text required=true
nameOwner/name
/field
field type=text required=true
namePredecessors/name
/field
field type=text required=true
nameSuccessors/name
/field
field type=text required=true
nameAssociated Product Process/name
/field
field type=text
nameCreatedtime/name
/field
field type=text-area
nameDescription/name
/field
/table
table name=Images
field type=text required=true
nameIcon/name
/field
field type=text required=true
nameThumbnail/name
/field
field type=text required=true
nameBanner/name
/field
/table
/content

/artifactType

Thanks ,

Himasha

On Tue, Oct 28, 2014 at 2:56 PM, Sameera Jayaratna samee...@wso2.com
wrote:

 Hi Himasha,

 Can you share the RXT definition you tried that gives the error?
 What is the ES version you are working with?

 AFAIK provider, name, version and created time are mandatory in an RXT
 definition as they are required for basic processing of an asset in ES.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge himas...@wso2.com wrote:

 Hi all,

 I was trying out on creating new asset types in Enterprise Store, and was
 able to add a new asset type as mentioned in the documentation. But when I
 try to customize by altering the fields (add/remove) of the rxt file , I
 get the following error while accessing publisher url.

 *org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
 from null (/publisher/modules/ext/core/extension.parser.js#97)
 (/publisher/controllers/assets_router.jag#83)*

 Are there any default fields that all rxts should include? If so what
 would be the reason behind it? Appreciate any advice on this.
 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




 --



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

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




-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Firzhan Naqash
Congars Milinda

Regards,
Firzhan

On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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


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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Harsha Kumara
Congratulations Milinda!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
  wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



 ___
 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] WSO2 Committers += Milinda Perera

2014-10-28 Thread Godwin Amila Shrimal
Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com
  wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




-- 
*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] WSO2 Committers += Milinda Perera

2014-10-28 Thread Waruna Jayaweera
Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




-- 
Regards,

Waruna Lakshitha Jayaweera
Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Supun Sethunga
Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Sameera Jayaratna
Hi Himasha,

Yes, removing the Created time causes the issue as it is mandatory. The
given rxt should work without any issues.

Thank you,
Sameera

On Tue, Oct 28, 2014 at 3:09 PM, Himasha Guruge himas...@wso2.com wrote:

 Hi Sameera,

 Thanks for the response, earlier I had removed create time which must've
 caused the issue. Once I added it back the error was resolved. This is the
 RXT definition I used.

 ?xml version=1.0?
 artifactType type=application/vnd.wso2-chevron+xml shortName=chevron
 singularLabel=Chevron
   pluralLabel=Chevrons
   hasNamespace=false iconSet=10

 storagePath/chevrons/@{overview_provider}/@{overview_name}/@{overview_version}/storagePath
 nameAttributeoverview_name/nameAttribute
 ui
 list
 column name=Provider
 data type=path value=overview_provider
 href=@{storagePath}/
 /column
 column name=Name
 data type=path value=overview_name
 href=@{storagePath}/
 /column
 column name=Platform
 data type=path value=overview_platform
 href=@{storagePath}/
 /column
 column name=Version
 data type=path value=overview_version
 href=@{storagePath}/
 /column
 /list
 /ui
 content
 table name=Overview
 field type=text required=true
 nameProvider/name
 /field
 field type=text required=true
 nameName/name
 /field
 field type=text required=true
 nameVersion/name
 /field
 field type=text required=true
 nameOwner/name
 /field
 field type=text required=true
 namePredecessors/name
 /field
 field type=text required=true
 nameSuccessors/name
 /field
 field type=text required=true
 nameAssociated Product Process/name
 /field
 field type=text
 nameCreatedtime/name
 /field
 field type=text-area
 nameDescription/name
 /field
 /table
 table name=Images
 field type=text required=true
 nameIcon/name
 /field
 field type=text required=true
 nameThumbnail/name
 /field
 field type=text required=true
 nameBanner/name
 /field
 /table
 /content

 /artifactType

 Thanks ,

 Himasha

 On Tue, Oct 28, 2014 at 2:56 PM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Hi Himasha,

 Can you share the RXT definition you tried that gives the error?
 What is the ES version you are working with?

 AFAIK provider, name, version and created time are mandatory in an RXT
 definition as they are required for basic processing of an asset in ES.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi all,

 I was trying out on creating new asset types in Enterprise Store, and
 was able to add a new asset type as mentioned in the documentation. But
 when I try to customize by altering the fields (add/remove) of the rxt file
 , I get the following error while accessing publisher url.

 *org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
 from null (/publisher/modules/ext/core/extension.parser.js#97)
 (/publisher/controllers/assets_router.jag#83)*

 Are there any default fields that all rxts should include? If so what
 would be the reason behind it? Appreciate any advice on this.
 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




 --



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

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




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com




-- 



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

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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Dakshika Jayathilaka
Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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


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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Kasun De Silva
Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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


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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Roshan Wijesena
Congratulations!!

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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

 ___
 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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94752126789*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Tanya Madurapperuma
Hi Dilan,

As the error itself explains, your error is due to incorrect credentials of
the sender. Following code snippet works for me.(Tested with AS 5.2.1) But
when I change the password to an incorrect value, I can reproduce the same
error you get.

%
var to = t...@gmail.com;
var from = ta...@wso2.com
var subject = Test Subject;
var content = Test Content;

var msg = require('email');
var email = new msg.Sender(smtp.gmail.com, 25, ta...@wso2.com,
xx, tls);

email.from = from;
email.to = to;
email.subject = subject;
email.text = content;
email.send();

print(email successfully sent);

%

Thanks,
Tanya

On Tue, Oct 28, 2014 at 2:36 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Hi Inosh,

 I used the same configuration as provided in the documentation
 and it didn't work at all.


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

 On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters) you
 provided to this function can also be included here. Is it the same as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated with
 Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at
 org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
 at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
 at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Rajeevan Vimalanathan
Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com
  wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




-- 
Best Regards,
V.Rajeevan
Software Engineer,
WSO2 Inc. :http://wso2.com

Mobile : +94 773090875
Email : rajeev...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Mahesh Chinthaka
Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com
  wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Gimantha Bandara
Congratulations Milinda!

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

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




-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Yasassri Ratnayake
Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

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




-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/

[Dev] setSecretCallbackHandlerService() method called twice when DataSourceServiceComponent bundle activation

2014-10-28 Thread Indika Sampath
Hi All,

Cassandra server no longer embedded into WSO2 MB 3.0.0. Therefore I have
removed following features from the product as well as removed cassandra
profile too.

org.wso2.carbon.cassandra.server
org.wso2.carbon.cassandra.common

The only remain cassandra related feature is
org.wso2.carbon.cassandra.datareader. We use this feature to connect with
external cassandra server by enabling cassandra datasource in
master-datasources.xml. Communication happen with cassandra via
cql-driver_1.0.8.wso2v1.

We have added following provider under providers in
master-datasources.xml

providerorg.wso2.carbon.cassandra.datareader.datasource.CassandraDataSourceReader/provider

Here is datasource we used to connect to external cassandra server

datasource
nameWSO2_CASSANDRA_DB/name
descriptionThe datasource used for cassandra/description
jndiConfig
nameCassandraRepo/name
/jndiConfig
definition type=CASSANDRA
configuration
asyncfalse/async
clusterNameTestCluster/clusterName
compressionSNAPPY/compression
concurrency100/concurrency
usernameadmin/username
password encrypted=trueadmin/password
port9042/port
maxConnections100/maxConnections

hosts
host127.0.0.1/host
/hosts
loadBalancePolicy
exclusionThreshold2.5/exclusionThreshold
latencyAwaretrue/latencyAware
minMeasure100/minMeasure
policyNameRoundRobinPolicy/policyName
retryPeriod10/retryPeriod
scale2/scale
/loadBalancePolicy

poolOptions

coreConnectionsForLocal10/coreConnectionsForLocal

coreConnectionsForRemote10/coreConnectionsForRemote
maxConnectionsForLocal10/maxConnectionsForLocal

maxConnectionsForRemote10/maxConnectionsForRemote

maxSimultaneousRequestsForLocal10/maxSimultaneousRequestsForLocal

maxSimultaneousRequestsForRemote10/maxSimultaneousRequestsForRemote

minSimultaneousRequestsForLocal10/minSimultaneousRequestsForLocal

minSimultaneousRequestsForRemote10/minSimultaneousRequestsForRemote
/poolOptions

reconnectPolicy
baseDelayMs100/baseDelayMs
policyNameConstantReconnectionPolicy/policyName
/reconnectPolicy
socketOptions
connectTimeoutMillis200/connectTimeoutMillis
keepAlivetrue/keepAlive
readTimeoutMillis200/readTimeoutMillis
tcpNoDelaytrue/tcpNoDelay
/socketOptions

/configuration

/definition
/datasource

State of org.wso2.carbon.cassandra.datareader as below.

136ACTIVE  org.wso2.carbon.cassandra.datareader_4.3.0.SNAPSHOT

I have enabled DEBUG logs of DataSourceServiceComponent and it seems
setSecretCallbackHandlerService() method called twice when bundle
activation and private void initSystemDataSources() get called inside this
setter method. It gives the below exception when second time calling
initSystemDataSources() method. Is there anything wrong in our side with
the implementation of connect to cassandra enabling datasource?

[2014-10-28 14:50:23,521]  INFO
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
deployed Agent Client
[2014-10-28 14:50:23,586] DEBUG
{org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
SecretCallbackHandlerService acquired
[2014-10-28 14:50:23,586] DEBUG
{org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
Initializing system data sources...
[2014-10-28 14:50:23,778] DEBUG
{org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
SecretCallbackHandlerService acquired
[2014-10-28 14:50:23,778] DEBUG
{org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
Initializing system data sources...
[2014-10-28 14:50:23,793] ERROR
{org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
Error in intializing system data sources: Error in initializing system data
sources: Error in initializing system data sources at
'/home/indika/dev-zone/wso2-dev/fork/product-mb/modules/distribution/target/wso2mb-3.0.0-SNAPSHOT/repository/conf/datasources/master-datasources.xml'
- System datasource WSO2_CARBON_DBcan not be updated.
org.wso2.carbon.ndatasource.common.DataSourceException: Error in
initializing system data sources: Error in initializing system data sources
at
'/home/indika/dev-zone/wso2-dev/fork/product-mb/modules/distribution/target/wso2mb-3.0.0-SNAPSHOT/repository/conf/datasources/master-datasources.xml'

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Buddhima Wijeweera
Congratulations Milinda !!!

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

 Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

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




 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 

Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Dilan Udara Ariyaratne
Hi Tanya,

This is exactly as same as what I tested. The only difference is that I
checked this on a standalone emm server (EMM 1.1.0) and
then on a standalone Jaggery Server (Jaggery 1.0.0-SNAPSHOT_ALPHA3).

So, if this works fine for you when tested on top of an AS, well, what is
the Jaggery version that you are dealing with?

Thanks for your feedback.



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

On Tue, Oct 28, 2014 at 3:30 PM, Tanya Madurapperuma ta...@wso2.com wrote:

 Hi Dilan,

 As the error itself explains, your error is due to incorrect credentials
 of the sender. Following code snippet works for me.(Tested with AS 5.2.1)
 But when I change the password to an incorrect value, I can reproduce the
 same error you get.

 %
 var to = t...@gmail.com;
 var from = ta...@wso2.com
 var subject = Test Subject;
 var content = Test Content;

 var msg = require('email');
 var email = new msg.Sender(smtp.gmail.com, 25, ta...@wso2.com,
 xx, tls);

 email.from = from;
 email.to = to;
 email.subject = subject;
 email.text = content;
 email.send();

 print(email successfully sent);

 %

 Thanks,
 Tanya

 On Tue, Oct 28, 2014 at 2:36 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi Inosh,

 I used the same configuration as provided in the documentation
 and it didn't work at all.


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

 On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters)
 you provided to this function can also be included here. Is it the same as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne dil...@wso2.com
  wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated with
 Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at
 org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Hasintha Indrajee
Congratulations Milinda !!

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

 Congratulations Milinda !!!

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

 Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Tharindu Edirisinghe
Congratulations Milinda 

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

 Congratulations Milinda !!

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

 Congratulations Milinda !!!

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

 Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Tanya Madurapperuma
On Tue, Oct 28, 2014 at 4:18 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Hi Tanya,

 This is exactly as same as what I tested. The only difference is that I
 checked this on a standalone emm server (EMM 1.1.0) and
 then on a standalone Jaggery Server (Jaggery 1.0.0-SNAPSHOT_ALPHA3).

 So, if this works fine for you when tested on top of an AS, well, what is
 the Jaggery version that you are dealing with?


0.9.0ALPHA4


 Thanks for your feedback.



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

 On Tue, Oct 28, 2014 at 3:30 PM, Tanya Madurapperuma ta...@wso2.com
 wrote:

 Hi Dilan,

 As the error itself explains, your error is due to incorrect credentials
 of the sender. Following code snippet works for me.(Tested with AS 5.2.1)
 But when I change the password to an incorrect value, I can reproduce the
 same error you get.

 %
 var to = t...@gmail.com;
 var from = ta...@wso2.com
 var subject = Test Subject;
 var content = Test Content;

 var msg = require('email');
 var email = new msg.Sender(smtp.gmail.com, 25, ta...@wso2.com,
 xx, tls);

 email.from = from;
 email.to = to;
 email.subject = subject;
 email.text = content;
 email.send();

 print(email successfully sent);

 %

 Thanks,
 Tanya

 On Tue, Oct 28, 2014 at 2:36 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi Inosh,

 I used the same configuration as provided in the documentation
 and it didn't work at all.


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

 On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters)
 you provided to this function can also be included here. Is it the same as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated
 with Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at
 org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at
 org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at
 org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPut(JaggeryServlet.java:39)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 

Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Harshan Liyanage
Hi Tanya,

I've tried the same code snippet  I'm getting the same issue Dilan has
encountered. However this email sending feature was already tested 
verified feature. I'm wondering what causes this exception.

Thanks,

Best Regards,

Lakshitha Harshan
Software Engineer
Mobile: *+94724423048*
Email: hars...@wso2.com
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.

On Tue, Oct 28, 2014 at 4:28 PM, Tanya Madurapperuma ta...@wso2.com wrote:



 On Tue, Oct 28, 2014 at 4:18 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi Tanya,

 This is exactly as same as what I tested. The only difference is that I
 checked this on a standalone emm server (EMM 1.1.0) and
 then on a standalone Jaggery Server (Jaggery 1.0.0-SNAPSHOT_ALPHA3).

 So, if this works fine for you when tested on top of an AS, well, what is
 the Jaggery version that you are dealing with?


 0.9.0ALPHA4


 Thanks for your feedback.



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

 On Tue, Oct 28, 2014 at 3:30 PM, Tanya Madurapperuma ta...@wso2.com
 wrote:

 Hi Dilan,

 As the error itself explains, your error is due to incorrect credentials
 of the sender. Following code snippet works for me.(Tested with AS 5.2.1)
 But when I change the password to an incorrect value, I can reproduce the
 same error you get.

 %
 var to = t...@gmail.com;
 var from = ta...@wso2.com
 var subject = Test Subject;
 var content = Test Content;

 var msg = require('email');
 var email = new msg.Sender(smtp.gmail.com, 25, ta...@wso2.com,
 xx, tls);

 email.from = from;
 email.to = to;
 email.subject = subject;
 email.text = content;
 email.send();

 print(email successfully sent);

 %

 Thanks,
 Tanya

 On Tue, Oct 28, 2014 at 2:36 PM, Dilan Udara Ariyaratne dil...@wso2.com
  wrote:

 Hi Inosh,

 I used the same configuration as provided in the documentation
 and it didn't work at all.


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

 On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters)
 you provided to this function can also be included here. Is it the same 
 as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated
 with Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at
 org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)
 at org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)
 at
 org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
 at
 org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)
 at
 org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)
 at org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)
 at
 

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Roshan Deniyage
Congratulations Milinda !

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

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


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

 Congratulations Milinda 

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

 Congratulations Milinda !!

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

 Congratulations Milinda !!!

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

 Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 

[Dev] A doubt in one of the field names in Add Policy of EMM

2014-10-28 Thread Pasanthi Amarasekera
Hi,

In Operation Restrictions of Add Policy in EMM, what is meant by Change
Screen Lock Passcode field ?

In documentation (https://docs.wso2.com/display/EMM110/EMM+Policy+Settings)
it says  The end-user's device passcode lock will be automatically cleared.
But this doesn't give a clear idea on what to enter there when creating the
policy.

Thank you.

Regards,
Pasanthi.

-- 
Pasanthi Amarasekera
WSO2 Inc: http://wso2.com
lean.enterprise.middleware

Mobile: +94 77 9541735
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Hazelcast - ManagementCenterService could not be constructed! error in server startup

2014-10-28 Thread Afkham Azeez
So this file now gets packed with the hazelcast orbit bundle, or does it
have to be placed in the conf directory or somewhere?

On Tue, Oct 28, 2014 at 1:37 AM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi Sameera

 As per the offline discussion we had, I have create v2 for hazelcast 3.2.6
 and included the resource hazelcast-runtime.properties in hazelcast
 3.2.6.wso2v2 pom in orbit repo. I have also update the parent pom in
 carbon4-kernel with the new orbit version hazelcast. I have sent the pull
 requests to orbit[1] and carbon4-kernel[2] respectively.

 [1] - https://github.com/wso2/orbit/pull/32
 [2] - https://github.com/wso2/carbon4-kernel/pull/63

 Regards,
 Nira

 On Mon, Oct 27, 2014 at 3:21 PM, Niranjan Karunanandham niran...@wso2.com
  wrote:

 [adding sameeraJ]

 On Mon, Oct 27, 2014 at 3:18 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 When clustering is enabled with debug logs are enabled for hazelcast
 (via logging-bridge.properties), the following error message is displayed
 (entire error message available in JIRA [1]):

 WARN {com.hazelcast.instance.Node} -  [127.0.0.1]:0 [wso2.carbon.domain]
 [unknown] ManagementCenterService could not be constructed!
 java.lang.IllegalArgumentException: version string 'unknown' is not valid


 This happens when in the hazelcast, hazelcast.version and
 hazelcast.build are null. This value is set in hazelcast in
 HazelCastUtil.java [2] from System properties. If it is not defined in
 system properties, then it tries to get the value from
 hazelcast-runtime.properties.  Therefore in order to fix this issue, we
 need to either set the above mentioned to values in the system properties
 or by including the hazelcast-runtime.properties in hazelcast
 3.2.6.wso2v1 pom [3]. Is this correct? Please advice.


 [1] - https://wso2.org/jira/browse/CARBON-15027
 [2] -
 https://github.com/hazelcast/hazelcast/blob/v3.2.6/hazelcast/src/main/java/com/hazelcast/util/HazelcastUtil.java
 [3] -
 https://github.com/wso2/orbit/blob/master/hazelcast/3.2.6.wso2v1/pom.xml


 Regards,
 Nira

 --

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




 --

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




 --

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




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/*
*email: **az...@wso2.com* az...@wso2.com
* cell: +94 77 3320919blog: **http://blog.afkham.org*
http://blog.afkham.org
*twitter: **http://twitter.com/afkham_azeez*
http://twitter.com/afkham_azeez
*linked-in: **http://lk.linkedin.com/in/afkhamazeez
http://lk.linkedin.com/in/afkhamazeez*

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


Re: [Dev] WSO2 Committers += Rajkumar Rajaratnam

2014-10-28 Thread Irham Iqbal
Congrats !!

On Tue, Oct 21, 2014 at 9:17 AM, Kalpa Welivitigoda kal...@wso2.com wrote:

 Congratulations Rajkumar !

 On Tue, Oct 21, 2014 at 9:07 AM, Lakmal Warusawithana lak...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to announce Raj as a WSO2 Committer. Raj has done great
 contributions to Apache Stratos and WSO2 Private PaaS products. And in
 recognition of his contribution he has been voted as a WSO2 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-28 Thread Irham Iqbal
Congrats !!

On Tue, Oct 28, 2014 at 2:37 PM, Priyadarssini Kishokumar 
priyadarss...@wso2.com wrote:

 Congratulations Lasindu !

 On Tue, Oct 28, 2014 at 1:41 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations Lasindu! :)

 On Tue, Oct 28, 2014 at 1:40 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations Lasindu!


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

 On Tue, Oct 28, 2014 at 11:12 AM, Chanuka Dissanayake chan...@wso2.com
 wrote:

 Congratulations Lasindu!

 On Mon, Oct 27, 2014 at 11:17 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Congratulations Lasindu  !!

 On Mon, Oct 20, 2014 at 8:48 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Lasindu !

 On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana 
 lak...@wso2.com wrote:

 Hi all,

 It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu
 has done great contributions to Apache Stratos and WSO2 Private PaaS
 products. And in recognition of his contribution he has been voted as a
 WSO2 commiter.

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

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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




 --
 Best Regards,

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

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




 --
 Rajith Vitharana

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

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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



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




 --
 *Jerad Rutnam | **Software Engineer - UI*
 WSO2, Inc. www.wso2.com

 *Email: je...@wso2.com je...@wso2.com*

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




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

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




-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Shiva Balachandran
Congrats :)

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

 Congratulations Milinda !

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

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


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

 Congratulations Milinda 

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

 Congratulations Milinda !!

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

 Congratulations Milinda !!!

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

 Congrats Milinda :)

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

 Congratz milinda...!!!

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

 Congratz Milinda...!!

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

 Congratz Milinda..!!!

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

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


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

 Congratulations Milinda.!!

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

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

 Congratz!!

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

 Congratzz Milinda..

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

 Congratulations Milinda !!!

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

 Congars Milinda

 Regards,
 Firzhan

 On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Milinda!!!

 On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Milinda !

 On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Milinda!!! :)

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

 Hi all,

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

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

 Regards
 Nandika

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

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




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

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

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




 --
 Best Regards,

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

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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



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




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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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



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



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 

Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Shiva Balachandran
Hi Himasha,

Here is the link to the latest version of ES [1].

1 - http://dist.wso2.org/milestone/es/2.0.0-M4/wso2es-2.0.0-SNAPSHOT.zip
http://www.google.com/url?q=http%3A%2F%2Fdist.wso2.org%2Fmilestone%2Fes%2F2.0.0-M4%2Fwso2es-2.0.0-SNAPSHOT.zipsa=Dsntz=1usg=AFQjCNH2raQk8mVuschCmhg9gg6lYNIxYw

Thank you,
Shiva Balachandran



On Tue, Oct 28, 2014 at 6:44 PM, Sameera Medagammaddegedara 
samee...@wso2.com wrote:

 Hi Himash,

 Which version of ES are you using?

 Thank You,
 Sameera

 On Tue, Oct 28, 2014 at 3:28 PM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Hi Himasha,

 Yes, removing the Created time causes the issue as it is mandatory. The
 given rxt should work without any issues.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 3:09 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi Sameera,

 Thanks for the response, earlier I had removed create time which must've
 caused the issue. Once I added it back the error was resolved. This is the
 RXT definition I used.

 ?xml version=1.0?
 artifactType type=application/vnd.wso2-chevron+xml
 shortName=chevron singularLabel=Chevron
   pluralLabel=Chevrons
   hasNamespace=false iconSet=10

 storagePath/chevrons/@{overview_provider}/@{overview_name}/@{overview_version}/storagePath
 nameAttributeoverview_name/nameAttribute
 ui
 list
 column name=Provider
 data type=path value=overview_provider
 href=@{storagePath}/
 /column
 column name=Name
 data type=path value=overview_name
 href=@{storagePath}/
 /column
 column name=Platform
 data type=path value=overview_platform
 href=@{storagePath}/
 /column
 column name=Version
 data type=path value=overview_version
 href=@{storagePath}/
 /column
 /list
 /ui
 content
 table name=Overview
 field type=text required=true
 nameProvider/name
 /field
 field type=text required=true
 nameName/name
 /field
 field type=text required=true
 nameVersion/name
 /field
 field type=text required=true
 nameOwner/name
 /field
 field type=text required=true
 namePredecessors/name
 /field
 field type=text required=true
 nameSuccessors/name
 /field
 field type=text required=true
 nameAssociated Product Process/name
 /field
 field type=text
 nameCreatedtime/name
 /field
 field type=text-area
 nameDescription/name
 /field
 /table
 table name=Images
 field type=text required=true
 nameIcon/name
 /field
 field type=text required=true
 nameThumbnail/name
 /field
 field type=text required=true
 nameBanner/name
 /field
 /table
 /content

 /artifactType

 Thanks ,

 Himasha

 On Tue, Oct 28, 2014 at 2:56 PM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Hi Himasha,

 Can you share the RXT definition you tried that gives the error?
 What is the ES version you are working with?

 AFAIK provider, name, version and created time are mandatory in an RXT
 definition as they are required for basic processing of an asset in ES.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi all,

 I was trying out on creating new asset types in Enterprise Store, and
 was able to add a new asset type as mentioned in the documentation. But
 when I try to customize by altering the fields (add/remove) of the rxt 
 file
 , I get the following error while accessing publisher url.

 *org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
 from null (/publisher/modules/ext/core/extension.parser.js#97)
 (/publisher/controllers/assets_router.jag#83)*

 Are there any default fields that all rxts should include? If so what
 would be the reason behind it? Appreciate any advice on this.
 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




 --



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

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




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com




 --



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

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

Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Himasha Guruge
Thanks Shiva , Sameera I was using ES version 1.1.0.

Thank You,
Himasha

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

 Hi Himasha,

 Here is the link to the latest version of ES [1].

 1 - http://dist.wso2.org/milestone/es/2.0.0-M4/wso2es-2.0.0-SNAPSHOT.zip
 http://www.google.com/url?q=http%3A%2F%2Fdist.wso2.org%2Fmilestone%2Fes%2F2.0.0-M4%2Fwso2es-2.0.0-SNAPSHOT.zipsa=Dsntz=1usg=AFQjCNH2raQk8mVuschCmhg9gg6lYNIxYw

 Thank you,
 Shiva Balachandran



 On Tue, Oct 28, 2014 at 6:44 PM, Sameera Medagammaddegedara 
 samee...@wso2.com wrote:

 Hi Himash,

 Which version of ES are you using?

 Thank You,
 Sameera

 On Tue, Oct 28, 2014 at 3:28 PM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Hi Himasha,

 Yes, removing the Created time causes the issue as it is mandatory. The
 given rxt should work without any issues.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 3:09 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi Sameera,

 Thanks for the response, earlier I had removed create time which
 must've caused the issue. Once I added it back the error was resolved. This
 is the RXT definition I used.

 ?xml version=1.0?
 artifactType type=application/vnd.wso2-chevron+xml
 shortName=chevron singularLabel=Chevron
   pluralLabel=Chevrons
   hasNamespace=false iconSet=10

 storagePath/chevrons/@{overview_provider}/@{overview_name}/@{overview_version}/storagePath
 nameAttributeoverview_name/nameAttribute
 ui
 list
 column name=Provider
 data type=path value=overview_provider
 href=@{storagePath}/
 /column
 column name=Name
 data type=path value=overview_name
 href=@{storagePath}/
 /column
 column name=Platform
 data type=path value=overview_platform
 href=@{storagePath}/
 /column
 column name=Version
 data type=path value=overview_version
 href=@{storagePath}/
 /column
 /list
 /ui
 content
 table name=Overview
 field type=text required=true
 nameProvider/name
 /field
 field type=text required=true
 nameName/name
 /field
 field type=text required=true
 nameVersion/name
 /field
 field type=text required=true
 nameOwner/name
 /field
 field type=text required=true
 namePredecessors/name
 /field
 field type=text required=true
 nameSuccessors/name
 /field
 field type=text required=true
 nameAssociated Product Process/name
 /field
 field type=text
 nameCreatedtime/name
 /field
 field type=text-area
 nameDescription/name
 /field
 /table
 table name=Images
 field type=text required=true
 nameIcon/name
 /field
 field type=text required=true
 nameThumbnail/name
 /field
 field type=text required=true
 nameBanner/name
 /field
 /table
 /content

 /artifactType

 Thanks ,

 Himasha

 On Tue, Oct 28, 2014 at 2:56 PM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Hi Himasha,

 Can you share the RXT definition you tried that gives the error?
 What is the ES version you are working with?

 AFAIK provider, name, version and created time are mandatory in an RXT
 definition as they are required for basic processing of an asset in ES.

 Thank you,
 Sameera

 On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Hi all,

 I was trying out on creating new asset types in Enterprise Store, and
 was able to add a new asset type as mentioned in the documentation. But
 when I try to customize by altering the fields (add/remove) of the rxt 
 file
 , I get the following error while accessing publisher url.

 *org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property name
 from null (/publisher/modules/ext/core/extension.parser.js#97)
 (/publisher/controllers/assets_router.jag#83)*

 Are there any default fields that all rxts should include? If so what
 would be the reason behind it? Appreciate any advice on this.
 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




 --



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

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




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 

Re: [Dev] WSO2 Message Broker 3.0.0 Milestone 1 Released !

2014-10-28 Thread Ramith Jayasinghe
Hi All,
We missed the list features completed in  WSO2 MB v 3.0.0 milestone 1.
Therefore, I'm listing there again:

1) RDBMS based Message store
 - Previous version of MB (v 2.2.0) used Cassandra as the
message store. But with this milestone users can use a RDBMS as a message
store ( e.g. MYSQL, H2, MSSQL)
2) HazelCast Based clustering
- Previous versions used ZooKeeper for group communication.
But we have removed that dependency with use of HazelCast.

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


[Dev] [ESB] Issue in Load Balanced Endpoint when one end point is unavailable

2014-10-28 Thread Dilini Muthumala
Hi,

I created an API with a load-balanced endpoint (*endpoint_0*). Configuration
attached as LBApi.xml.

api xmlns=http://ws.apache.org/ns/synapse; name=LBApi context=/LBApi
   resource methods=POST GET OPTIONS DELETE PUT
  inSequence
 send
endpoint key=*endpoint_0*/endpoint
 /send
 log level=full xmlns=http://ws.apache.org/ns/synapse/
  /inSequence
  outSequence
 send/send
  /outSequence
   /resource
/api

Let's say *endpoint_0* consist of three endpoints and the load is balanced
among those three endpoints. Configuration of endpoint_0 is attached as
endpoint_0.xml.

When (at least) one endpoint is unavailable I noticed that the log mediator
in the api doesn't get executed (generally, what ever given after the send
mediator doesn't get executed).

I used ESB 4.8.1.
Just want to know if this is a known issue or I have missed something when
configuring; I will create a Jira if not.

Thanks,
Dilini

-- 
*Dilini Muthumala*
Software Engineer,
WSO2 Inc.

*E-mail :* dil...@wso2.com
*Mobile: *+94713 400 029
?xml version=1.0 encoding=UTF-8?
api xmlns=http://ws.apache.org/ns/synapse; name=LBApi context=/LBApi
   resource methods=POST GET OPTIONS DELETE PUT
  inSequence
 send
endpoint key=endpoint_0/
 /send
 log level=full xmlns=http://ws.apache.org/ns/synapse/
  /inSequence
  outSequence
 send/
  /outSequence
   /resource
/api
?xml version=1.0 encoding=UTF-8?
endpoint xmlns=http://ws.apache.org/ns/synapse; name=endpoint_0
   loadbalance algorithm=org.apache.synapse.endpoints.algorithms.RoundRobin
  endpoint name=endpoint_0_0
 http method=post
   uri-template=http://10.100.5.59:9773/services/HelloService//
 property name=ENDPOINT_ADDRESS
   value=http://10.100.5.59:9773/services/HelloService//
  /endpoint
  endpoint name=endpoint_0_1
 http method=post
   uri-template=http://10.100.5.59:9774/services/HelloService//
 property name=ENDPOINT_ADDRESS
   value=http://10.100.5.59:9774/services/HelloService//
  /endpoint
  endpoint name=endpoint_0_2
 http method=post
   uri-template=http://10.100.5.59:9775/services/HelloService//
 property name=ENDPOINT_ADDRESS
   value=http://10.100.5.59:9775/services/HelloService//
  /endpoint
   /loadbalance
/endpoint
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-28 Thread Dilini Muthumala
Hi Ravindra,
Thanks for your suggestion.

Hi all,
Seems like the following is the root cause for this issue:

When an endpoint is unavailable, we noticed that,
whatever is given after the send mediator (in the insequence) doesn't get
executed.
As a result, the BAM mediator, which is placed after the send mediator,
doesn't get executed; and it will not receive the event that the API was
invoked. Hence the stats go wrong.

I created an API with a load-balanced endpoint in ESB 4.8.1 and noticed the
same behaviour. Refer to mail thread in dev list with subject [ESB] Issue
in Load Balanced Endpoint when one end point is unavailable.

Thanks,
Dilini

On Tue, Oct 28, 2014 at 9:11 AM, Ravindra Ranwala ravin...@wso2.com wrote:

 Hi Lakshman,

 AFAIK this looks like a configuration issue. You have given a name to
 endpoints which were defined inline. Can you please change the
 configuration as given in article [1] and simplify this. Then try that out
 again.


 [1]
 https://docs.wso2.com/display/ESB481/Sample+54%3A+Session+Affinity+Load+Balancing+between+Three+Endpoints


 Thanks  Regards,

 On Mon, Oct 27, 2014 at 10:31 AM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi All,

 As per the offline discussion with Lakmali, The reason for this issue is
 when one end point is down,  It will fail to go to the bam mediator(which
 is responsible for publishing event to destination statistics table in BAM
 cassandra database)which is added after send mediator in synapse
 configuration(that is generated when new api is created) for every 30
 seconds. I just checked that by adding a log mediator between send mediator
 and bam mediator. Seems like no issue with bam mediator. It publishes all
 the request it receives. need to find why call will not through bam
 mediator for every 30 seconds. I added the sample inSequence generated
 here. kindly expect your feedback on this.
 inSequence
 filter source=$ctx:AM_KEY_TYPE regex=PRODUCTION
 then
 send
 endpoint name=admin--helloSearvice_APIproductionEndpoint_0
 loadbalance algorithm=
 org.apache.synapse.endpoints.algorithms.RoundRobin
 endpoint name=admin--helloSearvice_APIproductionEndpoint_0_0
 http uri-template=http://10.100.5.161:8310/services/
 property name=ENDPOINT_ADDRESS value=
 http://10.100.5.161:8310/services/
 /endpoint
 endpoint name=admin--helloSearvice_APIproductionEndpoint_0_1
 http uri-template=http://10.100.5.161:8290/services/
 property name=ENDPOINT_ADDRESS value=
 http://10.100.5.161:8290/services/
 /endpoint
 endpoint name=admin--helloSearvice_APIproductionEndpoint_0_2
 http uri-template=http://10.100.5.161:8300/services/
 property name=ENDPOINT_ADDRESS value=
 http://10.100.5.161:8300/services/
 /endpoint
 /loadbalance
 /endpoint
 /send
 bam
 serverProfile name=bam-profile
 streamConfig name=org_wso2_apimgt_statistics_destination version=
 1.0.0/
 /serverProfile
 /bam
 /then
 else
 sequence key=_sandbox_key_error_/
 /else
 /filter
 /inSequence

 Thanks

 On Wed, Oct 22, 2014 at 9:00 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi Manoj,

 I tested this with single BAM instance. As Gihan mentioned ,Still need
 to check there is a problem in APIM side. I will update this thread if
 problem is in APIM

 Thanks

 On Wed, Oct 22, 2014 at 7:49 PM, Manoj Gunawardena man...@wso2.com
 wrote:

 Hi Lakshman,

 This is very useful results, Thanks for sharing. We will do the same
 test for ES as well. Is this test run for single BAM instance, or multiple?
 (load balanced environment)

 Thanks

 On Wed, Oct 22, 2014 at 6:37 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Gihan,

 I sent 1 requests with the preconditions you have mentioned. only
 one record is missed in cassendra database for every time I sent 1
 requests via APIM.

 Thanks

 On Wed, Oct 22, 2014 at 9:28 AM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Gihan,

 I will do that test and get back to you.

 Thanks

 On Wed, Oct 22, 2014 at 9:23 AM, Inosh Goonewardena in...@wso2.com
 wrote:

 Hi,

 On Wednesday, October 22, 2014, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Inosh,

 data in cassandra database are summized to a relational database.
 records in cassandra database and this relational table is same. so I 
 think
 there is no problem with cassandra explorer.


 Ok understood. I have misread your previous email.


 Thanks

 On Wed, Oct 22, 2014 at 9:14 AM, Inosh Goonewardena in...@wso2.com
  wrote:

 Hi Lakshman,

 You mean data is therw in cassandra and cassandra explorer doesn't
 show these data? Did you compare by using cassandra CLI tool?

 On Wednesday, October 22, 2014, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 HI Gihan ,

 They are lost randomly.

 Thanks

 On Wed, Oct 22, 2014 at 9:00 AM, Gihan Anuruddha gi...@wso2.com
 wrote:

 Hi Lakshman,

 How many records did you send to BAM and how many events are
 lost?

 Regards,
 Gihan

 On Wed, Oct 22, 2014 at 8:18 AM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Gihan,

 These 

Re: [Dev] Hazelcast - ManagementCenterService could not be constructed! error in server startup

2014-10-28 Thread Niranjan Karunanandham
Hi Azeez,

On Tue, Oct 28, 2014 at 6:34 PM, Afkham Azeez az...@wso2.com wrote:

 So this file now gets packed with the hazelcast orbit bundle, or does it
 have to be placed in the conf directory or somewhere?

It gets packed with the hazelcast orbit bundle.

Regards,
Nira

On Tue, Oct 28, 2014 at 6:34 PM, Afkham Azeez az...@wso2.com wrote:

 So this file now gets packed with the hazelcast orbit bundle, or does it
 have to be placed in the conf directory or somewhere?

 On Tue, Oct 28, 2014 at 1:37 AM, Niranjan Karunanandham niran...@wso2.com
  wrote:

 Hi Sameera

 As per the offline discussion we had, I have create v2 for hazelcast
 3.2.6 and included the resource hazelcast-runtime.properties in hazelcast
 3.2.6.wso2v2 pom in orbit repo. I have also update the parent pom in
 carbon4-kernel with the new orbit version hazelcast. I have sent the pull
 requests to orbit[1] and carbon4-kernel[2] respectively.

 [1] - https://github.com/wso2/orbit/pull/32
 [2] - https://github.com/wso2/carbon4-kernel/pull/63

 Regards,
 Nira

 On Mon, Oct 27, 2014 at 3:21 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 [adding sameeraJ]

 On Mon, Oct 27, 2014 at 3:18 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 When clustering is enabled with debug logs are enabled for hazelcast
 (via logging-bridge.properties), the following error message is displayed
 (entire error message available in JIRA [1]):

 WARN {com.hazelcast.instance.Node} -  [127.0.0.1]:0
 [wso2.carbon.domain] [unknown] ManagementCenterService could not be
 constructed!
 java.lang.IllegalArgumentException: version string 'unknown' is not
 valid


 This happens when in the hazelcast, hazelcast.version and
 hazelcast.build are null. This value is set in hazelcast in
 HazelCastUtil.java [2] from System properties. If it is not defined in
 system properties, then it tries to get the value from
 hazelcast-runtime.properties.  Therefore in order to fix this issue, we
 need to either set the above mentioned to values in the system properties
 or by including the hazelcast-runtime.properties in hazelcast
 3.2.6.wso2v1 pom [3]. Is this correct? Please advice.


 [1] - https://wso2.org/jira/browse/CARBON-15027
 [2] -
 https://github.com/hazelcast/hazelcast/blob/v3.2.6/hazelcast/src/main/java/com/hazelcast/util/HazelcastUtil.java
 [3] -
 https://github.com/wso2/orbit/blob/master/hazelcast/3.2.6.wso2v1/pom.xml


 Regards,
 Nira

 --

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




 --

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




 --

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*
 http://twitter.com/afkham_azeez
 *linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 

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


Re: [Dev] [ESB] Issue in Load Balanced Endpoint when one end point is unavailable

2014-10-28 Thread Dilini Muthumala
Correction:

On Tue, Oct 28, 2014 at 8:12 PM, Dilini Muthumala dil...@wso2.com wrote:

 When (at least) one endpoint is unavailable I noticed that the log
 mediator in the api doesn't get executed (generally, what ever given after
 the send mediator doesn't get executed).


This happens only when it's the unavailable endpoint 's turn to serve the
request.
For example, let's say endpoint_0_1 is unavailable. log mediator doesn't
get executed when  it's endpoint_0_1's turn (according to LB algorithm) to
serve the request.



 I used ESB 4.8.1.
 Just want to know if this is a known issue or I have missed something when
 configuring; I will create a Jira if not.

 Thanks,
 Dilini

 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




-- 
*Dilini Muthumala*
Software Engineer,
WSO2 Inc.

*E-mail :* dil...@wso2.com
*Mobile: *+94713 400 029
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES- Integration Test] Custom WebDriver Class for UI test Automation

2014-10-28 Thread Ayesha Dissanayaka
Hi,

We were facing some difficulties while executing UI integration test for
ES. The current WebDriver class findElement(By by) was  tending to fail
giving element not found errors due to the high execution speed of the
driver.
For example it wasn't waiting until caramal page renders completes/ ajax
call returns completes/ comment boxes appears and for some other cases as
well. This was blocking record and play back capability of selenium and
auto generating java test cases using selenium discussed in the mail
thread[01], since they do not record waits/pause.

Therefore I have written a custom *WebDriver* class implementing
*org.openqa.selenium.WebDriver* interface. It wraps the the current
*WebDriver* return by
*BrowserManager.getWebDriver().*
I have overridden findElement(By by) method to wait for maximum of a given
time (in our case 30sec) until the element is present in the page. At any
moment the element is present, it will continue the execution. If it reach
the waiting time without finding the element, it will timeout as in default
findElement() method.

Further I have introduced a new method *findElementPoll(By by, int
pollCount) *which will repeatedly refresh/reload the page for maximum given
number of *pollCount *times, untill a element is present. This method is
useful for scenarios such as ES store/publisher has to wait until indexing
complete.(ex: after adding a asset). This avoids using thread sleeps and
relying on a timely wait until an element appears.

All the other-methods of WebDriver class are returning original methods
implemented in *BrowserManager.getWebDriver() *class for now.

So far this approach has helped to avoid several thread sleeps and adding
implicit/explicit waits manually in each and every test case.

Hopefully we can introduce/override methods using this class to achieve
common goals without changing each and every test case.

I would appreciate any of your comments on this approach.

[01]  [Dev][ES] Selenium UI Integration Test Generation

Thanks!
- Ayesha

*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com ayshsa...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Wait Before Start Executing Automated Tests Suits

2014-10-28 Thread Krishantha Samaraweera
Hi,

On Fri, Oct 24, 2014 at 5:39 PM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Hi,

 Due to the registry indexing, it takes about 15 seconds to populate assets
 and start the jaggery-apps(publisher/store) properly in ES( if indexing is
 completed at first attempt) .This affects the tests cases since the
 framework start to execute the test cases as soon as the server starts.
 In order to prevent that we have implemented an extension to the
 automation framework [01] which delays test execution for a given time.


Can't we create URL connection to the Jaggery apps and wait until apps get
deployed successfully?

Thanks,
Krishantha.


 Currently, Registry do not expose an API to check whether the indexing is
 completed. However AFAIK registry loops indexing at interval of 15 seconds
 from startup. Hence, currently we have put a thread sleep for 20 seconds to
 wait the test execution. For the worst case scenario we can set it to 45
 seconds.

 I would like to know whether there is a better way to achieve this?

 [01] [Dev] Reduce the execution speed of Web Driver

 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com




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


Re: [Dev] Why does Jaggery Sender Object results in an Exception?

2014-10-28 Thread Tanya Madurapperuma
Hi all,

Yesterday myself and Dilan tried with the above code snippet. We first
tried creating the jaggery app manually inside
repository/deployment/server/jaggeryapps and it worked.We invoked it
serveral times and worked without any issue. After that we created an
archive of the same jaggerapp and upload it through the management
console.App got unzipped in the right manner.But invocation of that failed
with the above exception that Dilan has mentioned.

After several retries, I got a mail from google with the subject Google
Account: sign-in attempt blocked, which says that the mail sending has
been identified as a suspicious activity and google has blocked it.

Then again I tried with a yahoo account by uploading the archive and it
worked fine.

So the issue is, after several attempts, google identify the access to the
sender's account as a suspicious activity and blocked sending mails from
sender's account. Therefore there is no issue with the jaggery email host
object.

Thanks,
Tanya


On Tue, Oct 28, 2014 at 5:01 PM, Harshan Liyanage hars...@wso2.com wrote:

 Hi Tanya,

 I've tried the same code snippet  I'm getting the same issue Dilan has
 encountered. However this email sending feature was already tested 
 verified feature. I'm wondering what causes this exception.

 Thanks,

 Best Regards,

 Lakshitha Harshan
 Software Engineer
 Mobile: *+94724423048*
 Email: hars...@wso2.com
 Blog : http://harshanliyanage.blogspot.com/
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 On Tue, Oct 28, 2014 at 4:28 PM, Tanya Madurapperuma ta...@wso2.com
 wrote:



 On Tue, Oct 28, 2014 at 4:18 PM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi Tanya,

 This is exactly as same as what I tested. The only difference is that I
 checked this on a standalone emm server (EMM 1.1.0) and
 then on a standalone Jaggery Server (Jaggery 1.0.0-SNAPSHOT_ALPHA3).

 So, if this works fine for you when tested on top of an AS, well, what
 is the Jaggery version that you are dealing with?


 0.9.0ALPHA4


 Thanks for your feedback.



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

 On Tue, Oct 28, 2014 at 3:30 PM, Tanya Madurapperuma ta...@wso2.com
 wrote:

 Hi Dilan,

 As the error itself explains, your error is due to incorrect
 credentials of the sender. Following code snippet works for me.(Tested with
 AS 5.2.1) But when I change the password to an incorrect value, I can
 reproduce the same error you get.

 %
 var to = t...@gmail.com;
 var from = ta...@wso2.com
 var subject = Test Subject;
 var content = Test Content;

 var msg = require('email');
 var email = new msg.Sender(smtp.gmail.com, 25, ta...@wso2.com,
 xx, tls);

 email.from = from;
 email.to = to;
 email.subject = subject;
 email.text = content;
 email.send();

 print(email successfully sent);

 %

 Thanks,
 Tanya

 On Tue, Oct 28, 2014 at 2:36 PM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Hi Inosh,

 I used the same configuration as provided in the documentation
 and it didn't work at all.


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

 On Tue, Oct 28, 2014 at 2:27 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Dilan,
 It would be easier, if you can provide the configurations(parameters)
 you provided to this function can also be included here. Is it the same 
 as,
 var sender = new email.Sender(smtp.gmail.com, 25, username,
 password, tls);

 Regards,
 Inosh

 On Tue, Oct 28, 2014 at 2:23 PM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Hi All,

 I am currently working on an EMM Issue that is directly associated
 with Jaggery Sender Object [1].
 When I run the email sending function that wraps up the Jaggery
 Sender.send() function, that results in an AuthenticationFailedException
 as follows.

 ERROR {JAGGERY.modules.user:js} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 javax.mail.AuthenticationFailedException (/emm/modules/user.js#893)
 at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
 at
 org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
 at
 org.jaggeryjs.rhino.emm.modules.c7._c_anonymous_39(/emm/modules/user.js:893)
 at org.jaggeryjs.rhino.emm.modules.c7.call(/emm/modules/user.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 org.jaggeryjs.rhino.emm.api.c0._c_anonymous_17(/emm/api/userRouter.js:192)
 at org.jaggeryjs.rhino.emm.api.c0.call(/emm/api/userRouter.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
 at
 

[Dev] How to create a new ESB mediator

2014-10-28 Thread Lahiru Chandima
Hi All,

I am trying to create a new mediator (not a class mediator) for ESB. I have
encountered several problems so far.

1. Where does the synapse config of ESB reside? I searched for some text in
the config (shown in the management console) in the ESB directory but
couldn't find the location.

2. So far I have crated a maven project for the mediator and created
mediator, mediator factory and mediator serializer classes (I haven't
created the mediator configuration UI module yet). I copied the generated
jar file to repository/components/plugins directory, added the new mediator
to a sequence in the synapse config of ESB sample 150[1
https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services]
and started ESB with sample 150 config. ESB gives following exception at
startup.

[2014-10-29 09:05:48,116]  WARN - SynapseXMLConfigurationFactory Proxy
Service configuration: StockQuoteProxy cannot be built - Continue in
fail-safe mode
java.lang.NullPointerException
at
org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:207)
at
org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at
org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
at
org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:193)
at
org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
at
org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:92)


Looks like ESB cannot find the factory for creating the new mediator
specified in the synapse config. What should I do for ESB to identify my
jar as an ESB mediator?

Can somebody help me on this?

[1]
https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services

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


Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-28 Thread Uvindra Dias Jayasinha
We made this change to fix[1], we changed all the DB scripts so that they
would be consistent, but looks like now Oracle has an issue with this :(

So we will revert it back on the other scripts to CURRENT_TIMESTAMP as
default(which was what existed previously) and only have a 0 as default for
the MySQL DB script since there is no way of maintaining consistency across
all scripts for this case anymore.



[1] - https://wso2.org/jira/browse/APIMANAGER-2981

On 28 October 2014 16:23, Evanthika Amarasiri evanth...@wso2.com wrote:

 Hi Uvindra,

 The Oracle DB script of the latest API-M pack (27th Oct) fails due to the
 following of the AM_WORKFLOWS table.

 *WF_CREATED_TIME TIMESTAMP DEFAULT 0,*

 Since testing on the setup was blocked from this  issue, we updated the
 script as below.

 *WF_CREATED_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP*

 Jira reported at [1]

 [1] - https://wso2.org/jira/browse/APIMANAGER-3021

 Regards,
 Evanthika

 On Wed, Oct 22, 2014 at 3:22 PM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Thanks, We will be using the provided scripts for time being.

 On Wed, Oct 22, 2014 at 2:52 PM, Uvindra Dias Jayasinha uvin...@wso2.com
  wrote:

 Ticket has been resolved and the updated scripts can be obtained from
 here till a new pack is issued,


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/distribution/resources/sql/

  You can use these scripts instead of the ones in the 20 October pack to
 create databases for your testing

 On 22 October 2014 10:02, Uvindra Dias Jayasinha uvin...@wso2.com
 wrote:

 Yes you can use the scripts from the previous pack to continue but
 refrain from testing any *work flow* related functionality until we
 resolve this for the moment.

 We will change this so that it is backward compatible.

 On 22 October 2014 09:59, Yasassri Ratnayake yasas...@wso2.com wrote:

 Hi Uvindra,

 I'm using *mysql 5.5.40*. Till you fix this issue is it OK if we use
 the scripts from the 6th October pack since this issue is blocking us.

 With regards,

 On Wed, Oct 22, 2014 at 9:50 AM, Uvindra Dias Jayasinha 
 uvin...@wso2.com wrote:

 The change to the script was introduced via the resolution of this
 ticket,

 https://wso2.org/jira/browse/APIMANAGER-2536

 This issue is MySQL version dependent and does not occur on version
 5.6.5 and above. Most probably this was tested on a newer version of 
 MySQL
 during development and therefore did not cause any issues.

 On 22 October 2014 09:41, Uvindra Dias Jayasinha uvin...@wso2.com
 wrote:

 I am looking into this, the script has been changed recently

 On 22 October 2014 07:53, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Hi All,

 There seems to be an Syntax error in the mysql DB scripts(apim
 scripts), and due to this some of the tables do not get created. I have
 reported this at [1]. Since this is a blocking issue pls provide a fix
 ASAP.

 When the server is started with -Dsetup parameter the server
 doesn't even throw an error indicating that the DB scripts haven't 
 executed
 properly.  Isn't this another concern?

 [1] - https://wso2.org/jira/browse/APIMANAGER-2981
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*





-- 
Regards,
Uvindra

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


Re: [Dev] How to create a new ESB mediator

2014-10-28 Thread Waruna Perera
HI Lahiru,

Can you share the code in GitHub? And share your synapse config as well.

On Wed, Oct 29, 2014 at 9:37 AM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi All,

 I am trying to create a new mediator (not a class mediator) for ESB. I
 have encountered several problems so far.

 1. Where does the synapse config of ESB reside? I searched for some text
 in the config (shown in the management console) in the ESB directory but
 couldn't find the location.

 2. So far I have crated a maven project for the mediator and created
 mediator, mediator factory and mediator serializer classes (I haven't
 created the mediator configuration UI module yet). I copied the generated
 jar file to repository/components/plugins directory, added the new mediator
 to a sequence in the synapse config of ESB sample 150[1
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services]
 and started ESB with sample 150 config. ESB gives following exception at
 startup.

 [2014-10-29 09:05:48,116]  WARN - SynapseXMLConfigurationFactory Proxy
 Service configuration: StockQuoteProxy cannot be built - Continue in
 fail-safe mode
 java.lang.NullPointerException
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:207)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
 at
 org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:193)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:92)


 Looks like ESB cannot find the factory for creating the new mediator
 specified in the synapse config. What should I do for ESB to identify my
 jar as an ESB mediator?

 Can somebody help me on this?

 [1]
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services

 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




-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Request to commit to kernel patch0009

2014-10-28 Thread Kalpa Welivitigoda
Hi Sameera,

Can we get the fixes attached in [1] committed to patch0009 of kernel?

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


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


Re: [Dev] How to create a new ESB mediator

2014-10-28 Thread Lahiru Chandima
Hi Waruna,

Here is the git repo url

https://github.com/lahiruchandima/publish_event_mediator

Here is the Synapse config

definitions xmlns=http://ws.apache.org/ns/synapse;
proxy name=StockQuoteProxy
target
endpoint
address uri=
http://localhost:9000/services/SimpleStockQuoteService/
/endpoint
outSequence
send/
*publishEvent/*
/outSequence
/target
publishWSDL
uri=file:repository/samples/resources/proxy/sample_proxy_1.wsdl/
/proxy
/definitions


Thanks



On Wed, Oct 29, 2014 at 9:49 AM, Waruna Perera waru...@wso2.com wrote:

 HI Lahiru,

 Can you share the code in GitHub? And share your synapse config as well.

 On Wed, Oct 29, 2014 at 9:37 AM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi All,

 I am trying to create a new mediator (not a class mediator) for ESB. I
 have encountered several problems so far.

 1. Where does the synapse config of ESB reside? I searched for some text
 in the config (shown in the management console) in the ESB directory but
 couldn't find the location.

 2. So far I have crated a maven project for the mediator and created
 mediator, mediator factory and mediator serializer classes (I haven't
 created the mediator configuration UI module yet). I copied the generated
 jar file to repository/components/plugins directory, added the new mediator
 to a sequence in the synapse config of ESB sample 150[1
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services]
 and started ESB with sample 150 config. ESB gives following exception at
 startup.

 [2014-10-29 09:05:48,116]  WARN - SynapseXMLConfigurationFactory Proxy
 Service configuration: StockQuoteProxy cannot be built - Continue in
 fail-safe mode
 java.lang.NullPointerException
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:207)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
 at
 org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:193)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:92)


 Looks like ESB cannot find the factory for creating the new mediator
 specified in the synapse config. What should I do for ESB to identify my
 jar as an ESB mediator?

 Can somebody help me on this?

 [1]
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services

 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




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




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


Re: [Dev] Wait Before Start Executing Automated Tests Suits

2014-10-28 Thread Ayesha Dissanayaka
Hi Krishantha,

Jaggery-app deployment is independent of the registry indexing. Hence,
Although jaggery app deployment completes successfully, indexing may not
have been completed and sample assets may not have been populated to the
apps.

So, we can't rely on a URL connection to the Jaggery-app. Otherwise, we
will have to check whether the assets are populated using same APIs we are
going to test.

Thanks!
- Ayesha

On Wed, Oct 29, 2014 at 8:14 AM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi,

 On Fri, Oct 24, 2014 at 5:39 PM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi,

 Due to the registry indexing, it takes about 15 seconds to populate
 assets and start the jaggery-apps(publisher/store) properly in ES( if
 indexing is completed at first attempt) .This affects the tests cases since
 the framework start to execute the test cases as soon as the server starts.
 In order to prevent that we have implemented an extension to the
 automation framework [01] which delays test execution for a given time.


 Can't we create URL connection to the Jaggery apps and wait until apps get
 deployed successfully?

 Thanks,
 Krishantha.


 Currently, Registry do not expose an API to check whether the indexing is
 completed. However AFAIK registry loops indexing at interval of 15 seconds
 from startup. Hence, currently we have put a thread sleep for 20 seconds to
 wait the test execution. For the worst case scenario we can set it to 45
 seconds.

 I would like to know whether there is a better way to achieve this?

 [01] [Dev] Reduce the execution speed of Web Driver

 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com




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




-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com ayshsa...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to create a new ESB mediator

2014-10-28 Thread Waruna Perera
HI Lahiru,

File path

ESB_HOME/
repository/deployment/server/synapse-configs/default/proxy-services

On Wed, Oct 29, 2014 at 10:02 AM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi Waruna,

 Here is the git repo url

 https://github.com/lahiruchandima/publish_event_mediator

 Here is the Synapse config

 definitions xmlns=http://ws.apache.org/ns/synapse;
 proxy name=StockQuoteProxy
 target
 endpoint
 address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
 /endpoint
 outSequence
 send/
 *publishEvent/*
 /outSequence
 /target
 publishWSDL
 uri=file:repository/samples/resources/proxy/sample_proxy_1.wsdl/
 /proxy
 /definitions


 Thanks



 On Wed, Oct 29, 2014 at 9:49 AM, Waruna Perera waru...@wso2.com wrote:

 HI Lahiru,

 Can you share the code in GitHub? And share your synapse config as well.

 On Wed, Oct 29, 2014 at 9:37 AM, Lahiru Chandima lahi...@wso2.com
 wrote:

 Hi All,

 I am trying to create a new mediator (not a class mediator) for ESB. I
 have encountered several problems so far.

 1. Where does the synapse config of ESB reside? I searched for some text
 in the config (shown in the management console) in the ESB directory but
 couldn't find the location.

 2. So far I have crated a maven project for the mediator and created
 mediator, mediator factory and mediator serializer classes (I haven't
 created the mediator configuration UI module yet). I copied the generated
 jar file to repository/components/plugins directory, added the new mediator
 to a sequence in the synapse config of ESB sample 150[1
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services]
 and started ESB with sample 150 config. ESB gives following exception at
 startup.

 [2014-10-29 09:05:48,116]  WARN - SynapseXMLConfigurationFactory Proxy
 Service configuration: StockQuoteProxy cannot be built - Continue in
 fail-safe mode
 java.lang.NullPointerException
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:207)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
 at
 org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:193)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:92)


 Looks like ESB cannot find the factory for creating the new mediator
 specified in the synapse config. What should I do for ESB to identify my
 jar as an ESB mediator?

 Can somebody help me on this?

 [1]
 https://docs.wso2.com/display/ESB481/Sample+150%3A+Introduction+to+Proxy+Services

 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




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




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




-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] setSecretCallbackHandlerService() method called twice when DataSourceServiceComponent bundle activation

2014-10-28 Thread Prabath Abeysekera
Hi Indika,

Please correct me if I'm wrong, the error trace posted in your mail doesn't
seem to suggest that the problem reported was caused by something specific
to Cassandra datasource configurations. Would you be able to explain a
little further as to how you concluded it that way?

FYI, we'd used the same configurations a few week backs while trying to fix
some Cassandra related dependency issue seen in MB, but had never come
across something like this. and I'm sure there hasn't been any changes in
Cassandra data reader implementation since then, as well. Perhaps, it's a
good idea to debug the ndatasource component and see what's gone wrong?

Cheers,
Prabath

On Tue, Oct 28, 2014 at 4:03 PM, Indika Sampath indi...@wso2.com wrote:

 Hi All,

 Cassandra server no longer embedded into WSO2 MB 3.0.0. Therefore I have
 removed following features from the product as well as removed cassandra
 profile too.

 org.wso2.carbon.cassandra.server
 org.wso2.carbon.cassandra.common

 The only remain cassandra related feature is
 org.wso2.carbon.cassandra.datareader. We use this feature to connect with
 external cassandra server by enabling cassandra datasource in
 master-datasources.xml. Communication happen with cassandra via
 cql-driver_1.0.8.wso2v1.

 We have added following provider under providers in
 master-datasources.xml


 providerorg.wso2.carbon.cassandra.datareader.datasource.CassandraDataSourceReader/provider

 Here is datasource we used to connect to external cassandra server

 datasource
 nameWSO2_CASSANDRA_DB/name
 descriptionThe datasource used for cassandra/description
 jndiConfig
 nameCassandraRepo/name
 /jndiConfig
 definition type=CASSANDRA
 configuration
 asyncfalse/async
 clusterNameTestCluster/clusterName
 compressionSNAPPY/compression
 concurrency100/concurrency
 usernameadmin/username
 password encrypted=trueadmin/password
 port9042/port
 maxConnections100/maxConnections

 hosts
 host127.0.0.1/host
 /hosts
 loadBalancePolicy
 exclusionThreshold2.5/exclusionThreshold
 latencyAwaretrue/latencyAware
 minMeasure100/minMeasure
 policyNameRoundRobinPolicy/policyName
 retryPeriod10/retryPeriod
 scale2/scale
 /loadBalancePolicy

 poolOptions

 coreConnectionsForLocal10/coreConnectionsForLocal

 coreConnectionsForRemote10/coreConnectionsForRemote
 maxConnectionsForLocal10/maxConnectionsForLocal

 maxConnectionsForRemote10/maxConnectionsForRemote

 maxSimultaneousRequestsForLocal10/maxSimultaneousRequestsForLocal

 maxSimultaneousRequestsForRemote10/maxSimultaneousRequestsForRemote

 minSimultaneousRequestsForLocal10/minSimultaneousRequestsForLocal

 minSimultaneousRequestsForRemote10/minSimultaneousRequestsForRemote
 /poolOptions

 reconnectPolicy
 baseDelayMs100/baseDelayMs
 policyNameConstantReconnectionPolicy/policyName
 /reconnectPolicy
 socketOptions
 connectTimeoutMillis200/connectTimeoutMillis
 keepAlivetrue/keepAlive
 readTimeoutMillis200/readTimeoutMillis
 tcpNoDelaytrue/tcpNoDelay
 /socketOptions

 /configuration

 /definition
 /datasource

 State of org.wso2.carbon.cassandra.datareader as below.

 136ACTIVE  org.wso2.carbon.cassandra.datareader_4.3.0.SNAPSHOT

 I have enabled DEBUG logs of DataSourceServiceComponent and it seems
 setSecretCallbackHandlerService() method called twice when bundle
 activation and private void initSystemDataSources() get called inside this
 setter method. It gives the below exception when second time calling
 initSystemDataSources() method. Is there anything wrong in our side with
 the implementation of connect to cassandra enabling datasource?

 [2014-10-28 14:50:23,521]  INFO
 {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
 deployed Agent Client
 [2014-10-28 14:50:23,586] DEBUG
 {org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
 SecretCallbackHandlerService acquired
 [2014-10-28 14:50:23,586] DEBUG
 {org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
 Initializing system data sources...
 [2014-10-28 14:50:23,778] DEBUG
 {org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent} -
 SecretCallbackHandlerService acquired
 [2014-10-28 14:50:23,778] DEBUG
 

[Dev] [DEV] TestSuit ServerLogReader printing Exceptions as INFO

2014-10-28 Thread Akalanka Pagoda Arachchi
Hi all,

When running integration
tests org.wso2.carbon.integration.common.extensions.utils.ServerLogReader
prints
all the exceptions occurred in the server as INFO. This is hard to read and
incorrect.

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: [2014-10-29 10:54:14,754] ERROR
{org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Error while
delivering message. Moving to Dead Letter Queue

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: org.wso2.andes.kernel.AndesException: org.wso2.andes.AMQException:
SEND FAILED  Exception occurred while sending message out message
ID370318195698434052 Unexpected Error while getting message content : This
might leads to an infinite loop so exiting the loop forcefully.
writtenSize= 0 oldWrittenSize= 0 bodySize= 35 Thus writtenSize =
oldWrittenSize  writtenSize  bodySize evaluates to TRUE

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.subscription.AMQPLocalSubscription.sendMessage(AMQPLocalSubscription.java:154)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.subscription.AMQPLocalSubscription.sendQueueEntryToSubscriber(AMQPLocalSubscription.java:124)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.subscription.AMQPLocalSubscription.sendAMQMessageToSubscriber(AMQPLocalSubscription.java:104)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.subscription.AMQPLocalSubscription.sendMessageToSubscriber(AMQPLocalSubscription.java:88)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.server.cassandra.QueueDeliveryWorker$1.run(QueueDeliveryWorker.java:356)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
org.wso2.andes.server.cassandra.SequentialThreadPoolExecutor$RunnableWrapper.run(SequentialThreadPoolExecutor.java:68)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at java.util.concurrent.FutureTask.run(FutureTask.java:138)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run

INFO: at java.lang.Thread.run(Thread.java:695)

Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run


And also the line 'Oct 29, 2014 10:54:14 AM
org.wso2.carbon.integration.common.extensions.utils.ServerLogReader run' floods
the test console by printing between each line.


This did not happen last week. Seems like something changed in the test
suit?


Thanks  Regards,
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue when creating a new tenant through management console

2014-10-28 Thread Sewwandi Perera
Hi Pulasthi,

Yes, it is working now.

Thanks.
Sewwandi

On Mon, Oct 27, 2014 at 4:42 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Sewwandi,

 Changes were added to carbon-registry[1]. You would need to build this
 locally since the nexus repo will only be updated by tomorrow AFAIK.

 [1] https://github.com/wso2-dev/carbon-registry/

 Regards,
 Pulasthi


 On Mon, Oct 27, 2014 at 3:24 PM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Hi Sewwandi,

 I have create a new tenant in management console just now and I didn't
 get that error. What was the username you have used ?

 Thanks !

 On Mon, Oct 27, 2014 at 3:16 PM, Sewwandi Perera sewwa...@wso2.com
 wrote:

 Hi,

 When creating a new tenant through management console, it always says
 that The username contains illegal characters.

 It seems that the regex used in the validateUsername function in 
 registry_validation.js
 has caused the problem.

 Is this a known issue?

 Thanks,
 Sewwandi

 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 mobile: +94-713765098

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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
Sewwandi Perera
Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
mobile: +94-713765098
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev