Re: [Dev] Storage Server(SS) git migration update

2014-07-07 Thread Prabath Abeysekera
Hi Harsha, Good Stuff! Please keep the thread posted as you proceed with the remaining tasks of the migration effort too. Cheers, Prabath On Mon, Jul 7, 2014 at 10:33 AM, Harsha Kumara hars...@wso2.com wrote: Hi, We have successfully migrated product repo to git and completed task upto

[Dev] [Patch method support for SCIM end points]

2014-07-07 Thread Gayan Gunawardana
Hi All, The requirement based on [1]. Since wso2 identity server can act as a SCIM provider, it exposes REST end points with standard http methods (GET, POST, PUT, DELETE). How ever according to [2] http PATCH method also require to do patch operation. The idea of patch operation is, suppose we

[Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Roshan Wijesena
Hi all, I have been running UI - Integration test for AM 1.7.0/1.7.1 for while, and i am getting an error as below, What could be the reason for that? Google suggest possible dependency conflicts would cause for it. I am using test property browser.name=htmlUnit.

[Dev] Identity Server: Number of Connections

2014-07-07 Thread Daya Attapattu
I am trying to run 400 users (400 threads on jmeter) on identity server. IS fails with the following message: ERROR {org.wso2.carbon.registry.core.dataaccess.TransactionManager} - Failed to start new registry transaction. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Gayashan Amarasinghe
Hi Roshan, From the log it seems like a class loading issue. Can you check whether the relevant libraries are in the class path? [Specifically look for the xml-apis.jar] Thanks. /Gayashan On Mon, Jul 7, 2014 at 11:50 AM, Roshan Wijesena ros...@wso2.com wrote: Hi all, I have been running

Re: [Dev] Exception when calling DefaultBootstrap.bootstrap() method in OpenSAML

2014-07-07 Thread Isura Karunaratne
Hi prasad, Following blog [1] will help you fix the issue. There is a comment regarding the exception above with a way to resolve the issue. [1] http://sureshatt.blogspot.com/2012/11/how-to-read-saml-20-response-with.html Regards On Mon, Jul 7, 2014 at 9:46 AM, Prasad Tissera

Re: [Dev] [Patch method support for SCIM end points]

2014-07-07 Thread Ishara Karunarathna
Hi Gayan, On Mon, Jul 7, 2014 at 11:46 AM, Gayan Gunawardana ga...@wso2.com wrote: Hi All, The requirement based on [1]. Since wso2 identity server can act as a SCIM provider, it exposes REST end points with standard http methods (GET, POST, PUT, DELETE). How ever according to [2] http

Re: [Dev] Identity Server: Number of Connections

2014-07-07 Thread Prasad Tissera
In master-datasources.xml (wso2is-5.0.0/repository/conf/datasources) you can increase the database connection pool size by increasing maxActive50/maxActive property. datasource nameWSO2_CARBON_DB/name descriptionThe datasource used for registry and user manager/description

Re: [Dev] [Patch method support for SCIM end points]

2014-07-07 Thread Supun Malinga
yeah. it looks like patch method is not supported OOTB, since as per the spec[5] patch method is not specified. So the usual practice seems to be implementing it by the user.. [5] http://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html thanks, On Mon, Jul 7, 2014 at 12:01 PM,

Re: [Dev] Exception when calling DefaultBootstrap.bootstrap() method in OpenSAML

2014-07-07 Thread Prasad Tissera
Hi Isura, I tried it with no success. This is my dependency list in the pom. Code worked without any issues when run standalone. Since I assume this should be a dependency issue. dependency groupIdorg.wso2.carbon/groupId

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Krishantha Samaraweera
Hi Roshan, Any particular reason to use htmlUnit.. Did you check with firefox as the browser ? I don't think test framework will work with htmlUnit as it has many inherited dependencies conflicts with our carbon dependencies. Those might be excluded already. And HtmlUnit driver is for unit

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Gayashan Amarasinghe
Hi Roshan, Is it also available in the runtime class path? Thanks. /Gayashan On Mon, Jul 7, 2014 at 12:08 PM, Roshan Wijesena ros...@wso2.com wrote: Hi Gayashan. Thanks, yes it seems to be a class load problem, probably loading a wrong version of it. BTW I have xml-apis.jar-1.3.04 in my

Re: [Dev] [Patch method support for SCIM end points]

2014-07-07 Thread Gayan Gunawardana
Thanks Ishara Supun. Will proceed accordingly. Thanks, Gayan On Mon, Jul 7, 2014 at 12:11 PM, Supun Malinga sup...@wso2.com wrote: yeah. it looks like patch method is not supported OOTB, since as per the spec[5] patch method is not specified. So the usual practice seems to be implementing

Re: [Dev] Identity Server: Number of Connections

2014-07-07 Thread Prasad Tissera
Hi Daya, Yes, I also don't think there is a linear relationship between numbers of users and max active connections. I thought it was 50 when trying with 400 users. In this case, issue should be something else. May be not closing the connection properly. I'm not aware of the values used in

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Roshan Wijesena
Hi Krishantha, Thanks for your reply. My original intention was hide browser loading from user,any way i am totally fine go with fire-fox browser option too. I have re-run test suite with browser.name=firefox. I am getting an error afterwards as below. [2014-07-07 06:47:42,161] INFO

[Dev] Registry resource not found exception thrown at UES tenant login

2014-07-07 Thread Gayan Yalpathwala
Hi Manu/Sameera, I get the following exception when logged in as a tenant. Version: UES 1.1.0. Noticed that this has been fixed in other products previously (refer [1] and [2]). [2014-07-07 12:19:38,795] ERROR {org.wso2.carbon.registry.app.ResourceServlet} - Error retrieving the resource

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Roshan Wijesena
Hi Gayashan, I ll look at it and let you know. Regards. On Mon, Jul 7, 2014 at 6:43 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Roshan, Is it also available in the runtime class path? Thanks. /Gayashan On Mon, Jul 7, 2014 at 12:08 PM, Roshan Wijesena ros...@wso2.com wrote:

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Krishantha Samaraweera
The core error simply means that Firefox didn't come up within 45 seconds. Can you give following details 1. Selenium version in your classpath. 2. Installation location of your firefox binary. 3. Firefox version. 4. Your JDK version. Thanks, Krishantha. On Mon, Jul 7, 2014 at 12:35 PM, Roshan

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Roshan Wijesena
Hi Krishantha, While running test i can see new empty firefox window is getting load but doing nothing.. meantime here my info. Selenium version in your class-path = selenium-java-2.31.0.jar Firefox = /usr/bin/firefox (I used which firefox) Firefox version = 30.0 jdk 1.6 Regards. On Mon,

Re: [Dev] Identity Server: Number of Connections

2014-07-07 Thread Daya Attapattu
I think the message is coming from mysql side: http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html - Daya On Mon, Jul 7, 2014 at 12:34 PM, Prasad Tissera pras...@wso2.com wrote: Hi Daya, Yes, I also don't think there is a linear relationship between numbers of users and max

Re: [Dev] AM 1.7.0 UI-Integration test fail.

2014-07-07 Thread Roshan Wijesena
Hi all, I had a offline chat with Krishantha, and he gave me a solution and it is works fine. please find the updates below. Root cause = My selenium version (2.3.*) is not compatible with my Firefox browser (30.0). Solution = download firefox 20 and extract to my local folder and run test

[Dev] BAM doesn't show the stats

2014-07-07 Thread Kasun Dissanayake
Hi All, I have configured the APP Manager with BAM according to the instructions given in docs. But when I check the H2 the database is created successfully but there are no any data in the tables. I checked the Synapse configuration and it hits the UsageHandler without any problem. Any help on

Re: [Dev] Identity Sever: Cache $__local__$.PDP_DECISION_CACHE

2014-07-07 Thread Asela Pathberiya
Hi Daya, It seems to be that, there is some issue with the building the cache and it has not been properly synchronized. I created a jira [1] and attached the possible patched jar file. It would be great, If you could continue testing with patched jar file. [1]

[Dev] [BPS] Warning message from cluster when carrying out performance test

2014-07-07 Thread Firzhan Naqash
Hi, I was trying to do a performance test of BPS on 4 node cluster in my local machine. I have increased the MySQL max_conections variable count to 300. When I was trying to send messages in to the cluster I keep getting following warning message. [2014-07-07 14:48:29,104] WARN

Re: [Dev] Please commit this to patch 0009

2014-07-07 Thread Kishanthan Thangarajah
This is added. But since this is a change in the configuration file, the products needs to copy and replace the file during their distribution build. Can you also send the fixes to 4.3.0 kernel as a pull request? On Thu, Jul 3, 2014 at 5:21 PM, Shelan Perera she...@wso2.com wrote: Hi,

Re: [Dev] Identity Sever: Cache $__local__$.PDP_DECISION_CACHE

2014-07-07 Thread Daya Attapattu
Thanks, Asela. I will use the patch. Now, (before applying the patch) I got an NPE from IS. I will post that in a different thread. - Daya On Mon, Jul 7, 2014 at 2:27 PM, Asela Pathberiya as...@wso2.com wrote: Hi Daya, It seems to be that, there is some issue with the building the

Re: [Dev] Fixing CApp story for Carbon 4.3.0

2014-07-07 Thread Kishanthan Thangarajah
On Sun, Jul 6, 2014 at 3:12 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Kishanthan, On Tue, Jul 1, 2014 at 8:03 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi All, We recently had a meeting on $subject. Our current story for CApp (Carbon Application) development approach

[Dev] [IS 5.0.0] Configure SP using configuration file in IS

2014-07-07 Thread Rajith Vitharana
Hi All, Are there any way of creating Service Provider with federated authentication using a configuration file in IS? I have created a IDP for the federated authentication using a config file. Then I have tried to create a Service provider which uses the above created IDP for federated

[Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-07 Thread Dimuthu De Lanerolle
Hi, I have started working on this. Our plan is to write a common test class inside carbon-platform-integration-utils module which product teams can extend and start running jaggery tests residing inside [PRODUCT_HOME]/repository/deployment/server/jaggeryapps/xxx/test directory. Invocation of

Re: [Dev] Please merge the pull request to wso2-synapse

2014-07-07 Thread Vanjikumaran Sivajothy
Hi sajith, Due to aggregation mediator test case fail due to given pull request. We have reverted the change. Thanks, Best Regards, Vanji On Mon, Jun 30, 2014 at 7:09 PM, Sajith Kariyawasam saj...@wso2.com wrote: Hi, Please merge the pull request [1] which is for relevant JIRA [2] [1]

Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-07 Thread Ruchira Wageesha
Hi Dimuthu, With this approach, everyone who wants to test Jaggery apps will have to write the same Java code by extending your base class, which is redundant. Hence, IMO, the best options would be to wrap your base class and write a maven plugin. So, what other's will have to do is, just add

Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-07 Thread Krishantha Samaraweera
Hi Ruchira, This is not going to be a simple plugin to implement.This plugin will act as a test executor and report generator, and we need to integrate code coverage generation as well. Maven already provide sure-fire plug for test execution and TestNG and Emma provide other capabilities. So

[Dev] LogViewerStub returns null Logevent element in G-reg 5.0.0

2014-07-07 Thread Denuwanthi De Silva
Hi, G-reg 5.0.0 SNAPSHOT display 'null' in management console, when try to view 'System logs', with the following message: *The log must be configured to use the org.wso2.carbon.logging.core.util.MemoryAppender to view entries through the admin console* The corresponding test case, shows that it

Re: [Dev] Updated Invitation: Progress meeting on G-Reg 5.0.0 M1 @ Mon Jul 7, 2014 2:30pm - 3:30pm (Shazni Nazir)

2014-07-07 Thread Shazni Nazeer
[Meeting Notes] Participant: Senaka (over hangout), SameeraP, Subash, Eranda, Shelan, Pulasthi, Heshani, Denuwanthi and me. Following items were discussed in related to GREG 5 release. 1. Discussed about the RM task https://redmine.wso2.com/issues/584 - - Need to include a set of standard

Re: [Dev] Updated Invitation: Progress meeting on G-Reg 5.0.0 M1 @ Mon Jul 7, 2014 2:30pm - 3:30pm (Shazni Nazir)

2014-07-07 Thread Senaka Fernando
Guys, So important point to note is that apart from some of the feature gaps that were recently reported and L3 bugs that were carried forward, the main focus point of 5.0.0 is going to be the User Experience. Most of that again will be around the Service Store, so its absolutely crucial to make

[Dev] Validate Mediator - Feature Support

2014-07-07 Thread Sohani Weerasinghe
Hi All, It seems validate mediator only supports the feature XMLConstants.FEATURE_SECURE_PROCESSING http://docs.oracle.com/javase/6/docs/api/javax/xml/XMLConstants.html#FEATURE_SECURE_PROCESSING . Are there any other features supported by the validate mediator? If not, is there any particular

Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-07 Thread Ruchira Wageesha
On Mon, Jul 7, 2014 at 4:46 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Ruchira, This is not going to be a simple plugin to implement.This plugin will act as a test executor and report generator, and we need to integrate code coverage generation as well. Maven already provide

Re: [Dev] Validate Mediator - Feature Support

2014-07-07 Thread Vijayaratha Vijayasingam
Not clear..Validate mediator is used to validate the requests based on the schema.. On 7 July 2014 18:30, Sohani Weerasinghe soh...@wso2.com wrote: Hi All, It seems validate mediator only supports the feature XMLConstants.FEATURE_SECURE_PROCESSING

Re: [Dev] [RabbitMQ] Cannot send messages to RabbitMQ in remote server

2014-07-07 Thread Indika Sampath
I have sorted out above issue. This was happen due to user created in RabbitMQ doesn't have permission to access virtual hosts. This issue resolve when grant permission to created user to access virtual hosts. Otherwise created user has permission to access queue created in local host only. On

Re: [Dev] AD as primary user store (Read only configuration)

2014-07-07 Thread Johann Nallathamby
On Tue, Jul 1, 2014 at 11:56 AM, Pavithra Madurangi pavit...@wso2.com wrote: As per the documentation [1], it's possible to use org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager for both read-only and read/write operations. So I used the configuration found at [2]

Re: [Dev] Jenkins Build Bot complains about build failures

2014-07-07 Thread Kasun Gajasinghe
Hi Senaka, This has happened since the Pull Request builder do not build the downstream projects. Since, changes in upstream projects can affect downstream projects, we should make sure downstream projects are successful before merging the changes to repos. We are currently working on improving

Re: [Dev] BAM doesn't show the stats

2014-07-07 Thread Kasun Dissanayake
Hi All, Found the solution. Thanks and Regards On Mon, Jul 7, 2014 at 2:25 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I have configured the APP Manager with BAM according to the instructions given in docs. But when I check the H2 the database is created successfully but there

Re: [Dev] Jenkins Build Bot complains about build failures

2014-07-07 Thread Senaka Fernando
Hi Kasun, Thanks for clarifying. This is something we need to fix - as you explained. Regards, Senaka. On Mon, Jul 7, 2014 at 4:34 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Senaka, This has happened since the Pull Request builder do not build the downstream projects. Since, changes

Re: [Dev] AD as primary user store (Read only configuration)

2014-07-07 Thread Samuel Gnaniah
Hi Johann and Pavithra, Thanks for reporting this. I'll work on this and make the changes. Thanks, Sam *Samuel Gnaniah* Senior Technical Writer WSO2 (pvt.) Ltd. Colombo, Sri Lanka (+94) 773131798 On Mon, Jul 7, 2014 at 8:46 PM, Johann Nallathamby joh...@wso2.com wrote: On Tue, Jul 1,

[Dev] Add IDP view in G-Reg 5.0.0 SNAPSHOT pack ?

2014-07-07 Thread Subash Chaturanga
Hi Pulasthi et al, There is $subject in the latest 4.3.0 G-Reg packs. I believe this is mistakenly packing in to G-Reg ?? -- Thanks /subash *Subash Chaturanga* Senior Software Engineer Lead WSO2 Governance Registry Platform TG; WSO2 Inc. http://wso2.com Contact: email: sub...@wso2.com blog:

Re: [Dev] Add IDP view in G-Reg 5.0.0 SNAPSHOT pack ?

2014-07-07 Thread Johann Nallathamby
Hi Subash, This feature is coming because of its dependency to oauth feature. I think you are using oauth to secure your REST APIs. Thanks, Johann. On Mon, Jul 7, 2014 at 10:14 PM, Subash Chaturanga sub...@wso2.com wrote: Hi Pulasthi et al, There is $subject in the latest 4.3.0 G-Reg packs.

Re: [Dev] [BPS] Warning message from cluster when carrying out performance test

2014-07-07 Thread Thilini Ishaka
Hi Firzhan, Should be due to a configuration issue. Can you send the axis2.xml as well? Thanks Thilini On Mon, Jul 7, 2014 at 2:30 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, I was trying to do a performance test of BPS on 4 node cluster in my local machine. I have increased the

Re: [Dev] LogViewerStub returns null Logevent element in G-reg 5.0.0

2014-07-07 Thread Amani Soysa
Hi Looks like CARBON_MEMORY appender is not properly configured in GREG. Please make sure following properties are there in log4j.properties file # The memory appender for logging log4j.appender.CARBON_MEMORY= *org.wso2.carbon.logging.appender.CarbonMemoryAppender*

Re: [Dev] Issue with session affinity load balancing with ESB

2014-07-07 Thread Amalka Subasinghe
As discussed offline with Dushan, this is not a bug. Since I'm not restarting the ESB here, the client id, which directed to the MyServer2; will always directed to MyServer2 until the session expires. On Fri, Jul 4, 2014 at 11:50 AM, Amalka Subasinghe ama...@wso2.com wrote: updating correct

Re: [Dev] AD as primary user store (Read only configuration)

2014-07-07 Thread Samuel Gnaniah
Hi Tania, AFAIK all product pages already pull this content from the shared location so the fix would be applied anyway. Thanks, Sam *Samuel Gnaniah* Senior Technical Writer WSO2 (pvt.) Ltd. Colombo, Sri Lanka (+94) 773131798 On Tue, Jul 8, 2014 at 9:12 AM, Tania Mahanama ta...@wso2.com

[Dev] Error When Starting ESB with Inbound Endpoint

2014-07-07 Thread Isuru Ranawaka
hi all, After inserting following Inbound Endpoint configuration in to synapse.xml and try to Start ESB it gives errors. Synapse.xml looks like as below. ?xml version=1.0 encoding=UTF-8? definitions xmlns=http://ws.apache.org/ns/synapse; inboundEndpoint name=MyJMSListenerEP

Re: [Dev] AD as primary user store (Read only configuration)

2014-07-07 Thread Tania Mahanama
Oh, sorry. I just checked the IS and MB pages and they were not pulled from the shared content. Will fix MB. Thanks! Tania On Tue, Jul 8, 2014 at 9:15 AM, Samuel Gnaniah sam...@wso2.com wrote: Hi Tania, AFAIK all product pages already pull this content from the shared location so the fix

Re: [Dev] AD as primary user store (Read only configuration)

2014-07-07 Thread Samuel Gnaniah
Yeah, IS docs are an exception since I prefer to have an extra link in there. For other docs it isn't necessary since they anyway have a link to that topic at the bottom in addition to the page-include macro (see [1] for an example). [1] -

Re: [Dev] Updated Invitation: Code Review - ESB sample Test cases @ Fri Jul 4, 2014 3pm - 4pm (Waruna Perera)

2014-07-07 Thread Waruna Perera
Hi, Following are the notes taken at the code review conducted. - Addressing URL's should not be hard coded. Extract them using util methods. - Do not assert for the output which is given same as the input. Always try to check different string in the expected request. - Put

Re: [Dev] Android agent registration issue

2014-07-07 Thread Mir Islam
Any other idea? Anything else I can look into to see why the clientkey uri is not getting resolved? On Sun, Jul 6, 2014 at 6:55 PM, Mir Islam mis...@mirislam.com wrote: Thanks Chan. Still the same 404. So the url is not resolving to a service that client is looking for. Below from

[Dev] Error in wso2.war

2014-07-07 Thread Gayan Gunawardana
Hi, I am getting this error after replacing wso2.war in IS 5.0.0. component from org.wso2.carbon.identity.scim.provider/4.2.2 in chunk 11 release tag. [2014-07-08 09:56:55,437] ERROR {org.apache.catalina.core.StandardWrapperValve} - Servlet.service() for servlet [SCIMServlet] in context with

Re: [Dev] Validate Mediator - Feature Support

2014-07-07 Thread Sohani Weerasinghe
Hi, What I meant was in Validate Mediator when we are defining a feature, we can only include the feature XMLConstants.FEATURE_SECURE_PROCESSING http://docs.oracle.com/javase/6/docs/api/javax/xml/XMLConstants.html#FEATURE_SECURE_PROCESSING ( i.e

Re: [Dev] LogViewerStub returns null Logevent element in G-reg 5.0.0

2014-07-07 Thread Denuwanthi De Silva
Hi Amani, Thanks for the clarification. It's working fine now. Yes, as you mentioned the CARBON_MEMORY appender was not properly configured in GREG due to an ES log4j.properties file overriding. Thanks, On Tue, Jul 8, 2014 at 7:02 AM, Amani Soysa am...@wso2.com wrote: Hi Looks like