Re: [Dev] Why is SP-initiated SSO considered more secure and restrictive over IdP-initiated SSO?
Guys, Can someone help? Cheers, Prabath On Thu, Sep 18, 2014 at 4:47 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Everyone, Can someone please help me understand $subject? :) Cheers, Prabath -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Exception getting when trying to connect to apache thrift server using java client
Hi, This error disappeared when libthrift version is changed to 0.7.0.wso2v2. Thank you all. :) Thanks, Sajini. On Sun, Sep 21, 2014 at 10:00 AM, Thanuja Jayasinghe than...@wso2.com wrote: HI Sajini, libthrift-0.8.0.wso2v1.jar already has the 'org/apache/thrift/scheme/StandardScheme' class which referred in the exception. Can you share the dependencies used in your project? Thanks, Thanuja. On Sun, Sep 21, 2014 at 8:36 AM, Sajini De Silva saj...@wso2.com wrote: Hi, My thrift version is 0.8.0.wso2v1. Is it wrong to use this version ? Thank you. On Sun, Sep 21, 2014 at 12:47 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: You have to user Thrift 0.7, since this is what we are using in the platform. This also might be a case. Suho On Sat, Sep 20, 2014 at 11:29 PM, Tishan Dahanayakage tis...@wso2.com wrote: What are the java client and dependencies you are using? On Sat, Sep 20, 2014 at 9:35 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I'm getting java.lang.NoClassDefFoundError: org/apache/thrift/scheme/StandardScheme error when I try to connect to apache thrift server using a java client. Does anybody knows the cause for this error? Thank you, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Why is SP-initiated SSO considered more secure and restrictive over IdP-initiated SSO?
In SP Initiated SSO we send a SAML AuthnRequest and it is optionally signed. Which means only registered service providers who have shared their public certificate may call the SSO endpoint and do SSO. For IdP initiated SSO we do register but don't send a SAML request which means there is no verification. So basically any service provider may call it with valid issuer (known publicly) and as long as a valid user enters his username and password we log him in and send a valid SAML Response. Thanks, Johann. On Sun, Sep 21, 2014 at 12:31 PM, Prabath Abeysekera praba...@wso2.com wrote: Guys, Can someone help? Cheers, Prabath On Thu, Sep 18, 2014 at 4:47 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Everyone, Can someone please help me understand $subject? :) Cheers, Prabath -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Two coordinators in one cluster.
Hi, I'm using carbon kernel's ClusteringAgent to identify the coordinator in the cluster. When I start two mb nodes both of them claim to be the coordinator. I'm using isCoordinator method in ClusteringAgent. Carbon version is 4.3.0. Does anyone knows why this is happening? Thank you, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AF] AF Build failure
Hi I am getting following error when I try to build appfactory-plugin. Tried updating components and building. But still no luck. Any Ideas? [INFO] [INFO] Reactor Summary: [INFO] [INFO] appfactory-authentication-plugin .. SUCCESS [11.093s] [INFO] appfactory-plugin . FAILURE [12.382s] [INFO] dynamic-slave . SKIPPED [INFO] appfactory.gitblit-plugin . SKIPPED [INFO] jenkins-tenant-ext SKIPPED [INFO] Web Apps parent ... SKIPPED [INFO] WSO2 Carbon - Issue Tracker BE SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 25.004s [INFO] Finished at: Sun Sep 21 15:53:58 IST 2014 [INFO] Final Memory: 89M/1273M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project appfactory-plugin: Compilation failure: Compilation failure: [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[19,42] error: cannot find symbol [ERROR] symbol: class EventBuilderUtil [ERROR] location: package org.wso2.carbon.appfactory.eventing [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[19,42] error: cannot find symbol [ERROR] symbol: class EventBuilderUtil [ERROR] location: package org.wso2.carbon.appfactory.eventing [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[100,51] error: cannot find symbol [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :appfactory-plugin Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AF] .NET Support
Hi All, I'm working on .NET support in AF, So basically we are giving support for create asp.net apps inside AF. Since asp.net apps can be written in both c# and vb, what would be the most productive hello world app should AF provide initially so that developers can start working on? IMO AF should give a hello world app written in C# since its the most common language that .NET developers use, WDYT? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Two coordinators in one cluster.
HI Sajini, Did you observe the members are properly joining messages, in the terminal output?.. Maybe the cluster has not formed properly. Regards, Aruna On Sun, Sep 21, 2014 at 2:54 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I'm using carbon kernel's ClusteringAgent to identify the coordinator in the cluster. When I start two mb nodes both of them claim to be the coordinator. I'm using isCoordinator method in ClusteringAgent. Carbon version is 4.3.0. Does anyone knows why this is happening? Thank you, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] .NET Support
Hi IMO we could have two app types for C# and VB since both wont be used in one application. If we are deciding for go for 1 app type then +1 for C# sample. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Sep 21, 2014 at 6:22 PM, Kasun De Silva kas...@wso2.com wrote: Hi All, I'm working on .NET support in AF, So basically we are giving support for create asp.net apps inside AF. Since asp.net apps can be written in both c# and vb, what would be the most productive hello world app should AF provide initially so that developers can start working on? IMO AF should give a hello world app written in C# since its the most common language that .NET developers use, WDYT? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Two coordinators in one cluster.
Hi Aruna, Seems like that is the issue. I changed localhost in the axis2.xml file with ip address and now it is working. Thank you. Sajini. On Sun, Sep 21, 2014 at 6:31 PM, Aruna Karunarathna ar...@wso2.com wrote: HI Sajini, Did you observe the members are properly joining messages, in the terminal output?.. Maybe the cluster has not formed properly. Regards, Aruna On Sun, Sep 21, 2014 at 2:54 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I'm using carbon kernel's ClusteringAgent to identify the coordinator in the cluster. When I start two mb nodes both of them claim to be the coordinator. I'm using isCoordinator method in ClusteringAgent. Carbon version is 4.3.0. Does anyone knows why this is happening? Thank you, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] .NET Support
Hi Danushka, That's what I thought. Initially lets go with one app type for now, and it would be C#, and then we can add more app types for vb and all as per requirement. Thanks for the response. Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Sun, Sep 21, 2014 at 6:43 PM, Danushka Fernando danush...@wso2.com wrote: Hi IMO we could have two app types for C# and VB since both wont be used in one application. If we are deciding for go for 1 app type then +1 for C# sample. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Sep 21, 2014 at 6:22 PM, Kasun De Silva kas...@wso2.com wrote: Hi All, I'm working on .NET support in AF, So basically we are giving support for create asp.net apps inside AF. Since asp.net apps can be written in both c# and vb, what would be the most productive hello world app should AF provide initially so that developers can start working on? IMO AF should give a hello world app written in C# since its the most common language that .NET developers use, WDYT? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Method to Load tenant configuration
Hi @Nuwan The build.xml file is in the super tenant's server/synapse-configs/default/sequences and if I log in as a tenant admin, this file gets created in tenant's synapse-configs/default/sequences folder as well. both super user's and tenant admin's carbon admin console's Service Bus - Sequences show the build sequence when I use following scenario, The configurations get created without any error first create a tenant domain 'x' and login to it using admin console. then again without restarting, create another tenant domain 'y' and without login to admin console, call my method (here no other basic authentication happens. Only the method with TenantAxisUtils.getTenantAxisConfiguration() gets called). This time no error occurs and all the configurations get created in the tenant folder Only when I go through following scenario, The error occurs Restart the server again and create a tenant domain 'a' and without login in to carbon console, call my method (with TenantAxisUtils.getTenantAxisConfiguration()). This time the error is thrown and without restarting the server if i create a new tenant domain 'b' and tries to log in to it's carbon console, This error is thrown again (my method is not called this time and only basic auth login is happening) I guess there is a system wide configuration gets created for tenants related to the axis configurations when Tenant admin logs in using basic authentication ( login method in this[1] class is called ) which is not happening if I call TenantAxisUtils without any other implementation. Any idea on what i'm missing or should I initialize any other things before using TenantAxisUtils [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0004/core/org.wso2.carbon.core.services/4.2.0/src/main/java/org/wso2/carbon/core/services/authentication/AuthenticationAdmin.java Thanks in advance Chamila. On Fri, Sep 19, 2014 at 2:54 PM, Nuwan Dias nuw...@wso2.com wrote: 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 TenantServiceCreator observer in APIM (extended from AbstractAxis2ConfigurationContextObserver) and sets up our configuration following is the code used to call it ConfigurationContext ctx = ServiceReferenceHolder.getContextService().getServerConfigContext(); TenantAxisUtils.getTenantAxisConfiguration(tenantDomain, ctx); But I get an error TenantServiceCreator Couldn't serialise the initial synapse configuration for the domain : domain.com org.apache.synapse. SynapseException: Unable to find a serializer for mediator : BuilderMediator when I use this (full error log is at the end) the error is thrown at serializer.serializeSequence(buildSequence, initialSynCfg, null); As a result of this all the configurations except sequences/_build_.xml is created. following is the code part for this SynapseConfiguration initialSynCfg = SynapseConfigurationBuilder. getDefaultConfiguration(); : Registry registry = new WSO2Registry(); initialSynCfg.setRegistry(registry); MultiXMLConfigurationSerializer serializer = new MultiXMLConfigurationSerializer (synapseConfigDir.getAbsolutePath()); try { serializer.serializeSequence(buildSequence, initialSynCfg, null); } Is there any way I can change the synapse configuration so that I can load this missing file? following is the error log [2014-09-19 12:30:02,701] INFO - TenantAxisConfigurator Creating tenant AxisConfiguration for tenant: domain.com[48] [2014-09-19 12:30:02,795] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2014-09-19 12:30:02,838] INFO - PermissionUpdater Permission cache updated for tenant 48 [2014-09-19 12:30:02,839] INFO - TenantServiceBusInitializer Intializing the ESB Configuration for the tenant domain : domain.com [2014-09-19 12:30:02,857] INFO - SynapseControllerFactory Using Synapse home : /home/chamila/Support/wso2am-1.7.0/repository/tenants/48 [2014-09-19 12:30:02,857] INFO - SynapseControllerFactory Using synapse.xml location : /home/chamila/Support/wso2am-1.7.0/repository/tenants/48/synapse-configs/default [2014-09-19 12:30:02,857] INFO - SynapseControllerFactory Using server name : synapse.domain.com [2014-09-19 12:30:02,857] INFO - SynapseControllerFactory The timeout handler will run every : 15s [2014-09-19 12:30:02,857] INFO - Axis2SynapseController Initializing Synapse at : Fri Sep 19 12:30:02 IST 2014 [2014-09-19 12:30:02,857] INFO - CarbonSynapseController Loading the mediation configuration from the file system [2014-09-19 12:30:02,858] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at :
Re: [Dev] Development environment
Hi Ramon, Instructions on [1] might help you. IDE and DB dose't matter when building the source. Our product documentations has the supported and tested databases on deployments. JDK 1.6.x version and Maven 3.0.x would be the initial requirements. You can use any IDE during development. As a developer tool you can use Developer Studio [2] but this require java 7. Hope this might help you. [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites [2] https://docs.wso2.com/display/DVS360/WSO2+Developer+Studio+Documentation Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sat, Sep 20, 2014 at 4:52 PM, Ramon Gordillo gordillo.ra...@gmail.com wrote: Hi. I have seen these in the docs: https://docs.wso2.com/display/TestedPlatforms/Tested+Operating+Systems From the versions on the doc, I guess it is some time since the last update. If we want to build the sources from the repo, which is the environment (OS, DB, JDK, IDE, etc) that the dev people is using? (not the possible ones, but the exact configuration for them) Many thanks. Ramon ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Two coordinators in one cluster.
On Sun, Sep 21, 2014 at 7:05 PM, Sajini De Silva saj...@wso2.com wrote: Hi Aruna, Seems like that is the issue. I changed localhost in the axis2.xml file with ip address and now it is working. It is a known bug in latest hazelcast..See mail thread [1] for more info.. [1] [Dev] Hazelcast 3.2.3 with 127.0.0.1 as the IP does not work Regards, Mohan Thank you. Sajini. On Sun, Sep 21, 2014 at 6:31 PM, Aruna Karunarathna ar...@wso2.com wrote: HI Sajini, Did you observe the members are properly joining messages, in the terminal output?.. Maybe the cluster has not formed properly. Regards, Aruna On Sun, Sep 21, 2014 at 2:54 PM, Sajini De Silva saj...@wso2.com wrote: Hi, I'm using carbon kernel's ClusteringAgent to identify the coordinator in the cluster. When I start two mb nodes both of them claim to be the coordinator. I'm using isCoordinator method in ClusteringAgent. Carbon version is 4.3.0. Does anyone knows why this is happening? Thank you, Sajini. -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] AF Build failure
Hi Danushka, This was causing because I introduced some new classes instead of EventBuilderUtil.java Replaced with the new classes and fixed. Thanks Manisha On Sun, Sep 21, 2014 at 3:59 PM, Danushka Fernando danush...@wso2.com wrote: Hi I am getting following error when I try to build appfactory-plugin. Tried updating components and building. But still no luck. Any Ideas? [INFO] [INFO] Reactor Summary: [INFO] [INFO] appfactory-authentication-plugin .. SUCCESS [11.093s] [INFO] appfactory-plugin . FAILURE [12.382s] [INFO] dynamic-slave . SKIPPED [INFO] appfactory.gitblit-plugin . SKIPPED [INFO] jenkins-tenant-ext SKIPPED [INFO] Web Apps parent ... SKIPPED [INFO] WSO2 Carbon - Issue Tracker BE SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 25.004s [INFO] Finished at: Sun Sep 21 15:53:58 IST 2014 [INFO] Final Memory: 89M/1273M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project appfactory-plugin: Compilation failure: Compilation failure: [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[19,42] error: cannot find symbol [ERROR] symbol: class EventBuilderUtil [ERROR] location: package org.wso2.carbon.appfactory.eventing [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[19,42] error: cannot find symbol [ERROR] symbol: class EventBuilderUtil [ERROR] location: package org.wso2.carbon.appfactory.eventing [ERROR] /home/wdfdo1986/Source_Code/platform/appfactory_2.0.0/products/appfactory/2.0.1/modules/webapps/appfactory-plugin/src/main/java/org/wso2/carbon/appfactory/jenkins/deploy/JenkinsArtifactDeployer.java:[100,51] error: cannot find symbol [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :appfactory-plugin Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* *mobile: +94 71 8279777* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][APIM] writing automation tests for APIM
Hi, I have finished writing automated test cases for publisher and store except for secure end point configurations. I have updated the test plan doc and following are the pending issues. I have updated the test cases where UI tests needed. [1] https://wso2.org/jira/browse/APIMANAGER-2458 https://www.google.com/url?q=https://wso2.org/jira/browse/APIMANAGER-2458sa=Dusg=ALhdy2_v7zb3HCEWFKVt6hn3adcnkgVdSA [2] https://wso2.org/jira/browse/APIMANAGER-2124 [3] https://wso2.org/jira/browse/APIMANAGER-2835 https://www.google.com/url?q=https://wso2.org/jira/browse/APIMANAGER-2835sa=Dusg=ALhdy2-cXRekyqjYXj7SJIMNhQi0s_3p7A Thanks, On Tue, Sep 16, 2014 at 12:03 PM, Waruna Perera waru...@wso2.com wrote: Hi, I will close the duplicate issue. Thanks On Tue, Sep 16, 2014 at 11:49 AM, Nuwan Dias nuw...@wso2.com wrote: This is a duplicate of [1]? This has been fixed in 1.8.0 (RC packs). [1] - https://wso2.org/jira/browse/APIMANAGER-2765 Thanks, NuwanD. On Tue, Sep 16, 2014 at 11:11 AM, Waruna Perera waru...@wso2.com wrote: Hi, Issue logged for for *APIM does not return correct error when adding document with duplicate name to a API.* [1] https://wso2.org/jira/browse/APIMANAGER-2874 On Wed, Sep 10, 2014 at 10:51 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi Waruna, In UI we first call host object isContextExist method and then validate it before add API. That is why you dont get this error in UI. AFAIR there is no rest API to check context existence. Its API developers responsibility to check this first. But still we need to have same check in add API method as well. So we might need to add this check in add API method(to work rest call properly). Thanks, sanjeewa. On Wed, Sep 10, 2014 at 2:11 AM, Waruna Perera waru...@wso2.com wrote: Hi, Issue logged in JIRA related to automation test case. [1] https://wso2.org/jira/browse/APIMANAGER-2835 On Thu, Sep 4, 2014 at 11:02 AM, Waruna Perera waru...@wso2.com wrote: Hi Sanjeewa, Noted. I will update the thread as we move forward about the API calls which we will think of useful to have. Thanks On Thu, Sep 4, 2014 at 10:47 AM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi Waruna, On Wed, Sep 3, 2014 at 9:49 PM, Waruna Perera waru...@wso2.com wrote: Hi, Amalka and me started doing above $subject by following[1]. When following some of the test cases available we found that API calls in publisher[2] and store are limited. The search API functions are covered by calling host objects. I have few questions regarding that. Do we have a plan to provide other API calls in publisher and store? I assume here you are talking about rest APIs that we documented. For the moment most of required operations are exposed as rest APIs. But still there are missing parts. In such cases we can deploy simple jag file in the server and call to host object. If you looked at HostObjectTestCase, you will see how we tested host object operations that did not exposed as rest APIs. Please refer java test cases available in product. Do we need uniformity with test cases? (some via API calls and others with direct host object calls) IMO there is no such requirement. We cant test all scenarios in the same way. Important thing is cover use cases as much as possible. Thanks, sanjeewa. [1] https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AmcQWA48EWBddEdzVVZ4aDJTVTBOeV9fVkE0dU9KMWcusp [2] https://docs.wso2.com/display/AM170/Publisher+APIs -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing
Re: [Dev] [AF] Packaging wrong versions of jars to resources
Hi Dhanuska, Yes, we need to update to correct version if those bundles got updated. Lets fix all of these packaging issues in M6. We can move osgi bundles to dropins but other bundles we should keep at the jenkins runtime. Anyway we need to test this in AS 5.2.1 pack. thank you. On Sat, Sep 20, 2014 at 9:02 PM, Harsha Thirimanna hars...@wso2.com wrote: Hi Danushka, In second point , do you mean all the jenkins runtime jars ? *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* *email: **hars...@wso2.com* az...@wso2.com* 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/harsha-thirimanna/10/ab8/122* *Lean . Enterprise . Middleware* On Fri, Sep 19, 2014 at 8:08 AM, Danushka Fernando danush...@wso2.com wrote: 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 packaged in to the pack and update all the versions. WDYT? And since jenkins war + plugin can read classes from the carbon class loader, cant we copy these jars to repository/components/dropins and repository/components/lib instead of lib/runtime/jenkins/ in build server. [1] org.wso2.carbon.appfactory.jenkins.build.stub Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Why is SP-initiated SSO considered more secure and restrictive over IdP-initiated SSO?
Do you have any reference for the $subject...? Thanks regards, -Prabath On Sun, Sep 21, 2014 at 12:31 PM, Prabath Abeysekera praba...@wso2.com wrote: Guys, Can someone help? Cheers, Prabath On Thu, Sep 18, 2014 at 4:47 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Everyone, Can someone please help me understand $subject? :) Cheers, Prabath -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Thanks Regards, Prabath Twitter : @prabath LinkedIn : http://www.linkedin.com/in/prabathsiriwardena Mobile : +94 71 809 6732 http://blog.facilelogin.com http://blog.api-security.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error while building Carbon
I'm Im following tutorial[1] to build carbon from the source: [1]http://java.dzone.com/articles/how-build-wso2-carbon-420 Running Versions: - java version: 1.6.0_65 - Apache Maven: 3.2.2 - OS : mac 10.9 When i run mvn clean install -Dmaven.test.skip=true command I get the below error. please help... -- * Error Stack [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 (/Users/lahiruC/Documents/FastTrackerProgram/8-BuildCarbon/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-dependents:pom:4.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Lahirus-MacBook-Pro:trunk lahiruC$ java -version java version 1.6.0_65 Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) * orbit POM.XML * project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.wso2.carbon/groupId artifactIdorbit-parent/artifactId version4.2.0-SNAPSHOT/version packagingpom/packaging nameWSO2 Carbon Orbit - Parent Maven Project/name descriptionorbit-parent/description urlhttp://wso2.org/url repositories repository idwso2-nexus/id nameWSO2 internal Repository/name urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/ /url releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicyignore/checksumPolicy /releases /repository /repositories distributionManagement repository idwso2-maven2-repository/id nameWSO2 Maven2 Repository/name urlscp://dist.wso2.org/home/httpd/dist.wso2.org/maven2//url /repository snapshotRepository idwso2-maven2-snapshot-repository/id nameWSO2 Maven2 Snapshot Repository/name urlscp:// dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2//url /snapshotRepository /distributionManagement modules moduletribes/module modulejs/module modulerabbit-mq/module modulejstl/module modulehazelcast/module modulewadl-core/module modulesaxon/module modulecglib/module modulepoi/module modulepoi-ooxml/module modulepoi-scratchpad/module modulejava-property-utils/module modulecors-filter/module modulehttpcore/module modulespring-framework/3.1.0.wso2v2/module modulecassandra-jdbc/module modulejdbc-pool/module /modules build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version2.1/version /extension /extensions pluginManagement plugins plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.3.7/version /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId version1.7/version /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version /plugin /plugins /pluginManagement /build properties version.tomcat7.0.34/version.tomcat version.hazelcast3.0.1/version.hazelcast /properties /project
Re: [Dev] Error while building Carbon
Hi Lahiru, You may need to use Maven 3.0.x during building the source. [1] https://docs.wso2.com/display/Carbon420/Building+from+Source Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Sep 22, 2014 at 12:05 AM, Lahiru Cooray lahi...@wso2.com wrote: I'm Im following tutorial[1] to build carbon from the source: [1]http://java.dzone.com/articles/how-build-wso2-carbon-420 Running Versions: - java version: 1.6.0_65 - Apache Maven: 3.2.2 - OS : mac 10.9 When i run mvn clean install -Dmaven.test.skip=true command I get the below error. please help... -- * Error Stack [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 (/Users/lahiruC/Documents/FastTrackerProgram/8-BuildCarbon/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-dependents:pom:4.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Lahirus-MacBook-Pro:trunk lahiruC$ java -version java version 1.6.0_65 Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) * orbit POM.XML * project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.wso2.carbon/groupId artifactIdorbit-parent/artifactId version4.2.0-SNAPSHOT/version packagingpom/packaging nameWSO2 Carbon Orbit - Parent Maven Project/name descriptionorbit-parent/description urlhttp://wso2.org/url repositories repository idwso2-nexus/id nameWSO2 internal Repository/name urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/ /url releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicyignore/checksumPolicy /releases /repository /repositories distributionManagement repository idwso2-maven2-repository/id nameWSO2 Maven2 Repository/name urlscp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/ /url /repository snapshotRepository idwso2-maven2-snapshot-repository/id nameWSO2 Maven2 Snapshot Repository/name urlscp:// dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2//url /snapshotRepository /distributionManagement modules moduletribes/module modulejs/module modulerabbit-mq/module modulejstl/module modulehazelcast/module modulewadl-core/module modulesaxon/module modulecglib/module modulepoi/module modulepoi-ooxml/module modulepoi-scratchpad/module modulejava-property-utils/module modulecors-filter/module modulehttpcore/module modulespring-framework/3.1.0.wso2v2/module modulecassandra-jdbc/module modulejdbc-pool/module /modules build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version2.1/version /extension /extensions pluginManagement plugins plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.3.7/version /plugin plugin groupIdorg.codehaus.mojo/groupId
Re: [Dev] Error while building Carbon
Hi LahiruC, Try building with maven 3.0.x version. We recommend maven 3.0.x for building from source [1]. [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites Thanks. /Gayashan On Mon, Sep 22, 2014 at 9:35 AM, Lahiru Cooray lahi...@wso2.com wrote: I'm Im following tutorial[1] to build carbon from the source: [1]http://java.dzone.com/articles/how-build-wso2-carbon-420 Running Versions: - java version: 1.6.0_65 - Apache Maven: 3.2.2 - OS : mac 10.9 When i run mvn clean install -Dmaven.test.skip=true command I get the below error. please help... -- * Error Stack [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 (/Users/lahiruC/Documents/FastTrackerProgram/8-BuildCarbon/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-dependents:pom:4.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Lahirus-MacBook-Pro:trunk lahiruC$ java -version java version 1.6.0_65 Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) * orbit POM.XML * project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.wso2.carbon/groupId artifactIdorbit-parent/artifactId version4.2.0-SNAPSHOT/version packagingpom/packaging nameWSO2 Carbon Orbit - Parent Maven Project/name descriptionorbit-parent/description urlhttp://wso2.org/url repositories repository idwso2-nexus/id nameWSO2 internal Repository/name urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/ /url releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicyignore/checksumPolicy /releases /repository /repositories distributionManagement repository idwso2-maven2-repository/id nameWSO2 Maven2 Repository/name urlscp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/ /url /repository snapshotRepository idwso2-maven2-snapshot-repository/id nameWSO2 Maven2 Snapshot Repository/name urlscp:// dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2//url /snapshotRepository /distributionManagement modules moduletribes/module modulejs/module modulerabbit-mq/module modulejstl/module modulehazelcast/module modulewadl-core/module modulesaxon/module modulecglib/module modulepoi/module modulepoi-ooxml/module modulepoi-scratchpad/module modulejava-property-utils/module modulecors-filter/module modulehttpcore/module modulespring-framework/3.1.0.wso2v2/module modulecassandra-jdbc/module modulejdbc-pool/module /modules build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version2.1/version /extension /extensions pluginManagement plugins plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.3.7/version /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId version1.7/version
Re: [Dev] Error while building Carbon
Thanks a lot.. Will do that and check.. On Mon, Sep 22, 2014 at 9:41 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi LahiruC, Try building with maven 3.0.x version. We recommend maven 3.0.x for building from source [1]. [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites Thanks. /Gayashan On Mon, Sep 22, 2014 at 9:35 AM, Lahiru Cooray lahi...@wso2.com wrote: I'm Im following tutorial[1] to build carbon from the source: [1]http://java.dzone.com/articles/how-build-wso2-carbon-420 Running Versions: - java version: 1.6.0_65 - Apache Maven: 3.2.2 - OS : mac 10.9 When i run mvn clean install -Dmaven.test.skip=true command I get the below error. please help... -- * Error Stack [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 (/Users/lahiruC/Documents/FastTrackerProgram/8-BuildCarbon/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-dependents:pom:4.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Lahirus-MacBook-Pro:trunk lahiruC$ java -version java version 1.6.0_65 Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) * orbit POM.XML * project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.wso2.carbon/groupId artifactIdorbit-parent/artifactId version4.2.0-SNAPSHOT/version packagingpom/packaging nameWSO2 Carbon Orbit - Parent Maven Project/name descriptionorbit-parent/description urlhttp://wso2.org/url repositories repository idwso2-nexus/id nameWSO2 internal Repository/name urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/ /url releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicyignore/checksumPolicy /releases /repository /repositories distributionManagement repository idwso2-maven2-repository/id nameWSO2 Maven2 Repository/name urlscp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/ /url /repository snapshotRepository idwso2-maven2-snapshot-repository/id nameWSO2 Maven2 Snapshot Repository/name urlscp:// dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2//url /snapshotRepository /distributionManagement modules moduletribes/module modulejs/module modulerabbit-mq/module modulejstl/module modulehazelcast/module modulewadl-core/module modulesaxon/module modulecglib/module modulepoi/module modulepoi-ooxml/module modulepoi-scratchpad/module modulejava-property-utils/module modulecors-filter/module modulehttpcore/module modulespring-framework/3.1.0.wso2v2/module modulecassandra-jdbc/module modulejdbc-pool/module /modules build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh/artifactId version2.1/version /extension /extensions pluginManagement plugins plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.3.7/version /plugin plugin
[Dev] Web Session Clustering / Session Replication using Hazelcast
Hi Folks, I'm in the process of implementing 'Tomcat session replication using Caching https://redmine.wso2.com/issues/2816' [1]. But I've found a very interesting approach to achieve it out of the box using Hazelcast. Hazelcast WM allows us to cluster user http sessions automatically. Followings are required for enabling Hazelcast Session Clustering http://hazelcast.com/use-cases/web-session-clustering/ [2][3] - Target application or web server should support Java 1.5+ - Target application or web server should support Servlet 2.4+ spec - Session objects that needs to be clustered have to be Serializable Purpose of web session clustering is to replicate web session state across a distributed application servers. Benefits, allow us to scale out but also avoid any single point of failure and allow us to dynamically handle node failure within the application tier. performance of this web session clustering is high according to VP Hazelcast https://www.youtube.com/watch?v=8a0LrlOIXq0. Using Hazelcast session replication can be achieved in two different ways. Observations as follows. - *Hazelcast Enterprise* has native web session clustering build in to Apache Tomcat. - *Opensource Hazelcast* has provide a web session clustering as an external filter, basically Hazelcast filter has to be placed before all of other filters and that will enable us to provide the web session clustering in opensource. In this use case it doesn't required changes to application itself. Example as follows, *web.xml edit*, Make sure Hazelcast filter is placed before all the other filters if any filter filter-namehazelcast-filter/filter-name filter-classcom.hazelcast.web.WebFilter/filter-class !– Name of the distributed map storing your web session objects – init-param param-namemap-name/param-name param-valuemy-sessions/param-value /init-param !– How is your load-balancer configured? stick-session means all requests of a session is routed to the node where the session is first created. This is excellent for performance. If sticky-session is set to false, when a session is updated on a node, entry for this session on all other nodes is invalidated. You have to know how your load-balancer is configured before setting this parameter. Default is true. – init-param param-namesticky-session/param-name param-valuetrue/param-value /init-param !– Are you debugging? Default is false. – init-param param-namedebug/param-name param-valuetrue/param-value /init-param /filter filter-mapping filter-namehazelcast-filter/filter-name url-pattern/*/url-pattern dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher dispatcherREQUEST/dispatcher /filter-mapping listener listener-classcom.hazelcast.web.SessionListener/listener-class /listener All http requests will go through Hazelcast Web Filter and it will put the session objects into Hazelcast distributed map if needed. So WDYT? Please advice as to how I should go about handling this. [1] https://redmine.wso2.com/issues/2816 [2] http://hazelcast.com/use-cases/web-session-clustering/ [3] http://hazelcast.org/docs/latest/manual/html/httpsessionclustering.html [4] https://www.youtube.com/watch?v=8a0LrlOIXq0 -- *Pubudu Dissanayake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mob: + 94 775 503 304 Blog: http://geekdetected.wordpress.com/ Linkedin: *http://lk.linkedin.com/in/pubududissanayake* http://lk.linkedin.com/in/pubududissanayake Flickr : https://www.flickr.com/photos/pubudufx/ Twitter: https://twitter.com/GeekInAction ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA
Hi Sajith, It is OK. I tried in the same way you mentioned. Still not getting worked. Thanks, Rajeevan On Fri, Sep 19, 2014 at 2:53 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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, 2014 at 2:43 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ On Fri, Sep 19, 2014 at 1:22 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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 Fri, Sep 19, 2014 at 12:40 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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 could be the issue? [1] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Architecture] Process Store, TokenInput to Add Associaitions
Hi, The Process Store built as an extension for Enterprise Store 1.2.0, will provide associations. The processes will be interlinked through associations. Each Asset or Process can have one or many predecessors, successors, generalization and specializations. The user will be allowed to enter or input data to the respective fields through a text input. We are looking forward to implement token-input provided by j-query to ensure validated and only available process are allowed to be added as an association. The token input is to be populated through a search endpoint used in the Enterprise Store. We can accomplish populating the token input by two methods:- 1) Loading all the processes in the token-input. 2) Using the onResult() function to modify the query url to input only the filtered data. The input will follow the model of adding tags. POC is to be carried out to utilize the best fit method for this implementation. If we are to use the second method i am looking for a way to edit the query text which is appended to the endpoint. Currently the query text is appended as q?=example_text but we need to change the query text to append as q?=overview_name:example_text. The format is provided in the jquery file and editing the jquery file is not an option, is there any other methods to have a custom query format? Regards Shiva Balachandran -- Shiva Balachandran Software Engineer WSO2 Inc. Mobile - +94 774445788 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA
Hi Rajeevan, Try this approach. This is sort of a workaround, may not be the optimal approach. 1. Start a sonar server (sonar start) 2. Go to your project from the terminal and run following command: mvn sonar:sonar (This command will create a sonar project for your project and in fact you can view the sonar report if you visit the web console from following link: http://localhost:9889/. Note that you can change the default sonar tcp port from changing the sonar.web.port property in sonar dir/conf/sonar.properties file.) 3. Open intelliJ and since you've already installed sonar plugin, right click on the project and select Associate with SonarQube 4. In the window that pops up your project may not show up, so clear the search box and try typing the name associated with your project from your pom file. 5. Select the appropriate sonar project and it should get linked properly. Hope this will fix the issue. I should probably blog this. :) Thanks. /Gayashan On Mon, Sep 22, 2014 at 9:57 AM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Hi Sajith, It is OK. I tried in the same way you mentioned. Still not getting worked. Thanks, Rajeevan On Fri, Sep 19, 2014 at 2:53 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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, 2014 at 2:43 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ On Fri, Sep 19, 2014 at 1:22 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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 Fri, Sep 19, 2014 at 12:40 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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 could be the issue? [1] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA
hi Gayashan, By default the web port where *SonarQube* is listening, is set to 9000 not 9889. So the default link would be http://localhost:9000/ http://localhost:9889/ Cheers, Rajith On Mon, Sep 22, 2014 at 10:20 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Rajeevan, Try this approach. This is sort of a workaround, may not be the optimal approach. 1. Start a sonar server (sonar start) 2. Go to your project from the terminal and run following command: mvn sonar:sonar (This command will create a sonar project for your project and in fact you can view the sonar report if you visit the web console from following link: http://localhost:9889/. Note that you can change the default sonar tcp port from changing the sonar.web.port property in sonar dir/conf/sonar.properties file.) 3. Open intelliJ and since you've already installed sonar plugin, right click on the project and select Associate with SonarQube 4. In the window that pops up your project may not show up, so clear the search box and try typing the name associated with your project from your pom file. 5. Select the appropriate sonar project and it should get linked properly. Hope this will fix the issue. I should probably blog this. :) Thanks. /Gayashan On Mon, Sep 22, 2014 at 9:57 AM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Hi Sajith, It is OK. I tried in the same way you mentioned. Still not getting worked. Thanks, Rajeevan On Fri, Sep 19, 2014 at 2:53 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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, 2014 at 2:43 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ On Fri, Sep 19, 2014 at 1:22 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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 Fri, Sep 19, 2014 at 12:40 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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 could be the issue? [1] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rajith Siriwardana* Software Engineer | Cloud Team WSO2 Inc. ; http://wso2.com *lean. enterprise. middleware* --- *http://people.apache.org/~siriwardana http://people.apache.org/~siriwardana* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Web Session Clustering / Session Replication using Hazelcast
Can you simply get this working using a Tomcat valve rather than a filter? Call into the Hazelcast APIs the filter calls. Take that code and make it a valve. Azeez On Mon, Sep 22, 2014 at 9:55 AM, Pubudu Dissanayake pubu...@wso2.com wrote: Hi Folks, I'm in the process of implementing 'Tomcat session replication using Caching https://redmine.wso2.com/issues/2816' [1]. But I've found a very interesting approach to achieve it out of the box using Hazelcast. Hazelcast WM allows us to cluster user http sessions automatically. Followings are required for enabling Hazelcast Session Clustering http://hazelcast.com/use-cases/web-session-clustering/ [2][3] - Target application or web server should support Java 1.5+ - Target application or web server should support Servlet 2.4+ spec - Session objects that needs to be clustered have to be Serializable Purpose of web session clustering is to replicate web session state across a distributed application servers. Benefits, allow us to scale out but also avoid any single point of failure and allow us to dynamically handle node failure within the application tier. performance of this web session clustering is high according to VP Hazelcast https://www.youtube.com/watch?v=8a0LrlOIXq0. Using Hazelcast session replication can be achieved in two different ways. Observations as follows. - *Hazelcast Enterprise* has native web session clustering build in to Apache Tomcat. - *Opensource Hazelcast* has provide a web session clustering as an external filter, basically Hazelcast filter has to be placed before all of other filters and that will enable us to provide the web session clustering in opensource. In this use case it doesn't required changes to application itself. Example as follows, *web.xml edit*, Make sure Hazelcast filter is placed before all the other filters if any filter filter-namehazelcast-filter/filter-name filter-classcom.hazelcast.web.WebFilter/filter-class !– Name of the distributed map storing your web session objects – init-param param-namemap-name/param-name param-valuemy-sessions/param-value /init-param !– How is your load-balancer configured? stick-session means all requests of a session is routed to the node where the session is first created. This is excellent for performance. If sticky-session is set to false, when a session is updated on a node, entry for this session on all other nodes is invalidated. You have to know how your load-balancer is configured before setting this parameter. Default is true. – init-param param-namesticky-session/param-name param-valuetrue/param-value /init-param !– Are you debugging? Default is false. – init-param param-namedebug/param-name param-valuetrue/param-value /init-param /filter filter-mapping filter-namehazelcast-filter/filter-name url-pattern/*/url-pattern dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher dispatcherREQUEST/dispatcher /filter-mapping listener listener-classcom.hazelcast.web.SessionListener/listener-class /listener All http requests will go through Hazelcast Web Filter and it will put the session objects into Hazelcast distributed map if needed. So WDYT? Please advice as to how I should go about handling this. [1] https://redmine.wso2.com/issues/2816 [2] http://hazelcast.com/use-cases/web-session-clustering/ [3] http://hazelcast.org/docs/latest/manual/html/httpsessionclustering.html [4] https://www.youtube.com/watch?v=8a0LrlOIXq0 -- *Pubudu Dissanayake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mob: + 94 775 503 304 Blog: http://geekdetected.wordpress.com/ Linkedin: *http://lk.linkedin.com/in/pubududissanayake* http://lk.linkedin.com/in/pubududissanayake Flickr : https://www.flickr.com/photos/pubudufx/ Twitter: https://twitter.com/GeekInAction -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919blog: **http://blog.afkham.org* http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez* http://twitter.com/afkham_azeez *linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Freezing SVN scratch area for commits at 12 noon(IST)
Hi all, It will be frozen for 1 ~ 1.5 days. thanks, dimuthu On Mon, Sep 22, 2014 at 11:04 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: This is for jar renaming. tx, dimuthu -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Unable to associate projects to SonarQube in IntelliJ IDEA
Hi Gayashan, Thanks, I got it worked with your steps. You can probably block this . :). I could not Google and find it. @Rajith, Yes, SonarQube is listening to port 9000 (http://localhost:9000/) and we can use the default port. Thanks, Rajeevan On Mon, Sep 22, 2014 at 10:46 AM, Rajith Siriwardena raj...@wso2.com wrote: hi Gayashan, By default the web port where *SonarQube* is listening, is set to 9000 not 9889. So the default link would be http://localhost:9000/ http://localhost:9889/ Cheers, Rajith On Mon, Sep 22, 2014 at 10:20 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Rajeevan, Try this approach. This is sort of a workaround, may not be the optimal approach. 1. Start a sonar server (sonar start) 2. Go to your project from the terminal and run following command: mvn sonar:sonar (This command will create a sonar project for your project and in fact you can view the sonar report if you visit the web console from following link: http://localhost:9889/. Note that you can change the default sonar tcp port from changing the sonar.web.port property in sonar dir/conf/sonar.properties file.) 3. Open intelliJ and since you've already installed sonar plugin, right click on the project and select Associate with SonarQube 4. In the window that pops up your project may not show up, so clear the search box and try typing the name associated with your project from your pom file. 5. Select the appropriate sonar project and it should get linked properly. Hope this will fix the issue. I should probably blog this. :) Thanks. /Gayashan On Mon, Sep 22, 2014 at 9:57 AM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Hi Sajith, It is OK. I tried in the same way you mentioned. Still not getting worked. Thanks, Rajeevan On Fri, Sep 19, 2014 at 2:53 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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, 2014 at 2:43 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ On Fri, Sep 19, 2014 at 1:22 PM, Sajith Kariyawasam saj...@wso2.com wrote: 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 Fri, Sep 19, 2014 at 12:40 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: 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 could be the issue? [1] http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ Thanks, Rajeevan -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com http://wso2.comAMIE (SL)Mobile: +94772269575* -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rajith Siriwardana* Software Engineer | Cloud Team WSO2 Inc. ; http://wso2.com *lean. enterprise. middleware* ---