Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-13 Thread Hasitha Amal De Silva
Hi all, In terms of the andes component, we need to upgrade the guava dependencies to 14 from version 13 and verify. I'm working on this. On Mon, Oct 13, 2014 at 11:19 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Ramith/MB team, This is all fixed. Let me know if you guys happen to run

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-13 Thread Maheshika Goonetilleke
Hi Prabath Added you to the orbit member list, therefore you would have the required privileges to merge. Please inform once done, will release it. On Mon, Oct 13, 2014 at 11:14 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, Please review and merge [2]. [2]

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-13 Thread Harshan Liyanage
Hi Pasanthi, AFAIK there could not be any issue for this scenario. We have tested it. Do you get any errors in server when enrolling the new device to the EMM? Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog :

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-13 Thread Prabath Abeysekera
This is done! On Mon, Oct 13, 2014 at 11:39 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Prabath Added you to the orbit member list, therefore you would have the required privileges to merge. Please inform once done, will release it. On Mon, Oct 13, 2014 at 11:14 AM, Prabath

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-13 Thread Maheshika Goonetilleke
Hi Prabath Release of cassandra-driver/1.0.5.wso2v was success. However the following error occurred while trying to release cassandra/1.2.13wso2v4; [INFO] [INFO] BUILD FAILURE [INFO]

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-13 Thread Prabath Abeysekera
Let me check on this and get back to you. Cheers, Prabath On Mon, Oct 13, 2014 at 12:05 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Prabath Release of cassandra-driver/1.0.5.wso2v was success. However the following error occurred while trying to release cassandra/1.2.13wso2v4;

[Dev] Commit to kernel for CARBON-15014

2014-10-13 Thread Darshana Gunawardana
Hi Kernel Team, Please commit patch for https://wso2.org/jira/browse/CARBON-15014. Relavant PR is https://github.com/wso2-dev/carbon4-kernel/pull/128 Thanks, Darshana -- Regards, *Darshana Gunawardana*Software Engineer WSO2 Inc.; http://wso2.com *E-mail: darsh...@wso2.com darsh...@wso2.com*

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-13 Thread Pasanthi Amarasekera
Hi Harshan, No I did not get any errors in server but the authentication failed with the agent in the device. And another thing I noticed is, it is not the same EMM server IP I get when I change the network. For example let's say I got PW_1 as password with WiFi_1 for user_1. I can't use this

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-13 Thread Harshan Liyanage
Hi Pasanthi, We have not tested such multi-device scenarios in different networks. But it should work fine. However could you please try enrolling a different user enroll multiple devices for that user (in the same network)? Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile:

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-13 Thread Inosh Perera
Hi Pasanthi, Instead of creating a new user, can you use admin credential and enroll with two devices? This should be possible, and even for a normal user, it should work. What is the exact error shown on the device? Regards, Inosh On Mon, Oct 13, 2014 at 1:32 PM, Harshan Liyanage

[Dev] Some outdated information/typo in wso2server.sh --help

2014-10-13 Thread Ajith Vitharana
Hi All This output for ESB 4.8.1. command: --debug port Start the server in remote debugging mode. port: The remote debugging port. --start Start Carbon using nohup in the background --stop Stop the Carbon server process --restart Restart the Carbon server process --cleanRegistry Clean registry

[Dev] Error while accessing ProvisioningAdminService

2014-10-13 Thread Waruna Perera
Hi, I am trying to install feature via ProvisioningAdminService using soapui requests. I Followed following steps. 1) Add feature repo via RepositoryAdminService - SUCCESSFUL 2) reviewProvisioningAction 3) performProvisioning Action In the step 3 it gives following error. What can be the error

[Dev] CEP Window in Siddhi Query

2014-10-13 Thread Asok Perera
Hi, I wrote a window extension for Siddhi (implementing Stremlib library) which suppose to be keeping most frequent K events in the window. According to the logs, the window in functional. Now I need to get the events which are *inside* the window into an output stream. Im using below siddhi

[Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I am trying add BAM server(https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics) in API manager Cluster setup(https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager). I just trying with default H2 database configurations and I get following error.

Re: [Dev] CEP Window in Siddhi Query

2014-10-13 Thread Tishan Dahanayakage
Hi Asok, Siddhi query you are using is wrong. Correct query is from topkeventstream#window.custom:topKfrequency(3,1,symbol) select symbol insert into topkresultstream; Please refer [1] to learn about Siddhi query language. When you want to send data out of the window execute

Re: [Dev] CEP Window in Siddhi Query

2014-10-13 Thread Lasantha Fernando
I think this was probably because there are some old queries in CEP documentation under Writing a custom window. I've created a doc jira[1] to track this. @Praneesha, can you look into this and fix the docs mentioned in the ticket, please? Thanks, Lasantha [1]

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Manoj Gunawardena
Hi Akila, This seems to be you are not given correct thrift port of BAM in APIM_HOME/repository/conf/api-manager.xml file. According to the BAM's offset you are running, the thrift port may changed. Default thrift port is 7611 (non secure) and 7711 (secure). If offset is 1, ports will be change

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Harsha Kumara
Hi Akila, Seems like it's a connection issue. Have you specified correct IPs and ports in the configurations. Thanks, Harsha On Mon, Oct 13, 2014 at 4:08 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi all, I am trying add BAM server(

Re: [Dev] CEP Window in Siddhi Query

2014-10-13 Thread Asok Perera
Hi Tishan/Lasantha, Thank you..! Yes, I followed the queries in the CEP documentation.., I will try the correct query. Thanks again BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/

[Dev] APPFAC-2170 - Remove multiple backend calls that happens when loading resource overview page

2014-10-13 Thread Amalka Subasinghe
Hi, Following are the sub tasks I'm planning to do here: 1. Move databases page to new tab 2. Update Resource - overview page 3. Update Resource - properties page [1] https://wso2.org/jira/browse/APPFAC-2170 Thanks Amalka -- Amalka Subasinghe WSO2 Inc. Mobile: +94 77 9401267

[Dev] Backup Hive queries on BAM

2014-10-13 Thread Inosh Perera
Hi all, Is there a way to backup/restore the Hive queries(Analytics) you write on BAM. Where are these queries stored? Regards, Inosh -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org

[Dev] Multi Tenant support with Active Directory

2014-10-13 Thread Godwin Amila Shrimal
Hi Johan/Darshana I have completed the improvement which support Multi-Tenancy with active directory. Please review the code and commit , patches are attached in jira[1]. Please see below the problem had and solution given. Problem 1. After creating a tenant, created admin user is in a

Re: [Dev] Backup Hive queries on BAM

2014-10-13 Thread Gihan Anuruddha
Hi Inosh, All the hive scripts are saved in the registry under /_system/config/repository/hive/scripts location. At the moment we don't provide backup/restore functionality. What is your use case? Regards, Gihan On Mon, Oct 13, 2014 at 5:34 PM, Inosh Perera ino...@wso2.com wrote: Hi all, Is

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Akila Nimantha [IT/EKO/LOITS]
Hi harsha, Yes ip is correct .i put port as 7617 because I used 6 as BAM offset. please check below for apiusagetracking element details, APIUsageTracking Enabledtrue/Enabled PublisherClassorg.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher/PublisherClass

[Dev] STS WSDL does not get updated with newly added UsernameToken assertion requirements

2014-10-13 Thread Malithi Edirisinghe
Hi All, I'm working on JIRA issue[1]. There's a comment saying that the policy generated by the STS when secured with Username Token is incorrect. As per the WS-Policy specification the default version of the username token is the wsse:UsernameToken as defined in [WSS: Username Token Profile

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Gihan Anuruddha
Hi Akila, During the BAM server startup, it will show a message like below. Please use that IP address to connect to BAM. [2014-10-13 14:51:17,448] INFO {org.wso2.carbon.databridge.receiver.thrift. internal.ThriftDataReceiver} - Thrift Server started at 0.0.0.0 [2014-10-13 14:51:17,453] INFO

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Manoj, I used no 6 as BAM server offset. Regards, Akila From: Manoj Gunawardena [mailto:man...@wso2.com] Sent: 13 October 2014 4:46 PM To: Akila Nimantha [IT/EKO/LOITS] Cc: dev@wso2.org Subject: Re: [Dev] error in setup BAM server in API cluster setup Hi Akila, This seems to be you are not

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Manoj Gunawardena
Hi Akila, Can you attach the BAM wso2carbon.log Thanks On Mon, Oct 13, 2014 at 5:51 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Manoj, I used no 6 as BAM server offset. Regards, Akila *From:* Manoj Gunawardena [mailto:man...@wso2.com] *Sent:* 13 October

Re: [Dev] CEP Window in Siddhi Query

2014-10-13 Thread Praneesha Chandrasiri
Hi Lasantha, Thanks. Will do the needful. On Mon, Oct 13, 2014 at 5:03 PM, Asok Perera as...@wso2.com wrote: Hi Tishan/Lasantha, Thank you..! Yes, I followed the queries in the CEP documentation.., I will try the correct query. Thanks again BR *Asok Aravinda Perera* Software Engineer

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Akila Nimantha [IT/EKO/LOITS]
Dear Gihan, Yes I used figures displayed in my BAM log. Can you please tell me is there a specific server that I should put these configurations. Because I am trying to add BAM in a clustered setup. My followed document says just api_home and so on. So what should I change or both. For now I

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Akila Nimantha [IT/EKO/LOITS]
Hi manoj, Please check the attachment for bam log. Regards, Akila From: Manoj Gunawardena [mailto:man...@wso2.com] Sent: 13 October 2014 5:59 PM To: Akila Nimantha [IT/EKO/LOITS] Cc: dev@wso2.org Subject: Re: [Dev] error in setup BAM server in API cluster setup Hi Akila, Can you attach the BAM

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Manoj Gunawardena
Hi Akila Please refer the following thread. This may be useful for your scenario.Please make sure your BAM cluster working properly. If cluster works properly you can give BAM nodes as comma separated list in api-manager.xml file. h

Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-13 Thread Amila Maha Arachchi
Hi Godwin, Were you able to provide the pull requests as requested by Sameera. We need to get them pushed to 4.3.0 kernel release. Regards, Amila. On Fri, Oct 3, 2014 at 12:00 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Amila, Can we get the necessary pull request for this feature?

Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-13 Thread Godwin Amila Shrimal
Hi Amila, I discussed offline with the carbon team on this will send the pull request by tomorrow, since have to apply all the code changes which done in local SVN to Git. Thanks Godwin On Mon, Oct 13, 2014 at 7:21 PM, Amila Maha Arachchi ami...@wso2.com wrote: Hi Godwin, Were you able

Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-13 Thread Amila Maha Arachchi
Thanks. Just wanted to make sure we don't drop the ball on this. If we miss adding this to 4.3.0 we loose a huge opportunity to support tenant deletion in our platform. On Mon, Oct 13, 2014 at 7:27 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi Amila, I discussed offline with the carbon

Re: [Dev] Tomcat Session Replication Using Caching

2014-10-13 Thread Pubudu Dissanayake
​​ Hi Azeez/Srinath I've managed to implement Tomcat Session replication using Hazelcast APIs. As per the off-line chats with Azeez and Sameera,This functionality is applicable to all web applications which are deploy in WSO2 AS. I've introduced a global web filter, which is define in the web.xml

Re: [Dev] ClassNotFoundException : org.wso2.carbon.student.mgt.GetStudents when creating carbon component.

2014-10-13 Thread Hemika Kodikara
Hi all, Sorry for the late reply on this. There were 2 issues with what I had done. Issue 1 - ClassNotFoundException : org.wso2.carbon.student.mgt.GetStudents - Was able to get this fixed by removing the version tag of the maven-bundle-plugin plugin. Issue 2 - The name was not shown properly in

Re: [Dev] How do I add listener for Tenant unload event

2014-10-13 Thread Danesh Kuruppu
Hi Bhathiya, Thanks for the help. I wrote a custom observer extending AbstractAxis2ConfigurationContextObserver and overwrite the required method. and register it as a service through BundleActivator.. In OSGI console, it listed in registered Services but it is not invoke when tenant unload.

Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-10-13 Thread Niranjan Karunanandham
Hi Pasanthi, On Mon, Oct 13, 2014 at 12:33 PM, Pasanthi Amarasekera pasan...@wso2.com wrote: Hi Harshan, No I did not get any errors in server but the authentication failed with the agent in the device. And another thing I noticed is, it is not the same EMM server IP I get when I change

Re: [Dev] Tomcat Session Replication Using Caching

2014-10-13 Thread Afkham Azeez
Is a Hazelcast cluster created per webapp, or is a single cluster shared across all webapps? Why did you drop the idea of using a SessionListener SessionManager? On Mon, Oct 13, 2014 at 7:57 PM, Pubudu Dissanayake pubu...@wso2.com wrote: ​​ Hi Azeez/Srinath I've managed to implement Tomcat

Re: [Dev] error in setup BAM server in API cluster setup

2014-10-13 Thread Inosh Goonewardena
Hi, On Mon, Oct 13, 2014 at 6:15 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Dear Gihan, Yes I used figures displayed in my BAM log. Can you please tell me is there a specific server that I should put these configurations. Because I am trying to add BAM in a clustered

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-13 Thread Hasitha Amal De Silva
Hi All, The dependency fixes of andes compoenent is submitted through https://github.com/wso2-dev/andes/pull/95 . I have tested with these fixes locally and it works as expected. @PrabhathA : The following patches should be committed respectively to orbit and storage-management repos. I also

Re: [Dev] Tomcat Session Replication Using Caching

2014-10-13 Thread Pubudu Dissanayake
I haven't drop the idea of using HttpSessionManager but what i thought was to evaluate how extent we can use this feature as a global web filter and HttpSessionListener is already placed in the global filter. In the current implementation Hazelcast creates a cluster per webapp, but I'm in progress

[Dev] Update: iPaaS New Theme

2014-10-13 Thread Dhanuka De Silva
Hi Team Theming for both ES (90%) and Recipe-App (50%) are completed. Planning to push my changes in to the GIT today. Will be having a chat with Senduran in the morning to get an idea on how the recipe app is structured, so can continue theming the remaining stuff. Thanks regards -- Dhanuka

Re: [Dev] Restart test server in Integration Tests

2014-10-13 Thread Darshana Akalanka Pagoda Arachchi
want sent before the completion :) continue I can change the configs and restart the server as follows, ServerConfigurationManager serverManager = new ServerConfigurationManager(automationContext); serverManager.applyConfiguration(new

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-13 Thread Prabath Abeysekera
Hi Harsha, On Tue, Oct 14, 2014 at 12:05 AM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi All, The dependency fixes of andes compoenent is submitted through https://github.com/wso2-dev/andes/pull/95 . I have tested with these fixes locally and it works as expected. @PrabhathA : The

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-13 Thread Prabath Abeysekera
As it appears, 1.2.13.wso2v3 version of apache-cassandra-thrift dependency, which is something that Cassandra depends on, is not properly uploaded to the proper wso2-managed public repositories for some reason, causing the build to fail. Will fix this and let you know. Cheers, Prabath On Mon,

Re: [Dev] Backup Hive queries on BAM

2014-10-13 Thread Inosh Perera
Hi Gihan, I have written a quite a lot of Hive queries to summaries data. This is regarding the EMM and BAM integration I discussed offline earlier. Isn't it possible to backup/restore these registry values? Regards, Inosh On Mon, Oct 13, 2014 at 5:46 PM, Gihan Anuruddha gi...@wso2.com wrote:

Re: [Dev] e4x issue - https://wso2.org/jira/browse/WSAS-1819

2014-10-13 Thread Sameera Jayasoma
Ruchira and the team, Can you have a look at this issue? Thanks, Sameera. On Mon, Oct 13, 2014 at 6:16 PM, Karol Brejna karol.bre...@gmail.com wrote: Dear Sameera, Have you got some time to look into the issue? I am writing an article about WSO2 Application Server and got stuck in this.

Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-13 Thread Sameera Jayasoma
Tenant deletion implementation shouldn't be in the Kernel, only the APIs. You can check the carbon-multitenancy git repository for such implementations. We need to this soon. Thanks, Sameera. On Mon, Oct 13, 2014 at 7:44 PM, Amila Maha Arachchi ami...@wso2.com wrote: Thanks. Just wanted to

Re: [Dev] Backup Hive queries on BAM

2014-10-13 Thread Inosh Goonewardena
Hi Inosh, One thing you can do is, you can create a bam toolbox project. In the toolbox you can include your hive queries(and stream definition, dashboard). Then you can simply use this toolbox to install your hive queries in any BAM inctance. On Tuesday, October 14, 2014, Inosh Perera

Re: [Dev] Restart test server in Integration Tests

2014-10-13 Thread Dharshana Warusavitharana
Hi Darshana, You can do this by referring following sample code segment. This will restart the server after copying out particular resources to lib directory. private ServerConfigurationManager serverConfigurationManager; init(); serverConfigurationManager=new

Re: [Dev] Restart test server in Integration Tests

2014-10-13 Thread Darshana Akalanka Pagoda Arachchi
Hi Dharshana, Thank you for the reply. What you have suggested does restart the server and gets the job done. On further analysis, I was able to use the applyConfiguration method too, to restart the server. As the javadocs suggest public void applyConfiguration(java.io.File sourceFile,

Re: [Dev] How do I add listener for Tenant unload event

2014-10-13 Thread Danesh Kuruppu
Hi Bhathiya, error was in service registration. now works fine. Thanks On Mon, Oct 13, 2014 at 9:56 PM, Danesh Kuruppu dan...@wso2.com wrote: Hi Bhathiya, Thanks for the help. I wrote a custom observer extending AbstractAxis2ConfigurationContextObserver and overwrite the required

Re: [Dev] [WSO2MB] Cannot start User Manager Core bundle error on server startup

2014-10-13 Thread Harsha Kumara
Hi Prabath, Sure I'll check this. Thanks, Harsha On Tue, Oct 14, 2014 at 8:32 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Harsha, On Tue, Oct 14, 2014 at 12:05 AM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi All, The dependency fixes of andes compoenent is submitted through

[Dev] What exactly is generated when we build a WSO2 product from source?

2014-10-13 Thread Lahiru Chandima
Sorry if I am asking something so obvious but I couldn't figure out what exactly is generated when we build a product from source. For an example, this https://docs.wso2.com/display/ESB481/Building+from+Source documentation page explains how to build ESB from source. What I want to know is, when

Re: [Dev] What exactly is generated when we build a WSO2 product from source?

2014-10-13 Thread Manula Chathurika Thantriwatte
Hi Lahiru, You can find the binary distribution under the products/Product_Name/modules/distribution/target directory. Thanks ! On Tue, Oct 14, 2014 at 10:53 AM, Lahiru Chandima lahi...@wso2.com wrote: Sorry if I am asking something so obvious but I couldn't figure out what exactly is

Re: [Dev] What exactly is generated when we build a WSO2 product from source?

2014-10-13 Thread Lahiru Chandima
Thanks a lot Manula. Found the built ESB binary package in the mentioned directory. On Tue, Oct 14, 2014 at 10:56 AM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Hi Lahiru, You can find the binary distribution under the products/Product_Name/modules/distribution/target directory.

Re: [Dev] Tomcat Session Replication Using Caching

2014-10-13 Thread Kishanthan Thangarajah
Hi Pubudu, Just to be clear, this feature should work on per webapp basis. i.e not all webapps' sessions should be replicated, but the selected ones by the user. Earlier we used a webapp context property (distributable) to enable this at webapp level. Also here are the test cases that comes to