Re: [Carbon-dev] WSO2 Committers += Sinthuja Ragendran

2012-03-02 Thread Sinthuja Ragendran
Hi,

Thanks a lot.
It's a great privilege for me! I'll do my level best!

Thanks,
Sinthuja

On Fri, Mar 2, 2012 at 2:19 PM, Tharindu Mathew  wrote:

> Hi everyone,
>
> The Data MC has voted Sinthuja Ragendran has a committer. She has been an
> excellent contributor to the BAM work within the Data MC.
>
> Sinthuja, welcome aboard and keep up the good work!
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error building Stratos AS in trunk

2012-02-20 Thread Sinthuja Ragendran
Hi,

I'm looking into this.

Regards,
Sinthuja.

On Tue, Feb 21, 2012 at 12:56 PM, Muhammed Shariq  wrote:

> $Subject ..
>
> !ENTRY org.eclipse.equinox.p2.director 4 1 2012-02-21 12:11:07.252
> !MESSAGE Cannot complete the install because one or more required items
> could not be found.
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.252
> !MESSAGE Software being installed: WSO2 Carbon - BAM Service Statistics
> Data Publisher Feature 4.0.0.SNAPSHOT
> (org.wso2.carbon.bam.data.publisher.servicestats.feature.group
> 4.0.0.SNAPSHOT)
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.253
> !MESSAGE Missing requirement:
> org.wso2.carbon.bam.data.publisher.servicestats 4.0.0.SNAPSHOT
> (org.wso2.carbon.bam.data.publisher.servicestats 4.0.0.SNAPSHOT) requires
> 'package org.wso2.carbon.bam.lwevent.core 4.0.0.SNAPSHOT' but it could not
> be found
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-02-21 12:11:07.254
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.254
> !MESSAGE From: WSO2 Carbon - BAM Service Statistics Data Publisher Feature
> 4.0.0.SNAPSHOT
> (org.wso2.carbon.bam.data.publisher.servicestats.feature.group
> 4.0.0.SNAPSHOT)
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.255
> !MESSAGE To:
> org.wso2.carbon.bam.data.publisher.servicestats.server.feature.group
> [4.0.0.SNAPSHOT]
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-02-21 12:11:07.256
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.257
> !MESSAGE From: BAM Data Publisher Service Statistics Server Feature
> 4.0.0.SNAPSHOT
> (org.wso2.carbon.bam.data.publisher.servicestats.server.feature.group
> 4.0.0.SNAPSHOT)
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-02-21 12:11:07.257
> !MESSAGE To: org.wso2.carbon.bam.data.publisher.servicestats
> [4.0.0.SNAPSHOT]
>
>
> --
> Thanks,
> Shariq.
> Phone: +94 777 202 225
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Migrating to version 4.5.0 of JasperReports in the Reporting Component

2012-01-25 Thread Sinthuja Ragendran
Hi,

JasperReport is a third party product which we are using in the reporting
component. The current version embedded with reporting component is 3.7.1
and it is nearly obsolete now, there are many release afterwards with lot
of important improvements and bug fixes[1].

There are many things which can be done in a easier way in new release
4.5.0 than the older version 3.7.1. For an example, with the current
version if a user need to have a table format in the report, the design
should refer to drawing some rectangles. But in the newer release the
design could refer a table component () and have different
characteristics of columns in report. Likewise there are many improvements
such as better support for pdf, xls format of reports, customizing the
table and column properties, etc [1]. And also our current reporting
component allows the user to have his own report design, and with this
older version of jasper report the user will not be able to have most of
his requirement, need to face a difficulty in designing the report as
explained above.

The latest release is 4.5.0, and I think it will be great if we upgrade the
version to 4.5.0 and go ahead with the latest release. Furthermore, the
4.5.0 has backward compatibility with the current version 3.7.1, so I don't
think it'll break any code in reporting component.

Please give your suggestions.

[1] http://jasperforge.org/projects/jasperreports/tracker/changelog


Thanks.

Regards,
Sinthuja.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Sinthuja Ragendran
Hi,

For BAM, there are some important fixes that should go to trunk. Applied
the patch in JIRA  [1], [2], [3].

All failing tests are fixed and i checked locally in my machine. The
updated patch for the TestNG migration is attached on [4].


[1] https://wso2.org/jira/browse/CARBON-12184
[2] https://wso2.org/jira/browse/CARBON-12170
[3] https://wso2.org/jira/browse/CARBON-12172
[4] https://wso2.org/jira/browse/CARBON-12104


Regards,
Sinthuja.

On Fri, Jan 20, 2012 at 10:51 AM, KasunG Gajasinghe  wrote:

>
>
> On Fri, Jan 20, 2012 at 7:40 AM, Isuru Suriarachchi wrote:
>
>> From AS, KasunG has completed tests for all security scenarios and those
>> are already committed into trunk. Now he's working on RM, Secure RM
>> scenarios.
>
>
> Yes, thanks Isuru for the update. I've added a patch for Reliable
> Messaging just yesterday as well to jira issue [1]. Almost there for Secure
> RM.
>
> [1] https://wso2.org/jira/browse/CARBON-12243
>
> Thanks,
> --KasunG
>
>
>> Thanks,
>> ~Isuru
>>
>> On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azeez  wrote:
>>
>>>  Folks, how is this progressing? I didn't see many updates during the
>>> past couple of weeks. Some products are still being built without
>>> integration tests.
>>>
>>> --
>>> Afkham Azeez
>>> Sent from my phone
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead & Product Manager, WSO2 Application Server
>> WSO2 Inc. http://wso2.com
>> email : is...@wso2.com
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com
>
> ,
> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
> *blog: **http://blog.kasunbg.org* 
>
> *
> twitter: **http://twitter.com/kasunbg* 
>
> *
> *
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Requirement Analysis of Report generation for BAM2.0

2012-01-18 Thread Sinthuja Ragendran
Hi,

User need not to write the query. The query for BAM data will be done via
GUI tool such that the user could select what are the data he wants to have
in the report.
Further more according to the inputs given by the user, the jrxml file will
be edited on the fly and the BAM reporting backend component will gather
the data from cassendra database and send it to the reporting component to
fill the data in the report.

Thanks.

