Re: [Carbon-dev] Test Failures in Service-mgt BE Component

2011-03-01 Thread Isuru Suriarachchi
SupunM, can you please look into this and fix?

Thanks,
~Isuru

On Mon, Feb 28, 2011 at 5:09 PM, Sameera Jayasoma  wrote:

> Please check the errors attached text file.
>
> Thanks
> Sameera
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> ___
> 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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] XACML 2.0 Conformance Tests

2011-03-01 Thread Afkham Azeez
Why can't these cases go into the IS product in the Carbon trunk? We have
plans to move the test framework into the mainstream codebase anyway.


On Tue, Mar 1, 2011 at 10:47 AM, Charitha Kankanamge wrote:

>
> Hi Prabath,
>
> This will be included in IS admin test framework which will be commenced
> soon.
>
> Regards
> Charitha
>
>
> On Tue, Mar 1, 2011 at 9:47 AM, Prabath Siriwardana wrote:
>
>> Great..! Also I guess we can easily automate these tests. The confirmation
>> test suite comes with a set of predefined requests and responses in XML. IS
>> XACML engine has an admin service API which accepts the requests and returns
>> back the response. So lets try to automate this...
>>
>> Thanks & regards,
>> -Prabath
>>
>>
>> On Tue, Mar 1, 2011 at 9:43 AM, Pavithra Madurangi wrote:
>>
>>> Hi Prabath,
>>>
>>> Added them to IS test cases.
>>>
>>> Regards,
>>> Pavithra
>>>
>>>  On Mon, Feb 28, 2011 at 10:33 PM, Prabath Siriwardana >> > wrote:
>>>
 Hi Charitha,

 Please add [1] to the IS test cases...

 --
 Thanks & Regards,
 Prabath

 [1]:
 http://www.oasis-open.org/committees/download.php/14846/xacml2.0-ct-v.0.4.zip
 
 [2]: https://wso2.org/jira/browse/CARBON-6861

 http://blog.facilelogin.com
 http://RampartFAQ.com

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


>>>
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.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
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] XACML 2.0 Conformance Tests

2011-03-01 Thread Prabath Siriwardana
On Tue, Mar 1, 2011 at 1:40 PM, Afkham Azeez  wrote:

> Why can't these cases go into the IS product in the Carbon trunk? We have
> plans to move the test framework into the mainstream codebase anyway.


+1

Thanks & regards,
-Prabath

>
>
> On Tue, Mar 1, 2011 at 10:47 AM, Charitha Kankanamge wrote:
>
>>
>> Hi Prabath,
>>
>> This will be included in IS admin test framework which will be commenced
>> soon.
>>
>> Regards
>> Charitha
>>
>>
>> On Tue, Mar 1, 2011 at 9:47 AM, Prabath Siriwardana wrote:
>>
>>> Great..! Also I guess we can easily automate these tests. The
>>> confirmation test suite comes with a set of predefined requests and
>>> responses in XML. IS XACML engine has an admin service API which accepts the
>>> requests and returns back the response. So lets try to automate this...
>>>
>>> Thanks & regards,
>>> -Prabath
>>>
>>>
>>> On Tue, Mar 1, 2011 at 9:43 AM, Pavithra Madurangi wrote:
>>>
 Hi Prabath,

 Added them to IS test cases.

 Regards,
 Pavithra

  On Mon, Feb 28, 2011 at 10:33 PM, Prabath Siriwardana <
 prab...@wso2.com> wrote:

> Hi Charitha,
>
> Please add [1] to the IS test cases...
>
> --
> Thanks & Regards,
> Prabath
>
> [1]:
> http://www.oasis-open.org/committees/download.php/14846/xacml2.0-ct-v.0.4.zip
> 
> [2]: https://wso2.org/jira/browse/CARBON-6861
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Prabath
>>>
>>>
>>> http://blog.facilelogin.com
>>> http://RampartFAQ.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
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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
>
>


-- 
Thanks & Regards,
Prabath

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


Re: [Carbon-dev] Test Failures in Service-mgt BE Component

2011-03-01 Thread Supun Malinga
On Tue, Mar 1, 2011 at 1:39 PM, Isuru Suriarachchi  wrote:

> SupunM, can you please look into this and fix?
>
noted.

thanks,

>
> Thanks,
> ~Isuru
>
> On Mon, Feb 28, 2011 at 5:09 PM, Sameera Jayasoma wrote:
>
>> Please check the errors attached text file.
>>
>> Thanks
>> Sameera
>>
>> --
>> Sameera Jayasoma
>> Technical Lead and Product Manager, WSO2 Carbon
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> 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
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Do we really want people to build dependencies?

2011-03-01 Thread Samisa Abeysinghe
On Tue, Mar 1, 2011 at 1:08 PM, Afkham Azeez  wrote:

>
>
> On Wed, Feb 23, 2011 at 6:12 AM, Samisa Abeysinghe wrote:
>
>> As part of the improvements to the build of svn trunk, why not consider
>> separating out dependencies build?
>>
>> 1. Dependencies do not change too often
>>
>
> All dependencies cannot be omitted since some of those are SNAPSHOTs.
> However, if we make it a point to upload the SNAPSHOTs to the SNAPSHOT repo,
> we can do away with building these.
>

We really need to move away from the idea of using bleeding edge
for dependencies.
And yes, we should always upload to the snapshot repo.

So the idea is:
Whoever who change any of the dependencies should build and upload both
the dependency and the related orbits to snapshot repo.


>
>> 2. It takes loads of time to build all dependencies with all tests etc.
>>
>> So build and push dependencies into snapshot repos, and always build
>> Carbon from Orbit.
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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*
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Continuous builds will run with tests from now on

2011-03-01 Thread Samisa Abeysinghe
$subject

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Do we really want people to build dependencies?

2011-03-01 Thread Danushka Menikkumbura
>
> We really need to move away from the idea of using bleeding edge
> for dependencies.
> And yes, we should always upload to the snapshot repo.
>
> So the idea is:
> Whoever who change any of the dependencies should build and upload both
> the dependency and the related orbits to snapshot repo.
>

+1

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


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Chamara Silva
Please review jar-list and let us know if we need to do any changes.

Regads,
Chamara

On Tue, Mar 1, 2011 at 1:47 PM, Thilini Ishaka  wrote:

>
> Hi All,
>
> We have found that the G-Reg test coverage in Automated Test Framework is
> *47%*. Please refer the attached EMMA coverage report.
> The jar list is also attached herewith. We have filtered only the necessary
> jars and removed unwanted from the jarlist.
>
>
> Thanks
>
> Regards,
>
> --
> Thilini Ishaka
> email: thil...@wso2.com
> mobile: +94 718408171
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Charitha Kankanamge
Senaka and G-reg team,

Could you please go through this report and check whether the coverage
figures are valid? We have excluded all *.ui bundles since we are not
invoking BE methods  through admin service test framework.

Regards
Charitha

On Tue, Mar 1, 2011 at 2:43 PM, Chamara Silva  wrote:

> Please review jar-list and let us know if we need to do any changes.
>
> Regads,
> Chamara
>
> On Tue, Mar 1, 2011 at 1:47 PM, Thilini Ishaka  wrote:
>
>>
>> Hi All,
>>
>> We have found that the G-Reg test coverage in Automated Test Framework is
>> *47%*. Please refer the attached EMMA coverage report.
>> The jar list is also attached herewith. We have filtered only the
>> necessary jars and removed unwanted from the jarlist.
>>
>>
>> Thanks
>>
>> Regards,
>>
>> --
>> Thilini Ishaka
>> email: thil...@wso2.com
>> mobile: +94 718408171
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Suminda Chamara Silva
> WSO2 Inc.
> Mobile: +94 718 302858
> blog: http://chamaras.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


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Charitha Kankanamge
Correction: "We have excluded all *.ui bundles since we are invoking only
the BE methods through admin service test framework"


On Tue, Mar 1, 2011 at 2:47 PM, Charitha Kankanamge wrote:

> Senaka and G-reg team,
>
> Could you please go through this report and check whether the coverage
> figures are valid? We have excluded all *.ui bundles since we are not
> invoking BE methods  through admin service test framework.
>
> Regards
> Charitha
>
> On Tue, Mar 1, 2011 at 2:43 PM, Chamara Silva  wrote:
>
>> Please review jar-list and let us know if we need to do any changes.
>>
>> Regads,
>> Chamara
>>
>> On Tue, Mar 1, 2011 at 1:47 PM, Thilini Ishaka  wrote:
>>
>>>
>>> Hi All,
>>>
>>> We have found that the G-Reg test coverage in Automated Test Framework is
>>> *47%*. Please refer the attached EMMA coverage report.
>>> The jar list is also attached herewith. We have filtered only the
>>> necessary jars and removed unwanted from the jarlist.
>>>
>>>
>>> Thanks
>>>
>>> Regards,
>>>
>>> --
>>> Thilini Ishaka
>>> email: thil...@wso2.com
>>> mobile: +94 718408171
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Suminda Chamara Silva
>> WSO2 Inc.
>> Mobile: +94 718 302858
>> blog: http://chamaras.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


Re: [Carbon-dev] Adding CSG agent's service publish option to service mgt UI

2011-03-01 Thread Afkham Azeez
Overall looks good.

There are minor styling issues. Also, can you display the published server
info, perhaps with a link to get more info?

On Tue, Mar 1, 2011 at 2:52 PM, Rajika Kumarasiri  wrote:

> I have attached 3 screen shots which describes the new menu addition to
> service-mgt UI. You can see the CSG specific menu under "Specific
> Configuration" menu.
>
> Rajika
>
> On Fri, Feb 25, 2011 at 10:58 AM, Rajika Kumarasiri wrote:
>
>> Once the CSG agent is installed in AS, a user can expose his private
>> service to public using the publish service option. In the last version of
>> CSG there was a separate UI to list the existing services and to publish
>> services. But I think we can use the existing service management UI
>> extending to have a "Publish To Cloud" option to publish the service to CSG
>> server.  This is the way we have done when displaying the additional
>> parameters in a proxy service in service management UI.
>>
>> I'll share a initial screen shot at its early stage for review once done.
>>
>> Rajika
>>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Chamara Silva
Suggestion : Better if we can finalized separated predefined jar list for
every product.

regards,
Chamara

On Tue, Mar 1, 2011 at 2:49 PM, Charitha Kankanamge wrote:

>
> Correction: "We have excluded all *.ui bundles since we are invoking only
> the BE methods through admin service test framework"
>
>
>
> On Tue, Mar 1, 2011 at 2:47 PM, Charitha Kankanamge wrote:
>
>> Senaka and G-reg team,
>>
>> Could you please go through this report and check whether the coverage
>> figures are valid? We have excluded all *.ui bundles since we are not
>> invoking BE methods  through admin service test framework.
>>
>> Regards
>> Charitha
>>
>> On Tue, Mar 1, 2011 at 2:43 PM, Chamara Silva  wrote:
>>
>>> Please review jar-list and let us know if we need to do any changes.
>>>
>>> Regads,
>>> Chamara
>>>
>>> On Tue, Mar 1, 2011 at 1:47 PM, Thilini Ishaka  wrote:
>>>

 Hi All,

 We have found that the G-Reg test coverage in Automated Test Framework
 is *47%*. Please refer the attached EMMA coverage report.
 The jar list is also attached herewith. We have filtered only the
 necessary jars and removed unwanted from the jarlist.


 Thanks

 Regards,

 --
 Thilini Ishaka
 email: thil...@wso2.com
 mobile: <%2B94%20718408171>+94 718408171


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


>>>
>>>
>>> --
>>> Suminda Chamara Silva
>>> WSO2 Inc.
>>> Mobile: +94 718 302858
>>> blog: http://chamaras.blogspot.com
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>


-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Architecture] App Server 4.0.0 and Data Services????

2011-03-01 Thread Isuru Suriarachchi
Hi Iskael,

Our last Carbon release was 3.1.0 and the AppServer version which was
released on top of that was 4.0.0. But I think we didn't release Data
Services on top of Carbon 3.1.0. That's why you can't find data services in
3.1.0 p2 repo. Please try to use [1] which is the Carbon 3.0.0 p2
repository.

Sameera, should it work with Carbon 3.1.0?

Thanks,
~Isuru

[1] http://dist.wso2.org/p2/carbon/releases/3.0.0/

On Sun, Feb 27, 2011 at 6:21 AM, Ing. Iskael Diaz Marquez
wrote:

> Hi all, up to the WSAS 3.2.1 I used data services as features of WSAS. Now
> I installed Appserver 4.0.0 and I want to keep using this funtionality. I
> installed features from http://dist.wso2.org/p2/carbon/releases/3.1.0 but
> there I didn't find the dataservices features.
>
> Where do I find these features?
>
> Thanks,
> Iskael
>
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding CSG agent's service publish option to service mgt UI

2011-03-01 Thread Afkham Azeez
What I meant was in the Service Info page, CSG section, once a service is
published to a particular CSG Server, you can display the CSG server name,
and then provide a link to that CSG server page.


On Tue, Mar 1, 2011 at 3:10 PM, Rajika Kumarasiri  wrote:

>
>
> On Tue, Mar 1, 2011 at 2:55 PM, Afkham Azeez  wrote:
>
>> Overall looks good.
>>
>> There are minor styling issues.
>>
>
> What are they ?
>
>
>>  Also, can you display the published server info, perhaps with a link to
>> get more info?
>>
>
> Doesn't that particular UI suggest that we are trying to publish a service
> into a CSG server not trying to display a CSG server info ?
>
> Managing the list of CSG servers has it own menu. You can see it by
> clicking the CSG Agent menu in Configuration section. I have also attached
> screen shots.
>
> Rajika
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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


[Carbon-dev] Deprecating ADMIN_LOGGED_IN and ADMIN_USERNAME from ServerConstants

2011-03-01 Thread Prabath Siriwardana
How about the $subject..? This creates lots of confusion..

How about replacing those with USER_LOGGED_IN and LOGGED_IN_USERNAME ?

-- 
Thanks & Regards,
Prabath

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


Re: [Carbon-dev] Deprecating ADMIN_LOGGED_IN and ADMIN_USERNAME from ServerConstants

2011-03-01 Thread Afkham Azeez
Don't deprecate. Just do a grep and rename those in the entire codebase. It
is only us who are using these.


On Tue, Mar 1, 2011 at 3:37 PM, Prabath Siriwardana wrote:

> How about the $subject..? This creates lots of confusion..
>
> How about replacing those with USER_LOGGED_IN and LOGGED_IN_USERNAME ?
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] Deprecating ADMIN_LOGGED_IN and ADMIN_USERNAME from ServerConstants

2011-03-01 Thread Afkham Azeez
Also, we don't need two constants. If the LOGGED_IN_USERNAME is not null,
that means a legitimate user has logged in.

Azeez

On Tue, Mar 1, 2011 at 3:37 PM, Prabath Siriwardana wrote:

> How about the $subject..? This creates lots of confusion..
>
> How about replacing those with USER_LOGGED_IN and LOGGED_IN_USERNAME ?
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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


[Carbon-dev] Remember Me error when first logging in

2011-03-01 Thread Afkham Azeez
Now, when I first log in after building a new Carbon core server, I am
getting this error. Also note the spelling mistake "preseting" instead of
"presenting". Also, a gramatical error - non existing => non-existent


[2011-03-01 16:09:27,412] ERROR
{org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager} -  Non existing user
preseting a RememberMe token
[2011-03-01 16:09:27,415] ERROR
{org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  Error
while Authenticating/Authorizing User : Non existing user preseting a
RememberMe token
org.wso2.carbon.user.core.UserStoreException: Non existing user preseting a
RememberMe token
at
org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.isValidRememberMeToken(JDBCUserStoreManager.java:1724)
 at
org.wso2.carbon.user.core.ldap.LDAPUserStoreManager.isValidRememberMeToken(LDAPUserStoreManager.java:790)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.isValidRememberMe(AuthenticationAdmin.java:159)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:205)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:388)
 at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1569)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] Remember Me error when first logging in

2011-03-01 Thread Afkham Azeez
If the "Remember Me" token is invalid, you must just send them to the login
page. There is no need to even print a stacktrace.


On Tue, Mar 1, 2011 at 4:13 PM, Afkham Azeez  wrote:

> Now, when I first log in after building a new Carbon core server, I am
> getting this error. Also note the spelling mistake "preseting" instead of
> "presenting". Also, a gramatical error - non existing => non-existent
>
>
> [2011-03-01 16:09:27,412] ERROR
> {org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager} -  Non existing user
> preseting a RememberMe token
> [2011-03-01 16:09:27,415] ERROR
> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  Error
> while Authenticating/Authorizing User : Non existing user preseting a
> RememberMe token
> org.wso2.carbon.user.core.UserStoreException: Non existing user preseting a
> RememberMe token
> at
> org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.isValidRememberMeToken(JDBCUserStoreManager.java:1724)
>  at
> org.wso2.carbon.user.core.ldap.LDAPUserStoreManager.isValidRememberMeToken(LDAPUserStoreManager.java:790)
> at
> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.isValidRememberMe(AuthenticationAdmin.java:159)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
>  at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>  at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>  at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
> at
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>  at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>  at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>  at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>  at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:205)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
> at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:388)
>  at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1569)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>  at java.lang.Thread.run(Thread.java:680)
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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*
Senior Software Architect & Senior Manager; 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* 

Re: [Carbon-dev] Remember Me error when first logging in

2011-03-01 Thread Dimuthu Leelarathne
Hi,

On Tue, Mar 1, 2011 at 4:20 PM, Afkham Azeez  wrote:

> If the "Remember Me" token is invalid, you must just send them to the login
> page. There is no need to even print a stacktrace.
>
>
+1

tx,
dimuthu


>
> On Tue, Mar 1, 2011 at 4:13 PM, Afkham Azeez  wrote:
>
>> Now, when I first log in after building a new Carbon core server, I am
>> getting this error. Also note the spelling mistake "preseting" instead of
>> "presenting". Also, a gramatical error - non existing => non-existent
>>
>>
>> [2011-03-01 16:09:27,412] ERROR
>> {org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager} -  Non existing user
>> preseting a RememberMe token
>> [2011-03-01 16:09:27,415] ERROR
>> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  Error
>> while Authenticating/Authorizing User : Non existing user preseting a
>> RememberMe token
>> org.wso2.carbon.user.core.UserStoreException: Non existing user preseting
>> a RememberMe token
>> at
>> org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.isValidRememberMeToken(JDBCUserStoreManager.java:1724)
>>  at
>> org.wso2.carbon.user.core.ldap.LDAPUserStoreManager.isValidRememberMeToken(LDAPUserStoreManager.java:790)
>> at
>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.isValidRememberMe(AuthenticationAdmin.java:159)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>> at
>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>  at
>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
>> at
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>  at
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>> at
>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>  at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>  at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:205)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>  at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
>> at
>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:388)
>>  at
>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
>> at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1569)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>  at java.lang.Thread.run(Thread.java:680)
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; 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*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com

Re: [Carbon-dev] Adding CSG agent's service publish option to service mgt UI

2011-03-01 Thread Srinath Perera
Hi Rajika,

+1 this looks very good. One comment, IMO we need another view as well
to manage the current CSG servers. Basically, list, remove, and
connect to those servers. It is also OK to keep the add server link as
well.

Thanks
Srinath

On Tue, Mar 1, 2011 at 2:52 PM, Rajika Kumarasiri  wrote:
> I have attached 3 screen shots which describes the new menu addition to
> service-mgt UI. You can see the CSG specific menu under "Specific
> Configuration" menu.
>
> Rajika
>
> On Fri, Feb 25, 2011 at 10:58 AM, Rajika Kumarasiri  wrote:
>>
>> Once the CSG agent is installed in AS, a user can expose his private
>> service to public using the publish service option. In the last version of
>> CSG there was a separate UI to list the existing services and to publish
>> services. But I think we can use the existing service management UI
>> extending to have a "Publish To Cloud" option to publish the service to CSG
>> server.  This is the way we have done when displaying the additional
>> parameters in a proxy service in service management UI.
>>
>> I'll share a initial screen shot at its early stage for review once done.
>>
>> Rajika
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>



-- 

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Lecturer, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED /home/carbon/stratos/carbon/products/bps"

2011-03-01 Thread WSO2 Builder
[INFO] Generation completed with success [4 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
[INFO] Running Equinox P2 Director Application
[INFO] Installing org.wso2.carbon.logging.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.bpel.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.system.statistics.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.soaptracer.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.security.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.service.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.transport.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.message.flows.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.xkms.mgt.server.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sts.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.common.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.datasource.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.bps.styles.feature.group 2.0.3.SNAPSHOT.
[INFO] Installing org.wso2.bps.samples.utils.feature.group 2.0.3.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.mgt.bpel.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.deployer.bpel.feature.group 
3.2.0.SNAPSHOT.
[ERROR] An error occurred while configuring the installed items
[ERROR]  session context was:(profile=WSO2CarbonProfile, 
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Configure, 
operand=null --> [R]org.wso2.carbon.bpel.server.feature.group 3.2.0.SNAPSHOT, 
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
[ERROR]  I/O Error while copying 
/home/carbon/stratos/carbon/products/bps/modules/p2-profile-gen/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/jpadb.h2.db
 - see details.
[ERROR] Caused by:  java.io.IOException: Source: 
/home/carbon/stratos/carbon/products/bps/modules/p2-profile-gen/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/jpadb.h2.dbdoes
 not exists
[ERROR] Application failed, log file location: 
/home/carbon/stratos/carbon/products/bps/modules/p2-profile-gen/target/p2-agent/configuration/1298976478903.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 15 seconds
[INFO] Finished at: Tue Mar 01 16:18:19 IST 2011
[INFO] Final Memory: 137M/1276M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Continuous Build was SUCCESSFUL"

2011-03-01 Thread WSO2 Builder
[INFO] Extracting feature org.wso2.carbon:org.apache.synapse.wso2.feature
[INFO] Extracting feature 
org.wso2.carbon:org.apache.synapse.transport.nhttp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.mediation.configadmin.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.system.statistics.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.tryit.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.service.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.soaptracer.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.servicehosting.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.dataservices.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.jms.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mail.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.client.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
[INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
[INFO] Extracting feature org.wso2.governance:org.wso2.governance.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.styles.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.utils.feature
[INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.utils.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [28 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/features/repository/target/pom-transformed.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 57 seconds
[INFO] Finished at: Tue Mar 01 16:27:45 IST 2011
[INFO] Final Memory: 25M/981M
[INFO] 
2011-03-01_16-25-25
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $STRATOS_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test Failures in Service-mgt BE Component

2011-03-01 Thread Afkham Azeez
Root cause:

SEVERE: Derby database embedded driver is not available in the class path.
Could not create the database for the user manager.
java.lang.ClassNotFoundException: org.h2.Driver
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
 at
org.wso2.carbon.registry.core.jdbc.realm.InMemoryRealmService.setup(InMemoryRealmService.java:148)
at
org.wso2.carbon.registry.core.jdbc.realm.InMemoryRealmService.(InMemoryRealmService.java:63)
 at org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:58)
at
org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:52)
 at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
 at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
 at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
 at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)


On Mon, Feb 28, 2011 at 9:39 PM, Sameera Jayasoma  wrote:

> Please check the errors attached text file.
>
> Thanks
> Sameera
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] Adding CSG agent's service publish option to service mgt UI

2011-03-01 Thread Srinath Perera
Chatted with Rajika and figure that server management UI already
available through the CSG agent view.
--Srinath

On Tue, Mar 1, 2011 at 4:25 PM, Srinath Perera  wrote:
> Hi Rajika,
>
> +1 this looks very good. One comment, IMO we need another view as well
> to manage the current CSG servers. Basically, list, remove, and
> connect to those servers. It is also OK to keep the add server link as
> well.
>
> Thanks
> Srinath
>
> On Tue, Mar 1, 2011 at 2:52 PM, Rajika Kumarasiri  wrote:
>> I have attached 3 screen shots which describes the new menu addition to
>> service-mgt UI. You can see the CSG specific menu under "Specific
>> Configuration" menu.
>>
>> Rajika
>>
>> On Fri, Feb 25, 2011 at 10:58 AM, Rajika Kumarasiri  wrote:
>>>
>>> Once the CSG agent is installed in AS, a user can expose his private
>>> service to public using the publish service option. In the last version of
>>> CSG there was a separate UI to list the existing services and to publish
>>> services. But I think we can use the existing service management UI
>>> extending to have a "Publish To Cloud" option to publish the service to CSG
>>> server.  This is the way we have done when displaying the additional
>>> parameters in a proxy service in service management UI.
>>>
>>> I'll share a initial screen shot at its early stage for review once done.
>>>
>>> Rajika
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Lecturer, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>



-- 

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Lecturer, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test Failures in Service-mgt BE Component

2011-03-01 Thread Supun Malinga
I already added h2 driver to dependency. Now getting the following
exception.
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't
initialize EmbeddedRegistryService. Failed to add the root collection to the
coreRegistry.
at
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:628)
at
org.wso2.carbon.service.mgt.TestServiceAdmin.setUp(TestServiceAdmin.java:79)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to add the root collection to the coreRegistry.
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:374)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:268)
at
org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:206)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.(EmbeddedRegistryService.java:98)
at
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:624)
... 22 more
Caused by: java.lang.NullPointerException
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:61)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:144)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:337)
... 31 more
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to add the root collection to the coreRegistry.
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:374)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:268)
at
org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:206)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.(EmbeddedRegistryService.java:98)
at
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:624)
... 22 more
Caused by: java.lang.NullPointerException
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCP

Re: [Carbon-dev] Deprecating ADMIN_LOGGED_IN and ADMIN_USERNAME from ServerConstants

2011-03-01 Thread Amila Suriarachchi
On Tue, Mar 1, 2011 at 4:09 PM, Afkham Azeez  wrote:

> Also, we don't need two constants. If the LOGGED_IN_USERNAME is not null,
> that means a legitimate user has logged in.


+1

thanks,
Amila.

>
> Azeez
>
> On Tue, Mar 1, 2011 at 3:37 PM, Prabath Siriwardana wrote:
>
>> How about the $subject..? This creates lots of confusion..
>>
>> How about replacing those with USER_LOGGED_IN and LOGGED_IN_USERNAME ?
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Subscription to registry resources

2011-03-01 Thread Afkham Azeez
Danushka,
It is not the case that everybody uses the UI. In the RegistrySynchronizer
case, there is no UI at all and the tenants will subscribe to a portion of
their deployment hierarchy.

Also, this model was not only intended for Registry Eventing. This is a way
to refer to a resource hierarchy in the registry. Sanjiva pointed out that
we can have a powerful XQuery based querying mechanism if we can support
such a syntax.

Azeez

On Tue, Mar 1, 2011 at 11:21 AM, Danushka Menikkumbura wrote:

> Sorry for the late reply ... was on the daily support call.
>
> So why do we need XPath here?. I thought the requirement was to have a
> "Subscribe" button next to each resource that allows users to subscribe to
> that particular resource. We can have a "Include descendents" check box to
> include everything underneath. Subscribing to corresponding Event topic
> should be done behind the scene.
>
> Thanks,
> Danushka
>
> On Mon, Feb 28, 2011 at 8:56 PM, Afkham Azeez  wrote:
>
>> During a discussion today, we (Sanjiva, Asanka, Srinath & I) thought that
>> it will be a good idea to use XPath-like syntax for selecting how to
>> subscribe to Registry resource paths. We could support only some simple
>> scenarios, and not the entire XPath syntax. Let me explain with an example.
>>
>> The RegistrySynchronizer needs to be notified when deployable artifacts
>> are changed in the Registry. Let's say these artifacts are stored in
>> the _system/config/deployment/*server/* path. Shown below is how the
>> HelloService.aar is stored.
>>
>> /_system/config/deployment/*
>> server/service-groups/foo/bar/HelloService.aar*
>>
>> These are the different way in which we can subscribe to different parts
>> of this hierarchy.
>>
>> 1. /_system/config/deployment/server
>> Selects *server* resource only [1]
>>
>> 2. /_system/config/deployment/server/descendant::*
>> Selects descendants of *server* only, does not select *server. *Selected
>> elements wil be server, service-groups, foo, bar, and HelloService.aar [1]
>>
>> 3. /_system/config/deployment/server/descendant-or-self::*
>> Selects *server* and descendants. Selected elements wil be server,
>> service-groups, foo, bar, and HelloService.aar [1]
>>
>> So, this standard syntax allows us to simply select a node and its
>> descendants in different ways.
>>
>> Thoughts welcome.
>>
>>
>> [1] XPath reference: http://zvon.org/comp/r/tut-XPath_1.html
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; 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
>>
>>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] Deprecating ADMIN_LOGGED_IN and ADMIN_USERNAME from ServerConstants

2011-03-01 Thread Prabath Siriwardana
Done...

Thanks & regards,
-Prabath

On Tue, Mar 1, 2011 at 5:06 PM, Amila Suriarachchi  wrote:

>
>
> On Tue, Mar 1, 2011 at 4:09 PM, Afkham Azeez  wrote:
>
>> Also, we don't need two constants. If the LOGGED_IN_USERNAME is not null,
>> that means a legitimate user has logged in.
>
>
> +1
>
> thanks,
> Amila.
>
>>
>> Azeez
>>
>> On Tue, Mar 1, 2011 at 3:37 PM, Prabath Siriwardana wrote:
>>
>>> How about the $subject..? This creates lots of confusion..
>>>
>>> How about replacing those with USER_LOGGED_IN and LOGGED_IN_USERNAME ?
>>>
>>> --
>>> Thanks & Regards,
>>> Prabath
>>>
>>> http://blog.facilelogin.com
>>> http://RampartFAQ.com
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; 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
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,
Prabath

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


[Carbon-dev] JVM Thread Monitoring & controlling

2011-03-01 Thread Afkham Azeez
Hi folks,
I started working on $subject for the upcoming Stratos release. Are there
any libraries which allow you to do this? I think we can do something based
on JMX.

-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] JVM Thread Monitoring & controlling

2011-03-01 Thread Danushka Menikkumbura
>
> I think we can do something based on JMX.
>

I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in [1]
would be useful.

BTW, this is something that RRD was looking for :-).

[1] -
http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR

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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Unable to load parent project from a relative path: Could not find the 
model file 
'/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/../pom.xml'. for 
project unknown
[INFO] Parent project loaded from repository.
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/apache/axis2/axis2-parent/1.6.1-SNAPSHOT/axis2-parent-1.6.1-SNAPSHOT.pom
[INFO] 
[INFO] Building Apache Axis2 - Resource bundle
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/target
[INFO] [remote-resources:bundle {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error to resolving surefire provider dependency: Missing:
--
1) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) dummy:dummy:jar:1.0
2) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

--
1 required artifact is missing.

for artifact: 
  dummy:dummy:jar:1.0

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Mar 01 17:54:11 IST 2011
[INFO] Final Memory: 57M/1237M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.
--
[INFO]   WSO2 Caching Module - Core
[INFO]   WSO2 Caching module - Mar
[INFO]   WSO2 Caching module - Samples
[INFO] 
[INFO] Building WSO2 Caching module
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/target
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/commons/caching/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/wso2/caching/wso2caching/3.5.0-SNAPSHOT/wso2caching-3.5.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Caching Module - Core
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 13 source files to 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 

[Carbon-dev] Error logs from ApacheDS component

2011-03-01 Thread Prabath Siriwardana
Hi Hasini,

Can you please have a look.. Login to the console and click on some menu
items.. [from the latest trunk]

[2011-03-01 18:49:03,404]  INFO
{org.apache.directory.server.core.authn.AuthenticationInterceptor} -  Cannot
bind to the server
[2011-03-01 18:49:03,404] ERROR
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
Cannot process a Request while binding
[2011-03-01 18:49:03,405] ERROR
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
Cannot process a Request while binding
[2011-03-01 18:49:03,406] ERROR
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
Cannot process a Request while binding

-- 
Thanks & Regards,
Prabath

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


[Carbon-dev] compilation error in a clean repo - carbon caching

2011-03-01 Thread Pradeep Fernando
hi all,

I'm trying to build carbon in a clean maven repo. I get this strange error.[1]
I found a similar issue at [2]

[1] http://pastebin.com/nn0rhXQj
[2] http://www.mail-archive.com/carbon-dev@wso2.org/msg10917.html

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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Unable to load parent project from a relative path: Could not find the 
model file 
'/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/../pom.xml'. for 
project unknown
[INFO] Parent project loaded from repository.
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/apache/axis2/axis2-parent/1.6.1-SNAPSHOT/axis2-parent-1.6.1-SNAPSHOT.pom
[INFO] 
[INFO] Building Apache Axis2 - Resource bundle
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/target
[INFO] [remote-resources:bundle {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error to resolving surefire provider dependency: Missing:
--
1) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) dummy:dummy:jar:1.0
2) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

--
1 required artifact is missing.

for artifact: 
  dummy:dummy:jar:1.0

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 12 seconds
[INFO] Finished at: Tue Mar 01 18:55:46 IST 2011
[INFO] Final Memory: 57M/1237M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.
--
[INFO]   WSO2 Caching Module - Core
[INFO]   WSO2 Caching module - Mar
[INFO]   WSO2 Caching module - Samples
[INFO] 
[INFO] Building WSO2 Caching module
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/target
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/commons/caching/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/wso2/caching/wso2caching/3.5.0-SNAPSHOT/wso2caching-3.5.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Caching Module - Core
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 13 source files to 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered

Re: [Carbon-dev] BAM Server Data view redesign

2011-03-01 Thread Srinath Perera
To support 1000's of servers u need some kind of search
-Srinath

On Mar 1, 2011 5:34 PM, "Tharindu Mathew"  wrote:

Hi Chanaka,

Thanks for the screenshots. The new designs look really appealing to the
eye.

As I mentioned in our discussions, our main requirement here is
to accommodate a large number of services (maybe 1000s) without compromising
usability as much as possible. So that point will have to be highlighted
more I think. Maybe have an Ajax based search and select services, that will
allow the user to pick a few services of interest from 1000s. And in the
same search thing have an option to again list out all the services, might
be a good option. But, this is a suggestion I had in mind. Let's have a chat
when you have some time.



On Tue, Mar 1, 2011 at 5:23 PM, Chanaka Jayasena  wrote:
>
> The average respons...
-- 
Regards,

Tharindu Mathew

Software Engineer,
WSO2 Inc.,
http://wso2.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] JVM Thread Monitoring & controlling

2011-03-01 Thread Afkham Azeez
Thanks Danushka. It seems that we can use
the java.lang.management.ThreadMXBean to get Thred information. However,
that API does not allow killing the Threads. Perhaps, the our programming
API should provide a method for tenant apps to get hold of a Thread, and
then we can control those threads. However, this will not work for all
cases. For example, if a tenant DS request is taking a long time to process,
we should have a way to kill it.

Azeez

On Tue, Mar 1, 2011 at 6:03 PM, Danushka Menikkumbura wrote:

> I think we can do something based on JMX.
>>
>
> I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in[1] 
> would be useful.
>
> BTW, this is something that RRD was looking for :-).
>
> [1] -
> http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
>
> Thanks,
> Danushka
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] [Architecture] App Server 4.0.0 and Data Services????

2011-03-01 Thread Ing. Iskael Diaz Marquez
When I try to use Carbon 3.0.0 p2 repository to install Data Service 
Hosting version 3.0.1, the following error occurs:


Error occured while performing provisioning action
org.wso2.carbon.component.mgt.core.ProvisioningException: An error 
occurred while collecting items to be installed
  session context was:(profile=WSO2CarbonProfile, 
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, 
operand=, action=).
  NLS missing message: sar_reportStatus in: 
org.eclipse.equinox.internal.p2.artifact.repository.messages
NLS missing message: Error_unexpected_hash in: 
org.eclipse.equinox.internal.p2.artifact.processors.md5.messages
  NLS missing message: sar_reportStatus in: 
org.eclipse.equinox.internal.p2.artifact.repository.messages
NLS missing message: Error_unexpected_hash in: 
org.eclipse.equinox.internal.p2.artifact.processors.md5.messages
at 
org.wso2.carbon.component.mgt.core.util.ProvisioningUtils.performProvisioningAction(ProvisioningUtils.java:95)
at 
org.wso2.carbon.component.mgt.core.util.ProvisioningUtils.performProvisioningAction(ProvisioningUtils.java:104)
at 
org.wso2.carbon.component.mgt.services.prov.ProvisioningAdminService.performProvisioningAction(ProvisioningAdminService.java:276)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:205)
at 
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:113)
at 
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at 
org.apache.axis2.receivers.AbstractMessageReceiver$AsyncMessageReceiverWorker.run(AbstractMessageReceiver.java:271)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

Thanks,
Iskael

On 03/01/2011 04:26 AM, Isuru Suriarachchi wrote:

Hi Iskael,

Our last Carbon release was 3.1.0 and the AppServer version which was 
released on top of that was 4.0.0. But I think we didn't release Data 
Services on top of Carbon 3.1.0. That's why you can't find data 
services in 3.1.0 p2 repo. Please try to use [1] which is the Carbon 
3.0.0 p2 repository.


Sameera, should it work with Carbon 3.1.0?

Thanks,
~Isuru

[1] http://dist.wso2.org/p2/carbon/releases/3.0.0/

On Sun, Feb 27, 2011 at 6:21 AM, Ing. Iskael Diaz Marquez 
mailto:imarq...@uci.cu>> wrote:


Hi all, up to the WSAS 3.2.1 I used data services as features of
WSAS. Now I installed Appserver 4.0.0 and I want to keep using
this funtionality. I installed features from
http://dist.wso2.org/p2/carbon/releases/3.1.0 but there I didn't
find the dataservices features.

Where do I find these features?

Thanks,
Iskael



___
Architecture mailing list
architect...@wso2.org 
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




--
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

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


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Xue-Feng Yang
Hi Afkham,

Thanks for reply. 

I am evaluating the Carbon SOA middleware in recent two weeks. It's too early 
to 
talk about more contribution in addition to the testing. I am not skillful 
enough for other duties at this moment. 

I would like to summarize the testing I did so far. You might understand my 
mood. I would state in timing order.

1. ShoppingCart for Carbon Studio--I did step by step from the doc and got help 
from this site.
I still have two unresolved problems, so I can't go further. One is 
about  PurchasingService, which Manisha found both windows and linux have the 
same issue. The other is about UserPortal, which I stated in 

[Carbon-dev] gadget problem in ShoppingCart in Carbon Studio. 

No one gave a useful solution.

2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
appserver)

No one answered so far.

3. CommodityQuote--Before test client, I went tryIt first. After I read your 
reply, I tried again and it works.

4. JAXWS--Before test client, I went tryIt first. After I read your reply, I 
tried again, but it didn't work. The error message was

adb.client.run:
 [java] org.apache.axis2.AxisFault: Connection refused: connect
 [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

I checked the generated wsdl and Java code had a hard code port number 9763, 
while I changed port number to 9764 as ShoppingCart in Carbon Studio doc 
suggested. I believe this is the problems. 

Can you guys modify the code generator to fit dynamic port numbers? 

Thanks,

Xue-Feng





From: Afkham Azeez 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang 
Sent: Tue, March 1, 2011 3:34:37 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in  appserver




On Sun, Feb 27, 2011 at 11:53 PM, Xue-Feng Yang  wrote:

. I am not so happy with those samples so far. ^=^.

Please feel free to contribute patches. We welcome patches, and you could get 
yourself listed as a contributor to the WSO2 AS project.

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


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Afkham Azeez
On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:

>
> 4. JAXWS--Before test client, I went tryIt first. After I read your reply,
> I tried again, but it didn't work. The error message was
>
> adb.client.run:
>  [java] org.apache.axis2.AxisFault: Connection refused: connect
>  [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>
> I checked the generated wsdl and Java code had a hard code port number 9763,
> while I changed port number to 9764 as ShoppingCart in Carbon Studio doc
> suggested. I believe this is the problems.
>
> Can you guys modify the code generator to fit dynamic port numbers?
>

Isuru/SupunM,
Please modify the JAXWS client to get the EPR from the command line or a
System property as in the case of the CommodityQuote client.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Afkham Azeez
On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:

> Hi Afkham,
> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in
> appserver)
>
> No one answered so far.
>
>
>
Yeah, Chad sample is not working. We have made a big mistake in shipping
with a broken sample. Sorry about that. I will look into this.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Afkham Azeez
On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:

>
>
> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>
>> Hi Afkham,
>> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in
>> appserver)
>>
>> No one answered so far.
>>
>>
>>
> Yeah, Chad sample is not working. We have made a big mistake in shipping
> with a broken sample. Sorry about that. I will look into this.
>

Isuru/SupunM,
Admin cannot login since there is a Javascript error.


   1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
1. 
WSRequest._processResultWSRequest.js:213
  2. 
WSRequest._handleReadyStateWSRequest.js:279
  3. (anonymous function)





-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Unable to load parent project from a relative path: Could not find the 
model file 
'/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/../pom.xml'. for 
project unknown
[INFO] Parent project loaded from repository.
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/apache/axis2/axis2-parent/1.6.1-SNAPSHOT/axis2-parent-1.6.1-SNAPSHOT.pom
[INFO] 
[INFO] Building Apache Axis2 - Resource bundle
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/target
[INFO] [remote-resources:bundle {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error to resolving surefire provider dependency: Missing:
--
1) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) dummy:dummy:jar:1.0
2) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

--
1 required artifact is missing.

for artifact: 
  dummy:dummy:jar:1.0

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Mar 01 19:55:31 IST 2011
[INFO] Final Memory: 57M/1237M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.
--
[INFO]   WSO2 Caching Module - Core
[INFO]   WSO2 Caching module - Mar
[INFO]   WSO2 Caching module - Samples
[INFO] 
[INFO] Building WSO2 Caching module
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/target
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/commons/caching/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/wso2/caching/wso2caching/3.5.0-SNAPSHOT/wso2caching-3.5.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Caching Module - Core
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 13 source files to 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 

Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Afkham Azeez
On Tue, Mar 1, 2011 at 8:28 PM, Afkham Azeez  wrote:

>
>
> On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>
>>
>>
>> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang wrote:
>>
>>> Hi Afkham,
>>> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad
>>> in appserver)
>>>
>>> No one answered so far.
>>>
>>>
>>>
>> Yeah, Chad sample is not working. We have made a big mistake in shipping
>> with a broken sample. Sorry about that. I will look into this.
>>
>
> Isuru/SupunM,
> Admin cannot login since there is a Javascript error.
>
>
>1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
> 1. 
> WSRequest._processResultWSRequest.js:213
>   2. 
> WSRequest._handleReadyStateWSRequest.js:279
>   3. (anonymous function)
>
>
>
>
> Xue-Feng,
What is the Web browser you are using? I have tried with Chrome & Safari,
and am seeing this error on both browsers.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Xue-Feng Yang
Hi Afkham,

What javascript tool do you use? 

I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It 
doesn't show anything but gadget title in my laptop. I would like to know 
how  and wso2.io.makeSOAPRequest(endpoint, operation, 
payload) work. There are no docs on javascript for SOAP.

Thanks,

Xue-Feng





From: Afkham Azeez 
To: Xue-Feng Yang ; Charitha Kankanamge 
Cc: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 10:58:16 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver




On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:


>
>
>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>
>Hi Afkham,
>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>appserver)
>>
>>
>>No one answered so far.
>>
>>
>>
>>

Yeah, Chad sample is not working. We have made a big mistake in shipping with a 
broken sample. Sorry about that. I will look into this.

Isuru/SupunM,
Admin cannot login since there is a Javascript error.
1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
1. WSRequest._processResultWSRequest.js:213
2. WSRequest._handleReadyStateWSRequest.js:279
3. (anonymous function)
 


-- 
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 


Member; Apache Software Foundation; http://www.apache.org/
email: azeez@wso2.comcell: +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] JVM Thread Monitoring & controlling

2011-03-01 Thread Paul Fremantle
Azeez

Thread.stop() will kill a thread, but its highly dangerous because of the
way the JVM handles this.

See http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Thread.html

We probably have to find some way of hooking into the thread and getting the
thread to commit suicide to be safe in a long running runtime.

Paul

On 1 March 2011 14:23, Afkham Azeez  wrote:

> Thanks Danushka. It seems that we can use
> the java.lang.management.ThreadMXBean to get Thred information. However,
> that API does not allow killing the Threads. Perhaps, the our programming
> API should provide a method for tenant apps to get hold of a Thread, and
> then we can control those threads. However, this will not work for all
> cases. For example, if a tenant DS request is taking a long time to process,
> we should have a way to kill it.
>
> Azeez
>
>
> On Tue, Mar 1, 2011 at 6:03 PM, Danushka Menikkumbura 
> wrote:
>
>> I think we can do something based on JMX.
>>>
>>
>> I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in[1] 
>> would be useful.
>>
>> BTW, this is something that RRD was looking for :-).
>>
>> [1] -
>> http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
>>
>> Thanks,
>> Danushka
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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
>
>


-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
p...@wso2.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Sample CommodityQuote in appserver

2011-03-01 Thread Xue-Feng Yang
Hi Afkham,

The error message from chrome's dev tool is

Failed to load resource: the server responded with a status of 405 (HTTP method 
GET is not supported by this URL)
Refused to set unsafe header "Content-length"
Refused to set unsafe header "Connection"
ifr:989Uncaught ReferenceError: _IG_AddDOMEventHandler is not defined
ifr:551Uncaught ReferenceError: wso2 is not defined
1. concat:1741Uncaught TypeError: Cannot read property 'nodeType' of 
undefined


Xue-Feng




From: Xue-Feng Yang 
To: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 11:14:34 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver


Hi Afkham,

What javascript tool do you use? 

I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It 
doesn't show anything but gadget title in my laptop. I would like to know 
how  and wso2.io.makeSOAPRequest(endpoint, operation, 
payload) work. There are no docs on javascript for SOAP.

Thanks,

Xue-Feng





From: Afkham Azeez 
To: Xue-Feng Yang ; Charitha Kankanamge  

Cc: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 10:58:16 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver




On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:


>
>
>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>
>Hi Afkham,
>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>appserver)
>>
>>
>>No one answered so far.
>>
>>
>>
>>

Yeah, Chad sample is not working. We have made a big mistake in shipping with a 
broken sample. Sorry about that. I will look into this.

Isuru/SupunM,
Admin cannot login since there is a Javascript error.
1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
1. WSRequest._processResultWSRequest.js:213
2. WSRequest._handleReadyStateWSRequest.js:279
3. (anonymous function)
 


-- 
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 


Member; Apache Software Foundation; http://www.apache.org/
email: azeez@wso2.comcell: +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] Error logs from ApacheDS component

2011-03-01 Thread Hasini Gunasinghe
Sure.. I will look into it. At the moment, I only have the latest code of
user-core(where I do not get this). So I will get a complete update from
trunk and check this.

On Tue, Mar 1, 2011 at 6:51 PM, Prabath Siriwardana wrote:

> Hi Hasini,
>
> Can you please have a look.. Login to the console and click on some menu
> items.. [from the latest trunk]
>
> [2011-03-01 18:49:03,404]  INFO
> {org.apache.directory.server.core.authn.AuthenticationInterceptor} -  Cannot
> bind to the server
> [2011-03-01 18:49:03,404] ERROR
> {org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
> Cannot process a Request while binding
> [2011-03-01 18:49:03,405] ERROR
> {org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
> Cannot process a Request while binding
> [2011-03-01 18:49:03,406] ERROR
> {org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ERR_732
> Cannot process a Request while binding
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.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] Fw: Sample CommodityQuote in appserver

2011-03-01 Thread Xue-Feng Yang




- Forwarded Message 
From: Xue-Feng Yang 
To: Afkham Azeez 
Sent: Tue, March 1, 2011 11:16:33 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver


Hi Afkham,

I tried chrome, firefox and ie.

Xue-Feng




From: Afkham Azeez 
To: Xue-Feng Yang ; Charitha Kankanamge 
Cc: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 11:05:09 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver




On Tue, Mar 1, 2011 at 8:28 PM, Afkham Azeez  wrote:


>
>
>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>
>
>>
>>
>>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>>
>>Hi Afkham,
>>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>>appserver)
>>>
>>>
>>>No one answered so far.
>>>
>>>
>>>
>>>
>
>
>Yeah, Chad sample is not working. We have made a big mistake in shipping with 
>a 
>broken sample. Sorry about that. I will look into this.

>Isuru/SupunM,
>Admin cannot login since there is a Javascript error.
>
>   1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>   1. WSRequest._processResultWSRequest.js:213
>   2. WSRequest._handleReadyStateWSRequest.js:279
>   3. (anonymous function)
> 
>
>
>
Xue-Feng,
What is the Web browser you are using? I have tried with Chrome & Safari, and 
am 
seeing this error on both browsers. 


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


Re: [Carbon-dev] JVM Thread Monitoring & controlling

2011-03-01 Thread Afkham Azeez
Yes, it is not recommended to call Thread.stop()



On Tue, Mar 1, 2011 at 8:57 PM, Paul Fremantle  wrote:

> Azeez
>
> Thread.stop() will kill a thread, but its highly dangerous because of the
> way the JVM handles this.
>
> See http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Thread.html
>
> We probably have to find some way of hooking into the thread and getting
> the thread to commit suicide to be safe in a long running runtime.
>
> Paul
>
> On 1 March 2011 14:23, Afkham Azeez  wrote:
>
>> Thanks Danushka. It seems that we can use
>> the java.lang.management.ThreadMXBean to get Thred information. However,
>> that API does not allow killing the Threads. Perhaps, the our programming
>> API should provide a method for tenant apps to get hold of a Thread, and
>> then we can control those threads. However, this will not work for all
>> cases. For example, if a tenant DS request is taking a long time to process,
>> we should have a way to kill it.
>>
>> Azeez
>>
>>
>> On Tue, Mar 1, 2011 at 6:03 PM, Danushka Menikkumbura 
>> wrote:
>>
>>> I think we can do something based on JMX.

>>>
>>> I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in[1] 
>>> would be useful.
>>>
>>> BTW, this is something that RRD was looking for :-).
>>>
>>> [1] -
>>> http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
>>>
>>> Thanks,
>>> Danushka
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; 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
>>
>>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, VP, Apache Synapse
>
> Office: +44 844 484 8143
> Cell: +44 798 447 4618
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> p...@wso2.com
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other confidential
> information and is intended exclusively for the addressee/s. If you are not
> the intended recipient/s, or believe that you may have received this
> communication in error, please reply to the sender indicating that fact and
> delete the copy you received and in addition, you should not print, copy,
> retransmit, disseminate, or otherwise use the information contained in this
> communication. Internet communications cannot be guaranteed to be timely,
> secure, error or virus-free. The sender does not accept liability for any
> errors or omissions.
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] JVM Thread Monitoring & controlling

2011-03-01 Thread Afkham Azeez
So, it looks like this has to be combined with the relevant Thread model.
Stopping the thread should be controlled from there.


On Tue, Mar 1, 2011 at 8:57 PM, Paul Fremantle  wrote:

> Azeez
>
> Thread.stop() will kill a thread, but its highly dangerous because of the
> way the JVM handles this.
>
> See http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Thread.html
>
> We probably have to find some way of hooking into the thread and getting
> the thread to commit suicide to be safe in a long running runtime.
>
> Paul
>
> On 1 March 2011 14:23, Afkham Azeez  wrote:
>
>> Thanks Danushka. It seems that we can use
>> the java.lang.management.ThreadMXBean to get Thred information. However,
>> that API does not allow killing the Threads. Perhaps, the our programming
>> API should provide a method for tenant apps to get hold of a Thread, and
>> then we can control those threads. However, this will not work for all
>> cases. For example, if a tenant DS request is taking a long time to process,
>> we should have a way to kill it.
>>
>> Azeez
>>
>>
>> On Tue, Mar 1, 2011 at 6:03 PM, Danushka Menikkumbura 
>> wrote:
>>
>>> I think we can do something based on JMX.

>>>
>>> I guess so. Maybe you have seen this but I hope "Monitoring the JVM" in[1] 
>>> would be useful.
>>>
>>> BTW, this is something that RRD was looking for :-).
>>>
>>> [1] -
>>> http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
>>>
>>> Thanks,
>>> Danushka
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; 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
>>
>>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, VP, Apache Synapse
>
> Office: +44 844 484 8143
> Cell: +44 798 447 4618
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> p...@wso2.com
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other confidential
> information and is intended exclusively for the addressee/s. If you are not
> the intended recipient/s, or believe that you may have received this
> communication in error, please reply to the sender indicating that fact and
> delete the copy you received and in addition, you should not print, copy,
> retransmit, disseminate, or otherwise use the information contained in this
> communication. Internet communications cannot be guaranteed to be timely,
> secure, error or virus-free. The sender does not accept liability for any
> errors or omissions.
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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] Sample CommodityQuote in appserver

2011-03-01 Thread Xue-Feng Yang
Hi Afkham,

Sorry for missing two issues together. ^=^

I re-deployed Chad. The following are the error message I got from chrome. 

Failed to load resource: the server responded with a status of 404 
(/Chad/extensions/core/images/navigation_bk.gif)
oops.gifFailed to load resource: the server responded with a status of 404 
(/Chad/images/oops.gif)

Xue-Feng



From: Afkham Azeez 
To: Xue-Feng Yang ; Charitha Kankanamge 
Cc: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 11:05:09 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver




On Tue, Mar 1, 2011 at 8:28 PM, Afkham Azeez  wrote:


>
>
>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>
>
>>
>>
>>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>>
>>Hi Afkham,
>>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>>appserver)
>>>
>>>
>>>No one answered so far.
>>>
>>>
>>>
>>>
>
>
>Yeah, Chad sample is not working. We have made a big mistake in shipping with 
>a 
>broken sample. Sorry about that. I will look into this.

>Isuru/SupunM,
>Admin cannot login since there is a Javascript error.
>
>   1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>   1. WSRequest._processResultWSRequest.js:213
>   2. WSRequest._handleReadyStateWSRequest.js:279
>   3. (anonymous function)
> 
>
>
>
Xue-Feng,
What is the Web browser you are using? I have tried with Chrome & Safari, and 
am 
seeing this error on both browsers. 

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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Unable to load parent project from a relative path: Could not find the 
model file 
'/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/../pom.xml'. for 
project unknown
[INFO] Parent project loaded from repository.
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/axis2/modules/parent/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/apache/axis2/axis2-parent/1.6.1-SNAPSHOT/axis2-parent-1.6.1-SNAPSHOT.pom
[INFO] 
[INFO] Building Apache Axis2 - Resource bundle
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/target
[INFO] [remote-resources:bundle {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/dependencies/axis2/modules/resource-bundle/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error to resolving surefire provider dependency: Missing:
--
1) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
-DartifactId=surefire-junit4 -Dversion=2.4.2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) dummy:dummy:jar:1.0
2) org.apache.maven.surefire:surefire-junit4:jar:2.4.2

--
1 required artifact is missing.

for artifact: 
  dummy:dummy:jar:1.0

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Mar 01 20:54:10 IST 2011
[INFO] Final Memory: 57M/1237M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.
--
[INFO]   WSO2 Caching Module - Core
[INFO]   WSO2 Caching module - Mar
[INFO]   WSO2 Caching module - Samples
[INFO] 
[INFO] Building WSO2 Caching module
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/target
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/carbon/stratos/carbon/dependencies/commons/caching/target/pom-transformed.xml
 to 
/home/carbon/.m2/repository/org/wso2/caching/wso2caching/3.5.0-SNAPSHOT/wso2caching-3.5.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Caching Module - Core
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 13 source files to 
/home/carbon/stratos/carbon/dependencies/commons/caching/modules/core/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 

Re: [Carbon-dev] New SQS JMS integration

2011-03-01 Thread Manjula Rathnayake
Hi,

On Mon, Feb 28, 2011 at 11:41 AM, Danushka Menikkumbura
wrote:

> You showed some code which useses the client acknowledgment. But not
>> necessarily POC for a possible sqs implementation based on that. Then I
>> asked you to do that to take a decision based on that. Anyway please make
>> the current implementation you have done to work. Then we can see the
>> issues.
>>
>
> :-) I clearly showed using two JMS clients that are listening on the same
> queue how a message becomes invisible to the second when the first one grabs
> a message and it becomes visible to the second when the first releases it.
> So, that is the key JMS behaviour required in order to implement SQS using
> JMS. Anyway Amila as you said let me check what is going wrong in the SQS
> implementation and get it working. (In the mean time I would like to have
> Manjula ack'ed so that I know at least one other person believes its doable
> ;-))
>

I remember Danushka used the existing publisher/subscriber sample code to
get messages which are not locked. Anyway, once I tried out earlier similar
thing with set of threads, it did not worked, we got the same locked
message.

So we will fix the issues with current implementation and get things working
properly, and do some load testing with existing clients. Meanwhile let s
get the code reviewed as well, since last code review we got some
improvements. Those improvements are not fixed in current implementation. I
will work on those soon.


>
>
>>  I will explain why it is so and why the model I suggested is the proper
> approach once I have ironed out those functional glitches.
>

 Since it currently functionality wise does not work it may be early to
 review what you have done. But I saw this problem in what you have
 committed.

 In your model when some one retrieve a message it keeps the connection
 in memory until user delete the message or timeout.

 What append if the server crashes?

 For an example. Lets say a user retrieve a message with the visibility
 time out of 120 seconds. After that server crashes and restarts. Now user
 sends a delete request say after 30s. Now how it going to delete the
 message?

>>>
>>> So actually deleting is not the issue here Amila. According to the SQS
>>> specification, trying to delete a message using an old receipt handler is a
>>> valid usecase and is kind of idempotent.
>>>
>>
>> Here the senario is user deleting the message within the visibility time
>> out. What you are talking about the user try to delete message after
>> visibility time out. yes the real problem is what you given below.
>>
>
> In SQS, you delete a message using the receipt handle you got when you
> received that message. When you receive a message it becomes invisible. So,
> how can you delete a message that is visible? Maybe I am missing something
> here.
>
>
>>
>> The actual issue is messages locked by one user becoming visible to other
>>> users when server started after a crash. In fact this is an issue when a
>>> queue is shared.
>>>
>>
>> Not necessarily. Lets say first user retrieve a message. Then server
>> crashes and restart. Now user send a delete message within the visibility
>> timeout. Then he try to retrieve the next message. (or else think the same
>> user try to get another message within the visiblity time out before sending
>> the delete message)
>> Anyway we need to support sqs queue sharing as well.
>>
>>
>>
>>>  Otherwise duplicate handling should be done at the application level but
>>> not at the Message Broker level IMO. Do you think otherwise?
>>>
>>
>> This is a problem with the method you try to use. If you take the temp
>> queue method. This problem is not there isn't it?
>> Becuase it updates the two queues within a transaction and no state keep
>> in memory.
>>
>
> Do you think the temp queue approach will yield better performance that the
> JMS approach?. If we decide on that then we can continue to use it. My only
> concern is performance.
>
>
>> Please first fix the isuses with the new work you have done. Then lets
>> have a disscussion with Srinath to decide whether we need to consider this
>> or not.
>>
>
> Yes. We also need to decide if the issue you have mentioned (what happens
> if the server crashes) is a concern too.
>
> Danushka
>


Thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Sample Chad in appserver

2011-03-01 Thread Supun Malinga
Hi,

On Sun, Feb 27, 2011 at 10:17 PM, Xue-Feng Yang  wrote:

> Hi
>
> Did anyone test sample Chat in wso2appserver-4.0.0?
>
yes we did test this before the release.

I just tried it works for me.

>
> I just built and tested. Seems to me all services are working, which I
> tried. However, when I went to URL(http://192.168.1.56:9764/Chad/), type
> default username/password in administrator login page, but nothing
> happened.
>
the default url would be, http://127.0.0.1:9763/Chad unless you changes the
port.

Can you please explain further what you observed?

thanks,

>
> Thanks,
>
> Xue-Feng
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] User based authorization is depreciated in AuthorizationManager in carbon core

2011-03-01 Thread Manjula Rathnayake
Hi all,

In SQS implementation we have used set of methods related to user based
authorization, to provide queue sharing functionality.
And In the code review, This was discussed that using depreciated methods in
new codes is can not be accepted.

So we could not find out any alternate method to get the user based
authorization done.
Even though the methods (authorizeUser, clearUserAuthorization) are
depreciated, they work fine.

Can we make available user based authorization methods or any other
suggestions on this, please.

Thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Product profile related build issues in the trunk...

2011-03-01 Thread Prabath Siriwardana
There seems to be issues while building from product profiles..

Appreciate a lot if each product team make sure that product profiles work
in a clean build..

-- 
Thanks & Regards,
Prabath

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


Re: [Carbon-dev] Sample Chad in appserver

2011-03-01 Thread Xue-Feng Yang
Hi,

Yes, I changed port number as ShoppingCart sample for Carbon Studio requested.

However, I checked there is no hard code anywhere for port number in this 
sample 
although most of the samples do have hard code for port numbers. So I believe 
that the problem is not related to port numbers.

I tested in three browsers chrome, firefox, and ie. It doesn't work for all 
three browsers. Three have different behaviors.

chrome: 1. After type the link http://127.0.0.1:9764/Chad/ and return, a page 
shows appserver logo on the upper left and Chad logo on the upper right. That 
means port number is not a problem. 

2. An important observation here is in a very short time(less .5 second), I saw 
a list of links on the left side, but then only the first one "Active Polls" 
stayed here.  

3. Under Chad logo, it is link "Adminstrator Login". When click it, a login 
dialog shows. After typed Default username/password and clicked on "Sign In". 
Nothing happens.

firefox: 1 and 2 are the same. 3. After click "Sign In" button, an "Internet 
Security" popped up. After click on "Allow" button, again, nothing happens. 

ie: 1 and 2 are the same. 3. After click "Sign In" button, a rectangular shadow 
shows. On the shadow, a error message threw "Reason : Server connection has 
failed.". Below the message, there is a "OK" button. Click it, and of course 
nothing happens.  

I believed it should a javascript problem so that I started to find docs on 
wso2 javascript, but no lucky.
 
Thanks,

Xue-Feng




From: Supun Malinga 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang 
Sent: Wed, March 2, 2011 1:17:11 AM
Subject: Re: [Carbon-dev] Sample Chad in appserver

Hi,


On Sun, Feb 27, 2011 at 10:17 PM, Xue-Feng Yang  wrote:

Hi
>
>
>Did anyone test sample Chat in wso2appserver-4.0.0? 
yes we did test this before the release.

I just tried it works for me.  


>
>I just built and tested. Seems to me all services are working, which I tried. 
>However, when I went to URL(http://192.168.1.56:9764/Chad/), type default 
>username/password in administrator login page, but nothing happened. 
the default url would be, http://127.0.0.1:9763/Chad unless you changes the 
port.

Can you please explain further what you observed? 

thanks,


>
>Thanks,
>
>
>Xue-Feng  
>
>___
>Carbon-dev mailing list
>Carbon-dev@wso2.org
>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com
mobile - 071 56 91 321

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


Re: [Carbon-dev] Sample Chad in appserver

2011-03-01 Thread Xue-Feng Yang
Hi,

Forgot to say there are no reactions at all on appserver side.

Xue-Feng



From: Xue-Feng Yang 
To: carbon-dev@wso2.org
Sent: Wed, March 2, 2011 3:21:57 AM
Subject: Re: [Carbon-dev] Sample Chad in appserver


Hi,

Yes, I changed port number as ShoppingCart sample for Carbon Studio requested.

However, I checked there is no hard code anywhere for port number in this 
sample 
although most of the samples do have hard code for port numbers. So I believe 
that the  problem is not related to port numbers.

I tested in three browsers chrome, firefox, and ie. It doesn't work for all 
three browsers. Three have different behaviors.

chrome: 1. After type the link http://127.0.0.1:9764/Chad/ and return, a page 
shows appserver logo on the upper left and Chad logo on the upper right. That 
means port number is not a problem. 

2. An important observation here is in a very short time(less .5 second), I saw 
a list of links on the left side, but then only the first one "Active Polls" 
stayed here.  

3. Under Chad logo, it is link "Adminstrator Login". When click it, a login 
dialog shows. After typed Default username/password and clicked on "Sign In". 
Nothing happens.

firefox: 1 and 2 are the same. 3. After click "Sign In" button, an "Internet 
Security" popped up. After click on "Allow" button, again, nothing happens. 

ie: 1 and 2 are the same. 3. After click "Sign In" button, a rectangular shadow 
shows. On the shadow, a error message threw "Reason : Server connection has 
failed.". Below the message, there is a "OK" button. Click it, and of course 
nothing happens.  

I believed it should a javascript problem so that I started to find docs on 
wso2 javascript,  but no lucky.
 
Thanks,

Xue-Feng




From: Supun Malinga 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang  
Sent: Wed, March 2, 2011 1:17:11 AM
Subject: Re: [Carbon-dev] Sample Chad in appserver

Hi,


On Sun, Feb 27, 2011 at 10:17 PM, Xue-Feng Yang  wrote:

Hi
>
>
>Did anyone test sample Chat in wso2appserver-4.0.0? 
yes we did test this before the release.

I just tried it works for me.  


>
>I just built and tested. Seems to me all services are working, which I tried. 
>However, when I went to URL(http://192.168.1.56:9764/Chad/), type default 
>username/password in administrator login page, but nothing happened. 
the default url would be, http://127.0.0.1:9763/Chad unless you changes the 
port.

Can you please explain further what you observed? 

thanks,


>
>Thanks,
>
>
>Xue-Feng  
>
>___
>Carbon-dev mailing list
>Carbon-dev@wso2.org
>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com
mobile - 071 56 91 321

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


Re: [Carbon-dev] compilation error in a clean repo - carbon caching

2011-03-01 Thread Denis Weerasiri
On Tue, Mar 1, 2011 at 7:17 PM, Pradeep Fernando  wrote:

> hi all,
>
> I'm trying to build carbon in a clean maven repo. I get this strange
> error.[1]
> I found a similar issue at [2]
>
Hi Azeez,
In a offline chat, you mentioned, if those jars were moved from jboss repos
our maven repos, it will fix the issue. Any idea?

>
> [1] http://pastebin.com/nn0rhXQj
> [2] http://www.mail-archive.com/carbon-dev@wso2.org/msg10917.html
>
> --Pradeep
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis ** [AT] wso2.com* *
blog: **http://ddweerasiri.blogspot.com* *
twitter: **http://twitter.com/ddweerasiri* *
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
Tests run: 150, Failures: 0, Errors: 150, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 30 seconds
[INFO] Finished at: Tue Mar 01 23:20:09 IST 2011
[INFO] Final Memory: 166M/1254M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache Synapse - Secure vault
[INFO]   Apache Synapse
[INFO]   Apache Synapse - Commons classes
[INFO]   Apache Synapse - Transports
[INFO]   Apache Synapse - Non-blocking HTTP/s Transport
[INFO]   Apache Synapse - PIPE Transport
[INFO]   Apache Synapse - VFS Transport
[INFO]   Apache Synapse - Tasks classes
[INFO]   Apache Synapse - Core
[INFO]   Apache Synapse - FIX Transport
[INFO]   Apache Synapse - Extensions
[INFO]   Apache Synapse - Samples
[INFO]   Apache Synapse - Patches
[INFO]   Apache Synapse - Experimental code
[INFO]   Apache Synapse - Web Application
[INFO]   Apache Synapse - Handler Module
[INFO]   Apache Synapse - XAR Maven Plugin
[INFO]   Apache Synapse - Configuration Migrator
[INFO]   Apache Synapse - Distribution
[INFO]   Apache Synapse - Package skeleton ZIP
[INFO]   Apache Synapse - Package archetype
[INFO] 
[INFO] Building Apache Synapse - Secure vault
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting file set: 
/home/carbon/stratos/carbon/dependencies/synapse/modules/securevault/target 
(included: [**], excluded: [])
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
--
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.228 sec
Running org.apache.shindig.gadgets.features.FeatureParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.shindig.gadgets.spec.MessageBundleTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.shindig.gadgets.HashLockedDomainServiceTest
Mar 1, 2011 11:29:43 PM org.apache.shindig.gadgets.HashLockedDomainService 

WARNING: No locked domain configuration for default
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.shindig.gadgets.spec.ApplicationManifestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.shindig.gadgets.http.InvalidationHandlerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec

Results :

Tests in error: 
  
testNoDecodeHttpResponseForUnRewriteableMimeTypes(org.apache.shindig.gadgets.rewrite.DefaultContentRewriterRegistryTest)
  specFetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  specRefetchedAsync(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  staleSpecIsRefetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
staleSpecReturnedFromCacheOnError(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  badFetchThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecIsCachedAndThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
throwingPipelineRethrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)

Tests run: 1096, Failures: 0, Errors: 9, Skipped: 6

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/stratos/carbon/dependencies/shindig/java/gadgets/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 50 seconds
[INFO] Finished at: Tue Mar 01 23:29:43 IST 2011
[INFO] Final Memory: 82M/1275M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   ODE
[INFO]   ODE :: Agents
[INFO]   ODE :: Utilities
[INFO]   ODE :: Java Concurrent Objects (JACOB)
[INFO]   ODE :: BPEL Schemas
[INFO]   ODE :: BPEL Test Script Files
[INFO]   ODE :: OBJ
[INFO]   ODE :: APIs
[INFO]  

Re: [Carbon-dev] compilation error in a clean repo - carbon caching

2011-03-01 Thread Afkham Azeez
On Wed, Mar 2, 2011 at 1:14 AM, Denis Weerasiri  wrote:

>
>
> On Tue, Mar 1, 2011 at 7:17 PM, Pradeep Fernando  wrote:
>
>> hi all,
>>
>> I'm trying to build carbon in a clean maven repo. I get this strange
>> error.[1]
>> I found a similar issue at [2]
>>
> Hi Azeez,
> In a offline chat, you mentioned, if those jars were moved from jboss repos
> our maven repos, it will fix the issue. Any idea?
>

So, I was told that some JARs or plugins in the JBoss repos were corrupt.
So, if we could download only the JARs we need from the JBoss repo or some
other repo and upload it to our repo, and get rid of the JBoss repo, this
issues should get resolved.


>
>> [1] http://pastebin.com/nn0rhXQj
>> [2] http://www.mail-archive.com/carbon-dev@wso2.org/msg10917.html
>>
>> --Pradeep
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Thanks,
> Denis
> --
> *Denis Weerasiri*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: denis ** [AT] wso2.com* 
> *
> blog: **http://ddweerasiri.blogspot.com*
> *
> twitter: **http://twitter.com/ddweerasiri*
> *
> linked-in: 
> **http://lk.linkedin.com/in/ddweerasiri*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; 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


[Carbon-dev] Hello World Gadget doesn't work

2011-03-01 Thread Xue-Feng Yang
Hi,


I would restate this problem since I posted in a wrong place and there were no 
responses so far.

I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It 
doesn't show anything but gadget title in my laptop. The error message from 
chrome is

Failed to load resource: the server responded with a status of 405 (HTTP method 
GET is not supported by this URL)
Refused to set unsafe header "Content-length"
Refused to set unsafe header "Connection"
ifr:989Uncaught  ReferenceError: _IG_AddDOMEventHandler is not defined
ifr:551Uncaught ReferenceError: wso2 is not  defined
1. concat:1741Uncaught TypeError: Cannot read property 'nodeType' of 
undefined

I would like to know how  
and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I couldn't 
find any doc on wso2 javascript for SOAP, or anything like wso2.js.

Thanks,

Xue-Feng





From: Afkham Azeez 
To: Xue-Feng Yang ; Charitha Kankanamge  

Cc: carbon-dev@wso2.org
Sent: Tue, March 1, 2011 10:58:16 PM
Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver




On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:


>
>
>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>
>Hi Afkham,
>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>appserver)
>>
>>
>>No one answered so far.
>>
>>
>>
>>

Yeah, Chad sample is not working. We have made a big mistake in shipping with a 
broken sample. Sorry about that. I will look into this.

Isuru/SupunM,
Admin cannot login since there is a Javascript error.
1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
1. WSRequest._processResultWSRequest.js:213
2. WSRequest._handleReadyStateWSRequest.js:279
3. (anonymous function)
 


-- 
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 


Member; Apache Software Foundation; http://www.apache.org/
email: azeez@wso2.comcell: +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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
Tests run: 150, Failures: 0, Errors: 150, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 22 seconds
[INFO] Finished at: Wed Mar 02 03:10:29 IST 2011
[INFO] Final Memory: 166M/1254M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache Synapse - Secure vault
[INFO]   Apache Synapse
[INFO]   Apache Synapse - Commons classes
[INFO]   Apache Synapse - Transports
[INFO]   Apache Synapse - Non-blocking HTTP/s Transport
[INFO]   Apache Synapse - PIPE Transport
[INFO]   Apache Synapse - VFS Transport
[INFO]   Apache Synapse - Tasks classes
[INFO]   Apache Synapse - Core
[INFO]   Apache Synapse - FIX Transport
[INFO]   Apache Synapse - Extensions
[INFO]   Apache Synapse - Samples
[INFO]   Apache Synapse - Patches
[INFO]   Apache Synapse - Experimental code
[INFO]   Apache Synapse - Web Application
[INFO]   Apache Synapse - Handler Module
[INFO]   Apache Synapse - XAR Maven Plugin
[INFO]   Apache Synapse - Configuration Migrator
[INFO]   Apache Synapse - Distribution
[INFO]   Apache Synapse - Package skeleton ZIP
[INFO]   Apache Synapse - Package archetype
[INFO] 
[INFO] Building Apache Synapse - Secure vault
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting file set: 
/home/carbon/stratos/carbon/dependencies/synapse/modules/securevault/target 
(included: [**], excluded: [])
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
--
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 sec
Running org.apache.shindig.gadgets.features.FeatureParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.shindig.gadgets.spec.MessageBundleTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.shindig.gadgets.HashLockedDomainServiceTest
Mar 2, 2011 3:18:54 AM org.apache.shindig.gadgets.HashLockedDomainService 
WARNING: No locked domain configuration for default
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.shindig.gadgets.spec.ApplicationManifestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.shindig.gadgets.http.InvalidationHandlerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec

Results :

Tests in error: 
  
testNoDecodeHttpResponseForUnRewriteableMimeTypes(org.apache.shindig.gadgets.rewrite.DefaultContentRewriterRegistryTest)
  specFetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  specRefetchedAsync(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  staleSpecIsRefetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
staleSpecReturnedFromCacheOnError(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  badFetchThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecIsCachedAndThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
throwingPipelineRethrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)

Tests run: 1096, Failures: 0, Errors: 9, Skipped: 6

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/stratos/carbon/dependencies/shindig/java/gadgets/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 8 seconds
[INFO] Finished at: Wed Mar 02 03:18:54 IST 2011
[INFO] Final Memory: 82M/1276M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   ODE
[INFO]   ODE :: Agents
[INFO]   ODE :: Utilities
[INFO]   ODE :: Java Concurrent Objects (JACOB)
[INFO]   ODE :: BPEL Schemas
[INFO]   ODE :: BPEL Test Script Files
[INFO]   ODE :: OBJ
[INFO]   ODE :: APIs
[INFO]   ODE 

Re: [Carbon-dev] Hello World Gadget doesn't work

2011-03-01 Thread Nuwan Bandara
Hi Yang,

The HelloWorld gadget should work out of the box. maybe you have made a
mistake in the gadget xml. If you could share the source, I would happy to
look in to it. you can read about the soap support on [1] document.

[1]
http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP

Regards,
/Nuwan

On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:

> Hi,
>
> I would restate this problem since I posted in a wrong place and there were
> no responses so far.
>
> I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello.
> It doesn't show anything but gadget title in my laptop. The error message
> from chrome is
>
> Failed to load resource: the server responded with a status of 405 (HTTP
> method GET is not supported by this URL)
> Refused to set unsafe header "Content-length"
> Refused to set unsafe header "Connection"
> ifr:989Uncaught
> ReferenceError: _IG_AddDOMEventHandler is not defined
> ifr:551Uncaught
> ReferenceError: wso2 is not defined
>
>1. 
> concat:1741Uncaught
>TypeError: Cannot read property 'nodeType' of undefined
>
>
> I would like to know how 
> and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I
> couldn't find any doc on wso2 javascript for SOAP, or anything like
> wso2.js.
>
> Thanks,
>
> Xue-Feng
>
>
> --
> *From:* Afkham Azeez 
> *To:* Xue-Feng Yang ; Charitha Kankanamge <
> chari...@wso2.com>
> *Cc:* carbon-dev@wso2.org
> *Sent:* Tue, March 1, 2011 10:58:16 PM
> *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver
>
>
>
> On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>
>>
>>
>> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang wrote:
>>
>>> Hi Afkham,
>>> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad
>>> in appserver)
>>>
>>> No one answered so far.
>>>
>>>
>>>
>> Yeah, Chad sample is not working. We have made a big mistake in shipping
>> with a broken sample. Sorry about that. I will look into this.
>>
>
> Isuru/SupunM,
> Admin cannot login since there is a Javascript error.
>
>
>1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
> 1. 
> WSRequest._processResultWSRequest.js:213
>   2. 
> WSRequest._handleReadyStateWSRequest.js:279
>   3. (anonymous function)
>
>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; 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
>
>


-- 
Thanks & Regards,

Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com


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


[Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Xue-Feng Yang




- Forwarded Message 
From: Xue-Feng Yang 
To: Nuwan Bandara 
Sent: Wed, March 2, 2011 10:00:29 AM
Subject: Re: [Carbon-dev] Hello World Gadget doesn't work


Hi /Nuwan,

The sample I used is exactly the copy of  the sample in the link

http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP

with the help of "view plain". Sorry for shifting a little above.

Could you please check it in a clean computer? Or tell me where is the method 
"wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers I 
downloaded.

Thanks,

Xue-Feng






From: Nuwan Bandara 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang 
Sent: Wed,  March 2, 2011 9:14:22 AM
Subject: Re: [Carbon-dev] Hello World Gadget doesn't work

Hi Yang,

The HelloWorld gadget should work out of the box. maybe you have made a mistake 
in the gadget xml. If you could share the source, I would happy to look in to 
it. you can read about the soap support on [1] document.

[1] http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP

Regards,
/Nuwan


On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:

Hi,
>
>
>I would restate this problem since I posted in a wrong place and there were no 
>responses so far.
>
>
>I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It 
>doesn't show anything but gadget title in my laptop. The error message from 
>chrome is
>
>Failed to load resource: the server responded with a status of 405 (HTTP 
>method 
>GET is not supported by this URL)
>Refused to set unsafe header "Content-length"
>Refused to set unsafe header "Connection"
>ifr:989Uncaught  ReferenceError: _IG_AddDOMEventHandler is not defined
>ifr:551Uncaught ReferenceError: wso2 is not  defined
>   1. concat:1741Uncaught TypeError: Cannot  read property 'nodeType' of 
undefined
>
>
>I would like to know how  
>and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I couldn't 
>find any doc on wso2 javascript for SOAP, or anything like wso2.js.
>
>
>Thanks,
>
>
>Xue-Feng
>
>
>
>
>

From: Afkham Azeez 
>To: Xue-Feng Yang ; Charitha Kankanamge  
>
>Cc: carbon-dev@wso2.org
>Sent: Tue, March 1, 2011 10:58:16 PM
>Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver
>
>
>
>
>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>
>
>>
>>
>>On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:
>>
>>Hi Afkham,
>>>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>>>appserver)
>>>
>>>
>>>No one answered so far.
>>>
>>>
>>>
>>>
>
>
>Yeah, Chad sample is not working. We have made a big mistake in shipping with 
>a 
>broken sample. Sorry about that. I will look into this.

Isuru/SupunM,
Admin cannot login since there is a Javascript error.
1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
1. WSRequest._processResultWSRequest.js:213
2. WSRequest._handleReadyStateWSRequest.js:279
3. (anonymous function)
 
>
>
>-- 
>Afkham Azeez
>Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 
>
>
>Member; Apache Software Foundation; http://www.apache.org/
>email: azeez@wso2.comcell: +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
>
>


-- 
Thanks & Regards,

Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

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


Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Samisa Abeysinghe
Do you have the service endpoint up and running:
http://localhost:9763/services/HelloService?

On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang  wrote:

>
>
> - Forwarded Message 
> *From:* Xue-Feng Yang 
> *To:* Nuwan Bandara 
> *Sent:* Wed, March 2, 2011 10:00:29 AM
> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>
> Hi /Nuwan,
>
> The sample I used is exactly the copy of  the sample in the link
>
> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>
> with the help of "view plain". Sorry for shifting a little above.
>
> Could you please check it in a clean computer? Or tell me where is the
> method "wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers
> I downloaded.
>
> Thanks,
>
> Xue-Feng
>
>
>
> --
> *From:* Nuwan Bandara 
> *To:* carbon-dev@wso2.org
> *Cc:* Xue-Feng Yang 
> *Sent:* Wed, March 2, 2011 9:14:22 AM
> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>
> Hi Yang,
>
> The HelloWorld gadget should work out of the box. maybe you have made a
> mistake in the gadget xml. If you could share the source, I would happy to
> look in to it. you can read about the soap support on [1] document.
>
> [1]
> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>
> Regards,
> /Nuwan
>
> On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:
>
>> Hi,
>>
>> I would restate this problem since I posted in a wrong place and there
>> were no responses so far.
>>
>> I am testing the sample
>> from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It doesn't show anything
>> but gadget title in my laptop. The error message from chrome is
>>
>> Failed to load resource: the server responded with a status of 405 (HTTP
>> method GET is not supported by this URL)
>> Refused to set unsafe header "Content-length"
>> Refused to set unsafe header "Connection"
>> ifr:989Uncaught
>> ReferenceError: _IG_AddDOMEventHandler is not defined
>> ifr:551Uncaught
>> ReferenceError: wso2 is not defined
>>
>>1. 
>> concat:1741Uncaught
>>TypeError: Cannot read property 'nodeType' of undefined
>>
>>
>> I would like to know how 
>> and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I
>> couldn't find any doc on wso2 javascript for SOAP, or anything like
>> wso2.js.
>>
>> Thanks,
>>
>> Xue-Feng
>>
>>
>> --
>> *From:* Afkham Azeez 
>> *To:* Xue-Feng Yang ; Charitha Kankanamge <
>> chari...@wso2.com>
>> *Cc:* carbon-dev@wso2.org
>> *Sent:* Tue, March 1, 2011 10:58:16 PM
>> *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver
>>
>>
>>
>> On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>>
>>>
>>>
>>> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang wrote:
>>>
 Hi Afkham,
 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad
 in appserver)

 No one answered so far.



>>> Yeah, Chad sample is not working. We have made a big mistake in shipping
>>> with a broken sample. Sorry about that. I will look into this.
>>>
>>
>> Isuru/SupunM,
>> Admin cannot login since there is a Javascript error.
>>
>>
>>1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>> 1. 
>> WSRequest._processResultWSRequest.js:213
>>   2. 
>> WSRequest._handleReadyStateWSRequest.js:279
>>   3. (anonymous function)
>>
>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*
>> *
>> emai

Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Samisa Abeysinghe
On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe  wrote:

> Do you have the service endpoint up and running:
> http://localhost:9763/services/HelloService?


Note that, I see the behavior you are seeing  when I do not have the service
endpoint.

I think that is a problem for "Hello World" sample's usability. We need a
third party service in there. Can we host the endpoint inside GS for this
sample?


>
> On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang  wrote:
>
>>
>>
>> - Forwarded Message 
>> *From:* Xue-Feng Yang 
>> *To:* Nuwan Bandara 
>> *Sent:* Wed, March 2, 2011 10:00:29 AM
>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>> Hi /Nuwan,
>>
>> The sample I used is exactly the copy of  the sample in the link
>>
>>
>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>> with the help of "view plain". Sorry for shifting a little above.
>>
>> Could you please check it in a clean computer? Or tell me where is the
>> method "wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers
>> I downloaded.
>>
>> Thanks,
>>
>> Xue-Feng
>>
>>
>>
>> --
>> *From:* Nuwan Bandara 
>> *To:* carbon-dev@wso2.org
>> *Cc:* Xue-Feng Yang 
>> *Sent:* Wed, March 2, 2011 9:14:22 AM
>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>> Hi Yang,
>>
>> The HelloWorld gadget should work out of the box. maybe you have made a
>> mistake in the gadget xml. If you could share the source, I would happy to
>> look in to it. you can read about the soap support on [1] document.
>>
>> [1]
>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>> Regards,
>> /Nuwan
>>
>> On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang wrote:
>>
>>> Hi,
>>>
>>> I would restate this problem since I posted in a wrong place and there
>>> were no responses so far.
>>>
>>> I am testing the sample
>>> from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It doesn't show anything
>>> but gadget title in my laptop. The error message from chrome is
>>>
>>> Failed to load resource: the server responded with a status of 405 (HTTP
>>> method GET is not supported by this URL)
>>> Refused to set unsafe header "Content-length"
>>> Refused to set unsafe header "Connection"
>>> ifr:989Uncaught
>>> ReferenceError: _IG_AddDOMEventHandler is not defined
>>> ifr:551Uncaught
>>> ReferenceError: wso2 is not defined
>>>
>>>1. 
>>> concat:1741Uncaught
>>>TypeError: Cannot read property 'nodeType' of undefined
>>>
>>>
>>> I would like to know how 
>>> and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I
>>> couldn't find any doc on wso2 javascript for SOAP, or anything like
>>> wso2.js.
>>>
>>> Thanks,
>>>
>>> Xue-Feng
>>>
>>>
>>> --
>>> *From:* Afkham Azeez 
>>> *To:* Xue-Feng Yang ; Charitha Kankanamge <
>>> chari...@wso2.com>
>>> *Cc:* carbon-dev@wso2.org
>>> *Sent:* Tue, March 1, 2011 10:58:16 PM
>>> *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver
>>>
>>>
>>>
>>> On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>>>


 On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang wrote:

> Hi Afkham,
> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad
> in appserver)
>
> No one answered so far.
>
>
>
 Yeah, Chad sample is not working. We have made a big mistake in shipping
 with a broken sample. Sorry about that. I will look into this.

>>>
>>> Isuru/SupunM,
>>> Admin cannot login since there is a Javascript error.
>>>
>>>
>>>1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>>> 1. 
>>> WSRequest._processResultWSReque

Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Xue-Feng Yang
Of course, I have a hello service in appserver. 





From: Samisa Abeysinghe 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang 
Sent: Wed, March 2, 2011 10:56:58 AM
Subject: Re: [Carbon-dev] Fw: Hello World Gadget doesn't work




On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe  wrote:

Do you have the service endpoint up and 
running: http://localhost:9763/services/HelloService?

Note that, I see the behavior you are seeing  when I do not have the service 
endpoint. 

I think that is a problem for "Hello World" sample's usability. We need a third 
party service in there. Can we host the endpoint inside GS for this sample? 


>
>
>On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang  wrote:
>
>
>>
>>
>>
>>- Forwarded Message 
>>From: Xue-Feng Yang 
>>To: Nuwan Bandara 
>>Sent: Wed, March 2, 2011 10:00:29 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi /Nuwan,
>>
>>
>>The sample I used is exactly the copy of  the sample in the link
>>
>>
>>http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>
>>with the help of "view plain". Sorry for shifting a little above.
>>
>>
>>Could you please check it in a clean computer? Or tell me where is the method 
>>"wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers I 
>>downloaded.
>>
>>
>>Thanks,
>>
>>Xue-Feng
>>
>>
>>
>>
>>
>>
>>

From: Nuwan Bandara 
>>To: carbon-dev@wso2.org
>>Cc: Xue-Feng Yang 
>>Sent: Wed,  March 2, 2011 9:14:22 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi Yang,
>>
>>The HelloWorld gadget should work out of the box. maybe you have made a 
>>mistake 
>>in the gadget xml. If you could share the source, I would happy to look in to 
>>it. you can read about the soap support on [1] document.
>>
>>[1] 
http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>Regards,
>>/Nuwan
>>
>>
>>On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:
>>
>>Hi,
>>>
>>>
>>>I would restate this problem since I posted in a wrong place and there were 
>>>no 
>>>responses so far.
>>>
>>>
>>>I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. 
>>>It 
>>>doesn't show anything but gadget title in my laptop. The error message from 
>>>chrome is
>>>
>>>Failed to load resource: the server responded with a status of 405 (HTTP 
>>>method 
>>>GET is not supported by this URL)
>>>Refused to set unsafe header "Content-length"
>>>Refused to set unsafe header "Connection"
>>>ifr:989Uncaught  ReferenceError: _IG_AddDOMEventHandler is not defined
>>>ifr:551Uncaught ReferenceError: wso2 is not  defined
>>> 1. concat:1741Uncaught TypeError: Cannot  read property 'nodeType' of 
>>undefined
>>>
>>>
>>>I would like to know how  
>>>and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I 
>>>couldn't 
>>>find any doc on wso2 javascript for SOAP, or anything like wso2.js.
>>>
>>>
>>>Thanks,
>>>
>>>
>>>Xue-Feng
>>>
>>>
>>>
>>>
>>>

From: Afkham Azeez 
>>>To: Xue-Feng Yang ; Charitha Kankanamge  
>>>
>>>Cc: carbon-dev@wso2.org
>>>Sent: Tue, March 1, 2011 10:58:16 PM
>>>Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver
>>>
>>>
>>>
>>>
>>>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>>>
>>>


On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:

Hi Afkham,
>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>appserver)
>
>
>No one answered so far.
>
>
>
>
>>>
>>>
>>>Yeah, Chad sample is not working. We have made a big mistake in shipping 
>>>with a 
>>>broken sample. Sorry about that. I will look into this.
>>
>>
>>Isuru/SupunM,
>>Admin cannot login since there is a Javascript error.
>>
>>  1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>>  1. WSRequest._processResultWSRequest.js:213
>>  2. WSRequest._handleReadyStateWSRequest.js:279
>>  3. (anonymous function)
>> 
>>>
>>>
>>>-- 
>>>Afkham Azeez
>>>Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 
>>>
>>>
>>>Member; Apache Software Foundation; http://www.apache.org/
>>>email: azeez@wso2.comcell: +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
>>>
>>>
>>
>>
>>-- 
>>Thanks & Regards,
>>
>>Nuwan Bandara
>>Software Engineer
>>WSO2 Inc. | http://wso2.com
>>lean . enterprise . middleware
>>
>>http://www.nuwanbando.com
>>
>>
>>
>>
>>
>>___
>>Carbon-dev mailing list
>>Carbon-dev@wso2.org
>>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>Thanks,
>Samisa...
>Samisa Abeysinghe
>VP Engineering
>
>W

Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Samisa Abeysinghe
Yes, it does not work even with the app server up. :(

This is a bug.

On Wed, Mar 2, 2011 at 8:32 AM, Xue-Feng Yang  wrote:

> Of course, I have a hello service in appserver.
>
>
> --
> *From:* Samisa Abeysinghe 
>
> *To:* carbon-dev@wso2.org
> *Cc:* Xue-Feng Yang 
> *Sent:* Wed, March 2, 2011 10:56:58 AM
> *Subject:* Re: [Carbon-dev] Fw: Hello World Gadget doesn't work
>
>
>
> On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe  wrote:
>
>> Do you have the service endpoint up and running:
>> http://localhost:9763/services/HelloService?
>
>
> Note that, I see the behavior you are seeing  when I do not have the
> service endpoint.
>
> I think that is a problem for "Hello World" sample's usability. We need a
> third party service in there. Can we host the endpoint inside GS for this
> sample?
>
>
>>
>> On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang wrote:
>>
>>>
>>>
>>> - Forwarded Message 
>>> *From:* Xue-Feng Yang 
>>> *To:* Nuwan Bandara 
>>> *Sent:* Wed, March 2, 2011 10:00:29 AM
>>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>>>
>>> Hi /Nuwan,
>>>
>>> The sample I used is exactly the copy of  the sample in the link
>>>
>>>
>>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>>
>>> with the help of "view plain". Sorry for shifting a little above.
>>>
>>> Could you please check it in a clean computer? Or tell me where is the
>>> method "wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers
>>> I downloaded.
>>>
>>> Thanks,
>>>
>>> Xue-Feng
>>>
>>>
>>>
>>> --
>>> *From:* Nuwan Bandara 
>>> *To:* carbon-dev@wso2.org
>>> *Cc:* Xue-Feng Yang 
>>> *Sent:* Wed, March 2, 2011 9:14:22 AM
>>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work
>>>
>>> Hi Yang,
>>>
>>> The HelloWorld gadget should work out of the box. maybe you have made a
>>> mistake in the gadget xml. If you could share the source, I would happy to
>>> look in to it. you can read about the soap support on [1] document.
>>>
>>> [1]
>>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>>
>>> Regards,
>>> /Nuwan
>>>
>>> On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang wrote:
>>>
 Hi,

 I would restate this problem since I posted in a wrong place and there
 were no responses so far.

 I am testing the sample
 from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It doesn't show 
 anything
 but gadget title in my laptop. The error message from chrome is

 Failed to load resource: the server responded with a status of 405 (HTTP
 method GET is not supported by this URL)
 Refused to set unsafe header "Content-length"
 Refused to set unsafe header "Connection"
 ifr:989Uncaught
 ReferenceError: _IG_AddDOMEventHandler is not defined
 ifr:551Uncaught
 ReferenceError: wso2 is not defined

1. 
 concat:1741Uncaught
TypeError: Cannot read property 'nodeType' of undefined


 I would like to know how 
 and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I
 couldn't find any doc on wso2 javascript for SOAP, or anything like
 wso2.js.

 Thanks,

 Xue-Feng


 --
 *From:* Afkham Azeez 
 *To:* Xue-Feng Yang ; Charitha Kankanamge <
 chari...@wso2.com>
 *Cc:* carbon-dev@wso2.org
 *Sent:* Tue, March 1, 2011 10:58:16 PM
 *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver



 On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:

>
>
> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Ya

Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Xue-Feng Yang
I couldn't find any javascript code in the browser corresponding to .  

I couldn't find any javascript code in gadget server containing string 
"wso2.io".

Could you please explain this to me?

Thanks,

Xue-Feng





From: Samisa Abeysinghe 
To: carbon-dev@wso2.org
Cc: Xue-Feng Yang 
Sent: Wed, March 2, 2011 10:56:58 AM
Subject: Re: [Carbon-dev] Fw: Hello World Gadget doesn't work




On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe  wrote:

Do you have the service endpoint up and 
running: http://localhost:9763/services/HelloService?

Note that, I see the behavior you are seeing  when I do not have the service 
endpoint. 

I think that is a problem for "Hello World" sample's usability. We need a third 
party service in there. Can we host the endpoint inside GS for this sample? 


>
>
>On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang  wrote:
>
>
>>
>>
>>
>>- Forwarded Message 
>>From: Xue-Feng Yang 
>>To: Nuwan Bandara 
>>Sent: Wed, March 2, 2011 10:00:29 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi /Nuwan,
>>
>>
>>The sample I used is exactly the copy of  the sample in the link
>>
>>
>>http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>
>>with the help of "view plain". Sorry for shifting a little above.
>>
>>
>>Could you please check it in a clean computer? Or tell me where is the method 
>>"wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers I 
>>downloaded.
>>
>>
>>Thanks,
>>
>>Xue-Feng
>>
>>
>>
>>
>>
>>
>>

From: Nuwan Bandara 
>>To: carbon-dev@wso2.org
>>Cc: Xue-Feng Yang 
>>Sent: Wed,  March 2, 2011 9:14:22 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi Yang,
>>
>>The HelloWorld gadget should work out of the box. maybe you have made a 
>>mistake 
>>in the gadget xml. If you could share the source, I would happy to look in to 
>>it. you can read about the soap support on [1] document.
>>
>>[1] 
http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>Regards,
>>/Nuwan
>>
>>
>>On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:
>>
>>Hi,
>>>
>>>
>>>I would restate this problem since I posted in a wrong place and there were 
>>>no 
>>>responses so far.
>>>
>>>
>>>I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. 
>>>It 
>>>doesn't show anything but gadget title in my laptop. The error message from 
>>>chrome is
>>>
>>>Failed to load resource: the server responded with a status of 405 (HTTP 
>>>method 
>>>GET is not supported by this URL)
>>>Refused to set unsafe header "Content-length"
>>>Refused to set unsafe header "Connection"
>>>ifr:989Uncaught  ReferenceError: _IG_AddDOMEventHandler is not defined
>>>ifr:551Uncaught ReferenceError: wso2 is not  defined
>>> 1. concat:1741Uncaught TypeError: Cannot  read property 'nodeType' of 
>>undefined
>>>
>>>
>>>I would like to know how  
>>>and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I 
>>>couldn't 
>>>find any doc on wso2 javascript for SOAP, or anything like wso2.js.
>>>
>>>
>>>Thanks,
>>>
>>>
>>>Xue-Feng
>>>
>>>
>>>
>>>
>>>

From: Afkham Azeez 
>>>To: Xue-Feng Yang ; Charitha Kankanamge  
>>>
>>>Cc: carbon-dev@wso2.org
>>>Sent: Tue, March 1, 2011 10:58:16 PM
>>>Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver
>>>
>>>
>>>
>>>
>>>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>>>
>>>


On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:

Hi Afkham,
>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>appserver)
>
>
>No one answered so far.
>
>
>
>
>>>
>>>
>>>Yeah, Chad sample is not working. We have made a big mistake in shipping 
>>>with a 
>>>broken sample. Sorry about that. I will look into this.
>>
>>
>>Isuru/SupunM,
>>Admin cannot login since there is a Javascript error.
>>
>>  1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>>  1. WSRequest._processResultWSRequest.js:213
>>  2. WSRequest._handleReadyStateWSRequest.js:279
>>  3. (anonymous function)
>> 
>>>
>>>
>>>-- 
>>>Afkham Azeez
>>>Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 
>>>
>>>
>>>Member; Apache Software Foundation; http://www.apache.org/
>>>email: azeez@wso2.comcell: +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
>>>
>>>
>>
>>
>>-- 
>>Thanks & Regards,
>>
>>Nuwan Bandara
>>Software Engineer
>>WSO2 Inc. | http://wso2.com
>>lean . enterprise . middleware
>>
>>http://www.nuwanbando.com
>>
>>
>>
>>
>>
>>___
>>Carbon

[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
Mar 2, 2011 6:05:20 AM org.apache.axis2.deployment.DeploymentEngine 
addServiceGroup
INFO: Deploying Web service: SecureService.aar - 
file:/home/carbon/stratos/carbon/dependencies/rampart/modules/rampart-integration/target/test-resources/rahas_service_repo_3/services/SecureService.aar
Mar 2, 2011 6:05:20 AM 
org.apache.axis2.transport.http.server.DefaultConnectionListener run
INFO: Listening on port 
Mar 2, 2011 6:05:22 AM org.apache.axis2.deployment.DeploymentEngine 
prepareRepository
INFO: No services directory was found under 
/home/carbon/stratos/carbon/dependencies/rampart/modules/rampart-integration/target/test-resources/rahas_client_repo.
Mar 2, 2011 6:05:22 AM org.apache.axis2.deployment.ModuleDeployer deploy
INFO: Deploying module: addressing-1.6.0-SNAPSHOT - 
file:/home/carbon/stratos/carbon/dependencies/rampart/modules/rampart-integration/target/test-resources/rahas_client_repo/modules/addressing-1.6.0-SNAPSHOT.mar
Mar 2, 2011 6:05:22 AM org.apache.axis2.deployment.ModuleDeployer deploy
INFO: Deploying module: rampart-1.6.0-SNAPSHOT - 
file:/home/carbon/stratos/carbon/dependencies/rampart/modules/rampart-integration/target/test-resources/rahas_client_repo/modules/rampart-1.6.0-SNAPSHOT.mar
Server started on port .[SimpleHTTPServer] Stop called
Mar 2, 2011 6:05:22 AM org.apache.axis2.transport.http.server.SimpleHttpServer 
destroy
INFO: Shut down connection listener
Mar 2, 2011 6:05:22 AM org.apache.axis2.transport.http.server.SimpleHttpServer 
destroy
INFO: Shut down HTTP processors
Mar 2, 2011 6:05:25 AM org.apache.axis2.transport.http.server.SimpleHttpServer 
destroy
INFO: Force shut down HTTP processors
Mar 2, 2011 6:05:25 AM org.apache.axis2.transport.http.server.SimpleHttpServer 
destroy
INFO: HTTP protocol handler shut down
Server stopped .@SLTests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 5.143 sec

Results :

Failed tests: 
  testWithPolicy(org.apache.rampart.RampartTest)

Tests run: 43, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/stratos/carbon/dependencies/rampart/modules/rampart-integration/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 4 minutes 37 seconds
[INFO] Finished at: Wed Mar 02 06:05:25 IST 2011
[INFO] Final Memory: 117M/1241M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache Sandesha
[INFO]   Sandesha2 - Resource bundle
[INFO]   Sandesha2 - Core
[INFO]   Sandesha2 - Mar
[INFO]   Sandesha2 - Client
[INFO]   Sandesha2 - Policy
[INFO]   Sandesha2 - Rampart Integration
[INFO]   Sandesha2 - Samples
[INFO]   Sandesha2 - Test Suite
[INFO]   Sandesha2 - Interop
[INFO]   Sandesha2 - Persistent Storage
[INFO]   Sandesha2 - Distribution
[INFO] 
[INFO] Building Apache Sandesha
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting /home/carbon/stratos/carbon/dependencies/sandesha/target
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Parent project loaded from repository.
[INFO] [apache-rat:check {execution: default}]
[INFO] Exclude: dependency-reduced-pom.xml
--
  
0125:test=AsyncTextPlain,data=Latin1,server=greenmail,protocol=imap,client=javamail,layout=flat,endpoint=axis(org.apache.axis2.transport.mail.MailTransportTest)
  
0126:test=AsyncTextPlain,data=ASCII,server=greenmail,protocol=imap,client=javamail,layout=multipart,endpoint=axis(org.apache.axis2.transport.mail.MailTransportTest)
  
0127:test=AsyncTextPlain,data=UTF8,server=greenmail,protocol=imap,client=javamail,layout=multipart,endpoint=axis(org.apache.axis2.transport.mail.MailTransportTest)
  
0128:test=AsyncTextPlain,data=Latin1,server=greenmail,protocol=imap,client=javamail,layout=multipart,endpoint=axis(org.apache.axis2.transport.mail.MailTransportTest)
  
0129:test=AsyncBinary,server=greenmail,protocol=imap,layout=flat,client=axis,endpoint=axis(org.apache.axis2.transport.mail.MailTransportTest)
  
0130:test=AsyncBinary,server=greenmail,protocol=imap,layout=multipart,client=axis,endpoi

Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Prabath Siriwardana
I did a build from a complete fresh checkout - works fine - tested with IS..

Thanks & regards,
-Prabath

On Mon, Feb 28, 2011 at 8:32 PM, Sumedha Rubasinghe wrote:

> Let me check n get back.
> /sumedha
>
>
> On Mon, Feb 28, 2011 at 8:03 PM, Pavithra Madurangi wrote:
>
>> This error occurs in IS too.
>>
>> Regards,
>> Pavithra
>>
>>
>> On Mon, Feb 28, 2011 at 5:22 PM, Amila Maha Arachchi wrote:
>>
>>> Hi,
>>>
>>> Same error occurred to me when trying to start the AppServer which was
>>> taken from the latest (Sunday) build. What can be the reason? May be this
>>> occurs in other products too.
>>>
>>> Thanks,
>>> AmilaM.
>>>
>>> On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage 
>>> wrote:
>>>
 Hi,

 ESB cannot be started due to a DB error. Please look into the issue. See
 attached error log.

 Regards,
 Tharinda

 ___
 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 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
>
>


-- 
Thanks & Regards,
Prabath

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


Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

2011-03-01 Thread Xue-Feng Yang
Thanks Samisa. 

So far there are too many samples not work in my evaluation process. And 
developers here just didn't believe me. Actually, I am IT professional many 
years, a professor, directors of some research, VP, CTO, CTA, CS.  






From: Samisa Abeysinghe 
To: Xue-Feng Yang 
Cc: carbon-dev@wso2.org
Sent: Wed, March 2, 2011 11:17:20 AM
Subject: Re: [Carbon-dev] Fw: Hello World Gadget doesn't work

Yes, it does not work even with the app server up. :(

This is a bug. 


On Wed, Mar 2, 2011 at 8:32 AM, Xue-Feng Yang  wrote:

Of course, I have a hello service in appserver. 
>
>
>
>
>

 From: Samisa Abeysinghe 
>
>To: carbon-dev@wso2.org
>Cc: Xue-Feng Yang 
>Sent: Wed, March 2, 2011 10:56:58 AM
>Subject: Re: [Carbon-dev] Fw: Hello World Gadget doesn't work
>
>
>
>
>
>On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe  wrote:
>
>Do you have the service endpoint up and 
>running: http://localhost:9763/services/HelloService?

Note that, I see the behavior you are seeing  when I do not have the service 
endpoint. 

I think that is a problem for "Hello World" sample's usability. We need a third 
party service in there. Can we host the endpoint inside GS for this sample? 


>
>
>On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang  wrote:
>
>
>>
>>
>>
>>- Forwarded Message 
>>From: Xue-Feng Yang 
>>To: Nuwan Bandara 
>>Sent: Wed, March 2, 2011 10:00:29 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi /Nuwan,
>>
>>
>>The sample I used is exactly the copy of  the sample in the link
>>
>>
>>http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>
>>with the help of "view plain". Sorry for shifting a little above.
>>
>>
>>Could you please check it in a clean computer? Or tell me where is the method 
>>"wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers I 
>>downloaded.
>>
>>
>>Thanks,
>>
>>Xue-Feng
>>
>>
>>
>>
>>
>>
>>

From: Nuwan Bandara 
>>To: carbon-dev@wso2.org
>>Cc: Xue-Feng Yang 
>>Sent: Wed,  March 2, 2011 9:14:22 AM
>>Subject: Re: [Carbon-dev] Hello World Gadget doesn't work
>>
>>
>>Hi Yang,
>>
>>The HelloWorld gadget should work out of the box. maybe you have made a 
>>mistake 
>>in the gadget xml. If you could share the source, I would happy to look in to 
>>it. you can read about the soap support on [1] document.
>>
>>[1] 
http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP
>>
>>Regards,
>>/Nuwan
>>
>>
>>On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang  wrote:
>>
>>Hi,
>>>
>>>
>>>I would restate this problem since I posted in a wrong place and there were 
>>>no 
>>>responses so far.
>>>
>>>
>>>I am testing the sample from wso2gs-1.3.0/docs/gadget_authoring.html#hello. 
>>>It 
>>>doesn't show anything but gadget title in my laptop. The error message from 
>>>chrome is
>>>
>>>Failed to load resource: the server responded with a status of 405 (HTTP 
>>>method 
>>>GET is not supported by this URL)
>>>Refused to set unsafe header "Content-length"
>>>Refused to set unsafe header "Connection"
>>>ifr:989Uncaught  ReferenceError: _IG_AddDOMEventHandler is not defined
>>>ifr:551Uncaught ReferenceError: wso2 is not  defined
>>> 1. concat:1741Uncaught TypeError: Cannot  read property 'nodeType' of 
>>undefined
>>>
>>>
>>>I would like to know how  
>>>and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I 
>>>couldn't 
>>>find any doc on wso2 javascript for SOAP, or anything like wso2.js.
>>>
>>>
>>>Thanks,
>>>
>>>
>>>Xue-Feng
>>>
>>>
>>>
>>>
>>>

From: Afkham Azeez 
>>>To: Xue-Feng Yang ; Charitha Kankanamge  
>>>
>>>Cc: carbon-dev@wso2.org
>>>Sent: Tue, March 1, 2011 10:58:16 PM
>>>Subject: Re: [Carbon-dev] Sample CommodityQuote in appserver
>>>
>>>
>>>
>>>
>>>On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez  wrote:
>>>
>>>


On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang  wrote:

Hi Afkham,
>2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in 
>appserver)
>
>
>No one answered so far.
>
>
>
>
>>>
>>>
>>>Yeah, Chad sample is not working. We have made a big mistake in shipping 
>>>with a 
>>>broken sample. Sorry about that. I will look into this.
>>
>>
>>Isuru/SupunM,
>>Admin cannot login since there is a Javascript error.
>>
>>  1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4
>>  1. WSRequest._processResultWSRequest.js:213
>>  2. WSRequest._handleReadyStateWSRequest.js:279
>>  3. (anonymous function)
>> 
>>>
>>>
>>>-- 
>>>Afkham Azeez
>>>Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, 
>>>
>>>
>>>Member; Apache Software Foundation; http://www.apache.org/
>>>email: azeez@wso2.comcell: +94 77 3320919
>>>blog: http://blog.afkham.org
>>>twitter: http://twitter.com/afkham_azeez
>>>linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>
>>>
>>>
>>>Lean . Enterprise . M

Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Charitha Kankanamge
Hi Prabath,
I just downloaded a pack from
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/ (the last built
time was 01-Mar-2011 16:25) and still get the same error hence we cannot
start the server.

Regards
Charitha


On Wed, Mar 2, 2011 at 8:59 AM, Prabath Siriwardana wrote:

> I did a build from a complete fresh checkout - works fine - tested with
> IS..
>
> Thanks & regards,
> -Prabath
>
>
> On Mon, Feb 28, 2011 at 8:32 PM, Sumedha Rubasinghe wrote:
>
>> Let me check n get back.
>> /sumedha
>>
>>
>> On Mon, Feb 28, 2011 at 8:03 PM, Pavithra Madurangi wrote:
>>
>>> This error occurs in IS too.
>>>
>>> Regards,
>>> Pavithra
>>>
>>>
>>> On Mon, Feb 28, 2011 at 5:22 PM, Amila Maha Arachchi wrote:
>>>
 Hi,

 Same error occurred to me when trying to start the AppServer which was
 taken from the latest (Sunday) build. What can be the reason? May be this
 occurs in other products too.

 Thanks,
 AmilaM.

 On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage 
 wrote:

> Hi,
>
> ESB cannot be started due to a DB error. Please look into the issue.
> See attached error log.
>
> Regards,
> Tharinda
>
> ___
> 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 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
>>
>>
>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.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


Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Prabath Abeysekera
Hi Tharinda,

On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage wrote:

> Hi,
>
> ESB cannot be started due to a DB error. Please look into the issue. See
> attached error log.
>
>
As sumedha mentioned in a previous mail, most of the times this error occurs
when
you use different versions of h2 driver jar for the client and the server.
Please check
whether the drivers used for those are of the same version.



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

Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com 
Mobile: +94774171471


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


Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Waruna Ranasinghe
It seems that the database files are generated from h2 1.1.x and
product distribution has h2 1.2.x (x > 128)

Thanks,
Waruna

On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage wrote:

> Hi,
>
> ESB cannot be started due to a DB error. Please look into the issue. See
> attached error log.
>
> Regards,
> Tharinda
>
> ___
> 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: +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


Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Charitha Kankanamge
Hi,
As I stated in my previous reply, I also got the same error. Note that we
did not do any changes to H2 Driver or any other. We just downloaded the
pack and tried to start.

1. Download wso2 appserver pack from
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
2. Extract the binary distro
3. go to CARBON_HOME/bin and start server (sh wso2server.sh)

Regards
Charitha


On Wed, Mar 2, 2011 at 9:23 AM, Prabath Abeysekera wrote:

> Hi Tharinda,
>
> On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage wrote:
>
>> Hi,
>>
>> ESB cannot be started due to a DB error. Please look into the issue. See
>> attached error log.
>>
>>
> As sumedha mentioned in a previous mail, most of the times this error
> occurs when
> you use different versions of h2 driver jar for the client and the server.
> Please check
> whether the drivers used for those are of the same version.
>
>
>
>> Regards,
>> Tharinda
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> Regards,
> --
> Prabath Abeysekara
> Software Engineer
> WSO2 Inc.
> Email: praba...@wso2.com 
> Mobile: +94774171471
>
> 
>
>
> ___
> 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] Sample Chad in appserver

2011-03-01 Thread Supun Malinga
On Wed, Mar 2, 2011 at 9:58 AM, Charitha Kankanamge wrote:

> I just tested Chad sample in a fresh WSO2 AppServer-4.0.0 distribution and
> I was able to login to Chad UI without any issue. See the attached screen
> shot.
>
> There is a limitation in this sample if you change HTTP port, you cannot
> login to ChadUI. You can try this out in a fresh AppServer build without
> changing default ports.
>
> and the sample didn't work for chrome, Please try it via firefox.

thanks.

> Regards
> Charitha
>
>
>
> On Wed, Mar 2, 2011 at 1:02 AM, Xue-Feng Yang  wrote:
>
>> Hi,
>>
>> Forgot to say there are no reactions at all on appserver side.
>>
>> Xue-Feng
>>
>> --
>> *From:* Xue-Feng Yang 
>>
>> *To:* carbon-dev@wso2.org
>> *Sent:* Wed, March 2, 2011 3:21:57 AM
>>
>> *Subject:* Re: [Carbon-dev] Sample Chad in appserver
>>
>> Hi,
>>
>> Yes, I changed port number as ShoppingCart sample for Carbon Studio
>> requested.
>>
>> However, I checked there is no hard code anywhere for port number in this
>> sample although most of the samples do have hard code for port numbers. So I
>> believe that the problem is not related to port numbers.
>>
>> I tested in three browsers chrome, firefox, and ie. It doesn't work for
>> all three browsers. Three have different behaviors.
>>
>> chrome: 1. After type the link http://127.0.0.1:9764/Chad/ and return, a
>> page shows appserver logo on the upper left and Chad logo on the upper
>> right. That means port number is not a problem.
>>
>> 2. An important observation here is in a very short time(less .5 second),
>> I saw a list of links on the left side, but then only the first one "Active
>> Polls" stayed here.
>>
>> 3. Under Chad logo, it is link "Adminstrator Login". When click it, a
>> login dialog shows. After typed Default username/password and clicked on
>> "Sign In". Nothing happens.
>>
>> firefox: 1 and 2 are the same. 3. After click "Sign In" button, an
>> "Internet Security" popped up. After click on "Allow" button, again, nothing
>> happens.
>>
>> ie: 1 and 2 are the same. 3. After click "Sign In" button, a rectangular
>> shadow shows. On the shadow, a error message threw "Reason : Server
>> connection has failed.". Below the message, there is a "OK" button. Click
>> it, and of course nothing happens.
>>
>> I believed it should a javascript problem so that I started to find docs
>> on wso2 javascript, but no lucky.
>>
>> Thanks,
>>
>> Xue-Feng
>>
>> --
>> *From:* Supun Malinga 
>> *To:* carbon-dev@wso2.org
>> *Cc:* Xue-Feng Yang 
>> *Sent:* Wed, March 2, 2011 1:17:11 AM
>> *Subject:* Re: [Carbon-dev] Sample Chad in appserver
>>
>> Hi,
>>
>> On Sun, Feb 27, 2011 at 10:17 PM, Xue-Feng Yang wrote:
>>
>>> Hi
>>>
>>> Did anyone test sample Chat in wso2appserver-4.0.0?
>>>
>> yes we did test this before the release.
>>
>> I just tried it works for me.
>>
>>>
>>> I just built and tested. Seems to me all services are working, which I
>>> tried. However, when I went to URL(http://192.168.1.56:9764/Chad/), type
>>> default username/password in administrator login page, but nothing
>>> happened.
>>>
>> the default url would be, http://127.0.0.1:9763/Chad unless you changes
>> the port.
>>
>> Can you please explain further what you observed?
>>
>> thanks,
>>
>>>
>>> Thanks,
>>>
>>> Xue-Feng
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - sup...@wso2.com 
>> mobile - 071 56 91 321
>>
>>
>>
>>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Senaka Fernando
Hi all,

Wow, this amazing.

On Tue, Mar 1, 2011 at 2:56 PM, Chamara Silva  wrote:

> Suggestion : Better if we can finalized separated predefined jar list for
> every product.
>
> regards,
> Chamara
>
>
> On Tue, Mar 1, 2011 at 2:49 PM, Charitha Kankanamge wrote:
>
>>
>> Correction: "We have excluded all *.ui bundles since we are invoking only
>> the BE methods through admin service test framework"
>>
>>
>>
>> On Tue, Mar 1, 2011 at 2:47 PM, Charitha Kankanamge wrote:
>>
>>> Senaka and G-reg team,
>>>
>>> Could you please go through this report and check whether the coverage
>>> figures are valid?
>>
>>
I believe that the reports are correct. But, you need to run the governance
API, WS Client and the JCR Client, Check-in Check-out client as well, which
will improve the coverage. I'm not sure why the bean classes were not
covered. Ideally, if you used the service, the bean classes would be used.
So, its kind of strange.


> We have excluded all *.ui bundles since we are not invoking BE methods
>>> through admin service test framework.
>>>
>>
The following are also not required.

/home/thilini/Desktop/coverage/wso2greg-3.6.0/repository/components/plugins/org.wso2.carbon.registry.admin.api-3.1.0.jar
/home/thilini/Desktop/coverage/wso2greg-3.6.0/repository/components/plugins/org.wso2.governance.styles-3.6.0.jar

One has interfaces only and the other one is UI.

Thanks,
Senaka.


>>> Regards
>>> Charitha
>>>
>>> On Tue, Mar 1, 2011 at 2:43 PM, Chamara Silva  wrote:
>>>
 Please review jar-list and let us know if we need to do any changes.

 Regads,
 Chamara

 On Tue, Mar 1, 2011 at 1:47 PM, Thilini Ishaka wrote:

>
> Hi All,
>
> We have found that the G-Reg test coverage in Automated Test Framework
> is *47%*. Please refer the attached EMMA coverage report.
> The jar list is also attached herewith. We have filtered only the
> necessary jars and removed unwanted from the jarlist.
>
>
> Thanks
>
> Regards,
>
> --
> Thilini Ishaka
> email: thil...@wso2.com
> mobile: <%2B94%20718408171>+94 718408171
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


 --
 Suminda Chamara Silva
 WSO2 Inc.
 Mobile: +94 718 302858
 blog: http://chamaras.blogspot.com

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


>>>
>>
>
>
> --
> Suminda Chamara Silva
> WSO2 Inc.
> Mobile: +94 718 302858
> blog: http://chamaras.blogspot.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

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


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-03-01 Thread WSO2 Builder
Tests run: 150, Failures: 0, Errors: 150, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 21 seconds
[INFO] Finished at: Wed Mar 02 10:38:54 IST 2011
[INFO] Final Memory: 149M/1246M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache Synapse - Secure vault
[INFO]   Apache Synapse
[INFO]   Apache Synapse - Commons classes
[INFO]   Apache Synapse - Transports
[INFO]   Apache Synapse - Non-blocking HTTP/s Transport
[INFO]   Apache Synapse - PIPE Transport
[INFO]   Apache Synapse - VFS Transport
[INFO]   Apache Synapse - Tasks classes
[INFO]   Apache Synapse - Core
[INFO]   Apache Synapse - FIX Transport
[INFO]   Apache Synapse - Extensions
[INFO]   Apache Synapse - Samples
[INFO]   Apache Synapse - Patches
[INFO]   Apache Synapse - Experimental code
[INFO]   Apache Synapse - Web Application
[INFO]   Apache Synapse - Handler Module
[INFO]   Apache Synapse - XAR Maven Plugin
[INFO]   Apache Synapse - Configuration Migrator
[INFO]   Apache Synapse - Distribution
[INFO]   Apache Synapse - Package skeleton ZIP
[INFO]   Apache Synapse - Package archetype
[INFO] 
[INFO] Building Apache Synapse - Secure vault
[INFO]task-segment: [clean, install]
[INFO] 
--
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec
Running org.apache.shindig.gadgets.features.FeatureParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.shindig.gadgets.spec.MessageBundleTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.shindig.gadgets.HashLockedDomainServiceTest
Mar 2, 2011 10:46:56 AM org.apache.shindig.gadgets.HashLockedDomainService 

WARNING: No locked domain configuration for default
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.shindig.gadgets.spec.ApplicationManifestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.shindig.gadgets.http.InvalidationHandlerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec

Results :

Tests in error: 
  
testNoDecodeHttpResponseForUnRewriteableMimeTypes(org.apache.shindig.gadgets.rewrite.DefaultContentRewriterRegistryTest)
  specFetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  specRefetchedAsync(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  staleSpecIsRefetched(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
staleSpecReturnedFromCacheOnError(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  badFetchThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
malformedGadgetSpecIsCachedAndThrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)
  
throwingPipelineRethrows(org.apache.shindig.gadgets.DefaultGadgetSpecFactoryTest)

Tests run: 1096, Failures: 0, Errors: 9, Skipped: 6

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/stratos/carbon/dependencies/shindig/java/gadgets/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 11 seconds
[INFO] Finished at: Wed Mar 02 10:46:57 IST 2011
[INFO] Final Memory: 82M/1276M
[INFO] 
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   ODE
[INFO]   ODE :: Agents
[INFO]   ODE :: Utilities
[INFO]   ODE :: Java Concurrent Objects (JACOB)
[INFO]   ODE :: BPEL Schemas
[INFO]   ODE :: BPEL Test Script Files
[INFO]   ODE :: OBJ
[INFO]   ODE :: APIs
[INFO]   ODE :: JCA Connector
[INFO]   ODE :: DAO Interfaces
[INFO]   ODE :: OpenJPA DAO Impl
[INFO]  

[Carbon-dev] ESB startup error

2011-03-01 Thread Prabath Siriwardana
>From the latest trunk...

[2011-03-02 12:21:46,928] ERROR - Axis2ServiceRegistry Error building
service from bundle : Symbolic Name: org.wso2.carbon.event.admin,Bundle
Version: 3.2.0.SNAPSHOT, ID: 143
java.lang.NoClassDefFoundError:
[Lorg/wso2/carbon/qpid/commons/SubscriptionDetails;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.axis2.description.java2wsdl.bytecode.MethodTable.loadMethods(MethodTable.java:43)
at
org.apache.axis2.description.java2wsdl.bytecode.MethodTable.(MethodTable.java:33)
at
org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.(DefaultSchemaGenerator.java:141)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:389)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:216)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
Caused by: java.lang.ClassNotFoundException:
org.wso2.carbon.qpid.commons.SubscriptionDetails
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 19 more
[2011-03-02 12:21:47,004] ERROR - Axis2ServiceRegistry Error building
service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
Version: 3.2.0.SNAPSHOT, ID: 150
org.apache.axis2.AxisFault: Two services cannot have same name.  A service
with the EventBrokerService [null] name already exists in the system.
at
org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
at
org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
at
org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
at
org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)


-- 
Thanks & Regards,
Prabath

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


Re: [Carbon-dev] 27th Feb ESB snapshot build fails due to DB error

2011-03-01 Thread Tharindu Mathew
I also got this error when I tried to start up G-Reg after downloading from
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

On Wed, Mar 2, 2011 at 9:29 AM, Charitha Kankanamge wrote:

> Hi,
> As I stated in my previous reply, I also got the same error. Note that we
> did not do any changes to H2 Driver or any other. We just downloaded the
> pack and tried to start.
>
> 1. Download wso2 appserver pack from
> http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
> 2. Extract the binary distro
> 3. go to CARBON_HOME/bin and start server (sh wso2server.sh)
>
> Regards
> Charitha
>
>
>
> On Wed, Mar 2, 2011 at 9:23 AM, Prabath Abeysekera wrote:
>
>> Hi Tharinda,
>>
>> On Mon, Feb 28, 2011 at 10:25 AM, Tharinda Liyanage wrote:
>>
>>> Hi,
>>>
>>> ESB cannot be started due to a DB error. Please look into the issue. See
>>> attached error log.
>>>
>>>
>> As sumedha mentioned in a previous mail, most of the times this error
>> occurs when
>> you use different versions of h2 driver jar for the client and the server.
>> Please check
>> whether the drivers used for those are of the same version.
>>
>>
>>
>>> Regards,
>>> Tharinda
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> Regards,
>> --
>> Prabath Abeysekara
>> Software Engineer
>> WSO2 Inc.
>> Email: praba...@wso2.com 
>> Mobile: +94774171471
>>
>> 
>>
>>
>> ___
>> 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
>
>


-- 
Regards,

Tharindu Mathew

Software Engineer,
WSO2 Inc.,
http://wso2.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB startup error

2011-03-01 Thread Prabath Abeysekera
Hi,

This happens if the product you are trying to initialize has not yet
properly migrated to the
new eventing implementation.

On Wed, Mar 2, 2011 at 12:23 PM, Prabath Siriwardana wrote:

> From the latest trunk...
>
> [2011-03-02 12:21:46,928] ERROR - Axis2ServiceRegistry Error building
> service from bundle : Symbolic Name: org.wso2.carbon.event.admin,Bundle
> Version: 3.2.0.SNAPSHOT, ID: 143
> java.lang.NoClassDefFoundError:
> [Lorg/wso2/carbon/qpid/commons/SubscriptionDetails;
> at java.lang.Class.getDeclaredMethods0(Native Method)
>  at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>  at java.lang.Class.getMethods(Class.java:1410)
> at
> org.apache.axis2.description.java2wsdl.bytecode.MethodTable.loadMethods(MethodTable.java:43)
>  at
> org.apache.axis2.description.java2wsdl.bytecode.MethodTable.(MethodTable.java:33)
> at
> org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.(DefaultSchemaGenerator.java:141)
>  at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
> at
> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:389)
>  at
> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:216)
>  at
> org.wso2.carbon requires 
> .utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>  at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
> at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>  at
> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>  at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
> Caused by: java.lang.ClassNotFoundException:
> org.wso2.carbon.qpid.commons.SubscriptionDetails
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
>  at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
>  at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>  ... 19 more
> [2011-03-02 12:21:47,004] ERROR - Axis2ServiceRegistry Error building
> service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
> Version: 3.2.0.SNAPSHOT, ID: 150
> org.apache.axis2.AxisFault: Two services cannot have same name.  A service
> with the EventBrokerService [null] name already exists in the system.
> at
> org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
>  at
> org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
> at
> org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
>  at
> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
>  at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>  at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
> at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>  at
> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>  at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com 
Mobile: +94774171471


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


Re: [Carbon-dev] ESB startup error

2011-03-01 Thread Prabath Siriwardana
On Wed, Mar 2, 2011 at 12:37 PM, Prabath Abeysekera wrote:

> Hi,
>
> This happens if the product you are trying to initialize has not yet
> properly migrated to the
> new eventing implementation.
>

ESB team, can you please have a look..

Thanks & regards,
-Prabath


>
> On Wed, Mar 2, 2011 at 12:23 PM, Prabath Siriwardana wrote:
>
>> From the latest trunk...
>>
>> [2011-03-02 12:21:46,928] ERROR - Axis2ServiceRegistry Error building
>> service from bundle : Symbolic Name: org.wso2.carbon.event.admin,Bundle
>> Version: 3.2.0.SNAPSHOT, ID: 143
>> java.lang.NoClassDefFoundError:
>> [Lorg/wso2/carbon/qpid/commons/SubscriptionDetails;
>> at java.lang.Class.getDeclaredMethods0(Native Method)
>>  at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>> at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>>  at java.lang.Class.getMethods(Class.java:1410)
>> at
>> org.apache.axis2.description.java2wsdl.bytecode.MethodTable.loadMethods(MethodTable.java:43)
>>  at
>> org.apache.axis2.description.java2wsdl.bytecode.MethodTable.(MethodTable.java:33)
>> at
>> org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.(DefaultSchemaGenerator.java:141)
>>  at
>> org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
>> at
>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:389)
>>  at
>> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
>> at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:216)
>>  at
>> org.wso2.carbon requires 
>> .utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
>> at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>>  at
>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>> Caused by: java.lang.ClassNotFoundException:
>> org.wso2.carbon.qpid.commons.SubscriptionDetails
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
>>  at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
>>  at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>  ... 19 more
>> [2011-03-02 12:21:47,004] ERROR - Axis2ServiceRegistry Error building
>> service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
>> Version: 3.2.0.SNAPSHOT, ID: 150
>> org.apache.axis2.AxisFault: Two services cannot have same name.  A service
>> with the EventBrokerService [null] name already exists in the system.
>> at
>> org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
>>  at
>> org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
>> at
>> org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
>> at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
>> at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>>  at
>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> Regards,
> --
> Prabath Abeysekara
> Software Engineer
> WSO2 Inc.
> Email: praba...@wso2.com 
> Mobile

Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Krishantha Samaraweera
>
>
>
> I believe that the reports are correct. But, you need to run the governance
> API, WS Client and the JCR Client, Check-in Check-out client as well, which
> will improve the coverage. I'm not sure why the bean classes were not
> covered. Ideally, if you used the service, the bean classes would be used.
> So, its kind of strange.
>
>
We don't have tests for governance API, excepts the tests in carbon trunk.
We will write some tests for governance API as well. I am in the process of
integrating ws-api to test framework it will available within a day.
Checkin/out client tests only support on Linux we will add that to the
framework and will be executed only on Linux environments.

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