Re: [Dev] [IS] Exception when running STS sample client

2014-10-08 Thread Dulanja Liyanage
I'm not sure about the exact root cause of this. But, please note that WSO2 components are intended to run on Oracle Java 1.6 and 1.7. Please refer [1]. [1] https://docs.wso2.com/display/IS500/Installation+Prerequisites On Wed, Oct 8, 2014 at 10:07 AM, Malithi Edirisinghe malit...@wso2.com

Re: [Dev] jaggery file upload

2014-10-08 Thread Sameera Medagammaddegedara
Hi Lochana, As per our offline discussion you could try the following: % var systemProcess = require('process'); var parent = 'file:///' + (systemProcess.getProperty(' jaggery.home') || systemProcess.getProperty('carbon.home')).replace(/[\\]/g, '/').replace(/^[\/]/g, ''); print(parent); var

Re: [Dev] [IS] Exception when running STS sample client

2014-10-08 Thread Asok Perera
Hi Mailthi, Could you mention the exact java version in your system ? In my case, the java version was 1.6.0_65 and it worked without a problem. BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/

Re: [Dev] Error Occured When Deploying JaX-RS WebAPP in application Server

2014-10-08 Thread Tharindu Dharmarathna
Hi Dinesh,Danushka , Thank you for help to fix it. On Tue, Oct 7, 2014 at 11:55 AM, Danushka Fernando danush...@wso2.com wrote: IIRC this is due to a class loading issue. You might have the same jar in two places in side the server. Thanks Regards Danushka Fernando Software Engineer

Re: [Dev] jaggery file upload

2014-10-08 Thread Lochana Menikarachchi
Hi Sameera, At the end, this is what actually worked... Sending the code snippet for record.. % var carbon = require('carbon'); var datasetService = carbon.server.osgiService('org.wso2.carbon.ml.dataset.DatasetService'); var uploadingDir = datasetService.getDatasetUploadingDir();

Re: [Dev] Error Occured When Deploying JaX-RS WebAPP in application Server

2014-10-08 Thread KasunG Gajasinghe
Hi, I think your webapp contain the axiom jar which conflicts with the one in plugins/ folder. Remove that from your webapp and try. On Wed, Oct 8, 2014 at 1:01 PM, Tharindu Dharmarathna tharin...@wso2.com wrote: Hi Dinesh,Danushka , Thank you for help to fix it. On Tue, Oct 7, 2014 at

[Dev] How to restrict API Design page to allow only files of certain extension(.jpg, .png, .gif) to be uploaded for API thumbnail image in APIM

2014-10-08 Thread Niranda Perera
Hi, Is there any way to restrict only files of certain file types to be uploaded in the API thumbnail image section in APIM? Rgds -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___

Re: [Dev] [IS] Exception when running STS sample client

2014-10-08 Thread Malithi Edirisinghe
Hi Asok, I have the same java version, i.e 1.6.0_65 Thanks, Malithi. On Wed, Oct 8, 2014 at 3:52 PM, Asok Perera as...@wso2.com wrote: Hi Mailthi, Could you mention the exact java version in your system ? In my case, the java version was 1.6.0_65 and it worked without a problem. BR

[Dev] How to run integration tests in App Factory

2014-10-08 Thread Amalka Subasinghe
Hi, Test location: [1] I have skipped running integration tests from regular builds making skipPlatformTests = true in [2]. When you want to execute the tests; either you can a. change the property skipPlatformTestsfalseskipPlatformTests in [2] and then execute the command mvn clean install

[Dev] Error while building sample connector

2014-10-08 Thread Kasun Dissanayake
Hi all, I have checked out the http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.provisioning.connector.sample/4.2.0/ and compiled with following repository as offline discuss with Darshana -- Kasun Dissanayake Software Engineer WSO2

Re: [Dev] Error while building IS sample connector

2014-10-08 Thread Darshana Gunawardana
I tried with a clean repo and it builds fine. Do you have any local changes? On Wed, Oct 8, 2014 at 6:52 PM, Kasun Dissanayake kas...@wso2.com wrote: Sorry guys I mistakenly add this to vacation group. -- Forwarded message -- From: Kasun Dissanayake kas...@wso2.com Date:

[Dev] Error while bulding carbon-govenance

2014-10-08 Thread Prasanna Dangalla
Hi, I'm getting the following error when building carbon-governance from git repo[1] master branch https://github.com/wso2-dev/carbon-governance --- Running org.wso2.carbon.governance.api.test.PolicyTest log4j:WARN No appenders could be found

Re: [Dev] Error while bulding carbon-govenance

2014-10-08 Thread Eranda Sooriyabandara
This is due to some bad code introduced lately. I have a fix which will go across kernel, registry and governance and I will commit ASAP. thanks Eranda On Wed, Oct 8, 2014 at 8:42 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi, I'm getting the following error when building

Re: [Dev] Error while bulding carbon-govenance

2014-10-08 Thread Eranda Sooriyabandara
Hi Prasanna, As I can see those changes were committed. I think your code is too old. Please pull from git and try building. thanks Eranda On Wed, Oct 8, 2014 at 8:42 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi, I'm getting the following error when building carbon-governance from git

Re: [Dev] Error while bulding carbon-govenance

2014-10-08 Thread Eranda Sooriyabandara
Hi Prasannaa, It seems the nexus has a older version of org.wso2.carbon.registry.extensions. Please build org.wso2.carbon.registry.extensions and build org.wso2.carbon.governance.api. thanks Eranda On Thu, Oct 9, 2014 at 12:49 AM, Eranda Sooriyabandara era...@wso2.com wrote: Hi Prasanna, As I