Regards,
Sinthuja.

On Thu, Jan 19, 2012 at 5:54 AM, Srinath Perera  wrote:

> Are we going to let  user define some query? since it is on BAM data
> how will it work?
>
> Other than that requirements look good to me
>
> --Srinath
>
> On Wed, Jan 18, 2012 at 6:00 PM, Sinthuja Ragendran 
> wrote:
> > Hi,
> >
> > I'm currently involved with report generation for BAM2.0. First of all I
> > would like to finalize the requirements for the report generation.
> >
> > After the discussion with BAM team, we have come up with following
> > requirements, that might be useful in the user point of view.
> >
> > Facility to select the type of report (Chart type, Table type, etc)
> > Facility to select the format of the report (pdf, excel sheet, etc)
> > Customizing the data which is supposed to be in the report (Eg: In the
> case
> > of chart type report, he need to give what are the data in the x-axis,
> > y-axis. In the case tabular format which data(request count, response
> count,
> > etc) should be reported, etc)
> > Facility to customize the time line of the report (ie, whether one
> > summarized report for whole year or separate reports for all 12 months)
> > Custom formating of report
> >
> > - Changing Logo
> > - Changing font style/colour, background color
> >
> > Automatic periodic report generation (ie, setting the date and time, so
> that
> > the report generation occurs automatically)
> > Facility to send the automatically generated reports to the given e-mail
> > addresses.
> > Interaction between the dashboard and the reports. For example a user
> would
> > want to create a report out of what he sees in his dashboard. (Not sure
> how
> > far this is feasible)
> >
> > Our plan is to make use of our WSO2 reporting component which uses
> > JasperReports[1]. To use this we should first create a generic report
> > template (.jrxml file) and save as default templates for defined report
> > types ( for creating report templates we can use iReport [2]), and then
> > according to the user preference changing the xml tags and attributes of
> the
> > .jrxml on the fly. Then the reporting component which uses jasperreport
> > library, will create the needful final report. Furthermore the data from
> the
> > cassendra database which is used by BAM2.0,  can be sent by beans format,
> > java collection maps, or xml for the data filling of report.
> >
> > Please share your thoughts on above.
> >
> > [1]
> >
> http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html
> >
> > [2]
> >
> http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=project&target=ireport
> >
> >
> >
> > Thanks.
> >
> > Regards,
> > Sinthuja.
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>http://www.cs.indiana.edu/~hperera/
>http://srinathsview.blogspot.com/
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Requirement Analysis of Report generation for BAM2.0

2012-01-18 Thread Sinthuja Ragendran
Hi,

I'm currently involved with report generation for BAM2.0. First of all I
would like to finalize the requirements for the report generation.

After the discussion with BAM team, we have come up with following
requirements, that might be useful in the user point of view.

   - Facility to select the type of report (Chart type, Table type, etc)
   - Facility to select the format of the report (pdf, excel sheet, etc)
   - Customizing the data which is supposed to be in the report (Eg: In the
   case of chart type report, he need to give what are the data in the x-axis,
   y-axis. In the case tabular format which data(request count, response
   count, etc) should be reported, etc)
   - Facility to customize the time line of the report (ie, whether one
   summarized report for whole year or separate reports for all 12 months)
   - Custom formating of report

- Changing Logo
- Changing font style/colour, background color

   - Automatic periodic report generation (ie, setting the date and time,
   so that the report generation occurs automatically)
   - Facility to send the automatically generated reports to the given
   e-mail addresses.
   - Interaction between the dashboard and the reports. For example a user
   would want to create a report out of what he sees in his dashboard. (Not
   sure how far this is feasible)

Our plan is to make use of our WSO2 reporting component which uses
JasperReports[1]. To use this we should first create a generic report
template (.jrxml file) and save as default templates for defined report
types ( for creating report templates we can use iReport [2]), and then
according to the user preference changing the xml tags and attributes of
the .jrxml on the fly. Then the reporting component which uses jasperreport
library, will create the needful final report. Furthermore the data from
the cassendra database which is used by BAM2.0,  can be sent by beans
format, java collection maps, or xml for the data filling of report.

Please share your thoughts on above.

[1]
http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html

[2]
http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=project&target=ireport




Thanks.

Regards,
Sinthuja.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] BAM server error due to data service

2012-01-04 Thread Sinthuja Ragendran
Hi,

The DS error is still coming out.

After taking svn up, there was an BAM exception which was occurring before
the point where DS exception occurred. But after fixing the BAM
exception,noticed again the same DS exception.

And still couldn't resolve this problem.

Please help me out to resolve this.

Regards,
Sinthuja.


On Wed, Jan 4, 2012 at 12:40 PM, Sinthuja Ragendran wrote:

