Re: [Dev] [APIM] Please review and commit patch

2015-01-15 Thread Nuwan Dias
Done, if that issue resolves the two related issues as well, please resolve them too. Thanks, NuwanD. On Tue, Jan 13, 2015 at 4:02 PM, Abimaran Kugathasan abima...@wso2.com wrote: Hi Nuwan Please commit following JIRA 1. https://wso2.org/jira/browse/APIMANAGER-3204 -- Thanks Abimaran

Re: [Dev] [APIM] Please review and comit patches

2015-01-15 Thread Nuwan Dias
Done. Thanks, NuwanD. On Tue, Jan 13, 2015 at 3:55 PM, Abimaran Kugathasan abima...@wso2.com wrote: Hi Nuwan, These JIRAs are not commited yet. Please commit them. On Mon, Dec 22, 2014 at 2:33 PM, Abimaran Kugathasan abima...@wso2.com wrote: $subject please for following JIRAs 1.

[Dev] Cannot do a -Dsetup after deleting the h2 database in Greg 5.0.0 pack

2015-01-15 Thread Pulasthi Supun
Hi All/BPS team, We are getting the following error when we try to start the server with -Dsetup option. 1. started the fresh pack normally 2. stopped the server and deleted the content in /repository/database folder 3. restarted with -Dsetup [2015-01-15 22:25:37,370] INFO

Re: [Dev] [Urgent] [Greg] - Error when server start up

2015-01-15 Thread Pulasthi Supun
Hi Sameera/All I changed the spring framework jar that is being used from spring.framework_3.2.9.wso2v1.jar to spring.framework-3.1.0.wso2v1 and was not able to reproduce the error ( This issue comes intermittently ). What is the version of spring framework that should be packed for kernel 4.3.0

Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-15 Thread Johann Nallathamby
Was this code reviewed ? The new method in the listener does not follow the same convention as others. It says onPreDelete, but other methods don't follow pre/post convention and you don't have hooks for all pre process actions. Can you please add pre process hooks for all the methods in that

[Dev] Please merge pull requests for IDENTITY-2620

2015-01-15 Thread Gayan Gunawardana
Hi, Please merge PR [1],[2] for [3]. [1] https://github.com/wso2-dev/carbon-identity/pull/64 [2] https://github.com/wso2-dev/charon/pull/3 [3] https://wso2.org/jira/browse/IDENTITY-2620 -- Gayan Gunawardana Software Engineer; WSO2 Inc.; http://wso2.com/ Email: ga...@wso2.com Mobile: +94 (71)

[Dev] Anyone who has written a restful service using spring?

