Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-12-24 Thread Mahesh Chinthaka
Many thanks Omindu..!!! On Sun, Dec 24, 2017 at 2:23 PM, Omindu Rathnaweera wrote: > Hi Mahesh, > > This issue was fixed with a WUM update. > > Regards, > Omindu. > > On Sun, Dec 24, 2017 at 5:47 PM, Mahesh Chinthaka > wrote: > >> Hi Maduranga/ Danushka,

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-12-24 Thread Mahesh Chinthaka
andard >>>> EngineValve.java:116) >>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd >>>> apter.java:452) >>>> at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs >>>> tractHttp11Processor.java:1087) >>>>

Re: [Dev] [Jaggery] - Is setting headers and type mandatory in jaggery post ?

2017-02-01 Thread Mahesh Chinthaka
Hi, Thanks. It means in order to get this fix I will need to update it to version 0.9.0.ALPHA4.wso2*v4*. On Thu, Feb 2, 2017 at 10:39 AM, madhuka udantha wrote: > Hi, > > It is fixed some years ago. (on 0.9.0.ALPHA4.wso2v4). > > Thanks > > On Wed, Jan 25, 2017 at 9:10

Re: [Dev] [Jaggery] - Is setting headers and type mandatory in jaggery post ?

2017-01-25 Thread Mahesh Chinthaka
va#L561 > > On Wed, Jan 25, 2017 at 2:10 PM, Mahesh Chinthaka > wrote: > >> Hi Jaggery Team, >> >> Actually the reason is, >> the endpoint im calling doesnt return anything as response. Just '204 No >> Content' >> >> Since the respons

Re: [Dev] [Jaggery] - Is setting headers and type mandatory in jaggery post ?

2017-01-25 Thread Mahesh Chinthaka
? Im using *org.jaggeryjs.hostobjects.xhr_0.9.0.ALPHA4_wso2v1.jar* On Wed, Jan 25, 2017 at 7:00 PM, Mahesh Chinthaka wrote: > Even though this error occurs, http call happens succesfully. That is > weird. > > On Wed, Jan 25, 2017 at 6:58 PM, Mahesh Chinthaka > wrote: > >> >>

Re: [Dev] [Jaggery] - Is setting headers and type mandatory in jaggery post ?

2017-01-25 Thread Mahesh Chinthaka
Even though this error occurs, http call happens succesfully. That is weird. On Wed, Jan 25, 2017 at 6:58 PM, Mahesh Chinthaka wrote: > > Hi all, > > Im using jaggery post to a http post call. > I dont need to set the headers, type and data as per my use case > when I use li

[Dev] [Jaggery] - Is setting headers and type mandatory in jaggery post ?

2017-01-25 Thread Mahesh Chinthaka
.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) Any idea please ? -- *Mahesh Chinthaka Vidanagama* | Software

Re: [Dev] Password Policy in WSO2 Identity Server

2016-11-21 Thread Mahesh Chinthaka
ion about it ? > > > Regards, > Hanen > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middl

Re: [Dev] [App Cloud] "When createAppInDataBase failed, adding addAppCreationEvent also getting failed"

2016-07-17 Thread Mahesh Chinthaka
ushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Mon, Jul 18, 2016 at 8:50 AM, Mahesh Chinthaka > wrote: > >> Hi All, >> >> Isnt it better to avoid adding an event at this point ? >> Since nothing has bee

Re: [Dev] [App Cloud] "When createAppInDataBase failed, adding addAppCreationEvent also getting failed"

2016-07-17 Thread Mahesh Chinthaka
2.org/jira/browse/APPCLOUD-206 > > Thanks > Amalka > > > ___ > 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

Re: [Dev] log user events to audit.log file via Jaggery block layer

2016-07-03 Thread Mahesh Chinthaka
> On Fri, Jul 1, 2016 at 12:13 PM, Amalka Subasinghe > wrote: > >> Hi, >> >> I have a Jaggery app deployed in WSO2AS, I want to log user activities >> via block layer to a separate file (to audit.log). >> Please help. >> >> Thanks >> Amalka >

