Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Niranda Perera
Okay Anjana, noted! On Tue, Mar 10, 2015 at 12:10 PM, Anjana Fernando wrote: > Hi Niranda, > > When we get the clustering to properly to work, which would be before > Friday's release. It should be straightforward for ML to point to our > master server and submit jobs. So lets wait till we final

[Dev] Removing -DhttpPort, -DhttpsPort system properties

2015-03-09 Thread Shashika Karunatilaka
Hi all, Do we need to have the *-DhttpPort, **-DhttpsPort *as system properties when running the carbon server. IMO if we need to change the ports we have portOffset to run from different ports or if there is a necessity of changing them we can change it in catalina-server.xml. In that case do we

[Dev] Observed ERROR {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Error while updating wso2carbon-sts in STSDeploymentInterceptor {org.wso2.carbon.core.deployment.DeploymentInterceptor}

2015-03-09 Thread Asanka Vithanage
Hi All, I observed following error[1] intermittently when try to invoke a proxy service created on a tenant space. I see this issue has reported few times earlier as well but dropped mentioning as occurs due to registry config issue. In this cluster i have mounted registry correctly(attached conf

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Anjana Fernando
Hi Niranda, When we get the clustering to properly to work, which would be before Friday's release. It should be straightforward for ML to point to our master server and submit jobs. So lets wait till we finalize our implementation, and then ML team can work with us to get their use case working.

Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Inshaf Mahath
Hi Abimaran, I have tried a sample Boolean() function. It works for me too. You can try something like following to evaluate strings. var a = "true"; var val = (a === 'true'); log.debug(Boolean(val)); On Tue, Mar 10, 2015 at 11:29 AM, Abimaran Kugathasan wrote: > Thanks Himasha, > > In Jagger

Re: [Dev] WSO2 ESB - XSLT Transformation

2015-03-09 Thread Dilan Udara Ariyaratne
Hi Suhan, It seems that your SOAP message is out of order. Message body should basically come outside the header element as follows. * * Can you double check and verify? Regards, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. Mobile: +94775149066 lean

Re: [Dev] WSO2 ESB - XSLT Transformation

2015-03-09 Thread Dilan Udara Ariyaratne
Hi Suhan, Can you check the same flow with having the SOAP Message in following order? *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. Mobile: +94775149066 lean . enterprise . middleware On Tue, Mar 10, 2015 at 10:09 AM, Suhan Dharmasuriya wrote: > Hi, > >

Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-09 Thread Chamara Silva
Congratulations On Mon, Mar 9, 2015 at 11:28 AM, Isuruwan Herath wrote: > Congratz Ashan!!! > > On Mon, Mar 9, 2015 at 9:16 AM, Malith Munasinghe > wrote: > >> Congratulations Ashan!!! >> >> On Mon, Mar 9, 2015 at 9:08 AM, Niranda Perera wrote: >> >>> Congrats Ashan! :-) >>> >>> On Mon, Mar 9

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

2015-03-09 Thread Mahesh Chinthaka
And I had to add some parameters to carbon.xml Under JNDI tag org.wso2.carbon.appfactory.ext.jndi.ApplicationAwareCarbonJavaURLContextFactory org.wso2.carbon.appfactory.ext.jndi.ApplicationAwareCarbonInitialJNDIContextFactory And Application Server org.wso2.carbon.appfactory.

Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Tanya Madurapperuma
On Tue, Mar 10, 2015 at 11:29 AM, Abimaran Kugathasan wrote: > Thanks Himasha, > > In Jaggery, follwing is possible to do and works fine. > > var isLogoutRequest = false; > > if(!Boolean(isLogoutRequest)) { >// > } > > > I was thinking, why can't we have this type of conversion for String val

Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Rajith Vitharana
Hi Abimaran, You can use JSON.parse("false"); to achieve this. Refer [1] [1] - http://stackoverflow.com/questions/263965/how-can-i-convert-a-string-to-boolean-in-javascript Thanks, On Tue, Mar 10, 2015 at 11:29 AM, Abimaran Kugathasan wrote: > Thanks Himasha, > > In Jaggery, follwing is possi

[Dev] GSOC : Proposal 16 : Enable selenium testing in Appfactory test stage

2015-03-09 Thread Irunika Lakmal Weeraratne
Hi, I'm Irunika and I'm very interested in this project. Should it be headless and Graphical both? Is it like a part of AppFactory - Command Line Tool project? LInkedIn : lk.linkedin.com/in/irunikaw There are some projects that I have done so far __

Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Abimaran Kugathasan
Thanks Himasha, In Jaggery, follwing is possible to do and works fine. var isLogoutRequest = false; if(!Boolean(isLogoutRequest)) { // } I was thinking, why can't we have this type of conversion for String value of true/false in Jagger? On Tue, Mar 10, 2015 at 11:19 AM, Himasha Guruge wro

[Dev] [GSoC-2015] Proposal 4: ESB - JMS 2.0 support for transports and inbound endpoint

2015-03-09 Thread Sudharma Subasinghe
Hi, I am Sudharma Priyadarshani from Department of Computer Science and Engineering, University of Moratuwa. Currently I am an intern at WSO2. I went through the GSoC proposal list and interested in proposal [1]. I am looking forward to contribute to the project. [1] https://docs.wso2.com/disp

[Dev] [AppFactory] Storing data related to JIRA project access

2015-03-09 Thread Fathima Dilhasha
Hi, In order to allow OAuth access to an existing project we need to create an *Application Link *for a JIRA instance, specifying AppFactory as a trusted consumer. To achieve above, JIRA requires a *consumer key and a public key*. Do these consumer key and public key need to be unique for each a

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Damith Wickramasinghe
Congratzz On Tue, Mar 10, 2015 at 10:58 AM, Dilan Udara Ariyaratne wrote: > Congratz, Asok... > > > *Dilan U. Ariyaratne* > Software Engineer > WSO2 Inc. > Mobile: +94775149066 > lean . enterprise . middleware > > On Tue, Mar 10, 2015 at 10:55 AM, Thusitha Thilin

Re: [Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Himasha Guruge
Hi Abimaran, You could check [1] for different options. Check the answer where they are prioritized based on performance. [1] http://stackoverflow.com/questions/263965/how-can-i-convert-a-string-to-boolean-in-javascript/28588344#28588344 Thanks, Himasha On Tue, Mar 10, 2015 at 11:03 AM, Abimar

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

2015-03-09 Thread Mahesh Chinthaka
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 ,admin). After invoking this service with authentication headers of my tenant. (tenant username and password) this worked fine. Thanks On M

[Dev] [Jaggery] How to convert String value of true/false to Boolean in Jaggery?

2015-03-09 Thread Abimaran Kugathasan
Hi, I have a query string parameter with value true or false. I need to convert this value to corresponding boolean value for some conditional checking. Currently, I'm using string comparision with == to evaluate. var isPassiveAuthRequired = request.getParameter("passiveAuthRequired"); if('true

Re: [Dev] [DEV][Carbon] Opening port 9443 from inside RHEL environment

2015-03-09 Thread Chamila De Alwis
Netstat reveals that the port is up and listening. [root@wso2bam ~]# cat /etc/services | grep 9443 tungsten-https 9443/tcp# WSO2 Tungsten HTTPS tungsten-https 9443/udp# WSO2 Tungsten HTTPS [root@wso2bam ~]# netstat -anp | grep 9443 tcp0 0 :::9443

Re: [Dev] [APIM] API-M -1.9.0 :API Life Cycle - Test scenario clarification - "Change the state of api with different combinations"

2015-03-09 Thread Dimuthu De Lanerolle
Hi Saneth, I think also its better to test these scenarios in tenant mode as well also we can add some more negative scenarios too. (eg: Try adding API with special characters , Try login in from a user who has api creator permission only etc.) . Regards On Tue, Mar 10, 2015 at 9:05 AM, Kala Wee

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Dilan Udara Ariyaratne
Congratz, Asok... *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. Mobile: +94775149066 lean . enterprise . middleware On Tue, Mar 10, 2015 at 10:55 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Congratulations Asok ...! > > On Tue, Mar 10, 2015 at 10:54

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Thusitha Thilina Dayaratne
Congratulations Asok ...! On Tue, Mar 10, 2015 at 10:54 AM, Inshaf Mahath wrote: > Congrats Asok!! > > On Tue, Mar 10, 2015 at 10:45 AM, Kevin Ratnasekera < > djkevincr1...@gmail.com> wrote: > >> Congratulations Aiya !!! >> >> On Tue, Mar 10, 2015 at 10:36 AM, Inosh Perera wrote: >> >>> Congrat

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Inshaf Mahath
Congrats Asok!! On Tue, Mar 10, 2015 at 10:45 AM, Kevin Ratnasekera wrote: > Congratulations Aiya !!! > > On Tue, Mar 10, 2015 at 10:36 AM, Inosh Perera wrote: > >> Congrats Asok!! >> >> On Tue, Mar 10, 2015 at 9:27 AM, Tharik Kanaka wrote: >> >>> Congratulations Asok. >>> >>> On Tue, Mar 10,

[Dev] carbon-registry, carbon-governance and carbon-governance-extensions moved to Java 7

2015-03-09 Thread Sagara Gunathunga
Please note future releases of carbon-registry, carbon-governance and carbon-governance-extensions will be based on Java7, nightly builds are already running on Java7 now. Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apa

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Kevin Ratnasekera
Congratulations Aiya !!! On Tue, Mar 10, 2015 at 10:36 AM, Inosh Perera wrote: > Congrats Asok!! > > On Tue, Mar 10, 2015 at 9:27 AM, Tharik Kanaka wrote: > >> Congratulations Asok. >> >> On Tue, Mar 10, 2015 at 9:25 AM, Lahiru Cooray wrote: >> >>> Congratz Asok... >>> >>> On Tue, Mar 10,

Re: [Dev] [DEV][Carbon] Opening port 9443 from inside RHEL environment

2015-03-09 Thread Chamila De Alwis
Hi Malith, Thanks for pointing that out. However after fixing the line to dport I still can't telnet to the port. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Mar 10, 2015 at 10:14 AM, Malith Munasinghe wrote: > Hi Chamila, > > Whil

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Malith Munasinghe
Congratulations Asok!! On Tue, Mar 10, 2015 at 10:36 AM, Inosh Perera wrote: > Congrats Asok!! > > On Tue, Mar 10, 2015 at 9:27 AM, Tharik Kanaka wrote: > >> Congratulations Asok. >> >> On Tue, Mar 10, 2015 at 9:25 AM, Lahiru Cooray wrote: >> >>> Congratz Asok... >>> >>> On Tue, Mar 10, 20

Re: [Dev] [ESB] HTTP requests not responding after enabling Response caching

2015-03-09 Thread Achintha Reemal
This is the source of the proxy service; http://ws.apache.org/ns/synapse"; name="ESBHttpComplianceTest" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">

Re: [Dev] [ESB] HTTP requests not responding after enabling Response caching

2015-03-09 Thread Nirmal Fernando
Can you copy-paste your proxy service source here? On Tue, Mar 10, 2015 at 10:36 AM, Achintha Reemal wrote: > Hi, > > I am currently developing a test suite for ESB,to check for HTTP/1.1 > compliance. I enabled Response caching in a Proxy service to check for > caching capability and it started

[Dev] [ESB] HTTP requests not responding after enabling Response caching

2015-03-09 Thread Achintha Reemal
Hi, I am currently developing a test suite for ESB,to check for HTTP/1.1 compliance. I enabled Response caching in a Proxy service to check for caching capability and it started to give out an error. Then I disabled caching and now it gives out a new error, even after restarting the server. Error

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Inosh Perera
Congrats Asok!! On Tue, Mar 10, 2015 at 9:27 AM, Tharik Kanaka wrote: > Congratulations Asok. > > On Tue, Mar 10, 2015 at 9:25 AM, Lahiru Cooray wrote: > >> Congratz Asok... >> >> On Tue, Mar 10, 2015 at 9:23 AM, Sameera Perera >> wrote: >> >>> Hi all, >>> >>> It is with great pleasure tha

Re: [Dev] [DEV][Carbon] Opening port 9443 from inside RHEL environment

2015-03-09 Thread Malith Munasinghe
Hi Chamila, While giving the INPUT rule I think the command might have been mistakenly typed as -A INPUT -m state --state NEW -m tcp -p tcp --sport 9443 -j ACCEPT because the iptables shows the port 9443 as a source port. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp spt:9443 try entering

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Nirmal Fernando
External spark cluster doesn't work with the BAM story due the DAL layer. So, we are dependent on you guys to implement ML-BAM integration :-) On Tue, Mar 10, 2015 at 10:09 AM, Niranda Perera wrote: > @supun I suggest you use an external spark cluster for the moment. as of > the current BAM, we

[Dev] Carbon Kernal 4.2.0 fixes required for patch0010

2015-03-09 Thread Thilini Shanika
Hi, Can you please apply the fix provided with the JIRA [1] to Carbon Kernal patch0010? [1] - https://wso2.org/jira/browse/APPM-333 Thanks -- Thilini Shanika Software Engineer WSO2, Inc.; http://wso2.com 20, Palmgrove Avenue, Colombo 3 E-mail: tgtshan...@gmail.com _

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Niranda Perera
@supun I suggest you use an external spark cluster for the moment. as of the current BAM, we still have not finalized external job submission strategy in a BAM cluster. I will discuss this with Anjana and get back to you! On Tue, Mar 10, 2015 at 10:02 AM, Supun Sethunga wrote: > [looping Nirmal]

[Dev] WSO2 ESB - XSLT Transformation

2015-03-09 Thread Suhan Dharmasuriya
Hi, I'm following the documentation [1] with WSO2 ESB 4.8.0. I have enabled the wire logs and response attached herewith [2]. My XSLT files are as follows. I have uploaded them to /_system/config registry (conf:/). *xslt1.xslt* http://www.w3.org/1999/XSL/Transform";>

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Nirmal Fernando
M2 will be this Friday it seems. We shall wait. On Tue, Mar 10, 2015 at 10:02 AM, Supun Sethunga wrote: > [looping Nirmal] > > On Tue, Mar 10, 2015 at 10:01 AM, Supun Sethunga wrote: > >> [looping Nirmal] >> >> Hi Niranda, >> >> Thanks for the clarification. >> >> @Nirmal : Seems we have to wai

Re: [Dev] [GSoC-2015] Proposal1 : Siddhi Process Monitor for WSO2 CEP

2015-03-09 Thread Sabra Ossen
Hi Mohan, Thanks for your prompt response. I will schedule a meeting with them. Thanks. On Sun, Mar 8, 2015 at 2:57 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Fri, Mar 6, 2015 at 11:11 AM, Sabra Ossen wrote: > >> Hi, >> >> I am Sabra Ossen, an undergraduate of Depart

Re: [Dev] Setting a Cookie to an iframe

2015-03-09 Thread Manuranga Perera
if both pages are under you control you can use https://github.com/ternarylabs/porthole for inter communication. do cookie management entirely in B and only communicate relevant information (eg: API key) to A. On Mon, Mar 9, 2015 at 11:27 PM, Mohammed Fawsan wrote: > Hi, > > I have a problem wit

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Supun Sethunga
[looping Nirmal] On Tue, Mar 10, 2015 at 10:01 AM, Supun Sethunga wrote: > [looping Nirmal] > > Hi Niranda, > > Thanks for the clarification. > > @Nirmal : Seems we have to wait till the BAM M2 release for ML-BAM > Integration :) . But we still can enable to use an external spark cluster > for M

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Supun Sethunga
[looping Nirmal] Hi Niranda, Thanks for the clarification. @Nirmal : Seems we have to wait till the BAM M2 release for ML-BAM Integration :) . But we still can enable to use an external spark cluster for ML. Regards, Supun On Tue, Mar 10, 2015 at 9:49 AM, Niranda Perera wrote: > cc+ Anjana >

[Dev] Setting a Cookie to an iframe

2015-03-09 Thread Mohammed Fawsan
Hi, I have a problem with setting up a cookie and using it on an iframe. This is the use case. Let's say I have a two web pages A, B in abc.com. I want to iframe page B in page A. Page A has the log in mechanism. Page B doesn't have any log in mechanism. I want to use page A's log in mechanism to

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Niranda Perera
cc+ Anjana Hi Supun, As per the M1 release, we have only the standalone 'local' mode spark instance. as you correctly said, we have set the master to 'local' in the BAM . please refer init() method here [1]. In the init() method, we are starting a spark context. we are still working on spark clu

[Dev] GSOC : Proposal 16 : Enable selenium testing in Appfactory test stage

2015-03-09 Thread Irunika Lakmal Weeraratne
Hi, This is the other project that would like to do and continue. Are you saying that when we commit something to app factory it should give us the results of the test cases if the user uses selenium? Are you also going to use selenium as a native part of the app factory? Is this to integrate sele

Re: [Dev] Pull request for https://wso2.org/jira/browse/CARBON-14931

2015-03-09 Thread Kishanthan Thangarajah
Im resolving this issue as the fix is added to 4.4.0. Created an improvement jira to track the proper fix : https://wso2.org/jira/browse/CARBON-15196 On Fri, Mar 6, 2015 at 1:23 PM, Kishanthan Thangarajah wrote: > Hi SameeraK, > > I see this issue in reopened stage : > https://wso2.org/jira/brow

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Tharik Kanaka
Congratulations Asok. On Tue, Mar 10, 2015 at 9:25 AM, Lahiru Cooray wrote: > Congratz Asok... > > On Tue, Mar 10, 2015 at 9:23 AM, Sameera Perera wrote: > >> Hi all, >> >> It is with great pleasure that WSO2 welcomes Asok Perera as a WSO2 >> committer! >> >> Congratulations! >> >> -- >> >>

Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Lahiru Cooray
Congratz Asok... On Tue, Mar 10, 2015 at 9:23 AM, Sameera Perera wrote: > Hi all, > > It is with great pleasure that WSO2 welcomes Asok Perera as a WSO2 > committer! > > Congratulations! > > -- > > -- > > *Sameera Perera* > Director of Engineering > gtalk: samee..

[Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Sameera Perera
Hi all, It is with great pleasure that WSO2 welcomes Asok Perera as a WSO2 committer! Congratulations! -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* lean.enterprise.mi

Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320

2015-03-09 Thread Kishanthan Thangarajah
Hi Dharshana, On Mon, Mar 9, 2015 at 6:48 PM, Dharshana Warusavitharana < dharsha...@wso2.com> wrote: > Hi Kishanthan, > > > Please update the entry true > in automation.xml. > > This will avoid instrumentation and disable coverage. So you don't have to > disable whole integration test module. >

Re: [Dev] Older API versions are not listed in API Store under "More APIs from user"

2015-03-09 Thread Kala Weerawardana
Hi Saneth, This is mentioned in API versioning documentation. You can refer [1] for more details. [1] - https://docs.wso2.com/display/AM180/Create+a+new+API+Version Regards, Kala On Mon, Mar 2, 2015 at 6:49 PM, Saneth Dharmakeerthi wrote: > Hi, > > I have noticed following behaviour in API-

Re: [Dev] [APIM] API-M -1.9.0 :API Life Cycle - Test scenario clarification - "Change the state of api with different combinations"

2015-03-09 Thread Kala Weerawardana
Hi Saneth, As I mentioned in the offline chat this is to focus wether every possible scenario is tested changing the Lifecycle state, not as a particular test case. Regards, Kala On Tue, Mar 10, 2015 at 8:56 AM, Saneth Dharmakeerthi wrote: > HI Kala, > > Thanks for the information. > > But doe

Re: [Dev] [APIM] API-M -1.9.0 :API Life Cycle - Test scenario clarification - "Change the state of api with different combinations"

2015-03-09 Thread Saneth Dharmakeerthi
HI Kala, Thanks for the information. But does this test scenario is not covered by other test scenarios?, Ex scenarios : Retire an api verify it from store(row 9) Block an api and check it in store(row 10) Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobi

Re: [Dev] (REGISTRY-2431) Hard code URL

2015-03-09 Thread Danesh Kuruppu
Hi Ajith, > If someone need to access the Solr endpoint to write some custom > extension, Do we have any API to get that ? > >> Can you provide some use case please. AFAIK we are not currently providing the access solr endpoint to users rather we provide content search and attribute search as se

Re: [Dev] [APIM] API-M -1.9.0 :API Life Cycle - Test scenario clarification - "Change the state of api with different combinations"

2015-03-09 Thread Kala Weerawardana
Hi Saneth, I tested the Lifecycle state section but did not write the test cases. It was already written. Anyway for your questions, 1. Yes the State mentioned there refers to Lifecycle state. 2. According to the different sates CREATED, PROTOTYPED, PUBLISHED, DEPRECATED, RETIRED and BLOCKED yo

[Dev] WSO2 Complex Event Processor 4.0.0-M3 Released!

2015-03-09 Thread Ayash
Hi All, WSO2 CEP Team is pleased to announce the release of WSO2 Complex Event Processor (Version - 4.0.0 Milestone 3 ). The Milestone-3 pack is available at [1] Please follow the documentation for more info (which is working in progress) in [2]. You can find a sample to run WSO2 CEP with Apac

Re: [Dev] How to retrieve all the users from listUsers method in UserAdminStub

2015-03-09 Thread Nuwan Wimalasekara
Even if we set maxLimit to -1, It will only fetch the 100 records because of below configuration in user store in user-manager.xml. do we have any operation to list all the users regardless of this configuration. 100 Thanks, Nuwanw On Mon, Jan 26, 2015 at 11:11 PM, Asela Pathberiya wrote: > On

Re: [Dev] [ESB] Premature end of file Error

2015-03-09 Thread Malaka Silva
Hi Chathura, In order to identify the issue, need to see the response coming to ESB. To do that enable the wire logs and share. On Mon, Mar 9, 2015 at 2:09 PM, Chathura Priyankara wrote: > Hi, > > I'm getting following error in client side when after receiving the > response from the service t

[Dev] GSOC : Proposal 16 : Enable selenium testing in Appfactory test stage

2015-03-09 Thread Irunika Lakmal Weeraratne
Hi, This is the other project that would like to do and continue. Are you saying that when we commit something to app factory it should give us the results of the test cases if the user uses selenium? Are you also going to use selenium as a native part of the app factory? Is this to integrate sele

[Dev] GSOC - Proposal 6

2015-03-09 Thread Irunika Lakmal Weeraratne
Hi, I'm Irunika from University of Peradeniya, faculty of engineering , depatment of Computer eng (3rd year). This is a kind of a project that I was always dreaming to do. I am now reading the WSO2 app factory documentation. But to be honest I'm in my mid exams this week and it will be over by this

[Dev] [APIM] API-M -1.9.0 :API Life Cycle - Test scenario clarification - "Change the state of api with different combinations"

2015-03-09 Thread Saneth Dharmakeerthi
Hi, I am writing integration tests for API Life Cycle and found following test scenario in document[1], Test Scenario : "Change the *state* of api with different combinations" (11th row in API Life Cycle Tab ) I need to clarify following points. 1. What is meant by "*state*"? Is it lifecy

[Dev] [DevStudio] Please review and merge the pull request : TOOLS-2711

2015-03-09 Thread Rajeevan Vimalanathan
Hi, Please review and merge the pull request[1] that includes fix for JIRA[2]. [1] https://github.com/wso2/cloud-dev-studio/pull/5 [2] https://wso2.org/jira/browse/TOOLS-2711 Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Emai

Re: [Dev] Please review and merge

2015-03-09 Thread Danesh Kuruppu
Sithumini, committed. svn r30831 On Mon, Mar 9, 2015 at 12:21 PM, Sithumini Senevirathne wrote: > Hi Danesh, > > Please $subject for the PR[1] and apply the attached svn diff for the > issue [2]. > > [1] https://github.com/wso2/product-greg/pull/47 > [2] https://wso2.org/jira/browse/CARBON-1476

Re: [Dev] API Manager 1.8.0 - Access to admin dashboard application

2015-03-09 Thread satheesh
Hi Chamila, Thank you so much!! I will try these instructions sometime today. Thanks Satheesh -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/API-Manager-1-8-0-Access-to-admin-dashboard-application-tp113583p114045.html Sent from the WSO2 Development mailing list a

[Dev] [DEV][Carbon] Opening port 9443 from inside RHEL environment

2015-03-09 Thread Chamila De Alwis
Hi, It seems I'm missing a small detail here. I'm running a BAM 2.4.1 server on a RHEL 6.4 setup. I've added the following rules in the iptables config and restarted the iptables and networking services. However the port 9443 is not open to the outside. -A INPUT -m state --state NEW -m tcp -p tcp

Re: [Dev] API Manager 1.8.0 - Access to admin dashboard application

2015-03-09 Thread Chamila Adhikarinayake
Hi satheesh, There are couple of configurations you have to do to achieve this. 1. configure api manager admin-dashboard application a. open /wso2am-1.8.0/repository/deployment/server/jaggeryapps/admin-dashboard/site/conf/site.json file and update the "allowedRoles" variable. You can add a

Re: [Dev] [Carbon] Getting tenant domain and tenant admin username from the tenant id

2015-03-09 Thread Chathura Dilan
Thanks, it worked On Mon, Mar 9, 2015 at 4:58 PM, Shashika Karunatilaka wrote: > HI Chathura, > > If you start a tenant flow you can set the tenant Id and from that you can > get the tenant domain from below code > PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantId(tenantId, > tru

Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320

2015-03-09 Thread Dharshana Warusavitharana
Hi Kishanthan, Please update the entry true in automation.xml. This will avoid instrumentation and disable coverage. So you don't have to disable whole integration test module. By updating this entry you can execute all integration tests normally and generate Surefire reports. But coverage will

Re: [Dev] GSoC[2015] Proposal : Siddhi Editor for WSO2 CEP

2015-03-09 Thread nirojan selvanathan
Hi Mohan, Yea sure, adding the wso2 dev list. And my internship ended on Nov 2014 and doing my final year. Will join the hangout tomorrow to get more insight on the project. Thanks. On Sun, Mar 8, 2015 at 2:53 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Fri, Mar 6, 201

Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320

2015-03-09 Thread Kishanthan Thangarajah
Hi SameeraJ, Krishantha, I think this issue will again arise for kernel 4.4.0 release with https://wso2.org/jira/browse/CARBON-15194. Either we can disable coverage report generation on kernel integration or we will have to push CARBON-15194 for 4.5.0. On Thu, Feb 26, 2015 at 6:56 PM, Sameera

Re: [Dev] [GSoC 2015] Proposal 2:Siddhi Editor for WSO2 CEP

2015-03-09 Thread Mohanadarshan Vivekanandalingam
On Mon, Mar 9, 2015 at 5:19 PM, Chathuranga Rajapaksha < chathuran...@wso2.com> wrote: > Hi, > > I am an intern from CSE, UOM. I am interested in $subject and looking > forward to contribute. I am familiar with CEP since I did a CEP project in > fast track training. > Could you give me more detail

Re: [Dev] [Carbon][CEP] Where to save the state in Carbon server?

2015-03-09 Thread Nirmal Fernando
Can't you use registry ? On Mon, Mar 9, 2015 at 6:06 PM, Isuru Fernando wrote: > Hi, > > In the CEP, I want to save the state of some of the Siddhi components in a > folder and read it back on the server restart. The state will be saved > periodically in a file with the timestamp as the file nam

[Dev] [Carbon][CEP] Where to save the state in Carbon server?

2015-03-09 Thread Isuru Fernando
Hi, In the CEP, I want to save the state of some of the Siddhi components in a folder and read it back on the server restart. The state will be saved periodically in a file with the timestamp as the file name. There are different files for different tenants as well. Is there any recommended folder

[Dev] Orbit update for Paho-MQTT Library

2015-03-09 Thread Eranda Rajapakshe
Hi, Please review the pull request [1]. [1]. *https://github.com/wso2/orbit/pull/67 * Thank you! -- *Eranda Rajapakshe* Software Engineering intern WSO2 Inc. www.wso2.com Tel : +94784822608 Email : eran...@wso2.com _

[Dev] [APIM] axis2.xml file for ErrorMessageTypeTestCase is not available in the git

2015-03-09 Thread Dimuthu De Lanerolle
Hi APIM Team, ErrorMessageTypeTestCase of location [1] as per the test code seems, it needs source axis2.xml file to be copied from apim_resources/configFiles/error/ to [product_home]repository/conf/axis2 . However It seems like axis2.xml file which should reside at the [2] is missing in the gi

Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Tharindu Edirisinghe
Congratulations Dulitha !!! On Mon, Mar 9, 2015 at 2:38 PM, Shiva Balachandran wrote: > Congrats Dulitha! :) > > On Mon, Mar 9, 2015 at 2:28 PM, Rasika Perera wrote: > >> Congratz Dulitha !!! >> >> On Mon, Mar 9, 2015 at 2:17 PM, Sewmini Jayaweera >> wrote: >> >>> Congratulations Dulitha! >>>

[Dev] [GSoC 2015] Proposal 2:Siddhi Editor for WSO2 CEP

2015-03-09 Thread Chathuranga Rajapaksha
Hi, I am an intern from CSE, UOM. I am interested in $subject and looking forward to contribute. I am familiar with CEP since I did a CEP project in fast track training. Could you give me more details about the requirements? Thanks. -- Best Regards, *Chathuranga Lakmal Rajapaksha* Software Eng

Re: [Dev] [MB] Oracle SQL Exception when subscriber receives queue messages

2015-03-09 Thread Ramith Jayasinghe
This is unlikely we are not doing anything fancy here. if that was the case we should hit similar problems with MSSQL and MySQL as well. On Sun, Mar 8, 2015 at 7:25 PM, Isuruwan Herath wrote: > It could be the client code not returning the connections back to pool as > well. No: of active sessio

Re: [Dev] [Carbon] Getting tenant domain and tenant admin username from the tenant id

2015-03-09 Thread Shashika Karunatilaka
HI Chathura, If you start a tenant flow you can set the tenant Id and from that you can get the tenant domain from below code PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantId(tenantId, true); setTenantId with boolean argument it will resolve the tenant domain. or else you can get

Re: [Dev] [APIM] Please merge pull request

2015-03-09 Thread Krishantha Samaraweera
Hi APIM Team, I've merged the pull request to master branch after building on clean repo with tests. New test module structure has been introduced with this. We will keep on migrating existing tests to the new module. Note that integration test pull requests sent prior to pull/42

[Dev] [Carbon] Getting tenant domain and tenant admin username from the tenant id

2015-03-09 Thread Chathura Dilan
Hi All, Is there a way to get the tenant domain name and the tenant admin username when tenantId is provided to PrivilegedCarbonContext.getThreadLocalCarbonContext()? Thanks -- Regards, Chatura Dilan Perera *(Senior Software Engineer** - WSO2 Inc.**)* www.dilan.me

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

2015-03-09 Thread Mahesh Chinthaka
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.KeyStoreManager.getRegistryKeyStore(KeyStoreManager.java:353) at org.wso2.carbon.core.util.CryptoUtil.encrypt(C

Re: [Dev] Supporting multiple server urls to be printed in server startup console

2015-03-09 Thread Kishanthan Thangarajah
There is no specific reason. We initially had the support for printing only one context url, but later with APIMANAGER-651, we have introduced support for an additional context url. This can be improved to support multiple contexts as well. Yes, we can fix this for a future kernel release. Please c

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. > I sent a request t

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

2015-03-09 Thread Mahesh Chinthaka
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. I sent a request to addDataSource. when the request was sent with parameters, I got a faultstring as the response. But no back end err

Re: [Dev] [BAM] Build fails for JDK 1.6

2015-03-09 Thread Irham Iqbal
Hi, Yes it's set to 1.7 in https://github.com/wso2/product-bam/blob/master/pom.xml. I ll change it and try again Thanks, Iqbal On Mon, Mar 9, 2015 at 2:49 PM, Rasika Perera wrote: > Apology, I thought problem is in JDK1.7. Please ignore my previous mail. > Corrected response should be; > > Che

Re: [Dev] [BAM] Build fails for JDK 1.6

2015-03-09 Thread Rasika Perera
Apology, I thought problem is in JDK1.7. Please ignore my previous mail. Corrected response should be; Check your maven script. May be $JAVA_HOME is hardcoded to use JDK1.7. According to [1] Please check pom.xml for following; 1.7 1.7 [1] http://stackoverflow.com/questions/14043042/compiling-ja

Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Shiva Balachandran
Congrats Dulitha! :) On Mon, Mar 9, 2015 at 2:28 PM, Rasika Perera wrote: > Congratz Dulitha !!! > > On Mon, Mar 9, 2015 at 2:17 PM, Sewmini Jayaweera > wrote: > >> Congratulations Dulitha! >> >> Sewmini Jayaweera >> *Software Engineer - QA Team* >> Mobile: +94 (0) 773 381 250 >> sewm...@wso2.c

Re: [Dev] [IS] Can anyone login to IS admin dashboard?

2015-03-09 Thread Rajakrishna Reddy
Hi Lakshani, Any user who has valid credentials can log into it. That's expected behavior I guess, because I do see it locally.Could anyone confirm this!? Thanks & Regards,Rajakrishna Reddy,+91 95000 88012 Date: Mon, 9 Mar 2015 13:35:37 +0530 From: laksh...@wso2.com To: dev@wso2.org Subject: [

Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Rasika Perera
Congratz Dulitha !!! On Mon, Mar 9, 2015 at 2:17 PM, Sewmini Jayaweera wrote: > Congratulations Dulitha! > > Sewmini Jayaweera > *Software Engineer - QA Team* > Mobile: +94 (0) 773 381 250 > sewm...@wso2.com > > On Mon, Mar 9, 2015 at 11:36 AM, Shiroshica Kulatilake > wrote: > >> Congrats Dulit

Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam

2015-03-09 Thread Rasika Perera
Congratulations Senduran !!! On Mon, Mar 9, 2015 at 9:43 AM, Chamin Dias wrote: > Congratulations Senduran! > > On Mon, Mar 9, 2015 at 9:17 AM, Malith Munasinghe > wrote: > >> Congratulations Senthuran! >> >> On Mon, Mar 9, 2015 at 9:05 AM, Elilmatha Sivanesan >> wrote: >> >>> Congratulations

Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Sewmini Jayaweera
Congratulations Dulitha! Sewmini Jayaweera *Software Engineer - QA Team* Mobile: +94 (0) 773 381 250 sewm...@wso2.com On Mon, Mar 9, 2015 at 11:36 AM, Shiroshica Kulatilake wrote: > Congrats Dulitha ! > > > > On Mon, Mar 9, 2015 at 11:32 AM, Tharik Kanaka wrote: > >> Congratulations Dulitha >>

Re: [Dev] [BAM] Build fails for JDK 1.6

2015-03-09 Thread Aruna Karunarathna
Maven Compiler plugin is set to JDK 1.7 in pom.xml org.apache.maven.plugins maven-compiler-plugin UTF-8 1.7 1.7 On Mon, Mar 9, 2015 at 2:09 PM, Rasika Perera wrote: > Hi Iqbal, > > Check your maven script.

Re: [Dev] [IS] Can anyone login to IS admin dashboard?

2015-03-09 Thread Tharik Kanaka
Hi Lakshani, It has a role base authorisation. Any user can be get authenticated and allowed to logged into management console but authorisation will be done based on the role of the user and several functionalities may not available. Check weather other user has admin privileges after log in. Re

[Dev] [ESB] Premature end of file Error

2015-03-09 Thread Chathura Priyankara
Hi, I'm getting following error in client side when after receiving the response from the service through ESB. [java] javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] [java] Message: Premature end of file. Is this error comes because response message is empty ? How ca

Re: [Dev] [BAM] Build fails for JDK 1.6

2015-03-09 Thread Rasika Perera
Hi Iqbal, Check your maven script. May be it is hardcoded to use JDK1.6. According to [1] Please check pom.xml for following; 1.6 1.6 [1] http://stackoverflow.com/questions/14043042/compiling-java-7-code-via-maven On Mon, Mar 9, 2015 at 1:47 PM, Irham Iqbal wrote: > Hi, > > When tried to bui

[Dev] [BAM] Build fails for JDK 1.6

2015-03-09 Thread Irham Iqbal
Hi, When tried to build bam[1] using JDK 1.6 i am getting build failure[2] but with JDK 1.7 it getting success. Any idea ? [1] https://github.com/wso2/product-bam [2] [INFO] WSO2 Business Activity Monitor SUCCESS [0.632s] [INFO] WSO2 Business Activity Monitor - Multi-tenant

[Dev] [IS] Can anyone login to IS admin dashboard?

2015-03-09 Thread Lakshani Gamage
Hi all, I thought, only admin have privilege to login to IS admin dashboard. But other users (who only have login permission) can also login to IS admin dashboard. Is this the expected behavior? Thank you. -- Lakshani Gamage *Software Engineer* Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%2077

Re: [Dev] Importance of datasources.properties file

2015-03-09 Thread Sohani Weerasinghe
Thanks everyone for the responses. @Susinda: Yes, as you have mentioned BPS is currently using datasource.properties file but they are moving to ndatasource in a future release. Regards, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :htt

Re: [Dev] GSOC2015:Google Wallet based Billing System for WSO2 Private PaaS

2015-03-09 Thread Heshan Jayasinghe
hi Imesh, i try to export maven using following line it says this identifiers are not valid https://gist.github.com/imesh/b8f81fac8de39183a504 export MAVEN_OPTS=-Xms512m -Xmx1536m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=256m -bash: export: `-Xmx1536m': not a valid identifier -bash: export

  1   2   >