[Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
$subject. https://wso2.org/jira/browse/CARBON-14929 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/list

Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Supun Malinga
Hi Chamil, As discussed let's add the entries to include the built jar into patch zip as well. thanks, On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha wrote: > $subject. > > https://wso2.org/jira/browse/CARBON-14929 > > -- > K.D. Chamil Jeewantha > Associate Technical Lead > WSO2, Inc.;

[Dev] Set a desired value to HazelCast Cache Timeout

2014-08-29 Thread Subash Chaturanga
Hi Azeez, In turing kernel, can we do $subject. We found "setExpiry" in your blog post and following is the code we use, but we noticed it still timeouts in 15mins. Is there new API to do this or are we missing something ? CacheManager manager = Caching.getCacheManagerFactory().getCacheManager("i

Re: [Dev] Jaggery NullPointerException when a Database is instantiated.

2014-08-29 Thread Ishara Cooray
Hi Dunith, Thanks for the reply. jdbc url , UN and PW are configured in a xml. This works for many queries but exception is thrown in few cases only. Regards, Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Fri, Au

Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi Supun, org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it goes to the /bin directory. Do we still need to add it to the patch zip? Regards, Chamil On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga wrote: > Hi Chamil, > > As discussed let's add the entries to include the

Re: [Dev] Tutorial on building a carbon feature

2014-08-29 Thread Amal Gunatilake
Hi Lochana, According to the explanation I have done in the following link[1], "Download and put the feature.properties file into the student-manager-features folder." Notice that in

Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi All, I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should go into /bin So I think we can add a bin folder to the patch.zip and copy this jar to that folder. Theadd a step in README to copy it manually to /bin WDYT? Is there a better way of doing that? On Fri, Aug 29, 20

Re: [Dev] Adding user to a tenant using admin services

2014-08-29 Thread Chamila Adhikarinayake
Hi Shariq, I modified according to the way you mentioned and was able to create users for tenants with default configuration (Internal/identity). But when I created the registry entry for tenants as the way you described in the architecture thread, I get the following error. My registry entry in '/

Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Supun Malinga
Hi Chamil, I had a chat with Sameera as well. Let's go ahead with the above approach. thanks, On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha wrote: > Hi All, > > I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should > go into /bin > > So I think we can add a bin folder

Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi Supun, I have re-attached the patch to the issue. Please proceed. Regards, Chamil On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga wrote: > Hi Chamil, > > I had a chat with Sameera as well. Let's go ahead with the above approach. > > thanks, > > > On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeew

Re: [Dev] Retrieving the IP/IPs for single tenant cartridge intances

2014-08-29 Thread Dimuthu Leelarathne
Hi Madhawa and All, I have discussed with the Stratos team and provided a PR for master in Apache. Meanwhile I have done the same fix in this GitHub branch[1] for Stratos 4.0.0. So now you can retrieve the end point. Here are the steps. 1) Build the GitHub branch with branch id STRATOS762. 2) Rep

Re: [Dev] Set a desired value to HazelCast Cache Timeout

2014-08-29 Thread Afkham Azeez
setExpiry should work. AFAIK, the IS team is also using this. On Fri, Aug 29, 2014 at 12:38 PM, Subash Chaturanga wrote: > Hi Azeez, > In turing kernel, can we do $subject. We found "setExpiry" in your blog > post and following is the code we use, but we noticed it still timeouts in > 15mins.

Re: [Dev] [jira] (IDENTITY-2496) java.lang.InterruptedException and com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active - during the Saml SSO load test

2014-08-29 Thread Afkham Azeez
Most probably the test is unreasonable, as we concluded the other day during the load testing. Please talk to Prabath & Asela. On Thu, Aug 28, 2014 at 3:31 PM, Pavithra Madurangi wrote: > Yes we didn't find any issues with the test and as Ushani has mentioned in > the last comment, she's tuned

Re: [Dev] Set a desired value to HazelCast Cache Timeout

2014-08-29 Thread Subash Chaturanga
Hi Azeez, Yes I also noticed identity components also uses this. But the prob is I am not sure whether they have tested this cache invalidation timeout specifically or they have a use case as such. But for us we do have. For resource/path caches we have NOT used the proper way of building the cache

Re: [Dev] [jira] (IDENTITY-2496) java.lang.InterruptedException and com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active - during the Saml SSO load test

2014-08-29 Thread Pavithra Madurangi
Sure I'll talk to them and will rerun it with the corrections. On Fri, Aug 29, 2014 at 4:25 PM, Afkham Azeez wrote: > Most probably the test is unreasonable, as we concluded the other day > during the load testing. Please talk to Prabath & Asela. > > > On Thu, Aug 28, 2014 at 3:31 PM, Pavithra