[Dev] [Test Automation] How can we attach a file with post request in a test case

2016-06-02 Thread Mahesh Chinthaka
Hi, I want to attach a file for a post request along with some other parameters and values. What is the usual practice we follow in wso2 test automation framework ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri

Re: [Dev] Installing IBM Websphere MQ

2016-03-09 Thread Mahesh Chinthaka
Thanks Aruna On Wed, Mar 9, 2016 at 2:23 PM, Aruna Karunarathna wrote: > > > On Wed, Mar 9, 2016 at 2:18 PM, Mahesh Chinthaka wrote: > >> Hi, >> >> Has anybody tried $subject. >> Im trying to do [1]. But facing some issues on installing IBM MQ on my >

[Dev] Installing IBM Websphere MQ

2016-03-09 Thread Mahesh Chinthaka
Hi, Has anybody tried $subject. Im trying to do [1]. But facing some issues on installing IBM MQ on my machine. Im using a Mac with Os X. [1] - https://docs.wso2.com/display/ESB481/Configure+with+IBM+WebSphere+MQ -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean

Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack

2015-11-26 Thread Mahesh Chinthaka
;LOCK_TIMEOUT=6 Anyway I will carry on my work with this setting. On Fri, Nov 27, 2015 at 12:27 PM, Mahesh Chinthaka wrote: > Hi Dilshan, > Yes , I replaced that file. I got the same log as Amalka. username and > password is null. > And I checked master-datasources.xml file, there user

Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack

2015-11-26 Thread Mahesh Chinthaka
gt; Hi Mahesh, > > DId you try the instruction provided by Dilan at the top of the thread? > > Regards, > > Dilshan > > On Fri, Nov 27, 2015 at 12:20 PM, Mahesh Chinthaka > wrote: > >> I cloned it from git repository and built it. Still im having the issue. >> A

Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack

2015-11-26 Thread Mahesh Chinthaka
I cloned it from git repository and built it. Still im having the issue. Anyway server get started , even though the issue occurs. Can I just ignore that error and carry on ?? On Fri, Nov 27, 2015 at 11:37 AM, Mahesh Chinthaka wrote: > Adding some EMM team members. > > On Fri, Nov 27

Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack

2015-11-26 Thread Mahesh Chinthaka
Adding some EMM team members. On Fri, Nov 27, 2015 at 11:22 AM, Mahesh Chinthaka wrote: > Guys, > > What was the solution for this ?? > Me too getting the same error when starting a fresh pack of EMM 1.1.0. > > > On Fri, Jun 5, 2015 at 11:25 AM, Dilan Udara Ariyaratne &g

Re: [Dev] [EMM] Error while starting EMM 1.1.0 fresh pack

2015-11-26 Thread Mahesh Chinthaka
>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) >>>>>> at org.mozilla.javascript.gen.wso2js_33.call(wso2js) >>>>>> at org.mozilla.javascript.gen.wso2js_33.exec(wso2js) >>>>>> at >>>>>&g

Re: [Dev] Error in BAM 2.5.0 startup

2015-10-20 Thread Mahesh Chinthaka
Got it resolved after restarting mu machine. assume that there was a problem with thrift server on localhost : 9160. Thanks On Tue, Oct 20, 2015 at 12:40 PM, Mahesh Chinthaka wrote: > Hi all, > > I got an error when running a freshpack.

[Dev] Error in BAM 2.5.0 startup

2015-10-20 Thread Mahesh Chinthaka
and automatically shuts it down. Any idea ? -- *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

Re: [Dev] How to make mySQL DB case sensitive