> Hi,
>
> After taking svn up, the problem is solved.
>
> Thanks.
>
> Regards,
> Sinthuja.
>
>
> On Wed, Jan 4, 2012 at 12:03 PM, Prabath Abeysekera wrote:
>
>> Hi Tharindu,
>>
>> On Wed, Jan 4, 2012 at 10:30 AM, Tharindu Mathew wrote:
>>
>>> Hi Anjana/ Prabath,
>>>
>>> This problem came before and this was fixed in branch. Can you check
>>> whether the fixes are in trunk?
>>>
>>
>> We've checked the sources and there's no difference between the branch
>> and the trunk. So the fix seems to be there in the trunk as well.
>>
>>
>>>
>>>
>>> On Wed, Jan 4, 2012 at 10:22 AM, Sinthuja Ragendran 
>>> wrote:
>>>
>>>> Hi Prabath,
>>>>
>>>> I was able to access the wsdl file.
>>>>
>>>> Regards,
>>>> Sinthuja.
>>>>
>>>>
>>>> On Wed, Jan 4, 2012 at 8:48 AM, Prabath Abeysekera 
>>>> wrote:
>>>>
>>>>> Hi Sinthuja,
>>>>>
>>>>> On Tue, Jan 3, 2012 at 8:57 PM, Sinthuja Ragendran 
>>>>> wrote:
>>>>>
>>>>>> Hi Anjana,
>>>>>>
>>>>>> There is deployment message too, sorry for the confusion.
>>>>>> So hope data service is deployed correctly.
>>>>>>
>>>>>
>>>>> Generally you wouldn't experience this issue if the dataservice is
>>>>> properly deployed. Could you please check whether you can access the wsdl
>>>>> of the service as well? In the meantime I'll try to reproduce the issue 
>>>>> and
>>>>> see what's gone wrong.
>>>>>
>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Sinthuja.
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 3, 2012 at 8:49 PM, Sinthuja Ragendran >>>>> > wrote:
>>>>>>
>>>>>>> Hi Anjana,
>>>>>>>
>>>>>>> I checked deployment directory, dataservices is there. And all DS
>>>>>>> files are there including the BAMConfigurationDS.
>>>>>>>
>>>>>>> But there couldn't see any deployment messages related to data
>>>>>>> service.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sinthuja.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando wrote:
>>>>>>>
>>>>>>>> Hi Sinthuja,
>>>>>>>>
>>>>>>>> Check if the data service is indeed deployed first, first if it's
>>>>>>>> in the deployment directory properly, and if you get the deployment 
>>>>>>>> message
>>>>>>>> when the services are deploying.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Anjana.
>>>>>>>>
>>>>>>>> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran <
>>>>>>>> sinth...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm getting an error after starting up BAM server, seems it's
>>>>>>>>> coming from data services.
>>>>>>>>>
>>>>>>>>> This is the error trace is,
>>>>>>>>>
>>>>>>>>> [2012-01-03 16:25:20,742] ERROR
>>>>>>>>> {org.apache.axis2.engine.AxisEngine} -  The service cannot be found 
>>>>>>>>> for the
>>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>>>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>

Re: [Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi,

After taking svn up, the problem is solved.

Thanks.

Regards,
Sinthuja.

On Wed, Jan 4, 2012 at 12:03 PM, Prabath Abeysekera wrote:

> Hi Tharindu,
>
> On Wed, Jan 4, 2012 at 10:30 AM, Tharindu Mathew wrote:
>
>> Hi Anjana/ Prabath,
>>
>> This problem came before and this was fixed in branch. Can you check
>> whether the fixes are in trunk?
>>
>
> We've checked the sources and there's no difference between the branch and
> the trunk. So the fix seems to be there in the trunk as well.
>
>
>>
>>
>> On Wed, Jan 4, 2012 at 10:22 AM, Sinthuja Ragendran wrote:
>>
>>> Hi Prabath,
>>>
>>> I was able to access the wsdl file.
>>>
>>> Regards,
>>> Sinthuja.
>>>
>>>
>>> On Wed, Jan 4, 2012 at 8:48 AM, Prabath Abeysekera wrote:
>>>
>>>> Hi Sinthuja,
>>>>
>>>> On Tue, Jan 3, 2012 at 8:57 PM, Sinthuja Ragendran 
>>>> wrote:
>>>>
>>>>> Hi Anjana,
>>>>>
>>>>> There is deployment message too, sorry for the confusion.
>>>>> So hope data service is deployed correctly.
>>>>>
>>>>
>>>> Generally you wouldn't experience this issue if the dataservice is
>>>> properly deployed. Could you please check whether you can access the wsdl
>>>> of the service as well? In the meantime I'll try to reproduce the issue and
>>>> see what's gone wrong.
>>>>
>>>>
>>>>>
>>>>> Regards,
>>>>> Sinthuja.
>>>>>
>>>>>
>>>>> On Tue, Jan 3, 2012 at 8:49 PM, Sinthuja Ragendran 
>>>>> wrote:
>>>>>
>>>>>> Hi Anjana,
>>>>>>
>>>>>> I checked deployment directory, dataservices is there. And all DS
>>>>>> files are there including the BAMConfigurationDS.
>>>>>>
>>>>>> But there couldn't see any deployment messages related to data
>>>>>> service.
>>>>>>
>>>>>> Regards,
>>>>>> Sinthuja.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando wrote:
>>>>>>
>>>>>>> Hi Sinthuja,
>>>>>>>
>>>>>>> Check if the data service is indeed deployed first, first if it's in
>>>>>>> the deployment directory properly, and if you get the deployment message
>>>>>>> when the services are deploying.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Anjana.
>>>>>>>
>>>>>>> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran <
>>>>>>> sinth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm getting an error after starting up BAM server, seems it's
>>>>>>>> coming from data services.
>>>>>>>>
>>>>>>>> This is the error trace is,
>>>>>>>>
>>>>>>>> [2012-01-03 16:25:20,742] ERROR
>>>>>>>> {org.apache.axis2.engine.AxisEngine} -  The service cannot be found 
>>>>>>>> for the
>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>>>>>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>>>>>> at
>>>>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
>>>>>>>> at
>>>>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:79)
>>>>>>>> at
>>>>