Re: [Dev] Error when creating a feature from WSO2 Carbon Component

2014-08-29 Thread Senduran Balasubramaniyam
Hi Sithumini, I think you have to add plugin repository in your pom.xml wso2-maven-repo http://maven.wso2.org/nexus/content/repositories/wso2maven2 Regards, Senduran On Fri, Aug 29, 2014 at 4:59 PM, Sithumini Senevirathne wrote: > Hi, > I was c

[Dev] Please merge pull request #14 for carbon-governance

2014-08-29 Thread Denuwanthi De Silva
Hi, please review & merge pull req [1], which is a fix for issue [2]. [1]https://github.com/wso2-dev/carbon-governance/pull/14 [2]https://wso2.org/jira/browse/REGISTRY-2266 Thanks, -- Denuwanthi De Silva Software Engineer; WSO2 Inc.; http://wso2.com, Email: denuwan...@wso2.com

Re: [Dev] WSO2 Committers += Rajith Vitharana

2014-08-29 Thread Abimaran Kugathasan
Congrats Rajith! On Fri, Aug 29, 2014 at 8:41 AM, Lakshman Udayakantha wrote: > congratulations rajith...!! > > > On Fri, Aug 29, 2014 at 8:35 AM, Niranda Perera wrote: > >> Congrats Rajith! >> >> >> On Fri, Aug 29, 2014 at 7:33 AM, Manoj Kumara wrote: >> >>> Congratulations Rajith !!! >>> >>

Re: [Dev] Set a desired value to HazelCast Cache Timeout

2014-08-29 Thread Afkham Azeez
There is also a test case CachingTestCase#testCacheExpiry that specifically tests that cache expiry is working. Azeez On Fri, Aug 29, 2014 at 4:27 PM, Subash Chaturanga wrote: > Hi Azeez, > Yes I also noticed identity components also uses this. But the prob is I > am not sure whether they have

Re: [Dev] [Issue] Jaggery post() method

2014-08-29 Thread Tishan Dahanayakage
Hi Jerad, Does your end point URL has a service to serve your HTTP post? Since Jaggery post is a wrapper for XMLHTTPRequest post as per jaggery documentation, make sure your URL (http://localhost:8280/) can handle your post and return a response. And I think your JSON data does not need apostrophe

[Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Sandamal Weerasinghe
Hi, I'm trying to display a SOAP body and its header inside a table. e.g. http://schemas.xmlsoap.org/soap/envelope/";>http://version.services.core.carbon.wso2.org";>WSO2 Enterprise Service Bus-4.8.1 Even though UI the gets an XML message, only the content inside the xml tags are displayed in th

Re: [Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Chamil Jeewantha
Hi Sandamal, It seems the UI renders the xml tags. You have to escape the html sensitive characters to avoid that. i.e. replace wrote: > Hi, > > I'm trying to display a SOAP body and its header inside a table. > > e.g. > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";> xmlns:ns="http

Re: [Dev] Jaggery NullPointerException when a Database is instantiated.

2014-08-29 Thread Ishara Cooray
hi, The issue was resolved by changing the execution order of the statements. Ex: first execute db queries and then context.startTenantFlow(); .. but i still have a doubt, what is the actual cause for this. Thanks. Ishara Cooray Senior Software Engine

Re: [Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Senduran Balasubramaniyam
Hi Sandamal, I think even when the soap message is coming to the UI, the or tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: * * http://schemas.xmlsoap.org/soa

Re: [Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Senduran Balasubramaniyam
Hi Sandamal, I think even when the soap message is coming to the UI, the or tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: * * http://schemas.xmlsoap.org/soa

Re: [Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Senduran Balasubramaniyam
Hi Sandamal, I think even when the soap message is coming to the UI, the or tags are not recognized by the browser (you can check the raw xml by pressing F12 in Chrome) to show the soap message as it is, put the entire message inside a ' *textarea*' tag. eg: * * http://schemas.xmlsoap.org/soa

Re: [Dev] Retrieving the IP/IPs for single tenant cartridge intances

2014-08-29 Thread Madhawa Bandara
Hi Dimuthu, Thanks, I will follow the instructions. Sent from Windows phone -Original Message- From: "Dimuthu Leelarathne" Sent: ‎8/‎29/‎2014 15:25 To: "Madhawa Bandara" Cc: "WSO2 Developers' List" ; "Lakmal Warusawithana" ; "Sajith Kariyawasam" ; "Ramith Jayasinghe" Subject: Re: Re