2015-10-15 Thread Mahesh Chinthaka
ge 1] > > I am using mysql Ver 14.14 Distrib 5.6.23, for osx10.8 (x86_64) > > Thanks > > On Thu, Oct 15, 2015 at 5:48 PM, Mahesh Chinthaka > wrote: > >> Hi Hasitha, >> >> AFAIK you can set collation at both the database creation and table >> creati

Re: [Dev] How to make mySQL DB case sensitive

2015-10-15 Thread Mahesh Chinthaka
g: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com> > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterp

Re: [Dev] Can we pass a variable from TestManagerListener to a TestCase?

2015-10-13 Thread Mahesh Chinthaka
alue to a variable in TestManagerListener.onStart() > method and use it in a test case. How can I do it? > > Thanks > Amalka > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >

Re: [Dev] [AF] Clarification on tenant creation workflow configuration.

2015-10-08 Thread Mahesh Chinthaka
ware Engineer* >> Mobile: +94716561576 >> WSO2 Inc. | http://wso2.com >> lean.enterprise.middleware >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> &

Re: [Dev] [App Cloud] AF Datasource API takes a long time to respond

2015-09-03 Thread Mahesh Chinthaka
<https://twitter.com/KavithThiranga> > > _______ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. mid

Re: [Dev] [App Factory] API to get the name of the user

2015-09-02 Thread Mahesh Chinthaka
UsersOfApplication" returns > all the users of a particular app along with their usernames + First Names > and Last names. Since we already have the username of logged in user, we > can iterate through the users returned by above API to get the First Name > and Last Name of current us

Re: [Dev] [App Factory] API to get the name of the user

2015-09-02 Thread Mahesh Chinthaka
t; 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...@

[Dev] [AF] - What is the best place to check permissions

2015-08-27 Thread Mahesh Chinthaka
? -- *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] [App Factory] UX/UI Incorporation

2015-07-27 Thread Mahesh Chinthaka
l >>>> <https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/cloud_app_details_initial_content_load.html> >>>> . >>>> you can select any div and call 'show'/ 'hide' method. >>>> >>>> *Sample: * >>>>

Re: [Dev] [App Factory] UX/UI Incorporation

2015-07-13 Thread Mahesh Chinthaka
-ux/product-cloud/master/Markup/009_cloud_app_details_initial.html >> >> Regards, >> >> *Dakshika Jayathilaka* >> PMC Member & Committer of Apache Stratos >> Senior Software Engineer >> WSO2, Inc. >> lean.enterprise.middleware >> 0

Re: [Dev] [App Factory] UX/UI Incorporation

2015-07-07 Thread Mahesh Chinthaka
ards, >> >> *Dakshika Jayathilaka* >> PMC Member & Committer of Apache Stratos >> Senior Software Engineer >> WSO2, Inc. >> lean.enterprise.middleware >> 0771100911 >> >> On Tue, Jul 7, 2015 at 7:00 PM, Mahesh Chinthaka >> wrote: >

Re: [Dev] [App Factory] UX/UI Incorporation

2015-07-07 Thread Mahesh Chinthaka
t;>>>> by UX team. >>>>>>>>> >>>>>>>>> [1]https://github.com/wso2-dev-ux/product-cloud >>>>>>>>> -- >>>>>>>>> Thanks and Regards, >>>>>>>>> >>>

Re: [Dev] Rest API used by Dev Studio

