Re: [Dev] Warning when building Test Automation Framework on 4.1.3 branch

2013-05-28 Thread Dharshana Warusavitharana
Hi Senaka, All encoding added to UTF-8 this is fixed thank you for pointing out. thank You, Dharshana On Wed, May 29, 2013 at 11:40 AM, Senaka Fernando wrote: > FYI, > > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > > Tha

[Dev] Warning when building Test Automation Framework on 4.1.3 branch

2013-05-28 Thread Senaka Fernando
FYI, [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! Thanks, Senaka. -- *Senaka Fernando* Member - Integration Technologies Management Committee; Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; htt

[Dev] default parameters in axis.xml in products

2013-05-28 Thread Supun Malinga
Hi guys, There are several product cluster specific paramaters we have defined in axis2.xml. Since we use seperate axis2.xml s in each product I see an improvement we can do to have these params by default customised to individual product. For eg: domain name localMemberPort Each time we do a cl

Re: [Dev] [Jaggery] Content-Type of HTTP post is changed internally by Jaggery to ContentType: application/x-www-form-urlencoded; charset=UTF-8

2013-05-28 Thread Gayan Dhanushka
Hi Nuwan, I have two files bamUtil.js and bam.jag bamUtil.js *var createStream = function(createStreamDefnURL , streamDefn, optionalHeaders){ var result = post(createStreamDefnURL, streamDefn, optionalHeaders); }; * bam.jag <% var bamUtils = require("bamUtil.js"); var streamDefn

Re: [Dev] [Jaggery] Content-Type of HTTP post is changed internally by Jaggery to ContentType: application/x-www-form-urlencoded; charset=UTF-8

2013-05-28 Thread Nuwan Bandara
+1, anything related to jaggery please use https://github.com/wso2/caramel/issues On Wed, May 29, 2013 at 10:38 AM, Manuranga Perera wrote: > bug fixed thanks for reporting. > please open JIRAs for bugs in the future, it's easer to keep track that > way. > > > On Wed, May 29, 2013 at 10:33 AM,

Re: [Dev] [Jaggery] Content-Type of HTTP post is changed internally by Jaggery to ContentType: application/x-www-form-urlencoded; charset=UTF-8

2013-05-28 Thread Manuranga Perera
bug fixed thanks for reporting. please open JIRAs for bugs in the future, it's easer to keep track that way. On Wed, May 29, 2013 at 10:33 AM, Nuwan Bandara wrote: > Can you share you jaggery code that does the HTTP call. > > Regards, > /Nuwan > > > On Wed, May 29, 2013 at 10:17 AM, Gayan Dhanu

Re: [Dev] [Jaggery] Content-Type of HTTP post is changed internally by Jaggery to ContentType: application/x-www-form-urlencoded; charset=UTF-8

2013-05-28 Thread Nuwan Bandara
Can you share you jaggery code that does the HTTP call. Regards, /Nuwan On Wed, May 29, 2013 at 10:17 AM, Gayan Dhanushka wrote: > Hi, > > Note $subject as we discovered yesterday. It is there in the latest > jaggery-0.9.0.ALPHA3-wso2v6 pack as well. > > I'm sending a rest call to BAM using Ja

Re: [Dev] How to reconnect to a topic publisher automatically?

2013-05-28 Thread Shammi Jayasinghe
Hi Nirmal, With using following[1] kind of code segment we ll be able to do that. Thanks Shammi [1] while (true) { try { TextMessage textMessage = (TextMessage) topicSubscriber.receive(); if (textM

Re: [Dev] How to reconnect to a topic publisher automatically?

2013-05-28 Thread Shammi Jayasinghe
Hi Nirmal, As we discussed offline, we ll have to retry for creating the connection to the server , once it is got disconnected. AFAIK we need to handle it with our client code to make the connection to the server once it got disconnected. Thanks Shammi On Tue, May 28, 2013 at 9:31 PM, Nirmal

[Dev] [Jaggery] Content-Type of HTTP post is changed internally by Jaggery to ContentType: application/x-www-form-urlencoded; charset=UTF-8

2013-05-28 Thread Gayan Dhanushka
Hi, Note $subject as we discovered yesterday. It is there in the latest jaggery-0.9.0.ALPHA3-wso2v6 pack as well. I'm sending a rest call to BAM using Jaggery and following are my optional headers. *{ "Accept": "application/json", "Content-Type": "application/json", "Authorization":

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Shamika, Fixed the event.core to check authorizations before adding them. Now the tenant loading will be faster from the second-time onwards. Meanwhile created a JIRA to do a proper long term fix. https://wso2.org/jira/browse/MB-269 thanks, dimuthu On Wed, May 29, 2013 at 5:43 AM, Dimuthu Le

Re: [Dev] BAM 2.3.0 RC is ready for QA

2013-05-28 Thread Samisa Abeysinghe
BAM still have 17 L2s. I hope we are planning to fix them all. We cannot release with L2s open! On Tue, May 28, 2013 at 11:14 AM, Chamara Ariyarathne wrote: > Testing is in Progress. > > Me, Shavantha and Ashan is involved. > > > On Mon, May 27, 2013 at 11:28 PM, Malith Dhanushka wrote: > >> Hi

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Shamika, On Wed, May 29, 2013 at 1:17 AM, Shamika Ariyawansa wrote: > Hi, > > This is occurred when authorizing user roles for the the topics > in org.wso2.carbon.event.core component > > for (String role : userRealm.getUserStoreManager().getRoleNames()) { > userRealm.getA

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Shamika Ariyawansa
Hi, This is occurred when authorizing user roles for the the topics in org.wso2.carbon.event.core component for (String role : userRealm.getUserStoreManager().getRoleNames()) { userRealm.getAuthorizationManager().authorizeRole( role, topicStoragePat

Re: [Dev] Need occasional DepSync polling or depsync message replay

2013-05-28 Thread Shariq Muhammed
On Fri, May 24, 2013 at 11:19 PM, Afkham Azeez wrote: > > > On Sat, May 25, 2013 at 11:37 AM, Supun Malinga wrote: > >> -- >> Supun Malinga >> Sent from my phone. >> >> On 24 May 2013 02:37, "Afkham Azeez" wrote: >> > >> > There is no guarantee that the cluster message will be reliably >> deli

Re: [Dev] StartupFinalizerServiceComponent Waiting for required OSGi services issue

2013-05-28 Thread Sumedha Rubasinghe
On Tue, May 28, 2013 at 7:51 PM, Afkham Azeez wrote: > > > On Tue, May 28, 2013 at 7:48 PM, Nuwan Dias wrote: > >> Hi, >> >> This is regarding [1]. We have been doing some long running tests on a >> lab setup. The test was done on the API Gateway. But when attempted to >> restart the API Gateway

Re: [Dev] [Stratos2] 2.0.0 RC1 Fixes

2013-05-28 Thread Isuru Perera
Thanks Nirmal! I will verify and resolve. -- Sent from my mobile On May 28, 2013 7:15 PM, "Nirmal Fernando" wrote: > Committed the modified patches and updated the JIRAs. IsuruP, please > verify and resolve the JIRAs. > > > On Tue, May 28, 2013 at 9:01 AM, Isuru Perera wrote: > >> Hi Nirmal, >>

[Dev] Build fails at branch 4.1.3

2013-05-28 Thread Lahiru Sandaruwan
$subject, Any thing missed? Error, [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:35.403s [INFO] Finished at: Tue May 28 21:41:50 IST 2013 [IN

Re: [Dev] How to reconnect to a topic publisher automatically?

2013-05-28 Thread Nirmal Fernando
Hi Shammi, This still fails to me. When I shutdown the server where the topic lives, I see following error [1]. Note that what I'm using is a Topic. And my client is at [2], am I doing something wrong? [1] TID: [0] [ELB] [2013-05-28 15:12:47,589] ERROR {org.wso2.andes.client.state.AMQStateMana

Re: [Dev] platform/branches/4.1.0/dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml has 1 error

2013-05-28 Thread Subash Chaturanga
On Tue, May 28, 2013 at 7:00 PM, Lahiru Sandaruwan wrote: > Hi Subash, > > "dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml" points to a non-existing > parent pom. > Fixed. Please update the pom. > > Thanks. > > > On Mon, May 27, 2013 at 4:52 PM, Subash Chaturanga wrote: > >> Hi >> Have you updat

Re: [Dev] StartupFinalizerServiceComponent Waiting for required OSGi services issue

2013-05-28 Thread Afkham Azeez
On Tue, May 28, 2013 at 7:48 PM, Nuwan Dias wrote: > Hi, > > This is regarding [1]. We have been doing some long running tests on a lab > setup. The test was done on the API Gateway. But when attempted to restart > the API Gateway server, the following issue has been occurring. > > *WARN - Startu

[Dev] StartupFinalizerServiceComponent Waiting for required OSGi services issue

2013-05-28 Thread Nuwan Dias
Hi, This is regarding [1]. We have been doing some long running tests on a lab setup. The test was done on the API Gateway. But when attempted to restart the API Gateway server, the following issue has been occurring. *WARN - StartupFinalizerServiceComponent Waiting for required OSGi services: *

Re: [Dev] [Stratos2] 2.0.0 RC1 Fixes

2013-05-28 Thread Nirmal Fernando
Committed the modified patches and updated the JIRAs. IsuruP, please verify and resolve the JIRAs. On Tue, May 28, 2013 at 9:01 AM, Isuru Perera wrote: > Hi Nirmal, > > I have attached more patches to following JIRAs > > > https://wso2.org/jira/browse/SPI-176 > https://wso2.org/jira/browse/SPI-

Re: [Dev] platform/branches/4.1.0/dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml has 1 error

2013-05-28 Thread Lahiru Sandaruwan
Hi Subash, "dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml" points to a non-existing parent pom. Thanks. On Mon, May 27, 2013 at 4:52 PM, Subash Chaturanga wrote: > Hi > Have you updated dependencies/juddi and dependencies/orbit/juddi both. and > try to build dependencies again. > > On Mon, Ma

[Dev] Fwd: [Appfactory] Upgrade the jaggary version used in AF

2013-05-28 Thread Ajanthan Balachandran
All the problems are fixed now.Thanks Manuranga. -- Forwarded message -- From: Ajanthan Balachandran Date: Tue, May 28, 2013 at 11:21 AM Subject: Re: [Dev] [Appfactory] Upgrade the jaggary version used in AF To: Nuwan Bandara On Tue, May 28, 2013 at 10:53 AM, Nuwan Bandara

Re: [Dev] Que about JSON Message builder and formatters.

2013-05-28 Thread Vijayaratha Vijayasingam
Thanks ishan.. On 28 May 2013 17:12, Ishan Jayawardena wrote: > Hi Ratha, > When to use; > (A) When you need to avoid these conversions, > JSON->XML->JSON > JSON<-XML<-JSON > > ie. 1) when both client/backend consume JSON and you need to > manipulate the message as a JSON object (

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Srinath, Why would the following take so much time? Can ESB run without it? thanks, dimuthu On Tue, May 28, 2013 at 4:25 PM, Shamika Ariyawansa wrote: > Hi > > This timeout occurs when calling creatingConfigurationContext method of > the the following class. > > > org.wso2.carbon.event.core

Re: [Dev] Que about JSON Message builder and formatters.

2013-05-28 Thread Ishan Jayawardena
Hi Ratha, When to use; (A) When you need to avoid these conversions, JSON->XML->JSON JSON<-XML<-JSON ie. 1) when both client/backend consume JSON and you need to manipulate the message as a JSON object (set, create, transform, query etc.) within ESB with script mediator 2) wh

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Shashika Ubhayaratne
; Hi, >>>> >>>> Can you send us the fixed issue list to verify. >>>> >>>> However, we'll start verifying new features. >>>> >>>> Thanks, >>>> Shashika >>>> >>>> Shashika Ubhayaratne >&

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Kasun Indrasiri
;> Shashika >>> >>> Shashika Ubhayaratne >>> Associate Technical Lead - QA >>> WSO2 Inc: http://www.wso2.com/ >>> Mobile: *+94773383831* >>> >>> >>> On Tue, May 28, 2013 at 4:17 PM, Ravi Undupitiya wrote: >>> >>

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Shashika Ubhayaratne
t;> WSO2 Inc: http://www.wso2.com/ >>> Mobile: *+94773383831* >>> >>> >>> On Tue, May 28, 2013 at 4:17 PM, Ravi Undupitiya wrote: >>> >>>> Please find $subject at [1] - feature complete alpha pack. >>>> >>>> [1]

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Shashika Ubhayaratne
ne >> Associate Technical Lead - QA >> WSO2 Inc: http://www.wso2.com/ >> Mobile: *+94773383831* >> >> >> On Tue, May 28, 2013 at 4:17 PM, Ravi Undupitiya wrote: >> >>> Please find $subject at [1] - feature complete alpha pack. >>> >>

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Kasun Indrasiri
feature complete alpha pack. >> >> [1] >> https://svn.wso2.org/repos/wso2/people/ravi/packs/20130528-wso2esb-4.7.0.zip >> >> >> >> -- >> *Ravi Undupitiya* >> Software Engineer; WSO2 Inc.; http://wso2.com >> * >> * >> *E-mail:

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Shamika Ariyawansa
Hi This timeout occurs when calling creatingConfigurationContext method of the the following class. org.wso2.carbon.event.core.internal.builder.EventAxis2ConfigurationContextObserver This call is one of 20 osgi calls. All the others returned with maximum of 1 s but this one takes about 2 mins.

Re: [Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Shashika Ubhayaratne
ase find $subject at [1] - feature complete alpha pack. > > [1] > https://svn.wso2.org/repos/wso2/people/ravi/packs/20130528-wso2esb-4.7.0.zip > > > > -- > *Ravi Undupitiya* > Software Engineer; WSO2 Inc.; http://wso2.com > * > * > *E-mail: r...@wso2.com > *

[Dev] ESB 4.7.0 Alpha Pack for Testing (28/05/2013)

2013-05-28 Thread Ravi Undupitiya
Please find $subject at [1] - feature complete alpha pack. [1] https://svn.wso2.org/repos/wso2/people/ravi/packs/20130528-wso2esb-4.7.0.zip -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com * * *E-mail: r...@wso2.com **M: **+94 772 930 712* * *Lean . Enterprise . Middleware

[Dev] Que about JSON Message builder and formatters.

2013-05-28 Thread Vijayaratha Vijayasingam
Hi, We have JSONMessageFormatter/builder,JSONBadgerfishMessageFormatter/builder and JSONStreamFormatter/builder. In which case we need to use,"JSONStreamFormatter/builder" ? If the answer is for complex/multiroot json, then how can we do mediation with that? tahnks -Ratha mobile: (+94)755906608 _

[Dev] [APPFAC][AS] upgrading appfac live with AS 5.1.0

2013-05-28 Thread Asanka Dissanayake
Hi All, Appfactory staging is successfully upgraded with AS 5.1.0.We are about to upgrade the Appfac live with the same. Following Gdoc contains the steps to follow for the upgrade https://docs.google.com/a/wso2.com/document/d/1xu1jEyZPbyzU5kmMGz6h_u42CYItM6F5kuOZe2nwl-4/edit?usp=sharing Please f

Re: [Dev] When unloaded tenant receives request session Id change in the second request.

2013-05-28 Thread Geeth Munasinghe
Hi Kishanthan Problem solved after using "request.getSession.getId()" to get the session id. Thanks *G. K. S. Munasinghe * *Software Engineer,* *WSO2, Inc. http://wso2.com * *lean.enterprise.middleware.* * * email: ge...@wso2.com phone:(+94) 777911226 On Tue, May 28, 2013 at 2:40 PM, Kishantha

Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-28 Thread Dulanja Liyanage
Hi, I'm also getting the same error. Thanks Dulanja On Tue, May 28, 2013 at 2:43 PM, Hasini Gunasinghe wrote: > Hi Vijitha, > > I took svn up under both components/governance & components/registry. But > when trying to build platform/components, I still get the same error. > > Thanks, > Hasin

Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-28 Thread Hasini Gunasinghe
Hi Vijitha, I took svn up under both components/governance & components/registry. But when trying to build platform/components, I still get the same error. Thanks, Hasini. On Mon, May 27, 2013 at 11:05 PM, Vijitha Kumara wrote: > This is fixed, please update governance.registry.extensions com

Re: [Dev] When unloaded tenant receives request session Id change in the second request.

2013-05-28 Thread Kishanthan Thangarajah
We use TanantLazyLoaderValve to load the tenant, if the first request is coming for webapps. In here we catch the incoming request and load the tenant and then do remap of request to let tomcat know about the new contexts added, and the let the request reach the end point. So in here the requestedS

Re: [Dev] Registry.uddi build failure

2013-05-28 Thread Subash Chaturanga
Hi Can you now update org.wso2.carbon.registry.uddi/ and give it a try. On Tue, May 28, 2013 at 2:21 PM, Kasun Indrasiri wrote: > I'm also getting this while building the patch release. > > > On Tue, May 28, 2013 at 1:23 PM, Subash Chaturanga wrote: > >> Did you build up to date platform/depend

Re: [Dev] Registry.uddi build failure

2013-05-28 Thread Kasun Indrasiri
I'm also getting this while building the patch release. On Tue, May 28, 2013 at 1:23 PM, Subash Chaturanga wrote: > Did you build up to date platform/dependencies/juddi and > platform/dependencies/orbit/juddi ? > > > On Tue, May 28, 2013 at 1:13 PM, Miyuru Wanninayaka wrote: > >> Please fix ASP

Re: [Dev] Concurrent Modification on executor phases (Seen on NIO as well as PT)

2013-05-28 Thread Dushan Abeyruwan
No this can not, since it has to fixed by axis2 kernel level, and required JDK 7 dependency. On Tue, May 28, 2013 at 2:02 PM, Manjula Rathnayake wrote: > Hi Dushan, > > Have we committed these changes into wso2esb-4.6.0? I am getting this > error when load testing. > > thank you. > > > On Thu, N

Re: [Dev] Registry.uddi build failure

2013-05-28 Thread Miyuru Wanninayaka
juddi tests also fails with same package is missing. So something is broken. On Tue, May 28, 2013 at 1:23 PM, Subash Chaturanga wrote: > Did you build up to date platform/dependencies/juddi and > platform/dependencies/orbit/juddi ? > > > On Tue, May 28, 2013 at 1:13 PM, Miyuru Wanninayaka wrote:

Re: [Dev] Concurrent Modification on executor phases (Seen on NIO as well as PT)

2013-05-28 Thread Manjula Rathnayake
Hi Dushan, Have we committed these changes into wso2esb-4.6.0? I am getting this error when load testing. thank you. On Thu, Nov 29, 2012 at 11:39 AM, Dushan Abeyruwan wrote: > Hi > During the iterator operation for larger message observed following > error, this is repeatable for NIO as we

Re: [Dev] Registry.uddi build failure

2013-05-28 Thread Subash Chaturanga
Did you build up to date platform/dependencies/juddi and platform/dependencies/orbit/juddi ? On Tue, May 28, 2013 at 1:13 PM, Miyuru Wanninayaka wrote: > Please fix ASP > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on projec

[Dev] Registry.uddi build failure

2013-05-28 Thread Miyuru Wanninayaka
Please fix ASP [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.registry.uddi: Compilation failure: Compilation failure: [ERROR] /home/miyuru/code/wso2/svn/carbon/platform/branches/4.1.0/components/registry/org

Re: [Dev] SSO enabling BAM dashboard

2013-05-28 Thread Pradeep Fernando
On Tue, May 28, 2013 at 6:14 AM, Pradeep Fernando wrote: > --Pradeep > sent from my phone > > On May 28, 2013 10:33 AM, "Pradeep Fernando" wrote: > > > > > > On May 28, 2013 10:26 AM, "Nuwan Bandara" wrote: > > > > > > Hi Suresh, > > > > > > > > > On Tue, May 28, 2013 at 10:09 AM, Suresh Attana