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 sag...@wso2.com wrote: Hi ES team, Please review this log with Ruchira and properly separate INFO/DEBUG logs, I have in-lined commented some of the

[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

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 chana...@wso2.com wrote: I am trying to build the inbound endpoint ui in

[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]

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] 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

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 pulas...@wso2.com wrote: Hi All, During Greg server startup we are observing a large

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 nuw...@wso2.com wrote: I tried with the new IS service pack and It works for me. On Mon, Jan

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

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 eran...@wso2.com wrote: I got this error when I am

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

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 je...@wso2.com wrote: Hi, Please check and merge the PR [1]. [1] - *https://github.com/wso2/product-greg/pull/24

[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

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 sag...@wso2.com 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 sag...@wso2.com

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 ins...@wso2.com wrote: Hi Chamin,

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 ruch...@wso2.com wrote: Hi SameeraJ, Can you please fix these logs? /Ruchira On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga sag...@wso2.com

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 sanda...@wso2.com 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

[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 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 :

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 dine...@wso2.com 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

[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] 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 dan...@wso2.com wrote: Hi all, I am using

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

[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

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

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()[

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] [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

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.

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

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 s...@wso2.com wrote: I was able to download the org.wso2.carbon:org.wso2. carbon.system.statistics.feature:zip Is this because

[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

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

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 sanje...@wso2.com wrote: Hi All, After fixing some issues we were able to enable host object test case and test

[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] 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.

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 raji...@wso2.com wrote: Hi, If you need the place where encryption happens, it's in [1] method encrypt [1] -

[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] [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 chan...@wso2.com wrote: Hi, I'm using ES 2.0.0

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 dhanush...@wso2.com 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 s...@wso2.com wrote: I was

[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]

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 farasa...@wso2.com 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

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

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 *UseAuthenticatedUserDomainfalse/UseAuthenticatedUserDomain* to *true.*

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 nuw...@wso2.com 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

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

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
Hi Godwin, Did you installed any patches in Identity server ? Thanks, Nuwanw On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, I am checking travelocity web application by setting EnableSAML2Grant property to true. After successful authentication when click