2015-07-03 Thread Mahesh Chinthaka
; >>> >>> thanks, >>> >>> dimuthu >>> >>> >>> >>> -- >>> Dimuthu Leelarathne >>> Architect & Product Lead of App Factory >>> >>> WSO2, Inc. (http://wso2.com) >>> email: dimut...@wso2.com >>>

Re: [Dev] [Integration Tests] Running test cases one by one

2015-06-29 Thread Mahesh Chinthaka
; On Mon, Jun 29, 2015 at 6:13 PM, Mahesh Chinthaka > wrote: > >> Hi all, >> >> Suppose I have declared some test cases in testng.xml file , is there a >> way that I could run one by one with each time i run mvn clean install. >> >> At the moment what we

[Dev] [Integration Tests] Running test cases one by one

2015-06-29 Thread Mahesh Chinthaka
the cases. Is there an another way to do without commenting out test cases in testng.xnl file ? May be giving a parameter or something. mvn clean install -D thanks. -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03

Re: [Dev] [AF][Jaggery] Error while calling java method from jaggery

2015-06-12 Thread Mahesh Chinthaka
hanks & Regards > Danushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > *From:* Mahesh Chinthaka > *Sent:* ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎10‎:‎36‎ ‎AM > *To:* WSO2 Developers' List > > Hi , > > Im t

[Dev] [AF][Jaggery] Error while calling java method from jaggery

2015-06-11 Thread Mahesh Chinthaka
ppmgt/jagg/jaggery_acs.jag) at org.jaggeryjs.rhino.appmgt.jagg.c5.exec(/appmgt/jagg/jaggery_acs.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) Any idea on resolving this ?? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middle

[Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Mahesh Chinthaka
integration test case , why is it inside the same bundle ? Or is this some another test thing ? What is the purpose of having it theres ? Can somebody explain to me ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
Hi, Restarting the build server resolved the issue. On Mon, Jun 1, 2015 at 1:40 PM, Mahesh Chinthaka wrote: > Hi all, > > I checked buildserver logs. Seems like tenant creation has been failed in > buildserver. > > TID: [0] [AS] [2015-06-01 07:45:58,476]

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
ng.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 55 more On Mon, Jun 1, 2015 at 1:36 PM, Mahesh Chinthaka wrote: > > > On Mon, Jun 1, 2015 at 1:35 PM, Mahesh Chinthaka wrote: > >> Hi all, >> >> I did a new setup (2.2.

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
On Mon, Jun 1, 2015 at 1:35 PM, Mahesh Chinthaka wrote: > Hi all, > > I did a new setup (2.2.0-M1) and created a app. App creation fails due to > following error, > > Any idea why this is happenning ? Jenkins is up and running. > > TID: [0] [AF] [2015-06-01 07:57:1

[Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63

Re: [Dev] Where can I find source code/git repo of org.wso2.carbon.social.core.service.SocialActivityService

2015-05-26 Thread Mahesh Chinthaka
On Tue, May 26, 2015 at 11:06 PM, Mahesh Chinthaka > wrote: > >> Hi, >> >> $subject or could anyone tell me the git repo location of >> org.wso2.carbon.social.core >> bundle. >> >> -- >> *Mahesh Chinthaka Vidanagama* | Software Engineer >>

[Dev] Where can I find source code/git repo of org.wso2.carbon.social.core.service.SocialActivityService

2015-05-26 Thread Mahesh Chinthaka
Hi, $subject or could anyone tell me the git repo location of org.wso2.carbon.social.core bundle. -- *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

Re: [Dev] [AF] [Integration Tests] - How to login to appmgt for calling block layer functions.

2015-05-15 Thread Mahesh Chinthaka
:14 PM, Mahesh Chinthaka wrote: > Hi, > In Appfactory Integration Tests, how can we login. > Basically my requirement is, I have a block layer method to call, inside > that method its checking whether user is logged in or not. How to make user > logged in when it come

[Dev] [AF] [Integration Tests] - How to login to appmgt for calling block layer functions.

2015-05-15 Thread Mahesh Chinthaka
Hi, In Appfactory Integration Tests, how can we login. Basically my requirement is, I have a block layer method to call, inside that method its checking whether user is logged in or not. How to make user logged in when it comes to this point. -- *Mahesh Chinthaka Vidanagama* | Software Engineer

Re: [Dev] Get tenant id in mediation initializer

2015-05-11 Thread Mahesh Chinthaka
v mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Best Regards > Isuru Ranawaka > M: +94714629880 > Blog : http://isurur.blogspot.com/ > > ___ > Dev mailing lis

[Dev] [Jaggery] get request to jenkins API fails due to 403 (forbidden)

2015-05-11 Thread Mahesh Chinthaka
o2.com:9443' is therefore not allowed access. The response had HTTP status code 403. [1] - https://jenkins.appfactory.private.wso2.com:9674/t/five.com/webapps/jenkins/job/app1x-trunk-default/1/logText/progressiveText?start=0 [2] - http://jaggeryjs.org/documentation.jag?api=get What I'm mis

Re: [Dev] Why is the activate method of an OSGi bundle called more than once?

2015-05-07 Thread Mahesh Chinthaka
e; >> version="4.2.0" >> org.wso2.carbon.user.core.tenant; >> version="4.2.0" >> org.wso2.carbon.utils; version="4.2.0"> [462]> >> org.wso2.carbon.utils.multitenancy; >> version="4.2.0" >> N

Re: [Dev] [AF] Error during Tenant Creation in Jenkins

2015-05-05 Thread Mahesh Chinthaka
FutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.E

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Mahesh Chinthaka
artment of Computer Science and Engineering > University of Moratuwa > Sri Lanka > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2,

Re: [Dev] [IS] Component Version Conflict

2015-04-22 Thread Mahesh Chinthaka
ype "start *bundle_id*" Then the console will display the reason for not getiing started. For more details please see[1] [1] - http://techpsyche.net/troubleshooting-using-osgi-commands/ On Thu, Apr 23, 2015 at 10:58 AM, Mahesh Chinthaka wrote: > Hi Damith > I hope you will be ab

Re: [Dev] [IS] Component Version Conflict

2015-04-22 Thread Mahesh Chinthaka
>>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Rajith Vitharana >> >> Software Engineer, >> WSO2 Inc. : wso2.com >> Mobile : +94

Re: [Dev] [AF][Jaggery] - How to handle exceptions in jaggery block layer ?

2015-03-30 Thread Mahesh Chinthaka
And also IMO it should be reponse.*message* = msg; instead of reponse.*content* = msg; On Mon, Mar 30, 2015 at 6:03 PM, Mahesh Chinthaka wrote: > Hi all, > > Im working on [1] > > What is the best way to handle exceptions in jaggery block layer. > Specially when its a block

[Dev] [AF][Jaggery] - How to handle exceptions in jaggery block layer ?

2015-03-30 Thread Mahesh Chinthaka
og.error(e) response.status = 500 reponse.content = msg; } Dont we need to throw the error here ?? [1] - https://wso2.org/jira/browse/APPFAC-2724 -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71

Re: [Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-28 Thread Mahesh Chinthaka
foService, which should contain all >>> the application specific methods and ApplicationUserMgtService which >>> should contain the user specific methods. Those classes are OSGi services. >>> On Mar 28, 2015 9:25 PM, "Mahesh Chinthaka" wrote: >>>

Re: [Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-28 Thread Mahesh Chinthaka
. Instead all application related osgi methods will be in ApplicationInfoService. Did I clear your doubt ? On Sat, Mar 28, 2015 at 9:13 PM, Asanka Dissanayake wrote: > Hi Mahesh, > Please find my comments inline. > > On Wed, Mar 18, 2015 at 10:58 AM, Mahesh Chinthaka > wrote: >

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-26 Thread Mahesh Chinthaka
> > > On Thu, Mar 26, 2015 at 11:32 AM, Danushka Fernando > wrote: > >> Mahesh I hope this is regarding what we discussed. So that wont solve >> your problem. >> >> Thanks & Regards >> Danushka Fernando >> Software Engineer >> WSO2 inc

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Nop. embedded cassandra. Found it. Just deleleting repository/databases/cassandra folder will do the needful. isnt it ? On Thu, Mar 26, 2015 at 11:26 AM, Sajini De Silva wrote: > Are you using an externel cassandra? > > On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka > wrote: &g

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
gt;> >> You can try cleaning the cassandra database and start again. >> >> Thank you, >> Sajini >> >> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka >> wrote: >> >>> Hi all, >>> >>> Im getting following error whi

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Hi, Could you please tell me how to do that ? On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva wrote: > Hi Mahesh, > > You can try cleaning the cassandra database and start again. > > Thank you, > Sajini > > On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka > w

[Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
: access refused] -- *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

Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-25 Thread Mahesh Chinthaka
No, just one subscriber. On Thu, Mar 26, 2015 at 8:59 AM, Pranavan Theivendram wrote: > Hi Mahesh, > > Do you have two or more subscribers to the durable topic? > > On Wed, Mar 25, 2015 at 11:23 AM, Mahesh Chinthaka > wrote: > >> Hi Megala, >> >> Can you

Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-24 Thread Mahesh Chinthaka
t;>>>> *Software Engineering Intern *| *WSO2 Lanka* >>>>>>> Mobile : +94 779 967 122 >>>>>>> Tel : +94 112 733 667 >>>>>>> E-mail : meg...@wso2.com >>>>>>> >>>>>>> ___

Re: [Dev] Get tenant Id for a given tenant name.

2015-03-24 Thread Mahesh Chinthaka
__ > 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:

Re: [Dev] Thread.sleep() equivalent in Jaggery

2015-03-24 Thread Mahesh Chinthaka
tp://wso2.com/ <http://wso2.com/> > Mobile: +94 77 952 6548 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enter

Re: [Dev] Enabling ghost mode in test environment

2015-03-24 Thread Mahesh Chinthaka
; 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.wso

Re: [Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-23 Thread Mahesh Chinthaka
these two other methods will be moved from ApplicationMgtService to ApplicationInfoService. On Wed, Mar 18, 2015 at 8:28 PM, Mahesh Chinthaka wrote: > Hi all, > Im working on [a] > > At the moment we have > 1. ApplicationManagementService > 2. Applicat

Re: [Dev] [GSoC-2015][Proposal 10]

2015-03-22 Thread Mahesh Chinthaka
__ > 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: +

[Dev] [AF][Jaggery] - NullPointerException after routing ajax calls.

2015-03-20 Thread Mahesh Chinthaka
) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 69 more Any thoughts on the root cause ? -- *Mahesh Chinthaka Vidanagama* | Software

Re: [Dev] Which Git Repository belongs, org.wso2.carbon.transport.mgt.feature

2015-03-19 Thread Mahesh Chinthaka
> 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 Mobil

[Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-18 Thread Mahesh Chinthaka
geName, version, isDeploy); IMO all above methods should be moved to ApplicationInfoService. WDYT ? [a] - https://wso2.org/jira/browse/APPFAC-3011 -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-18 Thread Mahesh Chinthaka
t;> Regards, >> Dilhasha >> >> *M.N.F. Dilhasha* >> Software Engineering Intern | *WSO2 Lanka* >> >> email : >> *dilha...@wso2.com *mobile : +94 77 8449321 >> >> On Wed, Mar 18, 2015 at 11:13 AM, Mahesh Chinthaka >> wrote: >>

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-17 Thread Mahesh Chinthaka
Sorry I missed this, getting modManager varialbe , put this befor getting the tenant domain. var modManager = jagg.module("manager"); On Wed, Mar 18, 2015 at 11:11 AM, Mahesh Chinthaka wrote: > Hi Dilhasha, > I think you havent got the tenant domain properly. > > you ma

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-17 Thread Mahesh Chinthaka
x27;).createProject("applicationName", >> issueTrackerConfig); >> }catch(e){ >> log.error(e); >> }finally{ >> context.endTenantFlow(); >> } >> >> >> >> >> }()); >> >> >> >>

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-17 Thread Mahesh Chinthaka
.error(e); > }finally{ > context.endTenantFlow(); > } > > > It would be really helpful, if someone can help me to overcome this > problem. > > Thanks. > Regards, > Dilhasha > > > *M.N.F. Dilhasha* > Software Engineering Intern | *WSO2 Lanka* > >

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
uld be good IMO. >>> >>> Thanks & Regards >>> Danushka Fernando >>> Software Engineer >>> WSO2 inc. http://wso2.com/ >>> Mobile : +94716332729 >>> >>> On Mon, Mar 16, 2015 at 2:53 PM, Mahesh Chinthaka >>> wrote: &g

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
sage for front end IMO both ways > are ok for me. And since we are showing the error message we are throwing I > guess we need to throw the message. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > O

[Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
in the top section of the page with a red bar. So if we thew e, the GUI will get a big error message displayed with all the stack trace details. Whats the best way ?? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri La

Re: [Dev] [Jaggery] Try finally blocks with out a catch block

2015-03-11 Thread Mahesh Chinthaka
n.com/pub/harsha-thirimanna/10/ab8/122>* > > *Lean . Enterprise . Middleware* > > > On Wed, Mar 11, 2015 at 3:39 AM, Mahesh Chinthaka > wrote: > >> Hi Chanuka, >> Thanks for the reply. >> But what I wanted to know is if catch clause is not availabl

Re: [Dev] [Jaggery] Try finally blocks with out a catch block

2015-03-11 Thread Mahesh Chinthaka
-in-jaggery.html > [2] http://jaggeryjs.org/documentation.jag?api=ws > > Regards, > Chanuka. > > On Wed, Mar 11, 2015 at 12:44 PM, Mahesh Chinthaka > wrote: > >> >> Hi all , >> I have been working on [1] and I found some codes written with try and >>

[Dev] [Jaggery] Try finally blocks with out a catch block

2015-03-11 Thread Mahesh Chinthaka
/jira/browse/APPFAC-2725 Thoughts are much appreciated. Thanks. -- *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

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-10 Thread Mahesh Chinthaka
Chinthaka wrote: > Hi Kasun, > Yes sure, I will debug the flow and see. > > Thanks > > On Tue, Mar 10, 2015 at 7:44 PM, Mahesh Chinthaka > wrote: > >> I talked with KasunG and he said that this might be due to a problem in >> the process we load the webapp

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-10 Thread Mahesh Chinthaka
Hi Kasun, Yes sure, I will debug the flow and see. Thanks On Tue, Mar 10, 2015 at 7:44 PM, Mahesh Chinthaka wrote: > I talked with KasunG and he said that this might be due to a problem in > the process we load the webapp and check whether its loaded. I have > explained in below sk

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-10 Thread Mahesh Chinthaka
pp is unloaded at the time of request comes, this kind of a issue can occur. On Tue, Mar 10, 2015 at 7:18 PM, Mahesh Chinthaka wrote: > Hi all, > I think I found the root cause here. > > Actually there are two scenarios, > scenario1 - webapp is loaded > scenario2 - webapp is u

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-10 Thread Mahesh Chinthaka
to show data. Thats pretty much the case. I have one question. *Is there any other way to check the request whether its coming from a webapp or not ?* If yes we can easily solve this issue. On Mon, Mar 9, 2015 at 12:12 PM, Mahesh Chinthaka wrote: > Hi Harsha, > > Frankly I dont

Re: [Dev] App Factory API

2015-03-10 Thread Mahesh Chinthaka
scription* *The requested resource is not available* Connection #0 to > host dmbk1991.dmbk1991.wso2apps.com <http://dmbk1991.dmbk1991.wso2apps.com> > left intact .* > -- > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean.

Re: [Dev] [AS][AF] Error while invoking AppFactoryNDataSourceAdmim service via SOAP UI

2015-03-09 Thread Mahesh Chinthaka
.carbon.appfactory.ext.datasource.ApplicationAwareDataSourceRepository On Tue, Mar 10, 2015 at 11:15 AM, Mahesh Chinthaka wrote: > Hi, > this got resolved! > The reason for getting that error in SOAP UI was.. > I was sending the request with authentication headers of carbon super > admin. (admin ,

Re: [Dev] [AS][AF] Error while invoking AppFactoryNDataSourceAdmim service via SOAP UI

2015-03-09 Thread Mahesh Chinthaka
Mon, Mar 9, 2015 at 4:34 PM, Mahesh Chinthaka wrote: > When I tried to create datasource from carbon console.I got following > error in the backend. > > java.lang.NullPointerException > > at java.io.File.(File.java:222) > > at > org.wso2.carbon.core.util.KeyStore

Re: [Dev] [AS][AF] Error while invoking AppFactoryNDataSourceAdmim service via SOAP UI

2015-03-09 Thread Mahesh Chinthaka
:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) On Mon, Mar 9, 2015 at 3:09 PM, Mahesh Chinthaka wrote: > How to overcome this and create a datasource ? > > On Mon, Mar 9, 2015 at 3:09 PM, Mahesh Chintha

Re: [Dev] [AS][AF] Error while invoking AppFactoryNDataSourceAdmim service via SOAP UI

2015-03-09 Thread Mahesh Chinthaka
How to overcome this and create a datasource ? On Mon, Mar 9, 2015 at 3:09 PM, Mahesh Chinthaka wrote: > Hi, > > I copied org.wso2.carbon.appfactory.ext-2.1.0-SNAPSHOT.jar to dropins of a > fresh AS pack and tried to invoke AppFactoryNDataSourceAdmim service using > SOAP UI. >

[Dev] [AS][AF] Error while invoking AppFactoryNDataSourceAdmim service via SOAP UI

2015-03-09 Thread Mahesh Chinthaka
errors in the log. org.wso2.carbon.ndatasource.core.DataSourceRepository cannot be cast to org.wso2.carbon.appfactory.ext.datasource.ApplicationAwareDataSourceRepository How to -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-08 Thread Mahesh Chinthaka
* cell: +94 71 5186770 , > +94 * > *774617784twitter: **http://twitter.com/ > <http://twitter.com/afkham_azeez>* > *harshathirimannlinked-in: **http: > <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://www.linkedin.com/pub/h

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-08 Thread Mahesh Chinthaka
//twitter.com/ > <http://twitter.com/afkham_azeez>* > *harshathirimannlinked-in: **http: > <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* > > *Lean . Enterprise

Re: [Dev] TestApp creation for App factory

2015-03-08 Thread Mahesh Chinthaka
because the app I created in the App cloud is not > yet promoted to the production stage. If that's the case, should I promote > my app up to production stage or is there are another way to do this using > some demo app which is used for this purpose. > > > Thank you. > &

Re: [Dev] TestApp creation for App factory

2015-03-07 Thread Mahesh Chinthaka
in the production >> stage. So, is there a way to get a demo test app that is already in the >> production stage so that I can verify the results that I receive without >> difficulty. >> >> Thanks. >> > > > ________

Re: [Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-06 Thread Mahesh Chinthaka
t? >>> >>> Thanks & Regards >>> Danushka Fernando >>> Software Engineer >>> WSO2 inc. http://wso2.com/ >>> Mobile : +94716332729 >>> >>> On Fri, Mar 6, 2015 at 8:10 PM, Mahesh Chinthaka >>> wrote: >>> &

[Dev] CarbonContext data are null while trying to run a webapp for the first time, second time onwards it works fine.

2015-03-06 Thread Mahesh Chinthaka
mple webapp tries to read those values it returns null for the first time. What can be the reason for this ? [1] - https://wso2.org/jira/browse/APPFAC-2998 -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile

Re: [Dev] [Jaggery] TypeError: org.mozilla.javascript.Undefined@50464b2a is not a function, it is undefined.

2015-02-18 Thread Mahesh Chinthaka
ting some business logic in > block. Which is not good I think. You should write all business logic in > module layer. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Wed, Feb 18, 2015 at 11:19

  1   2   >