Re: [Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi,

Nearly all the integration tests are failing due to this problem, and
therefore I'm stuck in continuing the integration tests of BAM.
I need to fix the issue ASAP.

Please help to solve this problem.

Regards,
Sinthuja.


On Wed, Jan 4, 2012 at 10:37 AM, Prabath Abeysekera wrote:

> Hi Tharindu,
>
> On Wed, Jan 4, 2012 at 10:30 AM, Tharindu Mathew wrote:
>
>> Hi Anjana/ Prabath,
>>
>> This problem came before and this was fixed in branch. Can you check
>> whether the fixes are in trunk?
>>
>
> Sure will check.
>
>
>>
>>
>> On Wed, Jan 4, 2012 at 10:22 AM, Sinthuja Ragendran wrote:
>>
>>> Hi Prabath,
>>>
>>> I was able to access the wsdl file.
>>>
>>> Regards,
>>> Sinthuja.
>>>
>>>
>>> On Wed, Jan 4, 2012 at 8:48 AM, Prabath Abeysekera wrote:
>>>
>>>> Hi Sinthuja,
>>>>
>>>> On Tue, Jan 3, 2012 at 8:57 PM, Sinthuja Ragendran 
>>>> wrote:
>>>>
>>>>> Hi Anjana,
>>>>>
>>>>> There is deployment message too, sorry for the confusion.
>>>>> So hope data service is deployed correctly.
>>>>>
>>>>
>>>> Generally you wouldn't experience this issue if the dataservice is
>>>> properly deployed. Could you please check whether you can access the wsdl
>>>> of the service as well? In the meantime I'll try to reproduce the issue and
>>>> see what's gone wrong.
>>>>
>>>>
>>>>>
>>>>> Regards,
>>>>> Sinthuja.
>>>>>
>>>>>
>>>>> On Tue, Jan 3, 2012 at 8:49 PM, Sinthuja Ragendran 
>>>>> wrote:
>>>>>
>>>>>> Hi Anjana,
>>>>>>
>>>>>> I checked deployment directory, dataservices is there. And all DS
>>>>>> files are there including the BAMConfigurationDS.
>>>>>>
>>>>>> But there couldn't see any deployment messages related to data
>>>>>> service.
>>>>>>
>>>>>> Regards,
>>>>>> Sinthuja.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando wrote:
>>>>>>
>>>>>>> Hi Sinthuja,
>>>>>>>
>>>>>>> Check if the data service is indeed deployed first, first if it's in
>>>>>>> the deployment directory properly, and if you get the deployment message
>>>>>>> when the services are deploying.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Anjana.
>>>>>>>
>>>>>>> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran <
>>>>>>> sinth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm getting an error after starting up BAM server, seems it's
>>>>>>>> coming from data services.
>>>>>>>>
>>>>>>>> This is the error trace is,
>>>>>>>>
>>>>>>>> [2012-01-03 16:25:20,742] ERROR
>>>>>>>> {org.apache.axis2.engine.AxisEngine} -  The service cannot be found 
>>>>>>>> for the
>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>>>>>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>>>>> at
>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>>>>>> at
>>>>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
>>>>>>>> at
>>>>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMess

Re: [Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi Prabath,

I was able to access the wsdl file.

Regards,
Sinthuja.

On Wed, Jan 4, 2012 at 8:48 AM, Prabath Abeysekera wrote:

> Hi Sinthuja,
>
> On Tue, Jan 3, 2012 at 8:57 PM, Sinthuja Ragendran wrote:
>
>> Hi Anjana,
>>
>> There is deployment message too, sorry for the confusion.
>> So hope data service is deployed correctly.
>>
>
> Generally you wouldn't experience this issue if the dataservice is
> properly deployed. Could you please check whether you can access the wsdl
> of the service as well? In the meantime I'll try to reproduce the issue and
> see what's gone wrong.
>
>
>>
>> Regards,
>> Sinthuja.
>>
>>
>> On Tue, Jan 3, 2012 at 8:49 PM, Sinthuja Ragendran wrote:
>>
>>> Hi Anjana,
>>>
>>> I checked deployment directory, dataservices is there. And all DS files
>>> are there including the BAMConfigurationDS.
>>>
>>> But there couldn't see any deployment messages related to data service.
>>>
>>> Regards,
>>> Sinthuja.
>>>
>>>
>>>
>>> On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando  wrote:
>>>
>>>> Hi Sinthuja,
>>>>
>>>> Check if the data service is indeed deployed first, first if it's in
>>>> the deployment directory properly, and if you get the deployment message
>>>> when the services are deploying.
>>>>
>>>> Cheers,
>>>> Anjana.
>>>>
>>>> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm getting an error after starting up BAM server, seems it's coming
>>>>> from data services.
>>>>>
>>>>> This is the error trace is,
>>>>>
>>>>> [2012-01-03 16:25:20,742] ERROR {org.apache.axis2.engine.AxisEngine}
>>>>> -  The service cannot be found for the endpoint reference (EPR)
>>>>> local://services/BAMConfigurationDS
>>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>>> endpoint reference (EPR) local://services/BAMConfigurationDS
>>>>> at
>>>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>>> at
>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
>>>>> at
>>>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:79)
>>>>> at
>>>>> org.apache.axis2.transport.local.LocalTransportSender.finalizeSendWithToAddress(LocalTransportSender.java:102)
>>>>> at
>>>>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>>>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
>>>>> at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
>>>>> at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>>>> at
>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>>>> at
>>>>> org.wso2.carbon.bam.services.stub.bamconfigurationds.BAMConfigurationDSStub.getServersForServerType(BAMConfigurationDSStub.java:6375)
>>>>> at
>>>>> org.wso2.carbon.bam.common.clients.BAMConfigurationDSClient.getServersforServerType(BAMConfigurationDSClient.java:152)
>>>>> at
>>>>> org.wso2.carbon.bam.core.persistence.BAMPersistenceManager.getMonitoredServersByType(BAMPersistenceManager.java:847)
>>>>> at
>>>>> org.wso2.carbon.bam.core.collector.DataCollector.run(DataCollector.java:66)
>>>>> at java.util.TimerThread.mainLoop(Timer.java:512)
>>>>> at java.util.TimerThread.run(Timer.java:462)
>>>>> [2012-01-03 16:25:20,744]  WARN
>>>>> {org.wso2.carbon.bam.core.collector.DataCollector} -  Error occurred while
>>>>> retrieving the server list for polling data
>>>>>
>>>>> Please guide me to solve this issue.
>&

Re: [Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi Anjana,

There is deployment message too, sorry for the confusion.
So hope data service is deployed correctly.

Regards,
Sinthuja.

On Tue, Jan 3, 2012 at 8:49 PM, Sinthuja Ragendran wrote:

> Hi Anjana,
>
> I checked deployment directory, dataservices is there. And all DS files
> are there including the BAMConfigurationDS.
>
> But there couldn't see any deployment messages related to data service.
>
> Regards,
> Sinthuja.
>
>
>
> On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando  wrote:
>
>> Hi Sinthuja,
>>
>> Check if the data service is indeed deployed first, first if it's in the
>> deployment directory properly, and if you get the deployment message when
>> the services are deploying.
>>
>> Cheers,
>> Anjana.
>>
>> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran wrote:
>>
>>> Hi,
>>>
>>> I'm getting an error after starting up BAM server, seems it's coming
>>> from data services.
>>>
>>> This is the error trace is,
>>>
>>> [2012-01-03 16:25:20,742] ERROR {org.apache.axis2.engine.AxisEngine} -
>>> The service cannot be found for the endpoint reference (EPR)
>>> local://services/BAMConfigurationDS
>>> org.apache.axis2.AxisFault: The service cannot be found for the endpoint
>>> reference (EPR) local://services/BAMConfigurationDS
>>> at
>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:79)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportSender.finalizeSendWithToAddress(LocalTransportSender.java:102)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>> at
>>> org.wso2.carbon.bam.services.stub.bamconfigurationds.BAMConfigurationDSStub.getServersForServerType(BAMConfigurationDSStub.java:6375)
>>> at
>>> org.wso2.carbon.bam.common.clients.BAMConfigurationDSClient.getServersforServerType(BAMConfigurationDSClient.java:152)
>>> at
>>> org.wso2.carbon.bam.core.persistence.BAMPersistenceManager.getMonitoredServersByType(BAMPersistenceManager.java:847)
>>> at
>>> org.wso2.carbon.bam.core.collector.DataCollector.run(DataCollector.java:66)
>>> at java.util.TimerThread.mainLoop(Timer.java:512)
>>> at java.util.TimerThread.run(Timer.java:462)
>>> [2012-01-03 16:25:20,744]  WARN
>>> {org.wso2.carbon.bam.core.collector.DataCollector} -  Error occurred while
>>> retrieving the server list for polling data
>>>
>>> Please guide me to solve this issue.
>>>
>>> Regards,
>>> Sinthuja.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Anjana Fernando*
>> Senior Software Engineer
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi Anjana,

I checked deployment directory, dataservices is there. And all DS files are
there including the BAMConfigurationDS.

But there couldn't see any deployment messages related to data service.

Regards,
Sinthuja.


On Tue, Jan 3, 2012 at 8:21 PM, Anjana Fernando  wrote:

> Hi Sinthuja,
>
> Check if the data service is indeed deployed first, first if it's in the
> deployment directory properly, and if you get the deployment message when
> the services are deploying.
>
> Cheers,
> Anjana.
>
> On Tue, Jan 3, 2012 at 4:34 PM, Sinthuja Ragendran wrote:
>
>> Hi,
>>
>> I'm getting an error after starting up BAM server, seems it's coming from
>> data services.
>>
>> This is the error trace is,
>>
>> [2012-01-03 16:25:20,742] ERROR {org.apache.axis2.engine.AxisEngine} -
>> The service cannot be found for the endpoint reference (EPR)
>> local://services/BAMConfigurationDS
>> org.apache.axis2.AxisFault: The service cannot be found for the endpoint
>> reference (EPR) local://services/BAMConfigurationDS
>> at
>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:79)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.finalizeSendWithToAddress(LocalTransportSender.java:102)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>> at
>> org.wso2.carbon.bam.services.stub.bamconfigurationds.BAMConfigurationDSStub.getServersForServerType(BAMConfigurationDSStub.java:6375)
>> at
>> org.wso2.carbon.bam.common.clients.BAMConfigurationDSClient.getServersforServerType(BAMConfigurationDSClient.java:152)
>> at
>> org.wso2.carbon.bam.core.persistence.BAMPersistenceManager.getMonitoredServersByType(BAMPersistenceManager.java:847)
>> at
>> org.wso2.carbon.bam.core.collector.DataCollector.run(DataCollector.java:66)
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>> [2012-01-03 16:25:20,744]  WARN
>> {org.wso2.carbon.bam.core.collector.DataCollector} -  Error occurred while
>> retrieving the server list for polling data
>>
>> Please guide me to solve this issue.
>>
>> Regards,
>> Sinthuja.
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Anjana Fernando*
> Senior Software Engineer
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] BAM server error due to data service

