[Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Pulasthi Supun
Hi All, During Greg server startup we are observing a large amount of store and jaggery related logs. I think most of them can be moved to be DEBUG. There are also a lot of WARN messages, is it possible to reduce them as well. [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository

Re: [Dev] [ndatasource] Encrypting data source password

2015-01-19 Thread Akila Ravihansa Perera
Thanks! This is exactly what I was looking for. On Mon, Jan 19, 2015 at 12:30 PM, Rajith Vitharana wrote: > Hi, > > If you need the place where encryption happens, it's in [1] method > "encrypt" > > [1] - > https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.core/4

[Dev] [MB] Restriction to publish XML messages for topics in UI

2015-01-19 Thread Hemika Kodikara
Hi All, Currently in MB, a topic should be able to send any message in the format as a normal text, XML, etc. But in the UI, the topic details page(topic_manage.jsp) shows a publishing message section which allows only to send XML messages. ​ Following code does the publishing of the message.

[Dev] [App Manager] Creating Users with different previledges

2015-01-19 Thread Yasassri Ratnayake
Hi All, My requirement is to have 2 different users to control App creation. Users should have privileges as mentioned below. User 1. To create Apps and submit for Approval. User 2. To review and approve the App for publishing. What are the permissions that needs to be added to create two users

Re: [Dev] Network failure errors in PR build "ERROR: Could not transfer artifact"

2015-01-19 Thread Dhanushka Ranasinghe
Hi Please refer mail with subject "*[JAGGERY] [BUILD FAILURE] jaggery build #194*" Thank You Dhanushka On Sat, Jan 17, 2015 at 3:16 PM, Sriskandarajah Suhothayan wrote: > > I was able to download the org.wso2.carbon:org.wso2. > carbon.system.statistics.feature:zip > > Is this because we have

[Dev] Fwd: APIM 1.9.0 integration tests

2015-01-19 Thread Sanjeewa Malalgoda
Hi All, After fixing some issues we were able to enable host object test case and test coverage is as follows. Still we need more tests to cover other areas mentioned. OVERALL COVERAGE SUMMARYnameline, %block, %method, %class, %all classes 42% (10069/24096)41% (42400/103849)58% (1614/2804)70%

[Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Godwin Amila Shrimal
Hi, I am checking travelocity web application by setting EnableSAML2Grant property to true. After successful authentication when click "*Request OAuth2 Access Token*", it gives following error in tomcat. there is no errors in identity server. Use default authentication as Local and Outbound Authen

Re: [Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-01-19 Thread Malithi Edirisinghe
Hii Senduran, There's a separate primary keystore generated for the tenant. Since you have enabled response signing also, the service provider that you have registered should know the public key of the IdP in order to validate. Hence, the service provider should have the public key of the IdP in i

Re: [Dev] Fwd: APIM 1.9.0 integration tests

2015-01-19 Thread Nuwan Dias
Nice work guys, let's figure out which blocks of code are missing coverage and write some tests for those too. Thanks, NuwanD. On Mon, Jan 19, 2015 at 6:53 PM, Sanjeewa Malalgoda wrote: > Hi All, > After fixing some issues we were able to enable host object test case and > test coverage is as f

Re: [Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-19 Thread Danushka Fernando
Hi Chanuka Check the code of acs to see whether its checking for additional permissions. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Jan 19, 2015 at 12:24 PM, Chanuka Dissanayake wrote: > Hi, > > I'm using ES 2.0.0 M4 pack and IS

[Dev] [CEP] Unable to find WebSockets input and Output event adapter options in the console

2015-01-19 Thread Farasath Ahamed
Hi, Documentation of CEP 3.1.0 seem to indicate that Input WebSocket Event adapter[1] and Output Websocket Event adapter[2] are available with WSO2 CEP 3.1.0. But those two options seem to be not available? Any reasons? [1] https://docs.wso2.com/display/CEP310/Input+WebSocket+Event+Adapter [2] h

Re: [Dev] Network failure errors in PR build "ERROR: Could not transfer artifact"

2015-01-19 Thread Sriskandarajah Suhothayan
Thanks Suho On Mon, Jan 19, 2015 at 6:28 PM, Dhanushka Ranasinghe wrote: > Hi > > Please refer mail with subject "*[JAGGERY] [BUILD FAILURE] jaggery build > #194*" > > Thank You > Dhanushka > > On Sat, Jan 17, 2015 at 3:16 PM, Sriskandarajah Suhothayan > wrote: > >> >> I was able to download

Re: [Dev] [CEP] Unable to find WebSockets input and Output event adapter options in the console

2015-01-19 Thread Mohanadarshan Vivekanandalingam
On Mon, Jan 19, 2015 at 10:29 PM, Farasath Ahamed wrote: > > Hi, > Hi Farasath, > > Documentation of CEP 3.1.0 seem to indicate that Input WebSocket Event > adapter[1] and Output Websocket Event adapter[2] are available with WSO2 > CEP 3.1.0. > > But those two options seem to be not available?

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

2015-01-19 Thread Niranjan Karunanandham
Thanks Waruna and Abimaran. I tried the sample in [1] to create a spring service in AS 5.2.1. I was able to upload and test it when I compile it as a "war" file and upload to AS. But when I uploaded the jar file and the content.xml (under Spring service), the service is indicated as an "axis2" ser

Re: [Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-01-19 Thread Senduran Balasubramaniyam
Hi, Thanks Malithi for the response. I tried, un-checking the Enable Response Signing , but even when I login as admin I got the following exception java.lang.NullPointerException at org.opensaml.xml.signature.SignatureValidator.buildSignature(SignatureValidator.java:91) at org.opensaml.xml.signat

Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
Hi Godwin, Did you installed any patches in Identity server ? Thanks, Nuwanw On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal wrote: > Hi, > > I am checking travelocity web application by setting EnableSAML2Grant > property to true. After successful authentication when click "*Request > OA

Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
Hi Godwin, In default IS pack this working fine and I have experienced that patch0777 has broken this scenario with above error. Can you try applying the new service pack and try again. Please note that you need to update the database too according to the patch db scripts. Thanks, Nuwanw On Mon,

Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
I tried with the new IS service pack and It works for me. On Mon, Jan 19, 2015 at 10:37 AM, Nuwan Wimalasekara wrote: > Hi Godwin, > In default IS pack this working fine and I have experienced that patch0777 > has broken this scenario with above error. Can you try applying the new > service pack

Re: [Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-19 Thread Chanuka Dissanayake
Hi Danushka, Thanks for the reply, I have looked into the acs file. In this scenario we don't need to change the permissions in there. @SameeraM, Thanks for the help, in conf/identity.xml file, we *don't* need to change *false* to *true.* *Assertion Consumer URL *need to be change as *https://l

Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Godwin Amila Shrimal
Hi Nuwan, Yes. I tried with new IS service pack and it worked fine, BTW issues was small mismatching with audience restriction. Thanks Godwin On Tue, Jan 20, 2015 at 1:03 AM, Nuwan Wimalasekara wrote: > I tried with the new IS service pack and It works for me. > > On Mon, Jan 19, 2015 at 10

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sagara Gunathunga
Hi ES team, Please review this log with Ruchira and properly separate INFO/DEBUG logs, I have in-lined commented some of the places which we need to use DEBUG. On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun wrote: > Hi All, > > During Greg server startup we are observing a large amount of stor

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sagara Gunathunga
HTH http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html Thanks ! On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga wrote: > > Hi ES team, > > Please review this log with Ruchira and properly separate INFO/DEBUG logs, > I have in-lined commented some of the places which

Re: [Dev] SVN External in APIM tests/resource

2015-01-19 Thread Dinesh J Weerakkody
Hi Krishantha, Thanks for your clarification. Now I have two more questions. If 1.8.0 is PATS version, we can point APIM 1.9.0 test configuration location to the same location that we have used for APIM 1.8.0. Isn't it? If we do a major change to APIM configuration in 1.9.0 version which is inco

Re: [Dev] [App Manager] Creating Users with different previledges

2015-01-19 Thread Yasassri Ratnayake
Hi Ruwan, Thanks for the reply. But when I assign default "Internal/publisher" role the user can create and publish the app. When I look at the permission tree I see the following permissions. ​ Do I need to remove Publish permissions in-order to achieve my requirement? *Note : I'm trying this

[Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I am trying to build the inbound endpoint ui in carbon-mediation. I used "mvn clean install" in this directory "components/mediation-ui/org.wso2.carbon.inbound.ui" to build the jar and copied it to the /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory. Even though the build was succ

Re: [Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I forgot to attach the error. org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO; On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray wrote: > > I am trying to build the inbound endpoint ui in carbon-mediation. I

[Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Danesh Kuruppu
Hi all, I am using BAM 2.4.0 version I tried to test cassandra database connection using Management Console in BAM. - open BAM console and go to Configure ---> Data Sources - select the datasource (here "WSO2BAM_CASSANDRA_DATASOURCE") ---> View - use button "Test Connection" I am getting Cass

[Dev] Tomcat valve with IS

2015-01-19 Thread Chamin Nalinda
Hi all, I wrote a custom TomCat valve and now I need to integrate the valve with WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application server. In the case of my requirement, I host my app on Tomcat and I need to log the information on IS console. [1] http://dulanja.blogspot.com/

Re: [Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Rajith Vitharana
Hi, Try putting cassandra-jdbc-1.2.5.jar to repository/components/lib folder. You can download it from [1] [1] - https://code.google.com/a/apache-extras.org/p/cassandra-jdbc/downloads/list Thanks, On Tue, Jan 20, 2015 at 10:35 AM, Danesh Kuruppu wrote: > Hi all, > I am using BAM 2.4.0 versio

Re: [Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Danesh Kuruppu
Thanks Rajith/Gayashan, I am able to fix the issue with the help of Gayashan. I build the orbit bundle from [1]. and put the bundle to repository/components/dropins. 1. https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/orbit/cassandra-jdbc/1.1.1.wso2v1/ Thanks Danesh

Re: [Dev] (no subject)

2015-01-19 Thread Shiva Balachandran
Hi Chanaka, Can you please provide the complete error? Also, the archived mail [1], talks about a similar issue. Have a look at it too. [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html Thank you, Shiva Balachandran On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray wrote: > I fo

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Ruchira Wageesha
Hi SameeraJ, Can you please fix these logs? /Ruchira On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga wrote: > > HTH > http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html > > Thanks ! > > > On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga > wrote: > >> >> Hi ES te

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sameera Jayaratna
Hi, Will do. I will go through them and move into appropriate log levels. Regards, Sameera On Tue, Jan 20, 2015 at 11:14 AM, Ruchira Wageesha wrote: > Hi SameeraJ, > > Can you please fix these logs? > > /Ruchira > > On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga > wrote: > >> >> HTH >>

Re: [Dev] (no subject)

2015-01-19 Thread Eranda Rajapakshe
I got this error when I am building the inbound-endpoint-ui component. It doesn't show any error logs in the console, but the only problem is that inbound-endpoint ui is not coming up. And the error message " org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[ Lorg/wso2/carb

Re: [Dev] (no subject)

2015-01-19 Thread Malaka Silva
Hi, There was some code re factoring done in the admin stub some time ago. Please merge with upstream. Build seems to be ok [1]. [1] https://wso2.org/jenkins/job/carbon-mediation/398/ On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe wrote: > I got this error when I am building the inbound-

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

2015-01-19 Thread Kishanthan Thangarajah
Manoj, can you review this and merge? On Mon, Jan 19, 2015 at 11:39 AM, Sandamal Weerasinghe wrote: > Hi, > > Please merge the above when possible. > > Thanks. > > Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd > > Mobile - +94-77-144-9640 > > On Fri, Jan 16, 2015 at 10:50 AM, S

[Dev] [GReg] Pull Request: Impact Analysis Feature UI Improvement

2015-01-19 Thread Jerad Rutnam
Hi, Please check and merge the PR [1]. [1] - *https://github.com/wso2/product-greg/pull/24 * Thanks, Jerad -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.

[Dev] [ESB] Catch Runtime exceptions which are being occured in inner sequences of a Proxy Service

2015-01-19 Thread Mahesh Chinthaka
Hi all, Any idea on how to do $subject ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: mahe...@wso2.com | Web: www.wso2.com _

Re: [Dev] Tomcat valve with IS

2015-01-19 Thread Inshaf Mahath
Hi Chamin, You can try on Apache Log4j [1]. Sample implementation can be found on [2]. Hope this will work. [1] http://logging.apache.org/log4j/2.x/ [2] https://github.com/zamly/HiveAnalyzer-CEPNotifier/blob/master/src/main/java/org/wso2/bam/hive/CEPNotifier.java Best Regards, On Tue, Jan 20,

Re: [Dev] Tomcat valve with IS

2015-01-19 Thread Supun Malinga
Hi Chamin, Yes you can integrate the valve as done in [1]. make sure you specify the valve at the end of the valves section. For logging into the console you can simply use log4j as described earlier. thanks, On Tue, Jan 20, 2015 at 12:20 PM, Inshaf Mahath wrote: > Hi Chamin, > > You can try

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

2015-01-19 Thread Manoj Kumara
Hi Sandamal, I have added some comments please update the pull requests accordingly. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jan 20, 2015 at 12:28 AM, Kishanthan Thangarajah < kishant...@wso2.com> wrote: > Manoj, can

Re: [Dev] SVN External in APIM tests/resource

2015-01-19 Thread Krishantha Samaraweera
Hi Dinesh, On Tue, Jan 20, 2015 at 9:21 AM, Dinesh J Weerakkody wrote: > Hi Krishantha, > > Thanks for your clarification. Now I have two more questions. > > If 1.8.0 is PATS version, we can point APIM 1.9.0 test configuration > location to the same location that we have used for APIM 1.8.0. Isn

[Dev] Start multiple servers in test framework

2015-01-19 Thread Jenananthan Yogendran
Hi, I want to write automation tests for APP Manager for following scenarios, 1. publishing APP Manager runtime statistics to BAM - For that need to configure the BAM server and start in different port offset 2. workflow extension support with BPS -for that need to configure the BPS and start in

Re: [Dev] [GReg] Pull Request: Impact Analysis Feature UI Improvement

2015-01-19 Thread Sagara Gunathunga
Hi Jerad, If this work is completed please arrange a review with UX folks. Thanks ! On Tue, Jan 20, 2015 at 12:12 PM, Jerad Rutnam wrote: > Hi, > > Please check and merge the PR [1]. > > [1] - *https://github.com/wso2/product-greg/pull/24 > * > > >

Re: [Dev] [ESB] Catch Runtime exceptions which are being occured in inner sequences of a Proxy Service

2015-01-19 Thread Shiva Balachandran
Hi Mahesh, The following document [1] will be helpful. The Error handling section should answer your query. [1] - http://wso2.com/library/articles/2012/10/wso2-esb-examples-best-practises-error-handling-wso2-esb/ Thank you. Regards Shiva Balachandran On Tue, Jan 20, 2015 at 12:17 PM, Mahesh Ch

Re: [Dev] Start multiple servers in test framework

2015-01-19 Thread Dharshana Warusavitharana
Hi, Are you trying to integrate this scenrio to the integration test module. Since this scenario requires more than one product you may need to go for a platform test scenario. In integration tests we only consider single standalone product which comes out with building of the product pack. Th

Re: [Dev] Start multiple servers in test framework

2015-01-19 Thread Ruwan Yatawara
Hi Darshana, Can you please provide us with an existing sample of same, for us to get started on this. Are there products for which platform tests are already available? Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : ruw...@wso2.com mobile : +94 77 9110413 blog

[Dev] {BAM] Exception occurred during publishing data through LoadBalancingDataPublisher

2015-01-19 Thread Yashira Perera
Hi, I got an exception when i try to publish data via LoadBalancingDataPublisher. [2015-01-20 13:22:55,948] INFO {org.wso2.carbon.databridge.agent.thrift.lb.ReceiverGroup} - Resending the failed published data... [2015-01-20 13:22:55,948] ERROR {org.wso2.carbon.databridge.agent.thrift.AsyncData