Re: [Dev] Fwd: JWT Token based login for Asset Store (ES)

2014-04-04 Thread Harshan Liyanage
Hi Dinusha, I'll look into that issue. Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Apr 2, 2014 at 11:19 AM,

[Dev] Node is not joining with the cluster when using the hostname

2014-04-04 Thread Chathura Dilan
Hi, $subject when refer to https://docs.wso2.org/display/CLUSTER420/Configuring+the+Manager+Node below configuration not working ( node does not join with the cluster) elb.wso2.com is assigned to an IP address in /etc/hosts members member hostNameelb.wso2.com/hostName

Re: [Dev] Node is not joining with the cluster when using the hostname

2014-04-04 Thread Nirmal Fernando
Azeez explained this in another thread. Due to a limitation in Hazelcast, you have to use IP addresses. Please add a note. On Fri, Apr 4, 2014 at 11:40 AM, Chathura Dilan chathu...@wso2.com wrote: Hi, $subject when refer to

[Dev] Products pom BPS module commented

2014-04-04 Thread Waruna Jayaweera
Hi, BPS module in the products pom in chunk 7 has commented. So cannot build the BPS 3.2.0 . -- Regards, Waruna Lakshitha Jayaweera Software Engineer WSO2 Inc; http://wso2.com phone: +94713255198 ___ Dev mailing list Dev@wso2.org

Re: [Dev] Node is not joining with the cluster when using the hostname

2014-04-04 Thread Isuru Perera
Yes. There is an issue when using hostnames. It's safe to use IP. On Fri, Apr 4, 2014 at 11:43 AM, Nirmal Fernando nir...@wso2.com wrote: Azeez explained this in another thread. Due to a limitation in Hazelcast, you have to use IP addresses. Please add a note. +1 On Fri, Apr 4, 2014 at

Re: [Dev] Node is not joining with the cluster when using the hostname

2014-04-04 Thread Iranga Muthuthanthri
Mail Thread:question on localmemberhost On Fri, Apr 4, 2014 at 11:51 AM, Isuru Perera isu...@wso2.com wrote: Yes. There is an issue when using hostnames. It's safe to use IP. On Fri, Apr 4, 2014 at 11:43 AM, Nirmal Fernando nir...@wso2.com wrote: Azeez explained this in another thread. Due

Re: [Dev] ESB documentation missing how to activate nhttp mode

2014-04-04 Thread Sameera Kannangara
Copying dev group. On Fri, Apr 4, 2014 at 12:05 PM, Samisa Abeysinghe sam...@wso2.com wrote: This main needs to go to dev list. Thanks, Samisa... Samisa Abeysinghe Vice President Developer Evangelism WSO2 Inc. http://wso2.com On Fri, Apr 4, 2014 at 11:10 AM, Sameera Kannangara

[Dev] Please merge wso2-synapse #5 pull request

2014-04-04 Thread Dhanuka Ranasinghe
Please merge the following pull request https://github.com/wso2-dev/wso2-synapse/pull/5 Related Jirra https://wso2.org/jira/browse/LB-142 https://wso2.org/jira/browse/LB-95 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise .

Re: [Dev] Please merge wso2-synapse #5 pull request

2014-04-04 Thread Vanjikumaran Sivajothy
Please review the change @ [1] [1] https://github.com/dhanuka84/wso2-synapse/commit/e996fa31023ec042150e8a8c6093714b1cadfb9b Thanks On Fri, Apr 4, 2014 at 12:17 PM, Dhanuka Ranasinghe dhan...@wso2.comwrote: Please merge the following pull request

[Dev] Authentication Framework Clarification

2014-04-04 Thread Prasad Tissera
As I observed when the service provider name and the issuer name in service provider configurations are different it does not pick the configurations from the database. That is because of passing service provider name for CLIENT_ID in the following query. SELECT APP_NAME FROM IDN_APPMGT_APP

[Dev] how to read a resource in the ESB registry programatically

2014-04-04 Thread Rushmin Fernando
Hi I need to read a blob in the the registry, from a mediator class. How can I do that please ? Thanks /rushmin -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855

Re: [Dev] how to read a resource in the ESB registry programatically

2014-04-04 Thread Chanaka Fernando
You can access registry resource inside mediate method as below. // if localentry testLocalentry defined in synapse econfig Entry localEntryObj = (Entry) synapseMsgContext.getConfiguration() .getLocalRegistry().get(testLocalentry); System.out.println( value: +

[Dev] Fwd: Build failed in Jenkins: productESBProjectDev #16

2014-04-04 Thread Vanjikumaran Sivajothy
We are facing this error stack after merging the pull request that you send. Please have a look. We can not have the 4.2.0 in the GIT Thank you Vanji -- Forwarded message -- From: jenkinbuilder...@gmail.com Date: Fri, Apr 4, 2014 at 12:34 PM Subject: Build failed in Jenkins:

[Dev] [Jaggery] Relevant mailing list on http://jaggeryjs.org not mentioned

2014-04-04 Thread Shani Ranasinghe
Hi, I was going through the http://jaggeryjs.org/about.jag page, and noticed in the first section Jaggery Manifesto it has a statement saying So give it a run and let us know how it goes by mailing us here. I checked using Firefox 26.0 and google chrome version 32.0.1700.107. I didn't find the

Re: [Dev] Authentication Framework Clarification

2014-04-04 Thread Suresh Attanayaka
In this query we are trying to get the application name from the client id, here what we should pass is the Client ID , but not the Application Name. Do you know at which place we are passing the Application Name as the Client ID ? On Fri, Apr 4, 2014 at 12:24 PM, Prasad Tissera pras...@wso2.com

[Dev] Invitation: CEP Code Review @ Fri Apr 4, 2014 2pm - 3:30pm (mo...@wso2.com)

2014-04-04 Thread Mohanadarshan Vivekanandalingam
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140404T083000Z DTEND:20140404T10Z DTSTAMP:20140404T074647Z ORGANIZER;CN=Mohanadarshan Vivekanandalingam:mailto:mo...@wso2.com

Re: [Dev] [Jaggery] Relevant mailing list on http://jaggeryjs.org not mentioned

2014-04-04 Thread Shani Ranasinghe
Just now found it being repeated on http://jaggeryjs.org/documentation.jagtoo. On Fri, Apr 4, 2014 at 12:45 AM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I was going through the http://jaggeryjs.org/about.jag page, and noticed in the first section Jaggery Manifesto it has a statement

Re: [Dev] Authentication Framework Clarification

2014-04-04 Thread Prasad Tissera
Class: *org.wso2.carbon.identity.application.authentication.framework.config.builder.UIBasedConfigurationBuilder * Method: *getSequence(String reqType, String sp) * *ApplicationDTO appConfigDTO = appDataAPI.getApplicationData(sp, reqType, MultitenantConstants.SUPER_TENANT_DOMAIN_NAME);* Here

Re: [Dev] Authentication Framework Clarification

2014-04-04 Thread Suresh Attanayaka
That cannot be, Only the variable name is *sp *there, but the value being passed over there is the client id. On Fri, Apr 4, 2014 at 1:31 PM, Prasad Tissera pras...@wso2.com wrote: Class: *org.wso2.carbon.identity.application.authentication.framework.config.builder.UIBasedConfigurationBuilder

[Dev] Service Provider db script : column names too long

2014-04-04 Thread Prasad Tissera
Following column names are need to be changed because those are more than 30 characters long. Oracle only allow maximum of 30 characters. SP_IDP_CLAIMS : SP_IDP_IS_PROVISION_USER_STORE_CLAIM SP_IDP_OPENID : SP_IDP_IS_OPENID_USER_ID_IN_CLAIMS SP_IDP_SAMLSSO : SP_IDP_IS_SAMLSSO_USER_ID_IN_CLAIMS

Re: [Dev] Authentication Framework Clarification

2014-04-04 Thread Prasad Tissera
Got it. Problem was with my configuration. Thank you for the clarification. On Fri, Apr 4, 2014 at 1:46 PM, Suresh Attanayaka sur...@wso2.com wrote: That cannot be, Only the variable name is *sp *there, but the value being passed over there is the client id. On Fri, Apr 4, 2014 at 1:31 PM,

Re: [Dev] Please merge wso2-synapse #5 pull request

2014-04-04 Thread Vanjikumaran Sivajothy
Pull request has been merged and build [1] [1] https://github.com/dhanuka84/wso2-synapse/commit/e996fa31023ec042150e8a8c6093714b1cadfb9b On Fri, Apr 4, 2014 at 12:19 PM, Vanjikumaran Sivajothy va...@wso2.comwrote: Please review the change @ [1] [1]

Re: [Dev] Problems with using org.wso2.carbon.ndatasource.stub

2014-04-04 Thread Maduranga Siriwardena
Hi all, I found another reference to the above mentioned stub in org.wso2.carbon.mediator.dblookup.ui component. Seems to be it is the only other component that is using that stub. (It is the only reference I found from a search to a component that has the reference to

[Dev] Create wso2 orbit repository for bsf

2014-04-04 Thread Manoj Kumara
Hi, I need to add the fix relevant to [1] to git trunk. Could you please create relevant git repository for [2] on [3]. [1] https://wso2.org/jira/browse/ESBJAVA-3019 [2] https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/bsf/ [3] https://github.com/wso2/orbit Thanks, Manoj *Manoj

Re: [Dev] how to read a resource in the ESB registry programatically

2014-04-04 Thread Rushmin Fernando
Thanks Chanaka I have the following resource in my registry. */_system/governance/repository/components/org.wso2.apn/apns.p12* When I try to get it using *regInstance.getResource(new Entry(gov:/repository/components/org.wso2.apn/apns.p12**),null);* it gives the following NPE Caused by:

[Dev] Missing configuration in registry.xml causes OSGi services to be unsatisfied

2014-04-04 Thread Lasantha Fernando
Hi all, When looking into the CEP 3.1.0 osgi services, we (Myself and Manoj) found out that the following registry services were unsatisfied. We found out that the above services were unsatisfied for some released packs as well. 81 Unsatisfied org.wso2.carbon.governance.api

Re: [Dev] Missing configuration in registry.xml causes OSGi services to be unsatisfied

2014-04-04 Thread Manoj Kumara
[Adding Greg Team] Can Greg team please have a look on this. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Apr 4, 2014 at 4:49 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi all, When looking into

[Dev] Cache invalidation on remote Greg mounts on other Carbon products

2014-04-04 Thread Amal Gunatilake
Hi Azeez/Senaka, I have implemented the JMS publisher and receiver as a separate component. These interfaces will register a topic in the ActiveMQ server and each cluster node can subscribe to the topic. Once GReg cluster publish the message to the topic the subscribers will receive the message.

Re: [Dev] Cache invalidation on remote Greg mounts on other Carbon products

2014-04-04 Thread Afkham Azeez
On Fri, Apr 4, 2014 at 5:44 PM, Amal Gunatilake am...@wso2.com wrote: Hi Azeez/Senaka, I have implemented the JMS publisher and receiver as a separate component. These interfaces will register a topic in the ActiveMQ server and each cluster node can subscribe to the topic. Once GReg cluster

Re: [Dev] Problems with using org.wso2.carbon.ndatasource.stub

2014-04-04 Thread Johann Nallathamby
Hi Anjana, On Thu, Apr 3, 2014 at 3:04 PM, Anjana Fernando anj...@wso2.com wrote: Hi Maduranga, Yeah, seems like the packages exported from the stub is not correct. We will have to fix those eventually, @Chanika please note. But for your requirement, I'm guessing you will have your own

Re: [Dev] Problems with using org.wso2.carbon.ndatasource.stub

2014-04-04 Thread Anjana Fernando
Hi Johann, NDatasource component is not specific to RDBMS data sources. It is a generic component that can be (and we have) used to create any type of a data source. That is why, the payload you send to testConnection in ndatasource component basically contains all the information required to

Re: [Dev] [Siddhi] attributes not added to out stream when called in side init method in a Transform class

2014-04-04 Thread Sriskandarajah Suhothayan
I think then you are using an old code We fixed this recently. Suho On Fri, Apr 4, 2014 at 10:37 AM, Waruna Perera waru...@wso2.com wrote: i did it in the init. but it doesn't work. in the updateQueryEventSourceOutDefinition in StreamParser class doesn't call the init function of Transform

Re: [Dev] Missing configuration in registry.xml causes OSGi services to be unsatisfied

2014-04-04 Thread Ajith Vitharana
Hi Manoj/Lasantha, I just checked the fresh G-Reg pack without indexing config in registry.xml and it is working fine without any issue. When you install some registry feature to others products, you should add the related configs (handler config ..etc ) to work that features properly. AFAIK,

Re: [Dev] Oracle SQL script error

2014-04-04 Thread Prasad Tissera
Problem was with the semicolon in the ALTER TABLE line. By removing the semicolon problem solved. ALTER TABLE IDN_APPMGT_APP ADD CONSTRAINT APPLICATION_NAME_CONSTRAINT UNIQUE(APP_NAME, TENANT_ID) On Fri, Apr 4, 2014 at 10:12 AM, Prasad Tissera pras...@wso2.com wrote: Can anyone help to

Re: [Dev] Missing configuration in registry.xml causes OSGi services to be unsatisfied

2014-04-04 Thread Senaka Fernando
+1 for using touchpoints. Thanks, Senaka. On Fri, Apr 4, 2014 at 9:49 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Ajith, Can we add a null check to the constructor code or log the error and throw? The actual cause is indeed the missing configs, but it is hard to debug because that

[Dev] Identiy DB Script : ON UPDATE RESTRICT ON DELETE CASCADE

2014-04-04 Thread Prasad Tissera
Unlike MySql and H2, Oracle does not support ON UPDATE clause. But ON UPDATE RESTRICT is the default behavior of Oracle. Since ON UPDATE RESTRICT will be omitted in the oracle SQL scripts. example. H2/MySQL Script: ALTER TABLE IDN_APPMGT_CLIENT ADD CONSTRAINT APPLICATION_ID_CONSTRAINT FOREIGN