Re: [Dev] Error when maven install using eclipse (writing a Carbon component)

2014-09-19 Thread Ramindu De Silva
Hi Jerad, Thank you for your response :) Regards. On Fri, Sep 19, 2014 at 9:57 AM, Jerad Rutnam je...@wso2.com wrote: Hi Ramindu, Did you try maven clean your project, before maven install? and try to do a project clean as well (on eclipse top menu). Regards, On Thu, Sep 18, 2014 at

Re: [Dev] Error when maven install using eclipse (writing a Carbon component)

2014-09-19 Thread Roshan Wijesena
Hi Ramindu, add this plugin to your pom file. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.2/version configuration suiteXmlFiles

[Dev] Axis2server provided with ESB product does not start

2014-09-19 Thread Vijitha Ekanayake
Hi, I was going through a tutorial provided by wso2 esb 4.8.1 documentation. when i tried to start axis2server provided by esb, was terminated by giving following exception. Vijithas-MacBook-Pro:axis2Server vijithae$ ./axis2server.sh ls:

Re: [Dev] Error when maven install using eclipse (writing a Carbon component)

2014-09-19 Thread Ramindu De Silva
Hi Roshan, Thank you for your response. Its working now :) Regards. On Fri, Sep 19, 2014 at 11:42 AM, Roshan Wijesena ros...@wso2.com wrote: Hi Ramindu, add this plugin to your pom file. plugin groupIdorg.apache.maven.plugins/groupId

Re: [Dev] Error when maven install using eclipse (writing a Carbon component)

2014-09-19 Thread Rajakrishna Reddy
Hi Roshan/Ramindu, My issue is also similar to eclipse maven plugins... so I'm using this thread to post my issue. Eclipse is showing an error message when I tried to import one of the modules of AM. Error is as given below: Multiple annotations found at this line:- Plugin execution not

Re: [Dev] Axis2server provided with ESB product does not start

2014-09-19 Thread Isuru Perera
Hi, Looks like you have AXIS2_HOME environment variable. Please don't use that when using the sample server provided by ESB. Best Regards, On Fri, Sep 19, 2014 at 11:49 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Hi, I was going through a tutorial provided by wso2 esb 4.8.1

Re: [Dev] Axis2server provided with ESB product does not start

2014-09-19 Thread Prasanna Dangalla
Hi Vijitha, Comment AXIS2_HOME environment variable in your ~/.bash_profile file and run the following command and check. source ~/.bash_profile If it doesn't work restart the machine and check. This might solve the issue Thanks On Fri, Sep 19, 2014 at 12:06 PM, Isuru Perera isu...@wso2.com

Re: [Dev] [Build Break Alert] Merging fixes with API Changes to Kernel. Please Merge following PRs.

2014-09-19 Thread Pulasthi Supun
Done, Merged pull request sent to carbon-governance, carbon-registry and product-greg Regards, Pulasthi On Thu, Sep 18, 2014 at 5:26 PM, Sameera Jayasoma same...@wso2.com wrote: Hi All, Gayashan has completed all the changes and sent relevant pull requests to repositories and products.

Re: [Dev] Axis2server provided with ESB product does not start

2014-09-19 Thread Vijitha Ekanayake
Hi Isuru,Prasanna, Thank you for the response. could be able to get things work as you all suggested by not using AXIS2_HOME environment variable. On Fri, Sep 19, 2014 at 12:11 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi Vijitha, Comment AXIS2_HOME environment variable in your

Re: [Dev] Findbugs plugin not getting updated in Eclipse luna

2014-09-19 Thread Aiyadurai Rajeevan
Hi All, Its working after upgrading the jdk1.6 as jdk 1.7, Thanks Isuru P for suggesting this to do so. Thanks Regards, S.A.Rajeevan Software Engineer WSO2 Inc E-Mail: rajeev...@wso2.com | Mobile : +94776411636 On Fri, Sep 19, 2014 at 11:18 AM, Aiyadurai Rajeevan rajeev...@wso2.com wrote:

Re: [Dev] Findbugs plugin not getting updated in Eclipse luna

2014-09-19 Thread Isuru Perera
I'm glad to hear that! Please run the IDE with the latest Java. You can define other JDKs in Eclipse preferences. You can then control the JDKs for projects within the IDE. On Fri, Sep 19, 2014 at 12:17 PM, Aiyadurai Rajeevan rajeev...@wso2.com wrote: Hi All, Its working after upgrading the

Re: [Dev] siddhi v2.2.0-SNAPSHOT stop calling callbacks after few seconds

2014-09-19 Thread Lasantha Fernando
Hi Andres, Does the same set of queries work without any issue if you use Siddhi without distributed processing? Also, can you explain how you are using Siddhi within the TridentTopology? Based on how Siddhi is used, you might not need to enable distributed processing for Siddhi instance.

Re: [Dev] Conflicts in content type

2014-09-19 Thread Firzhan Naqash
It sends you an error message with status code 411. It simply means the server (E is expecting header field Content-Length for some reasons. You have to re-check your ESB configuration again. Regards, Firzhan On Fri, Sep 19, 2014 at 11:21 AM, Elilmatha Sivanesan elilma...@wso2.com wrote: We

Re: [Dev] Error when maven install using eclipse (writing a Carbon component)

2014-09-19 Thread Ramindu De Silva
Hi Rajakrishna, What Roshan mentioned worked for me. Regards. On Fri, Sep 19, 2014 at 12:05 PM, Rajakrishna Reddy va...@outlook.com wrote: Hi Roshan/Ramindu, My issue is also similar to eclipse maven plugins... so I'm using this thread to post my issue. Eclipse is showing an error

Re: [Dev] Findbugs plugin not getting updated in Eclipse luna

2014-09-19 Thread Aiyadurai Rajeevan
Yeah, Thanks Isuru. That's what exactly i do. Thanks Regards, S.A.Rajeevan Software Engineer WSO2 Inc E-Mail: rajeev...@wso2.com | Mobile : +94776411636 On Fri, Sep 19, 2014 at 12:22 PM, Isuru Perera isu...@wso2.com wrote: I'm glad to hear that! Please run the IDE with the latest Java. You

[Dev] Unable to associate projects to SonarQube in IntelliJ IDEA

2014-09-19 Thread Vimalanathan Rajeevan
Hi, I tried for a code quality check with SonarQube in IntelliJ IDEA for a maven project. I Installed the plugin required and tried to associate the project with SonarQube as explained in [1]. When I type the project name, Associate With SonarQube window doesn't show any projects to select. What

[Dev] How to obtain connector username password token for XML configuration when running ESB samples

2014-09-19 Thread Shashika Karunatilaka
Hi all When running ESB samples in the [1] it needs to enter a salesforce username + password + security token in the XML configuration. My question is how do i obtain a salesforce username, password token. Is it by creating a saleforce account? in the salesforce api developer guide [2] says A

[Dev] Social SQL implementation refactoring

2014-09-19 Thread Manuranga Perera
I am refactoring the social data table in to two tables. had a small offline discussion with Srinath yesterday, it was suggested that it's better to have individual columns for (mosey) common vales and leave them NULL when not using. following is an example. Activity Table

Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA

2014-09-19 Thread Sajith Kariyawasam
Hi Rajeevan, You need to configure SonarQube server in your IDE to point to a real Sonar server. Or, you need to run a server in your local machine. Please refer [1] [1] http://docs.codehaus.org/display/SONAR/Installing#Installing-installingWebServerInstallingtheWebServer Thanks, Sajith On

[Dev] ESB create custom proxy page is blank

2014-09-19 Thread Lahiru Chandima
Hi All, When I try to create a custom proxy service in WSO2 ESB through the management console, I get a blank page. And the server prints some exception details to the terminal. Below is a part of the error printed. [2014-09-19 13:06:54,909] ERROR - ApplicationDispatcher Servlet.service() for

Re: [Dev] ESB create custom proxy page is blank

2014-09-19 Thread Prasanna Dangalla
Hi Lahiru, Change java version to 1.6 or 1.7 and check. Thanks On Fri, Sep 19, 2014 at 1:35 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, When I try to create a custom proxy service in WSO2 ESB through the management console, I get a blank page. And the server prints some exception

Re: [Dev] ESB create custom proxy page is blank

2014-09-19 Thread Shashika Karunatilaka
HI lahiru, Its better to use java 1.6 Thank you. On Fri, Sep 19, 2014 at 2:35 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi Lahiru, Change java version to 1.6 or 1.7 and check. Thanks On Fri, Sep 19, 2014 at 1:35 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, When I try to

Re: [Dev] Method to Load tenant configuration

2014-09-19 Thread Chamila Adhikarinayake
Hi, I'm using TenantAxisUtils.getTenantAxisConfiguration to create axis configuration. This notifies the TenantServiceCreator observer in APIM (extended from AbstractAxis2ConfigurationContextObserver) and sets up our configuration following is the code used to call it ConfigurationContext ctx =

Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA

2014-09-19 Thread Vimalanathan Rajeevan
Hi Sajith, I am already running sonarqube-4.4 on my local machine and configured that in IntelliJ as specified in [1]. Still unable to associate the project to SonarQube as Associate With SonarQube window does not show any projects to select. [1]

Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-19 Thread Rajith Vitharana
Congratulations ... :) On Thu, Sep 18, 2014 at 10:48 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations Harshan...! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Sep 18, 2014 at 5:14 AM, Malintha Adikari

