Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Dushan Abeyruwan
Guys this still broken, seems like though we applied patch it has not resloved the JMS issue, I can see the ESB instance now packed with two versions of JMS axis2-transport-jms_1.1.0.wso2v7 and axis2-transport-jms_1.1.0.wso2v8 appricate a quick response ASAP On Fri, May 10, 2013 at 12:26 PM, Sen

Re: [Dev] Trying to get RabbitMQ Java Client to send/receive AMQP messages to/from WSO2 MB

2013-05-13 Thread Kishanthan Thangarajah
Hi Hasitha, On Sun, May 12, 2013 at 10:25 AM, Hasitha Hiranya wrote: > Hi Kishanthan, > > We should first see if a subscription get created in MB side when you > register a subscriber. Can you see any log like > "Added Subscription x to queue y" ? > Yes, I do see the related logs for a subscri

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Miyuru Wanninayaka
Reason is kernel 4.1.0 packs axis2-transport-jms_1.1.0.wso2v7 even kernel 4.1.0 source has transport v8 code. So patching transport v8 codes does not have effect because v7 versions of jars packs by kernel 4.1.0 distribution. We have to change version of transport code in patch0001 to v7 to make p

Re: [Dev] WSO2 Committers += Isuru Haththotuwa

2013-05-13 Thread Isuru Wimalasundera
Congratz IsuruH and all the best :) On Thu, May 9, 2013 at 11:51 AM, Lakmal Warusawithana wrote: > Hi, > > Its my pleasure to welcome Isuru Haththotuwa as a WSO2 Commiter. > > IsuruH has done excellent contribution in the areas of > Stratos2 specially git based depSync. Also his contribution to

Re: [Dev] Accessing carbon data sources from non osgi jars

2013-05-13 Thread Piyum Fernando
Hi, I tried this and worked. The requirement is we need to load the Carbon class loading environment for the web app which wants to access the JNDI resource. Shall we add a small note on the documentation stating this requirement? Thanks! On Mon, May 13, 2013 at 10:35 AM, Piyum Fernando wrote

Re: [Dev] WSO2 Committers += Isuru Haththotuwa

2013-05-13 Thread Madhuka Udantha
Congratulations !!! On Thu, May 9, 2013 at 8:21 AM, Lakmal Warusawithana wrote: > Hi, > > Its my pleasure to welcome Isuru Haththotuwa as a WSO2 Commiter. > > IsuruH has done excellent contribution in the areas of > Stratos2 specially git based depSync. Also his contribution to Stratos2 > alpha,

Re: [Dev] kernal server startup fail - 4.2.0.SNAPSHOT

2013-05-13 Thread Shameera Rathnayaka
Hi Hasinin/Darshana, This issue is still there in current trunk. According to my findings, org.wso2.carbon.user.core.config.TenantMgtXMLProcessor.java expect tenant-mgt.xml file inside the repository/conf/ directory but that is not there. Please have a look. Thanks, Shameera. On Fri, May 10, 2

[Dev] CEP Event Builder Configuration XML Syntax

2013-05-13 Thread Lasantha Fernando
Hi all, For CEP 3.0.0 we are keeping separate configuration files for the event builder component which will be saved as an XML file. The event builder component will basically subscribe to a Transport Adaptor and map from a supported format like XML, Event, JSON or Text to an event stream/Siddhi

[Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Tharindu Mathew
Hi, My integration tests are failing with the following exception: Has $subject happened? Failed tests: startServer(org.wso2.bam.integration.tests.BAMTestServerManager): org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.NoSuchMethodError: org.apache.axis2.transport.Trans

Re: [Dev] kernal server startup fail - 4.2.0.SNAPSHOT

2013-05-13 Thread Hasini Gunasinghe
This is fixed with r172277 Thanks, Hasini. On Mon, May 13, 2013 at 5:14 PM, Shameera Rathnayaka wrote: > Hi Hasinin/Darshana, > > This issue is still there in current trunk. According to my findings, > org.wso2.carbon.user.core.config.TenantMgtXMLProcessor.java expect > tenant-mgt.xml file ins

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Tharindu Mathew
On Mon, May 13, 2013 at 6:28 PM, Tharindu Mathew wrote: > Hi, > > My integration tests are failing with the following exception: > > Has $subject happened? > correction: has the axis2 apis changed? > > Failed tests: > startServer(org.wso2.bam.integration.tests.BAMTestServerManager): > org.testng

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Amila Suriarachchi
is this on 4.1.0 branch? thanks, Amila. On Mon, May 13, 2013 at 6:32 PM, Tharindu Mathew wrote: > > > On Mon, May 13, 2013 at 6:28 PM, Tharindu Mathew wrote: > >> Hi, >> >> My integration tests are failing with the following exception: >> >> Has $subject happened? >> > correction: has the axis

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Tharindu Mathew
This is 4.1.0 with patch 0001 The platform is on 4.1.2... I just saw "[Dev] Need axis2 Patch for TransportUtils."... I believe that is also because of this issue... On Mon, May 13, 2013 at 6:35 PM, Amila Suriarachchi wrote: > is this on 4.1.0 branch? > > thanks, > Amila. > > > On Mon, May

Re: [Dev] CEP Event Builder Configuration XML Syntax

2013-05-13 Thread Pradeep Fernando
Hi, Is it possible to get rid of property elements, eg: analytics_statistics This way, the one who process the xml should have the knowledge of how to process the stuff. thanks, --pradeep On Mon, May 13, 2013 at 6:20 PM, Lasantha Fernando wrote: > Hi all, > > For CEP 3.0.0 we are keeping s

Re: [Dev] CEP Event Builder Configuration XML Syntax

2013-05-13 Thread Pradeep Fernando
On Mon, May 13, 2013 at 6:40 PM, Pradeep Fernando wrote: > Hi, > > Is it possible to get rid of property elements, > > eg: analytics_statistics > > This way, the one who process the xml should have the knowledge of how to > process the stuff. > > > thanks, > --pradeep > > > On Mon, May 13, 2013

[Dev] [Urgent][API Manager] Issue when we deploy API to other server

2013-05-13 Thread Sanjeewa Malalgoda
HI All, In api manager publisher we publish APIs to gateway node(separate API manager node). After we logged in to API publisher node we can create new API and publish it to gateway. Problem happens only when we publish API for first time. When error occurs i can see following log at gateway node.

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Kasun Weranga
Hi, We are also getting this issue while running integration tests. Failed tests: startServer(org.wso2.bam.integration.tests.BAMTestServerManager): org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.NoSuchMethodError: org.apache.axis2.transport.TransportUtils.getMessageFor

[Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Ayashkantha Ramasinghe
Hi, query() function is being failed to return the result while oracle DB consisted of null values in it. I am getting this error, [2013-05-13 18:04:38,014] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Amila Suriarachchi
On Mon, May 13, 2013 at 6:59 PM, Kasun Weranga wrote: > Hi, > > We are also getting this issue while running integration tests. > > Failed tests: > startServer(org.wso2.bam.integration.tests.BAMTestServerManager): > org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: > java.lang.NoSu

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Amila Suriarachchi
On Mon, May 13, 2013 at 1:43 PM, Miyuru Wanninayaka wrote: > Reason is kernel 4.1.0 packs axis2-transport-jms_1.1.0.wso2v7 even kernel > 4.1.0 source has transport v8 code. > > So patching transport v8 codes does not have effect because v7 versions of > jars packs by kernel 4.1.0 distribution. We

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Shameera Rathnayaka
Hi Tharindu, There is an API changes with Axis2 side and above method you have mentioned is a deprecated one and has been removed from latest versions of axis2, I checked with axis2 wso2v8 , wso2v9 and wso2v10. Instead of that you have to use MessageProcessorSelector class(org.apache.axis2.util.Me

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Kishanthan Thangarajah
On Mon, May 13, 2013 at 1:43 PM, Miyuru Wanninayaka wrote: > Reason is kernel 4.1.0 packs axis2-transport-jms_1.1.0.wso2v7 even kernel > 4.1.0 source has transport v8 code. > > So patching transport v8 codes does not have effect because v7 versions of > jars packs by kernel 4.1.0 distribution. We

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Shameera Rathnayaka
There is an another thread which talk about this, see [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due Cheers, Shameera. On Mon, May 13, 2013 at 7:50 PM, Shamee

Re: [Dev] CEP Event Builder Configuration XML Syntax

2013-05-13 Thread Lasantha Fernando
Hi Pradeep, Regarding the configuration for transport adaptors ( ), the properties and the number of properties will change depending on the transport adaptor type. eg: For FIX, there might be additional parameters depending on the message structure, or for JMS, there will be topics etc. So we th

Re: [Dev] CEP Event Builder Configuration XML Syntax

2013-05-13 Thread Pradeep Fernando
On Mon, May 13, 2013 at 8:38 PM, Lasantha Fernando wrote: > Hi Pradeep, > > Regarding the configuration for transport adaptors ( > ), the properties and the number of > properties will change depending on the transport adaptor type. > eg: For FIX, there might be additional parameters depending on

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Nuwan Bandara
Hi, What is "WSO2BAM_DATASOURCE", thats wrong syntax for DB API Regards, /Nuwan On Mon, May 13, 2013 at 7:16 PM, Ayashkantha Ramasinghe < ayashkan...@wso2.com> wrote: > Hi, > > query() function is being failed to return the result while oracle DB > consisted of null values in it. > > I am gett

[Dev] Jaggery object logging issue

2013-05-13 Thread Chan
Hi all, I am facing a problem when logging a jaggery object. My code for logging is - log.info(obj+""); As I can view - jaggery is not allowing us to perform a toString on obj. The above 'obj' object is a database record returned. Thanks (I'm bit busy with MDM demo coming up so I don't have time

Re: [Dev] Merging changes from r153089 {Re: [Commits] [Carbon-kernel] svn commit r171036 - in carbon/kernel/trunk/dependencies/transports/1.1.0-wso2v9: . modules/base/src/main/java/org/apache/axis2/tr

2013-05-13 Thread Kishanthan Thangarajah
Fixed these test failures with r172297. On Fri, Apr 26, 2013 at 2:19 PM, Sagara Gunathunga wrote: > Can you locally revert above changes and find the exact reason for above > issue ? Is some logic missing in MessageProcessorSelector we can add them. > > Thanks ! > > > On Fri, Apr 26, 2013 at 2:

Re: [Dev] Accessing carbon data sources from non osgi jars

2013-05-13 Thread Kishanthan Thangarajah
On Mon, May 13, 2013 at 3:04 PM, Piyum Fernando wrote: > Hi, > > I tried this and worked. The requirement is we need to load the Carbon > class loading environment for the web app which wants to access the JNDI > resource. > > Shall we add a small note on the documentation stating this requiremen

Re: [Dev] kernal server startup fail - 4.2.0.SNAPSHOT

2013-05-13 Thread Shameera Rathnayaka
Yes this issue has been fixed with latest commit, But now there are few test failures in org.wso2.carbon.user.core component. Thanks, Shameera. On Mon, May 13, 2013 at 6:32 PM, Hasini Gunasinghe wrote: > This is fixed with r172277 > > Thanks, > Hasini. > > > On Mon, May 13, 2013 at 5:14 PM, Sh

Re: [Dev] Integration tests failing with no such method error in axis2

2013-05-13 Thread Supun Malinga
Hi Tharindu, On Mon, May 13, 2013 at 6:38 PM, Tharindu Mathew wrote: > This is 4.1.0 with patch 0001 The platform is on 4.1.2... > > I just saw "[Dev] Need axis2 Patch for TransportUtils."... I believe that > is also because of this issue... yes. it's the same.. Guess we need to incorpora

Re: [Dev] kernal server startup fail - 4.2.0.SNAPSHOT

2013-05-13 Thread Hasini Gunasinghe
Test failures are not due to the above fixes. There were some test failures due to multiple user store changes and most of them are fixed now. There are two more test failures to be fixed. They too will be fixed soon. Thanks, Hasini. On Mon, May 13, 2013 at 10:20 PM, Shameera Rathnayaka wrote:

Re: [Dev] [Urgent][API Manager] Issue when we deploy API to other server

2013-05-13 Thread Sanjeewa Malalgoda
Any update on this please. On Mon, May 13, 2013 at 6:58 PM, Sanjeewa Malalgoda wrote: > HI All, > In api manager publisher we publish APIs to gateway node(separate API > manager node). After we logged in to API publisher node we can create new > API and publish it to gateway. Problem happens only

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Ayashkantha Ramasinghe
Hi, On Mon, May 13, 2013 at 9:10 PM, Nuwan Bandara wrote: > Hi, > > What is "WSO2BAM_DATASOURCE", thats wrong syntax for DB API > "WSO2BAM_DATASOURCE" is configured in $BAM_HOME/repository/conf/datasources/master-datasources.xml. this is the configuration of that. WSO2BAM_DATASOUR

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Nuwan Bandara
Hi, We might have to debug the DB Api and look into it. what is you query ? Regards, /Nuwan On Tue, May 14, 2013 at 10:22 AM, Ayashkantha Ramasinghe < ayashkan...@wso2.com> wrote: > Hi, > > On Mon, May 13, 2013 at 9:10 PM, Nuwan Bandara wrote: > >> Hi, >> >> What is "WSO2BAM_DATASOURCE", that

[Dev] How to load RXT definitions for the first time

2013-05-13 Thread Ruchira Wageesha
Hi, How can we achieve the $subject? i.e. At the moment RXT definitions are loaded into the registry only when a user is logged in? Isn't it possible to load initially available RXTs during the server startup? Thanks, Ruchira -- *Ruchira Wageesha Senior Software Engineer & Member, Management C

Re: [Dev] Jaggery object logging issue

2013-05-13 Thread Manuranga Perera
unlike in Java, obj+"" is not equivalent to obj.toString() here so can you check what happens if your do log.info(obj.toString()); ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] How to load RXT definitions for the first time

2013-05-13 Thread Senaka Fernando
Hi Ruchira, AFAIU, even before a user logs in, this should be loaded. I think its done so in AM, can you please check? Thanks, Senaka. On Tue, May 14, 2013 at 10:48 AM, Ruchira Wageesha wrote: > Hi, > > How can we achieve the $subject? i.e. At the moment RXT definitions are > loaded into the

[Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Ramith Jayasinghe
Hi, Its my pleasure to welcome Danushka Fernando as a WSO2 Commiter. He made excellent contributions towards making the Appfactory stable and worked on improving the performance. Danushka, welcome aboard and keep up the good work. regards -- Ramith Jayasinghe __

Re: [Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Gayan Dhanushka
+1 On Tue, May 14, 2013 at 11:35 AM, Ramith Jayasinghe wrote: > Hi, > Its my pleasure to welcome Danushka Fernando as a WSO2 Commiter. > He made excellent contributions towards making the Appfactory stable and > worked on improving the performance. > > Danushka, welcome aboard and keep up the

Re: [Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Gayan Dhanushka
Great congratz On Tue, May 14, 2013 at 11:41 AM, Gayan Dhanushka wrote: > +1 > > > On Tue, May 14, 2013 at 11:35 AM, Ramith Jayasinghe wrote: > >> Hi, >> Its my pleasure to welcome Danushka Fernando as a WSO2 Commiter. >> He made excellent contributions towards making the Appfactory stable an

Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Tharindu Mathew
Hi, Whoever did this change broke the build. Because, integration tests not running is breaking the build. In case I missed it, is there a mail saying there's a platform wide axis2 version change happening, and the products need to be checked? We are on the verge of a release, and this wasted a l

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Sumedha Rubasinghe
Nuwan, I think the problem is org.jaggeryjs.hostobjects.db.DatabaseHostObject.getValue(DatabaseHostObject.java:607). You should not try to read if the value is null. But rather set one back to response being returned. On Tue, May 14, 2013 at 10:47 AM, Nuwan Bandara wrote: > Hi, > > We might hav

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-13 Thread Nuwan Bandara
yap, fixed it Regards, /Nuwan On Tue, May 14, 2013 at 11:46 AM, Sumedha Rubasinghe wrote: > Nuwan, > I think the problem is > org.jaggeryjs.hostobjects.db.DatabaseHostObject.getValue(DatabaseHostObject.java:607). > You should not try to read if the value is null. But rather set one back > to re

[Dev] WSO2 Committers += Ravi Undupitiya

2013-05-13 Thread Miyuru Wanninayaka
Hi all, It's my pleasure to announce Ravi as a WSO2 committer. Ravi made a excellent contribution to WSO2 ESB. @Ravi, welcome abroad and keep up the good work! Cheers! -- Miyuru Wanninayaka Senior Software Engineer Member, Management Committee - Integration Technologies WSO2 Inc. : http://wso2.

Re: [Dev] WSO2 Committers += Ravi Undupitiya

2013-05-13 Thread Jeewantha Dharmaparakrama
+1. Congratz Ravi. On Tue, May 14, 2013 at 11:48 AM, Miyuru Wanninayaka wrote: > Hi all, > > It's my pleasure to announce Ravi as a WSO2 committer. Ravi made a > excellent contribution to WSO2 ESB. > > @Ravi, welcome abroad and keep up the good work! > > Cheers! > -- > Miyuru Wanninayaka > Senio

Re: [Dev] WSO2 Committers += Ravi Undupitiya

2013-05-13 Thread Mohanadarshan Vivekanandalingam
+1, Congrates Ravi... J On Tue, May 14, 2013 at 11:55 AM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > +1. Congratz Ravi. > > > On Tue, May 14, 2013 at 11:48 AM, Miyuru Wanninayaka wrote: > >> Hi all, >> >> It's my pleasure to announce Ravi as a WSO2 committer. Ravi made a >> excellen

Re: [Dev] WSO2 Committers += Ravi Undupitiya

2013-05-13 Thread Geeth Munasinghe
Congratz Ravi..! G. K. S. Munasinghe Software Engineer, WSO2, Inc. http://wso2.com lean.enterprise.middleware. email: ge...@wso2.com phone:(+94) 777911226 On Tue, May 14, 2013 at 11:55 AM, Jeewantha Dharmaparakrama wrote: > +1. Congratz Ravi. > > > On Tue, May 14, 2013 at 11:48 AM, Miyuru W

Re: [Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Lasantha Fernando
Congratulations Danushka!! On 14 May 2013 11:42, Gayan Dhanushka wrote: > Great congratz > > > On Tue, May 14, 2013 at 11:41 AM, Gayan Dhanushka wrote: > >> +1 >> >> >> On Tue, May 14, 2013 at 11:35 AM, Ramith Jayasinghe wrote: >> >>> Hi, >>> Its my pleasure to welcome Danushka Fernando as a W

[Dev] Inconsistent behavior of integrations tests

2013-05-13 Thread Tharindu Mathew
Hi, In the BAM integration test suite, there is a test which fails when the whole integration suite is run. See at [0]. But, when this test case is run individually, it succeeds. See [1] for details. This is reproducible. Why does this happen? How can we avoid this? [0] - Tests run: 18, Failu

Re: [Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Jeewantha Dharmaparakrama
Congratz!! On Tue, May 14, 2013 at 12:00 PM, Lasantha Fernando wrote: > Congratulations Danushka!! > > > On 14 May 2013 11:42, Gayan Dhanushka wrote: > >> Great congratz >> >> >> On Tue, May 14, 2013 at 11:41 AM, Gayan Dhanushka wrote: >> >>> +1 >>> >>> >>> On Tue, May 14, 2013 at 11:35 AM, Ram

Re: [Dev] WSO2 Committers += Danushka Fernando

2013-05-13 Thread Sivajothy Vanjikumaran
Congrats :) On Tue, May 14, 2013 at 12:03 PM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > Congratz!! > > > On Tue, May 14, 2013 at 12:00 PM, Lasantha Fernando wrote: > >> Congratulations Danushka!! >> >> >> On 14 May 2013 11:42, Gayan Dhanushka wrote: >> >>> Great congratz >>> >>>

Re: [Dev] Inconsistent behavior of integrations tests

2013-05-13 Thread Krishantha Samaraweera
There are so many reasons that could cause this behavior. Most probably test cases are inter dependent. As a convention changes done to BAM server should be wipe out at the end of each test case. You can verify what is really happening by setting a debug point in your test class and running the all