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

2014-10-14 Thread Hasitha Amal De Silva
Hi Harsha / PrabhathA, I have created pull requests for the above 2 patches. Please review and commit. https://github.com/wso2-dev/carbon-storage-management/pull/52 https://github.com/wso2/orbit/pull/30 Appreciate if the updated cql-driver and cassandra jars could be added to the nexus repo

[Dev] [test-integration]Server process remains after build completion

2014-10-14 Thread Ayesha Dissanayaka
Hi all, I am currently working on writing integration test for WSO2ES. I notice that after the build completion [01], the wso2es server process remains without shutting down. ( i.e: ps -ef | grep wso2es list processes) Then I have to kill the process before next build. What would be the

[Dev] Exception handling in CEP Siddhi Extensions

2014-10-14 Thread Vimalanathan Rajeevan
We are writing Siddhi extensions for a training project Adding Sketching algorithms for CEP operators [1]. There we are implementing a Siddhi window for Top-K selection algorithm implementation. There was a requirement to handle the Exception thrown by stream-lib (Java library used for Top-K

[Dev] WSO2 AppFactory 2.1.0 Milestone 6 Released!

2014-10-14 Thread Danushka Fernando
WSO2 AppFactory 2.1.0 Milestone 6 Released! WSO2 AppFactory team is pleased to announce the release of version 2.1.0 M6 of the WSO2 App Factory. WSO2 App Factory is a multi-tenant, elastic and self-service enterprise platform that enables multiple project teams to collaboratively create, run and

[Dev] ESB Properties - Automation Test Case Plan

2014-10-14 Thread Dimuthu De Lanerolle
Hi, I am in the process of writing automation tests to cover all ESB properties (https://docs.wso2.com/display/ESB481/Properties+Reference). Link below [1] indicates the test cases identified as that needs to be automated. This gdoc indicates the properties mentioned in the ESB 4.8.1

Re: [Dev] [test-integration]Server process remains after build completion

2014-10-14 Thread Darshana Akalanka Pagoda Arachchi
I had faced the same on occasions where server started with errors or exception or produced exceptions when the tests are executed. If these exceptions effects the server deployment this could happen ( eg:- data source errors). On Tue, Oct 14, 2014 at 1:19 PM, Ayesha Dissanayaka aye...@wso2.com

Re: [Dev] CEP Window in Siddhi Query

2014-10-14 Thread Praneesha Chandrasiri
I have updated the pages accordingly in CEP docs and resolved the JIRA in [1]. Thanks everyone! [1] https://wso2.org/jira/browse/DOCUMENTATION-1186 On Mon, Oct 13, 2014 at 6:07 PM, Praneesha Chandrasiri pranee...@wso2.com wrote: Hi Lasantha, Thanks. Will do the needful. On Mon, Oct 13,

[Dev] [APIM] Please commit the patch.

2014-10-14 Thread Abimaran Kugathasan
Hi Nuwan, Please commi the attached patch for JIRA[1] [1] : https://wso2.org/jira/browse/APIMANAGER-2733 -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran

[Dev] [Jaggery] How to extract unicode value from request object

2014-10-14 Thread Lakshman Udayakantha
Hi All, I used log.info(This is an INFO level log+request.getParameter(name,UTF-8)); but it does not return correct value. it returns a value like this This is an INFO level logඋදයකාන්à can someone point out that how to get the

Re: [Dev] [test-integration]Server process remains after build completion

2014-10-14 Thread Dimuthu De Lanerolle
I have build and run the test class from the same location and detected no such error, and as expected server shutdown at the end of the test. Are you running any custom test class which modifies any server configs and restarts the existing server instance. If so pls verify whether the server

Re: [Dev] [Jaggery] How to extract unicode value from request object

2014-10-14 Thread Lakshman Udayakantha
Hi Sorry for the inconvenience occured. It's the correct way to extract unicode value from request object. when I send unicode value from client side I added the cotent type as application/x-www-form-urlencoded; charset=utf-8. now it is working fine. thanks On Tue, Oct 14, 2014 at 2:56 PM,

Re: [Dev] Error while accessing ProvisioningAdminService

2014-10-14 Thread Waruna Perera
Hi All, After offline discussion with Sameera I found out that error was due to not sending the session cookie with the 2nd request. On Mon, Oct 13, 2014 at 3:22 PM, Waruna Perera waru...@wso2.com wrote: Hi, I am trying to install feature via ProvisioningAdminService using soapui requests.

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

2014-10-14 Thread Dinesh J Weerakkody
Hi Akila, Have you solved your problem? On Mon, Oct 13, 2014 at 11:21 PM, Inosh Goonewardena in...@wso2.com wrote: 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

Re: [Dev] Exception handling in CEP Siddhi Extensions

2014-10-14 Thread Sachini Jayasekara
Hi Vimalanathan, You can throw a QueryCreationException if the erroneous conditions are checked at the time of query creation. Make sure you throw the exception with context information. Some other exceptions you can use can be found at [1]. [1]

Re: [Dev] Tomcat Session Replication Using Caching

2014-10-14 Thread Pubudu Dissanayake
Thanks for the insight. New implementation is based on the approach of single Hazelcast cluster shared across all webapps and context param (similar to /distributer tag) based approach to enable/disable session replication. On Tue, Oct 14, 2014 at 11:10 AM, Kishanthan Thangarajah

Re: [Dev] Error while accessing ProvisioningAdminService

2014-10-14 Thread Aruna Karunarathna
Hi Waruna, Did you manage to resolve the issue with session cookie? Regards, Aruna On Tue, Oct 14, 2014 at 4:52 PM, Waruna Perera waru...@wso2.com wrote: Hi All, After offline discussion with Sameera I found out that error was due to not sending the session cookie with the 2nd request.

[Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Hi, I'm trying to get a Python data publisher to publish data to WSO2CEP through the Thrift protocol. I can successfully publish data to BAM on its port 7711 using username and password. However the same code doesn't connect to the port 7711 on the CEP and gives the following error.

Re: [Dev] Error while accessing ProvisioningAdminService

2014-10-14 Thread Waruna Perera
Hi Aruna, Yes. What i did was to set session management in soapui test case. Thanks On Tue, Oct 14, 2014 at 5:34 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Waruna, Did you manage to resolve the issue with session cookie? Regards, Aruna On Tue, Oct 14, 2014 at 4:52 PM, Waruna

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Update: This seems to be somehow caused by a network interface issue. The machine I run CEP on has a virtualbox private network configured. I started another CEP sever on a separate machine without the virtualbox network configuration and the same code is able to connect and publish to the latter

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Manula Chathurika Thantriwatte
Hi Chamila, Is BAM run on the same virtualbox private network ? On Tue, Oct 14, 2014 at 7:05 PM, Chamila De Alwis chami...@wso2.com wrote: Update: This seems to be somehow caused by a network interface issue. The machine I run CEP on has a virtualbox private network configured. I started

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Hi Manula, At the time CEP was run, BAM was not running. But both servers were run on the same machine. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Oct 14, 2014 at 7:44 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote:

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Manula Chathurika Thantriwatte
Hi Chamila, I think your problem get solved when you run the both servers in the same virtualbox. On Tue, Oct 14, 2014 at 7:45 PM, Chamila De Alwis chami...@wso2.com wrote: Hi Manula, At the time CEP was run, BAM was not running. But both servers were run on the same machine. Regards,

[Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Danushka Fernando
Hi I am currently working on the $subject. Here client will create a JWT and will sign and send to the server with HTTP authorization bearer header and IT will trigger this authenticator and will validate the JWT token and will log the user specified in the JWT to the system. So while working on

Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Prabath Siriwardena
On Tue, Oct 14, 2014 at 8:22 PM, Danushka Fernando danush...@wso2.com wrote: Hi I am currently working on the $subject. Here client will create a JWT and will sign and send to the server with HTTP authorization bearer header and IT will trigger this authenticator and will validate the JWT

Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Pushpalanka Jayawardhana
Hi Danushka, We have used 'nimbus' library in org.wso2.carbon.identity.oauth/4.2.4 component which is to be released. 1. 2.26.1 version has been used 2. since the library is to be used by more than one bundle I guess the practice is to make it an orbit bundle. 3. You may find the usage at [1],

Re: [Dev] org.wso2.carbon.identity.tests.saml.SSOConfigServiceTestCase

2014-10-14 Thread Amal Gunatilake
cc: dev@ Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Tue, Oct 14, 2014 at 9:16 PM, Amal Gunatilake am...@wso2.com wrote: Hi Isura, When I manually do the scenario as mentioned in the documentation [1], I get the

[Dev] Issue in writing a Custom function as Siddhi Extension

2014-10-14 Thread Lahiru Cooray
Hi, When writing a custom function as a Siddhi Extension I faced an issue in validating the parameter count passed. Eg: from InputStream1 select *custom:cos(para1)* insert into OutputSream1 I tried to validate the custom function '*cos*' where user should be able to pass only one parameter.I

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Hi Manula, On Tue, Oct 14, 2014 at 7:48 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: when you run the both servers in the same virtualbox. I didn't run both BAM and CEP together, just separate, in a another machine actually. The same CEP and BAM with same configuration was run

Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Danushka Fernando
Hi Prabath and Pushpalanka Thanks for the information. Will try these. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Oct 14, 2014 at 8:38 PM, Pushpalanka Jayawardhana la...@wso2.com wrote: Hi Danushka, We have used 'nimbus'

[Dev] Hazelcast error while shutting down server

2014-10-14 Thread Aruna Karunarathna
Hi Azeez, We are currently doing testing in carbon 4.3.0 with the latest hazelcast 3.2.6 upgrade. And when shutting down a server using (ctrl +c ) following error occurred. This was reported earlier also here [1] in carbon 4.2.0. Exception in thread Cluster [wso2.as.domain] coordinator elector

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Akila Ravihansa Perera
Hi Chamila, Perhaps the problem is with the logic related to hostname that you use to create the socket in Python client. Have you tried enabling DEBUG mode in Python? On Tue, Oct 14, 2014 at 9:57 PM, Chamila De Alwis chami...@wso2.com wrote: Hi Manula, On Tue, Oct 14, 2014 at 7:48 PM,

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Hi Akila, AFAIK the Python code is generated from the .thrift file. I went through the wrapper code and it seems what it does is to just use a given IP address and port and open a socket connection to it. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog:

Re: [Dev] [DEV][CEP] Connection refused from CEP port 7711

2014-10-14 Thread Chamila De Alwis
Update: Removed everything, restarted working machine, and started another CEP server. And now everything is working fine. The data are published to the CEP. That was weird. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Oct 15, 2014

[Dev] Why does the Token validity text input shift when generating a keys?

2014-10-14 Thread Shariq Muhammed
Hi, Is there any particular reason for this? :) Initially, when a new app is created and doesn't have any keys to display, the token validity box is under Allowed Domain (before.png), once keys are generated it shifts to the left, next to the Re-Generate (after.png) button. Isn't it

[Dev] [ES] Workflow extensions support - Approval task pages or app ?

2014-10-14 Thread Tanya Madurapperuma
Hi, *Overview* We are currently working on initial design to support workflow extensions in Enterprise Store as in APIM. Both global workflow extensions (Ex : Self signup ) and asset level extensions (Ex : Application creation for an API store ) will be supported. *Concern* Once the workflow

Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Gayan Gunawardana
+1 for new orbit bundle. On Tue, Oct 14, 2014 at 10:20 PM, Danushka Fernando danush...@wso2.com wrote: Hi Prabath and Pushpalanka Thanks for the information. Will try these. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue,

[Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Supun Muthutantrige
Hi all, While attempting to relate to an RDBMS data source [Driver*:* *com.mysql.jdbc.Driver*, URL: *jdbc:mysql://localhost:3306/testdb*] in CEP, the following error occurs Error--- Error establishing data source connection: Communications link failure The last packet

Re: [Dev] [ES] Workflow extensions support - Approval task pages or app ?

2014-10-14 Thread Nuwan Dias
There can be workflows for both the Publisher and the Store. Therefore having a single place to administer both sounds appropriate and easy to manage. At least in the context of API Manager, having a page on the Publisher to administer operations occurring on the Store doesn't seem right. IMO

Re: [Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Vimalanathan Rajeevan
Hi Supun, Did you add mysql JDBC driver to CEP_HOME/repository/components/lib/ folder? Thanks, Rajeevan On Wed, Oct 15, 2014 at 9:47 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi all, While attempting to relate to an RDBMS data source [Driver*:* *com.mysql.jdbc.Driver*, URL:

[Dev] Session Doesn't timeout when SSO is Enabled

2014-10-14 Thread Yasassri Ratnayake
Hi All, I was testing AS 5.2.0 with an IS 4.6.0, when I reduce the session time out value session-config session-timeout15/session-timeout at *CARBON_HOME/repository/conf/tomcat/carbon/WEB-INF *the sessions is timed out as expected. But when I enable SSO the session doesn't get

Re: [Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Supun Muthutantrige
Hi Rajeevan, Yes, I tried by adding *mysql-connector-Java-5.1.33. tar.gz*, and then with only having *mysql-connector-Java-5.1.33-bin.jar* in that folder. But neither worked. Regards *Supun Rasitha Muthutantrige* *supunr* *Intern WSO2 Inc: http://wso2.com

Re: [Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Yasassri Ratnayake
Hi, Try commenting out the bind address in my.cnf and granting all access to the user you are trying to connect with as follows, GRANT ALL PRIVILEGES ON *.* TO USER_NAME@'%' IDENTIFIED BY 'PASS_WORD' WITH GRANT OPTION; Make sure you restart mysql With Regards, On Wed, Oct 15, 2014 at 10:01

Re: [Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Supun Muthutantrige
Hi Yasassri, It worked :) Thank you all for helping me out with this. Regards *Supun Rasitha Muthutantrige* *supunr* *Intern * *WSO2 Inc: http://wso2.com http://wso2.com* *lean.enterprise.middleware* *Mobile: 0758374608* ___ Dev mailing list

Re: [Dev] Session Doesn't timeout when SSO is Enabled

2014-10-14 Thread Manoj Gunawardena
Hi Yasasiri, The session out time can be set in IS_HOME/repository/conf/identity.xml under SSOService element. Is there a way to synchronize these two settings? If user changes AS session time out same session time out time can be use for IS. Without change two configuration files. Thanks

[Dev] [SS] Is there a way to get the value of DbmsType via RSSAdmin?

2014-10-14 Thread Amalka Subasinghe
Hi, Appreciate your help on $subject. Environment NameTesting/Name RSSInstances RSSInstance NameTesting/Name InstanceTypeSYSTEM/InstanceType

Re: [Dev] Error establishing data source connection, Communications link failure

2014-10-14 Thread Manoj Gunawardena
Hi Supun, What was the problem? This issue can happen due to various reasons. Thanks On Wed, Oct 15, 2014 at 10:35 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Yasassri, It worked :) Thank you all for helping me out with this. Regards *Supun Rasitha Muthutantrige* *supunr*

[Dev] Could not find artifact org.wso2.carbon:org.wso2.carbon.identity.sso.agent:jar:1.3.0 in wso2-nexus

2014-10-14 Thread Kalpa Welivitigoda
Hi, I am trying to build org.wso2.carbon.webapp.mgt [1] and I get the following error. [ERROR] Failed to execute goal on project org.wso2.carbon.webapp.mgt: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.webapp.mgt:bundle:4.3.0-SNAPSHOT: Could not find artifact

Re: [Dev] [SS] Is there a way to get the value of DbmsType via RSSAdmin?

2014-10-14 Thread Harsha Kumara
Hi Amalka, So this would ideally be the database provider configured in the rss-config. Previously there wasn't any service to get the provider. But it's added in the latest code available in the repo. Alternatively did you check getRSSInstance admin service to query the data relates to a

Re: [Dev] Could not find artifact org.wso2.carbon:org.wso2.carbon.identity.sso.agent:jar:1.3.0 in wso2-nexus

2014-10-14 Thread Niranda Perera
Hi, Did you apply patches (if there are any)? I've had the symbol not found errors when I haven't applied the patches. Rgds On Wed, Oct 15, 2014 at 11:22 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi, I am trying to build org.wso2.carbon.webapp.mgt [1] and I get the following error.