Re: [Dev] ESB create custom proxy page is blank

2014-09-19 Thread Lahiru Chandima
Thanks for the replies. I used java 1.7 and now its working fine. On Fri, Sep 19, 2014 at 2:40 PM, Shashika Karunatilaka shashi...@wso2.com wrote: HI lahiru, Its better to use java 1.6 Thank you. On Fri, Sep 19, 2014 at 2:35 PM, Prasanna Dangalla prasa...@wso2.com wrote: Hi Lahiru,

[Dev] [Jaggeryjs] Get Role permissions resourcePath in jaggery app

2014-09-19 Thread Dakshika Jayathilaka
Hi, I need to get permission resource paths to jaggery app based on user role. Do we have any direct approach using jaggery modules ? If not what is the best practice.. Do i need to extent jaggery carbon module or directly call package.? (i have notice that method is available on admin service.

Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA

2014-09-19 Thread Sajith Kariyawasam
Have you created a project on SonarQube server? You have to start typing the name of the project on that text box for that to appear on the list. If not type the whole name of the project and see. Sorry I haven't tried in IntelliJ but got it working in Eclipse Thanks, Sajith On Fri, Sep 19,

Re: [Dev] Method to Load tenant configuration

2014-09-19 Thread Nuwan Dias
Chamila, does the _build_.xml sequence get deployed properly in the super tenant's space? On Fri, Sep 19, 2014 at 2:36 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, I'm using TenantAxisUtils.getTenantAxisConfiguration to create axis configuration. This notifies the

[Dev] [G-Reg] [BPS] Greg notifications show username as the role

2014-09-19 Thread Heshani Gamage
Hi all, I'm working on the issue $subject of JIRA [1]. I found reason for this as follows 1. Notifications displayed are retrieved at [2] from the HumanTaskClient.getWorkItems() method 2. Inside the getWorkItems() 's method of HumanTaskClient [3], when creating WorkItems from data retrieved from

Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-19 Thread Pulasthi Supun
Congrats On Fri, Sep 19, 2014 at 2:46 PM, Rajith Vitharana raji...@wso2.com wrote: Congratulations ... :) On Thu, Sep 18, 2014 at 10:48 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations Harshan...! *Dakshika Jayathilaka* Software Engineer WSO2, Inc.

Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-19 Thread Harsha Kumara
Congratulations! On Fri, Sep 19, 2014 at 2:56 PM, Pulasthi Supun pulas...@wso2.com wrote: Congrats On Fri, Sep 19, 2014 at 2:46 PM, Rajith Vitharana raji...@wso2.com wrote: Congratulations ... :) On Thu, Sep 18, 2014 at 10:48 AM, Dakshika Jayathilaka daksh...@wso2.com