Re: [Dev] [IS] Exception when running STS sample client

2014-10-08 Thread Johann Nallathamby
I remember facing the same problem in Java 1.6. Not the same version you have used. It happened for me in OpenID flow. When I debugged the issue I found that the error occurred while parsing the cacerts file in JDK. So the fix in that instance was to provide a rampart config property to disable

Re: [Dev] Error while building sample connector

2014-10-08 Thread Chanaka Fernando
Hi Kasun, What is the error you are getting? Please share the error details such that others can help you out. Thanks, Chanaka On Wed, Oct 8, 2014 at 6:44 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi all, I have checked out the

Re: [Dev] Error while building sample connector

2014-10-08 Thread Inosh Perera
Hi Kasun, Could you please attach the maven errors you are getting while compiling. Regards, Inosh On Thu, Oct 9, 2014 at 8:49 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Kasun, What is the error you are getting? Please share the error details such that others can help you out.

[Dev] Governance Registry: Web service executor sample

2014-10-08 Thread Himasha Guruge
Hi All, In Governance Registry web service executor sample[1] , when trying to create a new lifecycle, I'm unable to save it since it says unable to validate the configuration. In the console, following error is shown where line number 23 points to axis:args05/axis:args0 of the payload

Re: [Dev] Error creating tenant by connecting to Active directory

2014-10-08 Thread Godwin Amila Shrimal
Hi, Thanks for the help Rajitha, Sorted out the issue by adding host entry. On Mon, Oct 6, 2014 at 8:20 PM, Godwin Amila Shrimal god...@wso2.com wrote: Changed subject Hi, I have configured the user-mg.xml to point active directory and tried to create a tenant and given following

Re: [Dev] How to restrict API Design page to allow only files of certain extension(.jpg, .png, .gif) to be uploaded for API thumbnail image in APIM

2014-10-08 Thread Dinesh J Weerakkody
Hi Niranda, modern browsers support accept attribute and explain in this stackoverflow tread [1]. If that doesn't work for you, you have to write a custom js for validation. Sample validation can be found here [2]. [1]

[Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Lahiru Chandima
Hi All, I am writing my first carbon component. I want to achieve something so simple; add a link in a page that links to a different page in my component. Can somebody tell me how to get the url of my target page? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Supun Muthutantrige
Hi Lahiru, DO you want to link two .jsp pages? From one of your .jsp pages to another one? is that what you are trying to achieve? Regards *Supun Rasitha Muthutantrige* *supunr WSO2 Inc: http://wso2.com http://wso2.com lean.enterprise.middleware* *Mobile: 0758374608*

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Lahiru Chandima
Hi Supun, That is exactly what I am trying to do. Thanks On Thu, Oct 9, 2014 at 10:43 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Lahiru, DO you want to link two .jsp pages? From one of your .jsp pages to another one? is that what you are trying to achieve? Regards *Supun

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Supun Muthutantrige
you can simple add an anchor tag in you jsp file. or you can add a button to redirect it into the relevant page Anchor tag a href=*your_jsp**link text*/a *Supun Rasitha Muthutantrige* *supunrIntern WSO2 Inc: http://wso2.com http://wso2.com lean.enterprise.middleware* *Mobile: 0758374608*

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Lahiru Chandima
Thanks Supun. I will try that. I thought the actual link may be different because when I visit a certain page, browser doesn't show my jsp file name of the page in the URL. On Thu, Oct 9, 2014 at 10:49 AM, Supun Muthutantrige sup...@wso2.com wrote: you can simple add an anchor tag in you jsp

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Lahiru Chandima
Oh, I was wrong. It shows my jsp. I was confused because of the following part that was appended to the URL. /carbon/order-manager/index.jsp?region=region1item=order_management_menu On Thu, Oct 9, 2014 at 10:54 AM, Lahiru Chandima lahi...@wso2.com wrote: Thanks Supun. I will try that. I

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Supun Muthutantrige
Is your problem solved then? Regards *Supun Rasitha Muthutantrige* *supunrIntern WSO2 Inc: http://wso2.com http://wso2.com lean.enterprise.middleware* *Mobile: 0758374608* ___ Dev mailing list Dev@wso2.org

Re: [Dev] How to add a link to a different page in a carbon ui component

2014-10-08 Thread Lahiru Chandima
Yes. Thanks for the help On Thu, Oct 9, 2014 at 10:59 AM, Supun Muthutantrige sup...@wso2.com wrote: Is your problem solved then? Regards *Supun Rasitha Muthutantrige* *supunrIntern WSO2 Inc: http://wso2.com http://wso2.com lean.enterprise.middleware* *Mobile: 0758374608* --

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-08 Thread Sajini De Silva
Hi, I increased the values in poolOptions and socketOptions in the configuration. The cause for this exception IMO was setting a low value to connectTimeoutMillis option. @Asitha Will verify this after doing more tests on this. Thank you, Sajini. On Mon, Oct 6, 2014 at 11:36 AM, Asitha

Re: [Dev] How to restrict API Design page to allow only files of certain extension(.jpg, .png, .gif) to be uploaded for API thumbnail image in APIM

2014-10-08 Thread Niranda Perera
Hi Dinesh, Thank you for your input. It was indeed very helpful. :-) Cheers On Thu, Oct 9, 2014 at 10:16 AM, Dinesh J Weerakkody dine...@wso2.com wrote: Hi Niranda, modern browsers support accept attribute and explain in this stackoverflow tread [1]. If that doesn't work for you, you have