2012-01-03 Thread Sinthuja Ragendran
Hi,

I'm getting an error after starting up BAM server, seems it's coming from
data services.

This is the error trace is,

[2012-01-03 16:25:20,742] ERROR {org.apache.axis2.engine.AxisEngine} -  The
service cannot be found for the endpoint reference (EPR)
local://services/BAMConfigurationDS
org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) local://services/BAMConfigurationDS
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:166)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:79)
at
org.apache.axis2.transport.local.LocalTransportSender.finalizeSendWithToAddress(LocalTransportSender.java:102)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.bam.services.stub.bamconfigurationds.BAMConfigurationDSStub.getServersForServerType(BAMConfigurationDSStub.java:6375)
at
org.wso2.carbon.bam.common.clients.BAMConfigurationDSClient.getServersforServerType(BAMConfigurationDSClient.java:152)
at
org.wso2.carbon.bam.core.persistence.BAMPersistenceManager.getMonitoredServersByType(BAMPersistenceManager.java:847)
at
org.wso2.carbon.bam.core.collector.DataCollector.run(DataCollector.java:66)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
[2012-01-03 16:25:20,744]  WARN
{org.wso2.carbon.bam.core.collector.DataCollector} -  Error occurred while
retrieving the server list for polling data

Please guide me to solve this issue.

Regards,
Sinthuja.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] BAM integration test cases

2011-12-23 Thread Sinthuja Ragendran
I'll check on these, and update.

Thanks,
Sinthuja.

On Fri, Dec 23, 2011 at 7:29 PM, Afkham Azeez  wrote:

> These test cases need a lot of cleaning up. I saw many instances where
> there are log messages in place of proper assertions. Please carefully go
> through each & every test case, and make sure that there are proper
> assertions, where applicable. We also need test descriptions, Javadocs etc.
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Integration test team

2011-12-22 Thread Sinthuja Ragendran
Hi,

I have done the changes and updated the patch.

Patch attached, https://wso2.org/jira/browse/CARBON-12104.

Thanks,
Sinthuja.

On Thu, Dec 22, 2011 at 5:36 PM, Afkham Azeez  wrote:

> You have used the log & fail antipattern in many places. Please fix all of
> these places. Perhaps it existes already, but please fix it. Just throw the
> exceptions from the methods if those are not expected exceptions.
>
> Tharinud, please assist in fixing these test failures.
>
> public void login() throws Exception {
> +ClientConnectionUtil.waitForPort(9443);
> +String sessionCookie = util.login();
> + try {
> +initStubs(sessionCookie);
> +} catch (AxisFault axisFault) {
> +log.error("Error initializing service stubs. Not running
> tests.." + axisFault);
> +Assert.fail("Error initializing service stubs. Not running
> tests..");
> +    return;
> +}
> + }
>
> On Thu, Dec 22, 2011 at 5:29 PM, Sinthuja Ragendran wrote:
>
>> Hi,
>>
>> I have migrated the BAM integration test to TestNG. Patch is attached in
>> https://wso2.org/jira/browse/CARBON-12104
>>
>> Thanks,
>> Sinthuja.
>>
>>
>> On Thu, Dec 22, 2011 at 5:17 PM, Nuwan Dias  wrote:
>>
>>> Hi,
>>>
>>> Migrated some JUnit integration test cases to TestNG in the ESB. Patch
>>> attached at https://wso2.org/jira/browse/ESBJAVA-859.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>>
>>> On Thu, Dec 22, 2011 at 1:24 PM, Achala Aponso  wrote:
>>>
>>>>
>>>>
>>>> On Thu, Dec 22, 2011 at 1:18 PM, Afkham Azeez  wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, Dec 22, 2011 at 1:13 PM, Achala Aponso wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> No, i haven't committed the GS Tests to the trunk. but i committed
>>>>>> the existing MS test cases of branch to the trunk.
>>>>>>
>>>>>
>>>>> MS stuff needs to be migrated to TestNG I guess.
>>>>>
>>>>
>>>>
>>>>>  Yes , Maninda is working on it.
>>>>>
>>>>>>
>>>>>> On Thu, Dec 22, 2011 at 1:09 PM, Afkham Azeez  wrote:
>>>>>>
>>>>>>> Have you committed these changes to trunk?
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Dec 22, 2011 at 1:08 PM, Achala Aponso wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> GS has following Test modules
>>>>>>>> User Management
>>>>>>>> Gadgetrepo
>>>>>>>> Dashboard
>>>>>>>> Theme
>>>>>>>> OAuth
>>>>>>>>
>>>>>>>> I have migrated the Test cases of User Management( 10 Tests ) to
>>>>>>>> TestNG and the tests are passing. And also converted the 
>>>>>>>> GetGadgetListTest
>>>>>>>> of Gadgetrepo successfully ( 2 Tests). I have added 
>>>>>>>> LoginLogoutTestCase (1
>>>>>>>> Test) and SecurityVerificationTestCase (1 Test).
>>>>>>>>  Added the missing test cases of MS to the trunk and fixed the
>>>>>>>> issues.
>>>>>>>>
>>>>>>>> On Thu, Dec 22, 2011 at 11:31 AM, Subash Chaturanga <
>>>>>>>> sub...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> In GReg there are five integration test modules.
>>>>>>>>>
>>>>>>>>>   - app-remote-registry-test
>>>>>>>>>   - registry-metadata-test
>>>>>>>>>   - registry-handler-test
>>>>>>>>>   - registry-ws-api-test
>>>>>>>>>   - registry-resource-test
>>>>>>>>>
>>>>>>>>> I have added a new registry-integration-test module there and new
>>>>>>>>> TestNG stuff are there as separate packages.
>>>>>>>>> And there I have additionally added a LoginLogout test case and a
>>>>>>>>> SecurityVerification test case. Currently I have m

Re: [Carbon-dev] Integration test team

2011-12-22 Thread Sinthuja Ragendran
Hi,

I have migrated the BAM integration test to TestNG. Patch is attached in
https://wso2.org/jira/browse/CARBON-12104

Thanks,
Sinthuja.

On Thu, Dec 22, 2011 at 5:17 PM, Nuwan Dias  wrote:

> Hi,
>
> Migrated some JUnit integration test cases to TestNG in the ESB. Patch
> attached at https://wso2.org/jira/browse/ESBJAVA-859.
>
> Thanks,
> NuwanD.
>
>
> On Thu, Dec 22, 2011 at 1:24 PM, Achala Aponso  wrote:
>
>>
>>
>> On Thu, Dec 22, 2011 at 1:18 PM, Afkham Azeez  wrote:
>>
>>>
>>>
>>> On Thu, Dec 22, 2011 at 1:13 PM, Achala Aponso  wrote:
>>>
>>>> Hi,
>>>>
>>>> No, i haven't committed the GS Tests to the trunk. but i committed the
>>>> existing MS test cases of branch to the trunk.
>>>>
>>>
>>> MS stuff needs to be migrated to TestNG I guess.
>>>
>>
>>
>>>  Yes , Maninda is working on it.
>>>
>>>>
>>>> On Thu, Dec 22, 2011 at 1:09 PM, Afkham Azeez  wrote:
>>>>
>>>>> Have you committed these changes to trunk?
>>>>>
>>>>>
>>>>> On Thu, Dec 22, 2011 at 1:08 PM, Achala Aponso wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> GS has following Test modules
>>>>>> User Management
>>>>>> Gadgetrepo
>>>>>> Dashboard
>>>>>> Theme
>>>>>> OAuth
>>>>>>
>>>>>> I have migrated the Test cases of User Management( 10 Tests ) to
>>>>>> TestNG and the tests are passing. And also converted the 
>>>>>> GetGadgetListTest
>>>>>> of Gadgetrepo successfully ( 2 Tests). I have added LoginLogoutTestCase 
>>>>>> (1
>>>>>> Test) and SecurityVerificationTestCase (1 Test).
>>>>>>  Added the missing test cases of MS to the trunk and fixed the issues.
>>>>>>
>>>>>> On Thu, Dec 22, 2011 at 11:31 AM, Subash Chaturanga 
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>> In GReg there are five integration test modules.
>>>>>>>
>>>>>>>   - app-remote-registry-test
>>>>>>>   - registry-metadata-test
>>>>>>>   - registry-handler-test
>>>>>>>   - registry-ws-api-test
>>>>>>>   - registry-resource-test
>>>>>>>
>>>>>>> I have added a new registry-integration-test module there and new
>>>>>>> TestNG stuff are there as separate packages.
>>>>>>> And there I have additionally added a LoginLogout test case and a
>>>>>>> SecurityVerification test case. Currently I have migrated
>>>>>>> the registry-handler-test into TestNG and in the process of
>>>>>>> making registry-handler-test run all integration tests pass before move
>>>>>>> into others.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Dec 22, 2011 at 8:36 AM, Shelan Perera wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> We have completed DSS test migration to TestNg which included 45
>>>>>>>> tests.I am preparing the patch and will attach it to the JIRA.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Dec 22, 2011 at 8:13 AM, Sinthuja Ragendran <
>>>>>>>> sinth...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I have migrated the all existing test cases to TestNG, but most of
>>>>>>>>> the tests are failing due to the some issues in the existing test 
>>>>>>>>> cases,
>>>>>>>>> therefore fixing those one-by-one.
>>>>>>>>>
>>>>>>>>> The testing basically includes,
>>>>>>>>> - Login (1 Test)
>>>>>>>>> - Monitored Servers (3 Tests)
>>>>>>>>> - Data collection (4 Tests)
>>>>>>>>> - Summary Generation (1 Test)
>>>>>>>>> - Security Verifi

Re: [Carbon-dev] Integration test team

2011-12-21 Thread Sinthuja Ragendran
Hi,

I have migrated the all existing test cases to TestNG, but most of the
tests are failing due to the some issues in the existing test cases,
therefore fixing those one-by-one.

The testing basically includes,
- Login (1 Test)
- Monitored Servers (3 Tests)
- Data collection (4 Tests)
- Summary Generation (1 Test)
- Security Verification (1 Test)

Login, Summary Generation and adding server test in monitored sever tests
are passing, fixing the rest of the tests.

Thanks,
Sinthuja


On Wed, Dec 21, 2011 at 10:54 PM, Keheliya Gallaba wrote:

> Hi,
>
> Existing Integration tests in BPS consist of following modules.
> Login - (1 Test)
> Management - (5 Tests)
> BPEL - (8 Tests)
> Instance Cleanup - (1 Test)
> External Data sources - (1 Test)
> BPEL Security - (2 Tests)
>
> I have completed migrating Management tests, then added Login/Logout,
> SecurityVerifier tests. Hoping to complete rest of the migration within
> this week.
>
> BTW, since some of us are presenting papers in the ERU Research Symposium
> at UOM tomorrow at different time slots, I think it might be difficult to
> arrange a meeting tomorrow.
>
> Thanks,
> Keheliya
>
> On Wed, Dec 21, 2011 at 8:28 PM, Afkham Azeez  wrote:
>
>> We need to have a meeting tomorrow to check on the progress of the test
>> migration effort. I have so far received a patch from Suho with the CEP
>> migration & CEP integration tests are working fine now. How about the
>> others?
>>
>> On Fri, Dec 16, 2011 at 3:32 PM, Afkham Azeez  wrote:
>>
>>> The following team of people will be working on product integration
>>> testing over the next 3 working weeks. They will start working on this
>>> immediately. The objective is to improve the code coverage of all products.
>>> Nobody has been assigned from G-Reg & Carbon core.
>>>
>>> BPS - Keheliya
>>> BAM - Sinthuja
>>> DSS - Shelan and Lakmali
>>> Achala and Maninda will be working on GS and MS
>>> GS - Achala
>>> MS - Maninda
>>> CEP - Suhothayan
>>> BRS - Ishara
>>> AS - KasunG
>>> IS - Johann
>>> ESB - Nuwan and Ishan
>>> G-Reg - ?
>>> Carbon Core - ?
>>>
>>> *Plan for each product*
>>> 1. Spend up to one day learning TestNG
>>> 2. Migrate existing integration tests to TestNG. This has already been
>>> done for Carbon core, AS & BRS
>>> 3. Fix all failing integration tests
>>> 4. Add SecurityVerification test to each product
>>> 5. Identify the functional areas of each product & add integration tests
>>>
>>> *Best Practices*
>>> 1. No sysouts after running tests. Use assert statements.
>>> 2. Comments & test descriptions should be adde
>>> 3. Follow coding conventions
>>> 4. Do not follow the "Catch & Fail" antipattern [0]. If exceptions are
>>> expected, use the @ExpectedExceptions [1] annotation. Throw all unexpected
>>> exceptions from the test methods so that these tests result in errors, not
>>> failures.
>>>
>>> Team, please make this an opportunity to learn & master the art of unit
>>> & integration testing.
>>>
>>> Thanks
>>> Azeez
>>>
>>> 0.
>>> http://www.exubero.com/junit/antipatterns.html#Catching_Unexpected_Exceptions
>>> 1.
>>> http://testng.org/javadoc/org/testng/annotations/ExpectedExceptions.html
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * **
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* *
>>> twitter: **http://twitter.com/afkham_azeez*
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Keheliya Gallaba
> Software Engineer
> WSO2 Inc.
>
> E-mail: keheliya AT wso2.com
> M: +94 71 551 8881
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] List down the product builds which are compatible with maven3

2011-12-08 Thread Sinthuja Ragendran
Hi,

I could build the BAM in fresh machine, no issues.

Regards,
Sinthuja.

On Fri, Dec 9, 2011 at 12:06 AM, Tharindu Mathew  wrote:

> Thanks Shariq and Pradeeban...
>
> Regards,
>
> Tharindu
> Sent from Transformer
> On Dec 8, 2011 11:00 PM, "Kathiravelu Pradeeban" 
> wrote:
>
>> BAM builds fine with maven3, from r117220.
>>
>> On Thu, Dec 8, 2011 at 10:20 PM, Kathiravelu Pradeeban <
>> pradee...@wso2.com> wrote:
>>
>>>
>>>
>>> On Thu, Dec 8, 2011 at 9:49 PM, Muhammed Shariq  wrote:
>>>
 Hi Tharindu,

 I just tried building BAM since I have built upto features and got the
 following error, looks like an entry is missing in p2-profile pom ... Not
 an maven 3 issue, yet at least ...

>>>
>>> Fixed in revision 117208.
>>>

 !ENTRY org.eclipse.equinox.p2.director 4 1 2011-12-08 21:47:30.379
 !MESSAGE Cannot complete the install because one or more required items
 could not be found.
 !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-12-08 21:47:30.379
 !MESSAGE Software being installed: Data Service Hosting Core Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.dataservices.server.feature.group
 3.2.0.SNAPSHOT)
 !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-12-08 21:47:30.379
 !MESSAGE Missing requirement: Data Service Hosting Core Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.dataservices.server.feature.group
 3.2.0.SNAPSHOT) requires 'org.wso2.carbon.ntask.feature.group
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found


 On Thu, Dec 8, 2011 at 6:50 PM, Tharindu Mathew wrote:

> Sinthuja is building BAM... currently she is stuck with some issues at
> core level... BAM update should be in tomorrow...
>
>
> On Thu, Dec 8, 2011 at 6:12 PM, Kathiravelu Pradeeban <
> pradee...@wso2.com> wrote:
>
>> Now LB builds fine too.
>>
>> Thanks Pradeep.
>> Regards,
>> Pradeeban.
>>
>>
>> On Thu, Dec 8, 2011 at 5:48 PM, Shammi Jayasinghe wrote:
>>
>>> Hi,
>>>
>>>  MB is building fine with Maven 3
>>>
>>> Thanks
>>> Shammi
>>>
>>>
>>> On Thu, Dec 8, 2011 at 5:38 PM, Nuwan Bandara wrote:
>>>
 Hi,

 I was able to build GS and MS few weeks back from m3, didn't face
 any issues.

 Regards,
 /nuwan



 On Dec 8, 2011, at 4:47 PM, Muhammed Shariq 
 wrote:

 I just built Manager now on trunk (Maven 3 / using an old repo /
 without tests) ... Last time I built it the pack had some starup 
 issues,
 will check if those exist and sort the out accordingly ...

 On Thu, Dec 8, 2011 at 3:33 PM, Kathiravelu Pradeeban <
 pradee...@wso2.com> wrote:

> I was able to build Manager recently without any issue with maven3.
> I will work on fixing the load balancer profile, since that is
> outdated in trunk.
>
> Regards,
> Pradeeban.
>
>
> On Thu, Dec 8, 2011 at 3:29 PM, Thilina Buddhika <
> thili...@wso2.com> wrote:
>
>> IS can be built with Maven3 without any issue.
>>
>> Thanks,
>> Thilina
>>
>>
>> On Thu, Dec 8, 2011 at 3:14 PM, Suhothayan Sriskandarajah <
>> s...@wso2.com> wrote:
>>
>>>
>>> CEP can be built with maven 3
>>> I built revision 117070
>>>
>>> Regards
>>> Suho
>>>
>>>
>>> On Thu, Dec 8, 2011 at 3:09 PM, Waruna Ranasinghe <
>>> war...@wso2.com> wrote:
>>>
 BPS can be built with Maven 3.

 Thanks,
 Waruna

 On Thu, Dec 8, 2011 at 2:23 PM, Pradeep Fernando <
 prad...@wso2.com> wrote:

> Hi,
>
> correction: PMs or team member
>
> thanks,
> --Pradeep
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


 --

 -
 Waruna Ranasinghe
 Senior Software Engineer, WSO2

 Mobile: SL +94 724 318285
 BLOG: http://warunapw.blogspot.com

 www.wso2.com - "Lean . Enterprise . Middleware"

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


>>>
>>> ___

[Carbon-dev] Compilation error on building trunk/core

2011-12-08 Thread Sinthuja Ragendran
Hi,

I have a problem in building the carbon core.
I'm getting a compilation error in the WSO2 Carbon - Directory Server.

The below given is the error I'm getting;

INFO] WSO2 Carbon - Addressing .. SUCCESS [0.119s]
[INFO] WSO2 Carbon - Directory Server  FAILURE [0.959s]
[INFO] WSO2 Carbon - Feature Manager Web Services  SKIPPED
[INFO] WSO2 Carbon - Feature Manager UI .. SKIPPED
[INFO] WSO2 Carbon - Server-Roles Manager UI . SKIPPED
[INFO] WSO2 Carbon - Features  SKIPPED
[INFO] WSO2 Carbon - Carbon Common Feature ... SKIPPED
[INFO] WSO2 Carbon - Carbon Server Feature ... SKIPPED
[INFO] WSO2 Carbon - Carbon UI Feature ... SKIPPED
[INFO] WSO2 Carbon - Carbon Runtime Feature .. SKIPPED
[INFO] WSO2 Carbon - Carbon Feature .. SKIPPED
[INFO] WSO2 Carbon - Carbon P2 Profile ... SKIPPED
[INFO] WSO2 Carbon Core - Distribution ... SKIPPED
[INFO] WSO2 Carbon - Integration Tests ... SKIPPED
[INFO] WSO2 Carbon - Security Verification Service ... SKIPPED
[INFO] WSO2 Carbon - Integration Core  SKIPPED
[INFO] --
--
[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 6:17.497s
[INFO] Finished at: Thu Dec 08 15:10:02 IST 2011
[INFO] Final Memory: 290M/694M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
(default-compile) on project org.wso2.carbon.ldap.server: Compilation
failure: Compilation failure:
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[20,44]
package org.apache.directory.server.constants does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[29,27]
package org.apache.mina.util does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[30,39]
package org.apache.directory.server.xdbm does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[119,56]
cannot access org.apache.directory.server.core.entry.ServerEntryFactory
[ERROR] class file for
org.apache.directory.server.core.entry.ServerEntryFactory not found
[ERROR] if (directoryService != null && directoryService.isStarted()) {
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[198,26]
cannot find symbol
[ERROR] symbol  : variable ServerDNConstants
[ERROR] location: class
org.wso2.carbon.apacheds.impl.CarbonDirectoryServiceFactory
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheLDAPServer.java:[124,27]
cannot access
org.apache.directory.server.protocol.shared.DirectoryBackedService
[ERROR] class file for
org.apache.directory.server.protocol.shared.DirectoryBackedService not found
[ERROR] this.ldapServer.start();
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheLDAPServer.java:[375,23]
cannot find symbol
[ERROR] symbol  : method
setTransports(org.apache.directory.server.protocol.shared.transport.TcpTransport)
[ERROR] location: class org.apache.directory.server.ldap.LdapServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[90,22]
cannot find symbol
[ERROR] symbol  : method setServiceName(java.lang.String)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[95,22]
cannot find symbol
[ERROR] symbol  : method setSearchBaseDn(java.lang.String)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[108,22]
cannot find symbol
[ERROR] symbol  : method
setDirectoryService(org.apache.directory.server.core.DirectoryService)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[293,29]
cannot find symbol
[ERROR]