Re: [Dev] Hazelcast issue with ESB 4.9.0 M3

2014-09-19 Thread Sameera Jayasoma
Hi Folks, I tested with WSO2 ELB 2.1.1 with patch0009. Looks like node are not get added to the ELB. When I invoke any of the URLs, I am getting No Application Members Available message from the ELB. Then I created a cluster with two WSO2 Carbon 4.3.0 nodes and deployed a sample Web service

[Dev] Error while SSL handshaking in WSO2 EAM

2014-09-19 Thread Kasun Dissanayake
Hi All, I'm working with log in function in EAM test framework. I need to log in to publisher and it will redirect me to samlsso. The url is https://localhost:9443/samlsso with the body. Since this is a secured port I have added following system properties. String trustStore =

[Dev] WSO2 BPS 3.5.0 M5 Released!

2014-09-19 Thread Amal Gunatilake
Hi all, WSO2 Business Process Server 3.5.0 M5 Release is available for download at [1] . This release includes following bug fixes, improvements and tasks. Bug - [BPS-185 https://wso2.org/jira/browse/BPS-185] - Use the unified NData sources in BPS - [BPS-498

[Dev] Problem with authorization in the ESB connector for toodledo API

2014-09-19 Thread Dinithi De Silva
Hi all, We got a problem when developing an ESB connector for Todledo API. Our access token is expiring after 2 hours and we need to use the refresh token to get a new access token. But our refresh token also expiring after 30 days. Once we get the access token through the operation

[Dev] Please merge pull request #19 for carbon-governance

2014-09-19 Thread Denuwanthi De Silva
Hi, please review merge pull req[1], which is a fix for issue [2]. [1]https://github.com/wso2-dev/carbon-governance/pull/19 [2]https://wso2.org/jira/browse/REGISTRY-2296 Thanks, -- Denuwanthi De Silva Software Engineer; WSO2 Inc.; http://wso2.com, Email: denuwan...@wso2.com

Re: [Dev] Error while SSL handshaking in WSO2 EAM

2014-09-19 Thread Manoj Kumara
Hi Kasun, I believe you need to use 'client-truststore.jks' as the truststore not the keystore. This is not the direct example for your case but hope this might help [1]. [1] http://manojwritenotes.blogspot.com/2014/04/how-to-invoke-secured-api-using.html Regards, Manoj *Manoj Kumara*

Re: [Dev] Error while SSL handshaking in WSO2 EAM

2014-09-19 Thread Kasun Dissanayake
Hi Manoj. It didn't work On Fri, Sep 19, 2014 at 7:18 PM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I believe you need to use 'client-truststore.jks' as the truststore not the keystore. This is not the direct example for your case but hope this might help [1]. [1]

Re: [Dev] WSO2 Committers += Sewwandhi Perera

2014-09-19 Thread Rushmin Fernando
Congrats Sewwandi ! On Thu, Sep 18, 2014 at 10:50 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Sewwandi! On Thu, Sep 18, 2014 at 10:19 AM, Niranjan Karunanandham niran...@wso2.com wrote: Congrats Sewwandi!! On Thu, Sep 18, 2014 at 10:16 AM, Harsha Kumara hars...@wso2.com

[Dev] [AF] Packaging wrong versions of jars to resources

2014-09-19 Thread Danushka Fernando
Hi In our pack and dev setups we are packaging wrong versions of some jars (jars packed in to resources). One of the examples is [1]. We are packaging 1.1.0 in the pack and renaming it to 2.0.1 in dev setup. There could be some more jars like this. So someone needs to review all jars that get

Re: [Dev] Error while SSL handshaking in WSO2 EAM

2014-09-19 Thread Danushka Fernando
Hi Here in Axis2 client what we really needs to set is truststore. But since in wso2carbon.jks it contains all trusted keys that contains in client-trustore.jks with wso2carbon.jks also it should work. Can you post the axis2client code here. Then we can have a look at it. Thanks Regards Danushka

Re: [Dev] Error while SSL handshaking in WSO2 EAM

2014-09-19 Thread Manoj Kumara
Hi Kasun, FYI, there is a sample client code in the blog post if you need to check. Please attach your client code if you didn't resolved this as Danushka suggested. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On

Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-19 Thread Chamil Jeewantha
Congratulations! On Fri, Sep 19, 2014 at 3:23 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Congratz Harshan...!!! On Fri, Sep 19, 2014 at 3:21 PM, Harsha Kumara hars...@wso2.com wrote: Congratulations! On Fri, Sep 19, 2014 at 2:56 PM, Pulasthi Supun pulas...@wso2.com wrote:

Re: [Dev] Problem with authorization in the ESB connector for toodledo API

2014-09-19 Thread Malaka Silva
Hi, ESB flow is stateless. Users need to call init method before calling any other method in your connector. In your case when calling init method, users should pass the access token. Then it should be stored in a property and use for consequent methods calls. On Fri, Sep 19, 2014 at 5:05 PM,

Re: [Dev] Problem with authorization in the ESB connector for toodledo API

2014-09-19 Thread Dinithi De Silva
Does it mean the generation of access token will be a manual process? Users need to create and pass it when calling init method? ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Problem with authorization in the ESB connector for toodledo API

2014-09-19 Thread Malaka Silva
That depends on the api. If they provide api support for that it should be implemented. If there is a web flow involved we can't do it with esb. On Fri, Sep 19, 2014 at 9:41 PM, Dinithi De Silva dinit...@wso2.com wrote: Does it mean the generation of access token will be a manual process?

Re: [Dev] Missing resources(js/css/images) in webapps

2014-09-19 Thread Udara Rathnayake
On Thu, Sep 18, 2014 at 10:34 PM, Chanaka Jayasena chan...@wso2.com wrote: Normally firebug console will give an error for missing resources. For the console.log statements developers should scan manually find out them and remove them before releasing the component. exactly that is how I

Re: [Dev] [ESB] Some special characters are not preserved as encoded in ESB

2014-09-19 Thread Ishara Premadasa
Hi Miyuru, Is there any configuration available for keep the encodings? Thanks! Ishara On Fri, Sep 19, 2014 at 12:16 AM, Miyuru Wanninayaka miy...@wso2.com wrote: This behavior comes from axiom. OMElement omElement = AXIOMUtil.stringToOM(contentThis is amp; lt; gt; apos; quot; Test

Re: [Dev] [APIM] Is there a way to throttle from IP based and API based

2014-09-19 Thread Udara Liyanage
Hi Shashika, There is a section in the link you have provided describing IP level throttling. Is it you are looking for or did n't I understand your email correctly. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list

Re: [Dev] java.net.MalformedURLException: no protocol

2014-09-19 Thread Udara Liyanage
Hi Dinithi, Error says you have not provided the URL correctly. You have provided just a file path /home/something It does not know you are referring to a file here. So you have to explicitly says you are referring to a file inside computer. Hence you add file:// Touched, not typed.

Re: [Dev] Problem with authorization in the ESB connector for toodledo API

2014-09-19 Thread Dinithi De Silva
Thank you for the response... Thank you Dinithi De Silva Associate Software Engineer Mob: +94 716 667 655 On Fri, Sep 19, 2014 at 9:56 PM, Malaka Silva mal...@wso2.com wrote: That depends on the api. If they provide api support for that it should be implemented. If there is a web flow