2015-01-15 Thread Niranjan Karunanandham
Hi all, $Subject plz. Regards, Nira -- *Niranjan Karunanandham* WSO2 Inc.: http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Hemika Kodikara
Hi All, I am in the middle of writing a test case. I have a need to call a stub through a user. But unable to login to LoginLogoutClient through a user. With Admin, I am able to call the stub as follows. AutomationContext automationContext = new AutomationContext(MB,

[Dev] Need a sample code for creating custom event builder in CEP

2015-01-15 Thread Chathuranga Rajapaksha
Hi, We are doing a CEP training project and we have to create a custom event builder in CEP. But we couldn't find any documentation for this. Can you send a sample code or any documentation related to this. Thanks. -- Best Regards, *Chathuranga Lakmal Rajapaksha* Software Engineering

Re: [Dev] Need a sample code for creating custom event builder in CEP

2015-01-15 Thread Manula Chathurika Thantriwatte
Hi Chathuranga, This will helpful to you [1]. [1] https://docs.wso2.com/display/CEP300/Working+with+Event+Builders Thanks ! On Fri, Jan 16, 2015 at 9:51 AM, Chathuranga Rajapaksha chathuran...@wso2.com wrote: Hi, We are doing a CEP training project and we have to create a custom event

Re: [Dev] Cannot do a -Dsetup after deleting the h2 database in Greg 5.0.0 pack

2015-01-15 Thread Pulasthi Supun
Hi Hasitha, Thanks for the quick response. Will check what you have mentioned and see. Regards, Pulasthi On Jan 16, 2015 7:55 AM, Hasitha Aravinda hasi...@wso2.com wrote: Hi Pulasthi, I had a look at HumanTask featue, It is copying all DB scripts to correct location. (

Re: [Dev] An error occurred while obtaining the list of states in MobileAppLifeCycle

2015-01-15 Thread Thushara Ranawaka
[adding dev] Hi Shazni, Yes, that was the issue. after using a fresh pack which include the given patch, problem[1] sorted out. [1] - https://wso2.org/jira/browse/REGISTRY-2382 Thanks, On Fri, Jan 16, 2015 at 8:06 AM, Shazni Nazeer sha...@wso2.com wrote: For this issue I think the above

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Waruna Perera
Hi Hemika, Can you try the same thing in following manner as suggested below and see whether user can login. create UserManagementClient. login to tenant using UserManagementClient create user with required permission via UserManagementClient login with created user Then we can pin point the

[Dev] How to get Realm configuration in carbon 4.3.0

2015-01-15 Thread Lakshman Udayakantha
Hi Devs, In carbon 4.2.0 below is the way it gets. RealmConfiguration realmConfig = TenantMgtServiceComponent.getRealmService().getBootstrapRealmConfiguration(); But in carbon 4.3.0 after I get realmConfig in above way, when I call realmConfig.getRealmProperty(JDBCRealmConstants.URL); is

Re: [Dev] Anyone who has written a restful service using spring?

2015-01-15 Thread Waruna Perera
Hi, Pls see if this helps [1]. [1] https://spring.io/guides/gs/consuming-rest/ On Fri, Jan 16, 2015 at 12:47 AM, Niranjan Karunanandham niran...@wso2.com wrote: Hi all, $Subject plz. Regards, Nira -- *Niranjan Karunanandham* WSO2 Inc.: http://www.wso2.com

Re: [Dev] Need a sample code for creating custom event builder in CEP

2015-01-15 Thread Mohanadarshan Vivekanandalingam
Hi Chathuranga, What is the use case for creating custom event builder. Can you please specify the use case ? Thanks, Mohan On Fri, Jan 16, 2015 at 9:51 AM, Chathuranga Rajapaksha chathuran...@wso2.com wrote: Hi, We are doing a CEP training project and we have to create a custom event

Re: [Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-15 Thread Dimuthu Leelarathne
Hi all, The lifecycle page is the weakest page in AF and not fully dynamic. It needs to be rewritten at some point. thanks, dimuthu On Fri, Jan 16, 2015 at 7:16 AM, Janaka Ranabahu jan...@wso2.com wrote: Hi Danushka, On Wed, Jan 14, 2015 at 11:57 PM, Danushka Fernando danush...@wso2.com

[Dev] SVN External in APIM tests/resource

2015-01-15 Thread Dinesh J Weerakkody
Hi, Following SVN External links are there in test module of APIManager 1.9.0. - modules/integration/tests/src/test/resources - modules/integration/tests-ui/src/test/resources both locations are pointed to

Re: [Dev] Anyone who has written a restful service using spring?

2015-01-15 Thread Abimaran Kugathasan
Hi Niranjan, I jave written MDM client for WSO2 Enterprise Mobility Manager. You can find it here [1] [1] : https://svn.wso2.com/wso2/interns/2013/abimaran/training/modules/project-windows-rest-mdm/ On Fri, Jan 16, 2015 at 10:23 AM, Waruna Perera waru...@wso2.com wrote: Hi, Pls see if this

Re: [Dev] Upgrading jcifs and JSch to the latest versions

2015-01-15 Thread Sandamal Weerasinghe
Hi Carbon Team, Please merge the pull request [1] [1] https://github.com/wso2/orbit/pull/54 Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd Mobile - +94-77-144-9640 On Wed, Jan 14, 2015 at 2:42 PM, Sandamal Weerasinghe sanda...@wso2.com wrote: Hi all, Currently we

Re: [Dev] Apply Security for Services via Developer Studio

2015-01-15 Thread Sohani Weerasinghe
Hi Harshana, As the initial step we are going to implement an editor to generate predefined ws- policy files conforming to ws-policy framework. As a further improvement we will consider about facilitating to write custom policies. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc:

Re: [Dev] [Urgent] [Greg] - Error when server start up

2015-01-15 Thread KasunG Gajasinghe
Hi Pulasthi, You should use the spring framework 3.2.9 which should be used across all the 4.3.0 based products. Spring comes from the platform. Carbon kernel does not ship it. Regards, KasunG On Thu, Jan 15, 2015 at 11:26 PM, Pulasthi Supun pulas...@wso2.com wrote: Hi Sameera/All I changed

Re: [Dev] [Urgent] [Greg] - Error when server start up

2015-01-15 Thread Supun Malinga
I think its better to investigate on the original issue on the CNF rather than downgrading the spring version. Anyways this looks like a CXF webapp deployment failure. CXF runtime environment has spring as well. You can check what's the given runtime environments in the webapp. Try removing

Re: [Dev] How to get Realm configuration in carbon 4.3.0

2015-01-15 Thread Lakshman Udayakantha
I am checking this in wso2as-6.0.0-SNAPSHOT. Anyone has any idea the reason for this? On Fri, Jan 16, 2015 at 10:19 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Hi Devs, In carbon 4.2.0 below is the way it gets. RealmConfiguration realmConfig =

Re: [Dev] Cannot do a -Dsetup after deleting the h2 database in Greg 5.0.0 pack

2015-01-15 Thread Pulasthi Supun
Hi Hasitha, Tested the changes and the issue was resolved. Thanks, Pulasthi On Fri, Jan 16, 2015 at 9:59 AM, Pulasthi Supun pulas...@wso2.com wrote: Hi Hasitha, Thanks for the quick response. Will check what you have mentioned and see. Regards, Pulasthi On Jan 16, 2015 7:55 AM, Hasitha

[Dev] [ES] [APPM] Creating a duplicate assets exception is shown

2015-01-15 Thread Chathura Dilan
Hi, Regarding the issue[1], IMO this is a user error and this should not be shown to the backend as a exception. Exception should be thrown to the UI layer to handle. WDYT? [1]- https://wso2.org/jira/browse/APPM-310 -- Regards, Chatura Dilan Perera *(Senior Software Engineer** - WSO2

Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-15 Thread Lakshman Udayakantha
Hi All, when I delete tenant in wso2as-6.0.0-SNAPSHOT, got the following exception Error executing query DELETE FROM UM_CLAIM_BEHAVIOR WHERE UM_TENANT_ID = ? for tenant: 1 org.h2.jdbc.JdbcSQLException: Table UM_CLAIM_BEHAVIOR not found; SQL statement: DELETE FROM UM_CLAIM_BEHAVIOR WHERE

Re: [Dev] How to get Realm configuration in carbon 4.3.0

2015-01-15 Thread Lakshman Udayakantha
Hi All, problem solved by making a JNDI lookup for the datasourceName that came with realmConfig. Thanks On Fri, Jan 16, 2015 at 11:49 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: I am checking this in wso2as-6.0.0-SNAPSHOT. Anyone has any idea the reason for this? On Fri, Jan 16,

[Dev] [AM] App Manager 1.0.0 Testing

2015-01-15 Thread Yasassri Ratnayake
Hi All, We are currently testing the wso2appm-1.0.0-ALPHA pack. We will use this thread to update the progress and issues. ATM we are facing some blocking issues and they have being reported at [1], @AM_Team please do the needful to fix these issues ASAP for us to continue the testing without

Re: [Dev] Please review and commit attached test cases

2015-01-15 Thread Nuwan Dias
Adding Sanjeewa On Fri, Jan 16, 2015 at 10:54 AM, Dinesh J Weerakkody dine...@wso2.com wrote: Hi, I have attached herewith test cases and configuration files for - Custom sequence execution on API invocation - Performance test for My subscription page of API Store Please review and

Re: [Dev] [AM] App Manager 1.0.0 Testing

2015-01-15 Thread Dinusha Senanayaka
Hi Yasassri, We have assigned Ruwan Chathura for fixing issues. will check on those issues. Regards, Dinusha. On Fri, Jan 16, 2015 at 12:35 PM, Yasassri Ratnayake yasas...@wso2.com wrote: Hi All, We are currently testing the wso2appm-1.0.0-ALPHA pack. We will use this thread to update the

[Dev] possibility of use WSO2 ELB with non WSO2 products

2015-01-15 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, Is it possible to use wso2 ELB with non wso2 products like jboss(app server). Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary,

[Dev] Jaggery Server Feature installation fails in IS Server P2 profile

2015-01-15 Thread Hasintha Indrajee
Hi all, Please note $subject. Appreciate if someone from Jaggery team can attend to this. Refer the following trace for the error message logged. Cannot complete the install because one or more required items could not be found. Software being installed: Jaggery Server Feature

[Dev] [ES] Errors while running server - latest build

2015-01-15 Thread Ayesha Dissanayaka
Hi, I am getting below error at the server startup. ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} - Configuration file name configurations not matched with aspect name ServiceLifeCycle Further, life-cycles are not attached to the default assets. (with the changes in carbon-governance

Re: [Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-15 Thread Janaka Ranabahu
Hi Danushka, On Wed, Jan 14, 2015 at 11:57 PM, Danushka Fernando danush...@wso2.com wrote: Hi all [1] is fixed by having a check in ui to check whether its an uploadable application. But currently we have a different lifecycle for uploadable applications. So shouldn't we fix this by changing

Re: [Dev] Cannot do a -Dsetup after deleting the h2 database in Greg 5.0.0 pack

2015-01-15 Thread Hasitha Aravinda
Hi Pulasthi, I had a look at HumanTask featue, It is copying all DB scripts to correct location. ( Carbon_Home/dbscripts/bps/bpel/create/ ). Please note that we have changed [1] the dbscript structure for BPS 3.5.0. Can you verify following. 1) To verify Humantak feature installation, check

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Hemika Kodikara
Hi Nuwan, Yes that is there as well. Attaching the automation.xml. Following gets printed on the console. Jan 16, 2015 1:25:18 AM org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator addTenantUsers INFO: User - permissionUser created in tenant domain of carbon.super Regards,

Re: [Dev] Identity application management feature installation fails in Storage Server P2 profile

2015-01-15 Thread Prabath Abeysekera
This is fixed. Thanks guys for your time and effort put into getting this resolved Cheers, Prabath On Tue, Jan 13, 2015 at 12:57 AM, Harsha Kumara hars...@wso2.com wrote: Hi Prabath, As Hasintha said, the PR for syncing up the repos failed due to issue which we later fix. To get the product

Re: [Dev] [ES] Build fails giving compilation errors.

2015-01-15 Thread Ayesha Dissanayaka
Hi Shazni, Pull request is merged and now product-es local build get success. Thanks! - Ayesha On Thu, Jan 15, 2015 at 6:21 AM, Shazni Nazeer sha...@wso2.com wrote: Hi Ayesha, Refer the pull request at [1]. Please review and commit it to the product-es. [1]

[Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-15 Thread Prasanna Dangalla
Hi apim team, Greg server hangs for several minutes after printing JAVA_HOME environment variable is set to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home CARBON_HOME environment variable is set to

[Dev] [MB] RealmService is null when running a test case

2015-01-15 Thread Hemika Kodikara
Hi All, During a test case I am running the following set of lines(product-mb). UserRealm userRealm = QueueManagerServiceValueHolder.getInstance().getRealmService().getTenantUserRealm(MultitenantConstants.SUPER_TENANT_ID); // giving pub/sub permissions to 'create_pub_sub_queue_role' role

[Dev] Deadline for moving all code to GitHub

2015-01-15 Thread Afkham Azeez
Folks, Our plan was to move all the code to GitHub last year, but unfortunately we haven't moved some of the code yet. Shall we have a deadline be done with it? Otherwise this may drag on. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software

[Dev] Tomcat 7.0.54.wso2v1 is not available in nexus

2015-01-15 Thread Prabath Abeysekera
Hi Maheshika, I see tomcat 7.0.54.wso2v1 orbit dependency is added to GIT but not available in nexus. Any idea why? Cheers, Prabath -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Saneth Dharmakeerthi
Hi Hemika, Can you please check whether you can manually login to the server with permissionUser by putting a long sleep or debug point before the String loginSession = loginLogoutClient.login();, so we can verify that the users is correctly created in the system with correct credential. Also

[Dev] [GitHub] Build Failure due to missing eclipse validateutility/runtime jars

2015-01-15 Thread Ruwan Yatawara
Hi All, I tried to build the carbon-apimgt component on git and the build fails due to missing jars in nexus. The jars in question are : 1) eclipse:validateutility:jar:0.95 2) org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 After applying adding these jars to nexus everything

Re: [Dev] [GitHub] Build Failure due to missing eclipse validateutility/runtime jars

2015-01-15 Thread Ruwan Yatawara
Correction : added the jars to local m2 repo. I believe said jars should be uploaded to nexus. Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : ruw...@wso2.com mobile : +94 77 9110413 blog : http://thoughts.ruwan-ace.com/ www: :http://wso2.com On Fri, Jan 16,

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Nuwan Wimalasekara
Hi Can you please check whether the user is created on the server. In order to create the user at the test execution time, you need to have the UserPopulateExtension in automation.xml platformExecutionManager extentionClasses class

[Dev] Carbon 5 Tentative Release Date

2015-01-15 Thread Tapas Jena
Hi Guys, Is there any tentative date for Carbon 5 release. I am mainly looking for REST admin services feature. Regards, Tapas ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev