Re: [Dev] (no subject)

2017-11-15 Thread Dilusha Alphonso
Hi All,

According to the internal discussion with Mushthaq Rumy, I got an idea on
how to use the single user to achieve this.

After that, I created one user and assigned the particular role for this
user and assigned the same scope to both resources. Now both resources are
working fine.

Thanks for your support.

Thanks
Dilusha


On Wed, Nov 15, 2017 at 6:43 PM, Mushthaq Rumy  wrote:

> Hi Dilusha,
>
> AFAIK, since this is scope based permission for resources, this should
> work for both POST and DELETE resources even with the same user with the
> Administrator role.
>
> For example, if you create a scope with Administrator role and add this
> scope to all 3 resources, you should be able to generate an access token
> with the curl command.
>
> Have you given the correct scope while generating the access token? If so
> could please you provide the response of the access token generation curl?
>
> Thanks & Regards,
> Mushthaq
>
> On Wed, Nov 15, 2017 at 4:54 PM, Dilusha Alphonso 
> wrote:
>
>> Hi All,
>>
>> The Administrator(role) has resource permission for DELETE and POST.
>>
>> First  I have assigned the same user to both resources. so that
>> doesn't work for POST. But works for DELETE.
>>
>> After that, I created a new user (Admin_user) and assigned the same role
>> (Administrator). I used that username and password to get the access token.
>> I tested the POST resource with that access token. Now POST resource is
>> working fine.
>> Is this correct method?
>>
>> Thanks
>> Dilusha.
>>
>>
>>
>> On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi Dilusha,
>>>
>>> Please make sure you have the correct scope in the response of the token
>>> generation.
>>>
>>> Thank you!
>>>
>>> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
>>> wrote:
>>>
 Hi All,

 I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
 have to give the resource permission for the particular role.I follow this
 link [1]

 1. I created a new user in APIM management console using super tenant.
 ( user is User_Administrator) I didn't give any permission to that user.
 2. I assigned the roles to that user. ( user role is administrator).
 3. After I added the scope of the resource  API in the publisher for
 roles.
 4.I used the curl command to get the access token for that particular
 user.
 5.After I got access token I used it in the curl command to access the
 resource.  The GET and DELETE are working fine. but POST is giving the
 following error response.

 {"fault":{"code":900910,"message":"The access token does not allow you
 to access the requested resource","description":"Access failure for
 API: /test/1.0.0, version: 1.0.0 status: (900910) - The access token does
 not allow you to access the requested resource"}}

 It will be great if any of you can suggest a solution for this.


 [1].https://wso2.com/library/articles/2017/01/article-an-ove
 rview-of-scope-management-with-wso2-api-manager/


 Thanks
 Dilusha
 --


 *Best Regards,Dilusha Alphonso*

 *Software Engineer - Support Team*


 *WSO2*
 *Mobile : *

 *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
 *

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


>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>>
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Mushthaq Rumy
> *Software Engineer*
> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
> Email : musht...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> 
>



-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098[image: http://wso2.com/signature] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Mushthaq Rumy
Hi Dilusha,

AFAIK, since this is scope based permission for resources, this should work
for both POST and DELETE resources even with the same user with the
Administrator role.

For example, if you create a scope with Administrator role and add this
scope to all 3 resources, you should be able to generate an access token
with the curl command.

Have you given the correct scope while generating the access token? If so
could please you provide the response of the access token generation curl?

Thanks & Regards,
Mushthaq

On Wed, Nov 15, 2017 at 4:54 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> The Administrator(role) has resource permission for DELETE and POST.
>
> First  I have assigned the same user to both resources. so that
> doesn't work for POST. But works for DELETE.
>
> After that, I created a new user (Admin_user) and assigned the same role
> (Administrator). I used that username and password to get the access token.
> I tested the POST resource with that access token. Now POST resource is
> working fine.
> Is this correct method?
>
> Thanks
> Dilusha.
>
>
>
> On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka 
> wrote:
>
>> Hi Dilusha,
>>
>> Please make sure you have the correct scope in the response of the token
>> generation.
>>
>> Thank you!
>>
>> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
>> wrote:
>>
>>> Hi All,
>>>
>>> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
>>> have to give the resource permission for the particular role.I follow this
>>> link [1]
>>>
>>> 1. I created a new user in APIM management console using super tenant. (
>>> user is User_Administrator) I didn't give any permission to that user.
>>> 2. I assigned the roles to that user. ( user role is administrator).
>>> 3. After I added the scope of the resource  API in the publisher for
>>> roles.
>>> 4.I used the curl command to get the access token for that particular
>>> user.
>>> 5.After I got access token I used it in the curl command to access the
>>> resource.  The GET and DELETE are working fine. but POST is giving the
>>> following error response.
>>>
>>> {"fault":{"code":900910,"message":"The access token does not allow you
>>> to access the requested resource","description":"Access failure for
>>> API: /test/1.0.0, version: 1.0.0 status: (900910) - The access token does
>>> not allow you to access the requested resource"}}
>>>
>>> It will be great if any of you can suggest a solution for this.
>>>
>>>
>>> [1].https://wso2.com/library/articles/2017/01/article-an-ove
>>> rview-of-scope-management-with-wso2-api-manager/
>>>
>>>
>>> Thanks
>>> Dilusha
>>> --
>>>
>>>
>>> *Best Regards,Dilusha Alphonso*
>>>
>>> *Software Engineer - Support Team*
>>>
>>>
>>> *WSO2*
>>> *Mobile : *
>>>
>>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>
>
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.


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


Re: [Dev] (no subject)

2017-11-15 Thread Dilusha Alphonso
Hi All,

The Administrator(role) has resource permission for DELETE and POST.

First  I have assigned the same user to both resources. so that
doesn't work for POST. But works for DELETE.

After that, I created a new user (Admin_user) and assigned the same role
(Administrator). I used that username and password to get the access token.
I tested the POST resource with that access token. Now POST resource is
working fine.
Is this correct method?

Thanks
Dilusha.



On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka  wrote:

> Hi Dilusha,
>
> Please make sure you have the correct scope in the response of the token
> generation.
>
> Thank you!
>
> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
> wrote:
>
>> Hi All,
>>
>> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
>> have to give the resource permission for the particular role.I follow this
>> link [1]
>>
>> 1. I created a new user in APIM management console using super tenant. (
>> user is User_Administrator) I didn't give any permission to that user.
>> 2. I assigned the roles to that user. ( user role is administrator).
>> 3. After I added the scope of the resource  API in the publisher for
>> roles.
>> 4.I used the curl command to get the access token for that particular
>> user.
>> 5.After I got access token I used it in the curl command to access the
>> resource.  The GET and DELETE are working fine. but POST is giving the
>> following error response.
>>
>> {"fault":{"code":900910,"message":"The access token does not allow you
>> to access the requested resource","description":"Access failure for API:
>> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
>> allow you to access the requested resource"}}
>>
>> It will be great if any of you can suggest a solution for this.
>>
>>
>> [1].https://wso2.com/library/articles/2017/01/article-an-ove
>> rview-of-scope-management-with-wso2-api-manager/
>>
>>
>> Thanks
>> Dilusha
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098[image: http://wso2.com/signature] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Pubudu Gunatilaka
Hi Dilusha,

Please make sure you have the correct scope in the response of the token
generation.

Thank you!

On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
> have to give the resource permission for the particular role.I follow this
> link [1]
>
> 1. I created a new user in APIM management console using super tenant. (
> user is User_Administrator) I didn't give any permission to that user.
> 2. I assigned the roles to that user. ( user role is administrator).
> 3. After I added the scope of the resource  API in the publisher for roles.
> 4.I used the curl command to get the access token for that particular user.
> 5.After I got access token I used it in the curl command to access the
> resource.  The GET and DELETE are working fine. but POST is giving the
> following error response.
>
> {"fault":{"code":900910,"message":"The access token does not allow you to
> access the requested resource","description":"Access failure for API:
> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
> allow you to access the requested resource"}}
>
> It will be great if any of you can suggest a solution for this.
>
>
> [1].https://wso2.com/library/articles/2017/01/article-an-ove
> rview-of-scope-management-with-wso2-api-manager/
>
>
> Thanks
> Dilusha
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Rukshan Premathunga
Hi Dilusha,

What roles did you assign to that user? just administrator role assigned?
Can you assign login and subscriber role to that user and check?

Thanks and Regards

On Wed, Nov 15, 2017 at 3:22 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
> have to give the resource permission for the particular role.I follow this
> link [1]
>
> 1. I created a new user in APIM management console using super tenant. (
> user is User_Administrator) I didn't give any permission to that user.
> 2. I assigned the roles to that user. ( user role is administrator).
> 3. After I added the scope of the resource  API in the publisher for roles.
> 4.I used the curl command to get the access token for that particular user.
> 5.After I got access token I used it in the curl command to access the
> resource.  The GET and DELETE are working fine. but POST is giving the
> following error response.
>
> {"fault":{"code":900910,"message":"The access token does not allow you to
> access the requested resource","description":"Access failure for API:
> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
> allow you to access the requested resource"}}
>
> It will be great if any of you can suggest a solution for this.
>
>
> [1].https://wso2.com/library/articles/2017/01/article-an-ove
> rview-of-scope-management-with-wso2-api-manager/
>
>
> Thanks
> Dilusha
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2017-11-15 Thread Dilusha Alphonso
Hi All,

I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
have to give the resource permission for the particular role.I follow this
link [1]

1. I created a new user in APIM management console using super tenant. (
user is User_Administrator) I didn't give any permission to that user.
2. I assigned the roles to that user. ( user role is administrator).
3. After I added the scope of the resource  API in the publisher for roles.
4.I used the curl command to get the access token for that particular user.
5.After I got access token I used it in the curl command to access the
resource.  The GET and DELETE are working fine. but POST is giving the
following error response.

{"fault":{"code":900910,"message":"The access token does not allow you to
access the requested resource","description":"Access failure for API:
/test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
allow you to access the requested resource"}}

It will be great if any of you can suggest a solution for this.


[1].https://wso2.com/library/articles/2017/01/article-an-
overview-of-scope-management-with-wso2-api-manager/


Thanks
Dilusha
-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configuring Subject Claim URI for File based Service Provider didn't work and no proper documentation to get it done

2017-07-28 Thread Isura Karunaratne
HI Johann,

Created a Jira to track the issue [1]. Will fix this with IS 5.4.0

Thanks
Isura.

[1] https://wso2.org/jira/browse/IDENTITY-6192

On Wed, Jul 19, 2017 at 2:29 PM, Samuel Gnaniah  wrote:

> Ack for docs. Can we get some content for this?
>
> *Samuel Gnaniah*
> Lead Technical Writer
>
> WSO2 (pvt.) Ltd.
> Colombo, Sri Lanka
> (+94) 773131798 <+94%2077%20313%201798>
>
> On Tue, Jul 18, 2017 at 10:51 AM, Johann Nallathamby 
> wrote:
>
>> Hi All,
>>
>> I tried to get "Subject Claim URI" configuration working for a file based
>> SP, pointing it to a different claim other than username, but didn't
>> succeed. Also seems our documentation is still lacking on how to get this
>> done.
>>
>> Thanks & Regards,
>> Johann.
>>
>> --
>>
>> *Johann Dilantha Nallathamby*
>> Senior Lead Solutions Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>
>


-- 

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configuring Subject Claim URI for File based Service Provider didn't work and no proper documentation to get it done

2017-07-19 Thread Samuel Gnaniah
Ack for docs. Can we get some content for this?

*Samuel Gnaniah*
Lead Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 773131798

On Tue, Jul 18, 2017 at 10:51 AM, Johann Nallathamby 
wrote:

> Hi All,
>
> I tried to get "Subject Claim URI" configuration working for a file based
> SP, pointing it to a different claim other than username, but didn't
> succeed. Also seems our documentation is still lacking on how to get this
> done.
>
> Thanks & Regards,
> Johann.
>
> --
>
> *Johann Dilantha Nallathamby*
> Senior Lead Solutions Engineer
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Configuring Subject Claim URI for File based Service Provider didn't work and no proper documentation to get it done

2017-07-17 Thread Johann Nallathamby
Hi All,

I tried to get "Subject Claim URI" configuration working for a file based
SP, pointing it to a different claim other than username, but didn't
succeed. Also seems our documentation is still lacking on how to get this
done.

Thanks & Regards,
Johann.

-- 

*Johann Dilantha Nallathamby*
Senior Lead Solutions Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2017-03-22 Thread Menuka Warushavithana

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


Re: [Dev] (no subject)

2016-09-12 Thread Vanjikumaran Sivajothy
Hi Roger,

I have updated [1]

[1] https://github.com/vanjikumaran/CustomHandler

On Mon, Sep 12, 2016 at 12:54 PM, Vanjikumaran Sivajothy 
wrote:

> Hi,
> I have not updated the sample, but will do it soon and update you.
>
>
> On Monday, 12 September 2016, Roger Giuffre  wrote:
>
>> I see
>>  https://github.com/vanjikumaran/CustomHandler
>>
>>
>> but it is not updated to the last version of wso2am.
>> Is there a maven solution  to which I can refer to build custom handler
>> for wso2am 2.0?
>>
>> Thanks.
>>
>> Roger
>>
>
>
> --
> Sent from Gmail Mobile
>



-- 
Vanjikumaran Sivajothy
*Associate Technical Lead*
*WSO2 Inc. http://wso2.com *
 *+1-925-464-6816*
[image: Facebook]  [image: Twitter]
 [image: LinkedIn]
 [image:
Blogger]  [image: SlideShare]


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, re-transmit, 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-09-12 Thread Vanjikumaran Sivajothy
Hi,
I have not updated the sample, but will do it soon and update you.


On Monday, 12 September 2016, Roger Giuffre > wrote:

> I see
>  https://github.com/vanjikumaran/CustomHandler
>
>
> but it is not updated to the last version of wso2am.
> Is there a maven solution  to which I can refer to build custom handler
> for wso2am 2.0?
>
> Thanks.
>
> Roger
>


-- 
Sent from Gmail Mobile
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-09-12 Thread Roger Giuffre
I see
 https://github.com/vanjikumaran/CustomHandler


but it is not updated to the last version of wso2am.
Is there a maven solution  to which I can refer to build custom handler for
wso2am 2.0?

Thanks.

Roger
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-05-25 Thread Chamila De Alwis
Could you include the full output from the Puppet run? There might be
dependencies that have failed before the Service[wso2esb] instruction.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Thu, May 26, 2016 at 1:37 AM, Manuranga Perera  wrote:

> I am running vagrent up [1] and I following error
>
> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Error:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
> :
> change from stopped to running failed: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
> ]: Triggered
> 'refresh' from 2 events
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
> true
> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
> seconds
>
> Are these error lines expected ?
>
> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-05-25 Thread Manuranga Perera
I am running vagrent up [1] and I following error

==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
Execution of '/etc/init.d/wso2esb start' returned 2:
==> wso2esb.4.9.0.dev.wso2.org: Error:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
: change
from stopped to running failed: Could not start Service[wso2esb]: Execution
of '/etc/init.d/wso2esb start' returned 2:
==> wso2esb.4.9.0.dev.wso2.org: Notice:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
]: Triggered
'refresh' from 2 events
==> wso2esb.4.9.0.dev.wso2.org: Notice:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
 started WSO2
service [name] wso2esb, [CARBON_HOME] /mnt/192.168.100.2/wso2esb-4.9.0]:
Dependency Service[wso2esb] has failures: true
==> wso2esb.4.9.0.dev.wso2.org: Warning:
/Stage[main]/Wso2esb/Wso2base::Server[/mnt/
192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
 started WSO2
service [name] wso2esb, [CARBON_HOME] /mnt/192.168.100.2/wso2esb-4.9.0]:
Skipping because of failed dependencies
==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
seconds

Are these error lines expected ?

[1] https://github.com/wso2/puppet-modules/tree/master/vagrant
-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-04-19 Thread Vijini Liyanage
vijiniliyanage...@cse.mrt.ac.lk

On 21 March 2016 at 11:51, Vijini Liyanage 
wrote:

> vijiniliyanage...@cse.mrt.ac.lk
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-03-21 Thread Vijini Liyanage
vijiniliyanage...@cse.mrt.ac.lk
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2016-03-13 Thread Vivekananthan Sivanayagam
Hi ,

We don't have the same functionality of VFS sender in File Connector.





*Thank youVivekananthan Sivanayagam*

*Associate Software Engineer | WSO2*

*E:vivekanant...@wso2.com *
*M:+94752786138*

On Mon, Mar 14, 2016 at 9:57 AM, Malaka Silva  wrote:

> Hi Kasun,
>
> I don't think we have the same functionality of VFS sender in file
> connector. We have only focused on use cases not covered with VFS transport.
>
> @Vivekananthan - Please confirm this?
>
> On Sat, Mar 12, 2016 at 4:39 PM, Kasun Indrasiri  wrote:
>
>> This is great. Thanks a lot Malaka.
>> Also, if we use the file connector as the outbound channel, will it work
>> in the same way?
>>
>> On Tue, Mar 1, 2016 at 12:36 PM, Malaka Silva  wrote:
>>
>>> Hi All,
>>>
>>> Please ignore my previous comments. This can be done with current
>>> implementation.
>>>
>>> if (builder instanceof DataSourceMessageBuilder &&
>>> "true".equals(streaming)) {
>>> dataSource = ManagedDataSourceFactory.create(new
>>> FileObjectDataSource(file, contentType));
>>> in = null;
>>> } else {
>>> in = new
>>> AutoCloseInputStream(file.getContent().getInputStream());
>>> dataSource = null;
>>> }
>>> ..
>>> OMElement documentElement;
>>> if (in != null) {
>>> documentElement = builder.processDocument(in,
>>> contentType, axis2MsgCtx);
>>> } else {
>>> documentElement =
>>> ((DataSourceMessageBuilder)builder).processDocument(dataSource,
>>> contentType, axis2MsgCtx);
>>> }
>>> ...
>>> if(dataSource != null) {
>>> dataSource.destroy();
>>> }
>>>
>>> This is
>>> ​because ​
>>> message builder able to build messages from
>>> ​​
>>> DataSource objects.
>>> ​
>>> ​
>>> DataSource​
>>>  by definition the data from a DataSource can be read
>>> ​
>>> multiple times,
>>> ​builders that implement ​
>>> this interface
>>> ​can​
>>>  avoid storing the message content in memory.
>>> ​ ​
>>> If a message builder implements this interface and the
>>> ​file/vfs
>>>  is able to provide the message payload as a data source, then the
>>> method defined by this interface should be preferred over the method
>>> defined by Builder.
>>> ​ This
>>>  helps optimizing
>>> ​PT​
>>>  with
>>> ​vfs/file​.
>>> The builder will typically expose the data source directly or indirectly
>>> through the returned OMElement, e.g. by adding to the tree an OMText or
>>> OMDataSource node referencing the data source.
>>>
>>> ​I have checked this with inbound but there is a fix we need to do. I
>>> have done it in [1]. I have done several tests with and without streaming
>>> from 5mb to 1gb files.
>>>
>>> Without streaming [2] and [3] will show the memory growth. With
>>> streaming [4]. Without streaming most of the time ESB went OOM​.
>>>
>>> Find the related configs and axis2 changes in [5] and [6].
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4458
>>>
>>> [2]
>>>
>>> [image: Inline image 1]
>>>
>>> [3]
>>>
>>> [image: Inline image 2]
>>>
>>> [4]
>>>
>>> [image: Inline image 3]
>>>
>>> [5]
>>>
>>> http://ws.apache.org/ns/synapse;  name="load"
>>>  sequence="request"  onError="fault" protocol="file" suspend="false">
>>>
>>>   1
>>>   true
>>>   >> name="transport.vfs.ContentType">application/file
>>>   >> name="transport.vfs.LockReleaseSameNode">false
>>>   false
>>>   >> name="transport.vfs.ActionAfterFailure">DELETE
>>>   true
>>>   true
>>>   >> name="transport.vfs.ActionAfterProcess">DELETE
>>>   >> name="transport.vfs.FileURI">file:///home/wso2/work/tmp/file/in
>>>   false
>>>   true
>>>   enable
>>>   true
>>>   NONE
>>>   false
>>>
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>> >> value="true"/>
>>> 
>>> 
>>> 
>>> 
>>>
>>> [6]
>>> >> class="org.apache.axis2.format.BinaryBuilder"/>
>>>
>>> >>
>>> class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
>>>
>>> On Mon, Feb 29, 2016 at 12:02 PM, Malaka Silva  wrote:
>>>
 Hi Kasun,

 Currently no OOB solution with ESB 4.9.0. File always gets build before
 mediation.

 However use case mentioned can be handled with Schedule task -> File
 connector search -> File connector copy

 +1 for OOB solution.

 We can  do this for ESB 5.0. Also there is an option to do this as a
 custom inbound. So that this can be used by previous ESB versions as well.

 So default inbound can be used, if someone needs to do a mediation on
 file content and custom inbound for PT file use case. WDYT?


 On Mon, Feb 29, 2016 at 11:49 AM, Kasun Indrasiri 
 wrote:

> Hi Malaka,
>
> Do we 

Re: [Dev] (no subject)

2016-03-09 Thread Isuru Haththotuwa
Hi Hardik,

Nice to see your interest in the project.

You do not need external hardware, can setup Openshift locally using Docker
[1].

The basic requirement is to get WSO2 middleware products running in
OpenShift. As a starting point, please get an understanding of how you can
deploy a WSO2 product in OpenShift. Afterwards, please get an understanding
of how Carbon Clustering works, and check the existing Membership scheme
for Kubernetes [2].

Please communicate via WSO2 Developer List (dev@wso2.org) to get a better
visibility and wider input.

[1]. https://docs.openshift.org/latest/getting_started/administrators.html

[2].
https://github.com/wso2/kubernetes-artifacts/tree/master/common/kubernetes-membership-scheme

On Wed, Mar 9, 2016 at 9:46 PM, Hardik Patel  wrote:

> Hello sir,
>
> I am Final year student in BE CSE. Working on Java based IOT project.
> I am interested in taking part in gsoc 2016. I am interested in
> project 30 "[cloud] Native Cloud Support for Running WSO2 Middleware
> on RedHat OpenShift".
> Can you give me more details about this project?
> And what hardware required for this cloud project? Do I need external
> hardware like server and etc?
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-10-28 Thread Madhawa Gunasekara
Hi Sumedha,

yes, if you need to filter by CITY then specify a string to filter like
this,  https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=CITY
eq 'Nantes' or if you need only to select CITY then you can use this
https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$select=CITY

yes we should consider service hierarchy when creating service endpoint, I
have created jira[1] for that. but I think it's fine for now.

and also we will improve the odata sample doc.

[1] https://wso2.org/jira/browse/DS-1140

Thanks,
Madhawa

On Wed, Oct 28, 2015 at 11:23 AM, Sumedha Rubasinghe 
wrote:

> Hi,
> I tested the latest pack.
> I enabled OData on RDBMSSample.
>
> I was able to access following endpoints and get results as expected.
> https://localhost:9443/odata/RDBMSSample/default
> https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS
>
> But following did not work. May be my filter criteria is wrong.
> https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=city
>
>
> I have a small complain about service name. In service detail page,
> service name appears as 'services/RDBMSSample'.  So if someone follows
> Madawa's blog, the endpoint would look like,
>
> https://localhost:9443/odata*/services/RDBMSSample*/default
>
> Docs (https://docs.wso2.com/display/DSS350/OData+Sample) on OData on
> public doc portal should also improve to show more filter criteria.
>
> [x ] Stable - go ahead and release
>
> OData feature is stable subjected to above minor fixes.
>
>
> Sumedha
>
>
> On Sat, Oct 24, 2015 at 1:33 AM, Rajith Vitharana 
> wrote:
>
>> Hi,
>>
>> This is the second release candidate of WSO2 DSS 3.5.0
>>
>> This release fixes the following issues:
>> *https://wso2.org/jira/issues/?filter=12469
>> *
>>
>> Please download, test and vote. The vote will be open for 72 hours or as
>> needed.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/wso2dss-3.5.0.zip
>> 
>>
>> JavaDocs
>> https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/RC2/javaDocs/index.html
>>
>> Maven staging repo:
>> *http://maven.wso2.org/nexus/content/repositories/orgwso2dss-058/
>> *
>>
>> The tag to be voted upon:
>> *https://github.com/wso2/product-dss/tree/v3.5.0-RC2
>> *
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thanks,
>> The WSO2 DSS Team
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> /sumedha
> m: +94 773017743
> b :  bit.ly/sumedha
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-09-20 Thread Ishara Cooray
Hi,

Correct URL for the admin dash board is
https://localhost:9443/admin-dashboard

You are getting 405 because, you are trying to call a method that is not
available.

Regards,

Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

On Thu, Sep 17, 2015 at 2:41 PM, Irham Iqbal  wrote:

> Hi ,
>
> I am trying to add workflow extensions to APIM by following the
> document[1]. First I am trying with the "Adding an Application Creation
> Workflow" document [2].  Under "Engaging the WS Workflow Executor in the
> API Manager" when I am doing the 3rd point "Creating a application in
> store" I am getting a popup window with a "null" value. Also as mention in
> the 5th point i tried https://localhost:9443/workflow-admin URL and got
> "HTTP Status 405 - HTTP method GET is not supported by this URL". Is there
> any necessary steps that I need to follow other than the document ?
>
> [1] https://docs.wso2.com/display/AM190/Adding+Workflow+Extensions
> [2]
> https://docs.wso2.com/display/AM190/Adding+an+Application+Creation+Workflow
>
> Please note I am using APIM 1.9 and BPS 3.2
>
> Thanks,
> Iqbal
>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-09-17 Thread Irham Iqbal
Hi ,

I am trying to add workflow extensions to APIM by following the
document[1]. First I am trying with the "Adding an Application Creation
Workflow" document [2].  Under "Engaging the WS Workflow Executor in the
API Manager" when I am doing the 3rd point "Creating a application in
store" I am getting a popup window with a "null" value. Also as mention in
the 5th point i tried https://localhost:9443/workflow-admin URL and got
"HTTP Status 405 - HTTP method GET is not supported by this URL". Is there
any necessary steps that I need to follow other than the document ?

[1] https://docs.wso2.com/display/AM190/Adding+Workflow+Extensions
[2]
https://docs.wso2.com/display/AM190/Adding+an+Application+Creation+Workflow

Please note I am using APIM 1.9 and BPS 3.2

Thanks,
Iqbal



-- 
Irham Iqbal
Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-05-13 Thread Bimali Dayananda
bim...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-20 Thread Ishara Karunarathna
Hi Suharsha,

Welcome to the list.

For a beginning better to get some understanding on OAuth and try out
sample scenarios with that.
Then go through the specifications attached to proposal 7 description

[1] You can download the WSo2 Identity server
[2] Documentation on OAuth concepts
[3] Try out OAuth sample

Thanks,
Ishara

[1] http://wso2.com/products/identity-server/
[2] https://docs.wso2.com/display/IS500/OAuth+Concepts
[3]
https://docs.wso2.com/display/IS450/OAuth+2.0+Playground+with+WSO2+Identity+Server

On Wed, Feb 18, 2015 at 6:44 AM, Suharsha fonseka 
suharshafonsek...@gmail.com wrote:

 Hi,

 I am Suharsha Fonseka.
 I am Currently  an undergraduate student of Informatics Institute of
 Technology(IIT).

 And i like to work in the project proposal - 07
 User-Managed Access (UMA) Profile for OAuth2
 and i want some guidence to work in the project

 Thanks,

 Suharsha Fonseka

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




-- 
Ishara Karunarathna
Senior Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile: +94
718211678
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-02-18 Thread Suharsha fonseka
suharshafonsek...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-02-18 Thread Suharsha fonseka
Hi,

I am Suharsha Fonseka.
I am Currently  an undergraduate student of Informatics Institute of
Technology(IIT).

And i like to work in the project proposal - 07
User-Managed Access (UMA) Profile for OAuth2
and i want some guidence to work in the project

Thanks,

Suharsha Fonseka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-02-17 Thread Pubudu Dodangoda
I am trying to authenticate a valid user (say admin/admin) via a webservice
which is hosted inside the BAM
The procedure I followed is as follows

Create an AuthenticationAdminStub
login using admin/ admin

I have 3 issues
1) Will this procedure work?
2)What should be the service URL which should be given as a parameter to
the AuthenticationAdminStub?
3)What should be the remote address which should be given to the
login(userName,password,remoteAddress) method?
-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Pubudu Dodangoda
Sending null as the remote address param solved the problem!

On Tue, Feb 17, 2015 at 2:14 PM, Pubudu Dodangoda pubu...@wso2.com wrote:


 I am trying to authenticate a valid user (say admin/admin) via a
 webservice which is hosted inside the BAM
 The procedure I followed is as follows

 Create an AuthenticationAdminStub
 login using admin/ admin

 I have 3 issues
 1) Will this procedure work?
 2)What should be the service URL which should be given as a parameter to
 the AuthenticationAdminStub?
 3)What should be the remote address which should be given to the
 login(userName,password,remoteAddress) method?
 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

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




-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Malintha Adikari
Hi Pubudu,

AFAIK above procedure is  correct. Please fine answers inline


On Tue, Feb 17, 2015 at 8:44 AM, Pubudu Dodangoda pubu...@wso2.com wrote:


 I am trying to authenticate a valid user (say admin/admin) via a
 webservice which is hosted inside the BAM
 The procedure I followed is as follows

 Create an AuthenticationAdminStub
 login using admin/ admin

 I have 3 issues
 1) Will this procedure work?


Yes


 2)What should be the service URL which should be given as a parameter to
 the AuthenticationAdminStub?


https://; + hostName + : + httpsPort + / + webContextRoot + / + 
services/ + AuthenticationAdmin;

As an example https://localhost:9443/services/AuthenticationAdmin;


3)What should be the remote address which should be given to the
 login(userName,password,remoteAddress) method?


It should be the hostname of the remote host (String). If you have resolved
it in /etc/hosts your can put that here. I think in your case it should be
localhost

Please look at this blog post for sample code [1]

[1]
http://nuwanwimalasekara.blogspot.com/2013/02/invoking-wso2-carbon-admin-services.html

Regards,
Malintha Adikari

 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

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




-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-04 Thread Shavantha Weerasinghe
Hi Chalitha

I got the similar error on https://wso2.org/jira/browse/BAM-1689. The
answer will be on this jira

regards

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300


On Wed, Sep 10, 2014 at 5:03 PM, Chalitha Waldeniyage chali...@wso2.com
wrote:

 Hi

 When i am integrating API Manager latest pack(04/09/2014) with BAM 2.3.0
 and invoking the API through Jmeter, following error message has prompted
 in API Manager side. Please provide directives in proceeding.


  ERROR - AsyncDataPublisher Stream definition already exist
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Same stream id with different definition already defined before sending
 this event definitions to TCP,10.100.5.45:7612,TCP,10.100.5.45:7712
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:237)
 at
 org.wso2.carbon.databridge.agent.thrift.DataPublisher.defineStream(DataPublisher.java:295)
 at
 org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:690)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)
 Caused by:
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Thrift Different Stream Definition Already Defined
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.ThriftEventPublisher.defineStream(ThriftEventPublisher.java:112)
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:222)
 ... 7 more
 Caused by:
 ThriftDifferentStreamDefinitionAlreadyDefinedException(message:Similar
 event stream for
 StreamDefinition{
 streamId='org.wso2.apimgt.statistics.fault:1.0.0',
 name='org.wso2.apimgt.statistics.fault',
 version='1.0.0',
 nickName='API Manager Fault Data',
 description='Fault Data',
 tags=null,
 metaData=[Attribute{name='clientType', type=STRING}],
 correlationData=null,
 payloadData=[Attribute{name='consumerKey', type=STRING},
 Attribute{name='context', type=STRING}, Attribute{name='api_version',
 type=STRING}, Attribute{name='api', type=STRING},
 Attribute{name='resourcePath', type=STRING}, Attribute{name='method',
 type=STRING}, Attribute{name='version', type=STRING},
 Attribute{name='errorCode', type=STRING}, Attribute{name='errorMessage',
 type=STRING}, Attribute{name='requestTime', type=STRING},
 Attribute{name='userId', type=STRING}, Attribute{name='tenantDomain',
 type=STRING}, Attribute{name='hostName', type=STRING},
 Attribute{name='apiPublisher', type=STRING},
 Attribute{name='applicationName', type=STRING},
 Attribute{name='applicationId', type=STRING}],
 }
  with the same name and version already exist:
 StreamDefinition{
 streamId='org.wso2.apimgt.statistics.fault:1.0.0',
 name='org.wso2.apimgt.statistics.fault',
 version='1.0.0',
 nickName='API Manager Fault Data',
 description='Fault Data',
 tags=null,
 metaData=[Attribute{name='clientType', type=STRING}],
 correlationData=null,
 payloadData=[Attribute{name='consumerKey', type=STRING},
 Attribute{name='context', type=STRING}, Attribute{name='api_version',
 type=STRING}, Attribute{name='api', type=STRING},
 Attribute{name='resource', type=STRING}, Attribute{name='method',
 type=STRING}, Attribute{name='version', type=STRING},
 Attribute{name='errorCode', type=STRING}, Attribute{name='errorMessage',
 type=STRING}, Attribute{name='requestTime', type=STRING},
 Attribute{name='userId', type=STRING}, Attribute{name='tenantDomain',
 type=STRING}, Attribute{name='hostName', type=STRING},
 Attribute{name='apiPublisher', type=STRING},
 Attribute{name='applicationName', type=STRING},
 Attribute{name='applicationId', type=STRING}],
 }
 )
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$defineStream_result.read(ThriftEventTransmissionService.java:1441)
 at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.recv_defineStream(ThriftEventTransmissionService.java:80)
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.defineStream(ThriftEventTransmissionService.java:66)
 at
 

Re: [Dev] (no subject)

2015-01-20 Thread Chanaka Cooray
Hi,
I will check that.

Thank you.

On Tue, Jan 20, 2015 at 11:29 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 There was some code re factoring done in the admin stub some time ago.
 Please merge with upstream.

 Build seems to be ok [1].

 [1] https://wso2.org/jenkins/job/carbon-mediation/398/

 On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe eran...@wso2.com
 wrote:

 I got this error when I am building the inbound-endpoint-ui component. It
 doesn't show any error logs in the console, but the only problem is that
 inbound-endpoint ui is not coming up. And the error message 
 org.wso2.carbon.inbound.stub.InboundAdminStub.
 getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
 comes in a message dialog box when I am trying to access the inbound
 endpoint ui.

 On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I
 used mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the
 jar file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




 --
 *Eranda Rajapakshe*
 Software Engineering intern
 WSO2 Inc. www.wso2.com

 *B. Sc. Eng. (Hons) Undergraduate*
 *Dept. of Computer Science and Engineering*
 *University of Moratuwa, Sri Lanka*
 Tel : +94784822608
 Email : eran...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I am trying to build the inbound endpoint ui in carbon-mediation. I used
mvn clean install in this
directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
build the jar and copied it to the
/wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

Even though the build was successful, the inbound endpoint tab doesn't
appear in the ESB management console. It shows the following error.



Is there any step that I have missed in the process of building the jar
file?

Thank you!
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I forgot to attach the error.

org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Malaka Silva
Hi,

There was some code re factoring done in the admin stub some time ago.
Please merge with upstream.

Build seems to be ok [1].

[1] https://wso2.org/jenkins/job/carbon-mediation/398/

On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe eran...@wso2.com
wrote:

 I got this error when I am building the inbound-endpoint-ui component. It
 doesn't show any error logs in the console, but the only problem is that
 inbound-endpoint ui is not coming up. And the error message 
 org.wso2.carbon.inbound.stub.InboundAdminStub.
 getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
 comes in a message dialog box when I am trying to access the inbound
 endpoint ui.

 On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I
 used mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




 --
 *Eranda Rajapakshe*
 Software Engineering intern
 WSO2 Inc. www.wso2.com

 *B. Sc. Eng. (Hons) Undergraduate*
 *Dept. of Computer Science and Engineering*
 *University of Moratuwa, Sri Lanka*
 Tel : +94784822608
 Email : eran...@wso2.com




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Shiva Balachandran
Hi Chanaka,

Can you please provide the complete error? Also, the archived mail [1],
talks about a similar issue. Have a look at it too.

[1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

Thank you,
Shiva Balachandran

On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Eranda Rajapakshe
I got this error when I am building the inbound-endpoint-ui component. It
doesn't show any error logs in the console, but the only problem is that
inbound-endpoint ui is not coming up. And the error message 
org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[
Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO; comes in a
message dialog box when I am trying to access the inbound endpoint ui.

On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com

*B. Sc. Eng. (Hons) Undergraduate*
*Dept. of Computer Science and Engineering*
*University of Moratuwa, Sri Lanka*
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2014-09-02 Thread Tharindu Edirisinghe
-- 

Thanks  Best Regards,

Tharindu Edirisinghe
Software Engineer

*WSO2 Inc*
*email   : tharin...@wso2.com tharin...@wso2.com *
*mobile : +94 775 181586*
*www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2014-03-17 Thread Nila
Hi,
I would like to express my interest on the $Subject.

I've gone through the Developer Studio page and documentation [1] and have
downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
integration [4].

I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
keen to enrich the other required knowledge and practices to attempt this
project.

Please let me know your feedback and guidance.

Thanks in advance.

[1] http://wso2.com/products/developer-studio/

[2] http://eclipse.org/swtbot/

[3] http://www.vogella.com/tutorials/SWTBot/article.html

[4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




Regards,
Tharshayene Loganathan
Undergraduate,
Dept. of Computer Science  Engineering,
IIT,Sri Lanka.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2014-03-17 Thread Bhathiya Jayasekara
Seems $Subject is undefined. :)


On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and have
 downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com http://wso2.com*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
*Blog: http://movingaheadblog.blogspot.com
http://movingaheadblog.blogspot.com/*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2014-03-17 Thread Nila
I've defined the $Subject but it didn't get posted, just wondering.

Anyway pardon me.

The Subject is supposed to be,

Student Introduction, GSoC-2014 project: UI Testing Framework for
Developer Studio

Thanks.



Regards,
Tharshayene Loganathan
Undergraduate,
Dept. of Computer Science  Engineering,
IIT,Sri Lanka.




On 18 March 2014 00:12, Bhathiya Jayasekara bhath...@wso2.com wrote:

 Seems $Subject is undefined. :)


 On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and
 have downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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


Re: [Dev] (no subject)

2014-03-17 Thread Nila
It seems like it's better to repost with the subject. I've placed the
subject for sure, but I'm not sure what has gone wrong. I'll try again.

Sorry for any inconvenience.


Regards,
Tharshayene Loganathan
Undergraduate,
Dept. of Computer Science  Engineering,
IIT,Sri Lanka.




On 18 March 2014 00:22, Nila tharshay...@gmail.com wrote:

 I've defined the $Subject but it didn't get posted, just wondering.

 Anyway pardon me.

 The Subject is supposed to be,

 Student Introduction, GSoC-2014 project: UI Testing Framework for
 Developer Studio

 Thanks.



 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.




 On 18 March 2014 00:12, Bhathiya Jayasekara bhath...@wso2.com wrote:

 Seems $Subject is undefined. :)


 On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and
 have downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*



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


[Dev] (no subject)

2014-03-16 Thread Shavantha Weerasinghe
Hi Darshana

When I connect to an open ldap with existing users and roles am
getting this error below.

[2014-03-17 10:09:17,712]  INFO - {TomcatJaggeryWebappsDeployer}
Deployed webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sso].File[/home/wso2/cep310/setup/cepnode1/wso2cep-3.1.0/repository/deployment/server/jaggeryapps/sso]
[2014-03-17 10:09:18,029] ERROR - {RhinoEngine}
org.mozilla.javascript.WrappedException: Wrapped
org.wso2.carbon.user.core.UserStoreException: Can not create empty
role. There should be at least one user for the role.
(user-manager#70)
[2014-03-17 10:09:18,029] ERROR - {TomcatJaggeryWebappsDeployer}
org.mozilla.javascript.WrappedException: Wrapped
org.wso2.carbon.user.core.UserStoreException: Can not create empty
role. There should be at least one user for the role.
(user-manager#70)
org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.WrappedException: Wrapped
org.wso2.carbon.user.core.UserStoreException: Can not create empty
role. There should be at least one user for the role.
(user-manager#70)
at 
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:575)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at 
org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.executeScripts(TomcatJaggeryWebappsDeployer.java:383)
at 
org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.access$300(TomcatJaggeryWebappsDeployer.java:60)
at 
org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer$JaggeryConfListener.lifecycleEvent(TomcatJaggeryWebappsDeployer.java:279)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at 
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5350)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at 
org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:280)
at 
org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:202)
at 
org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.handleWebappDeployment(TomcatJaggeryWebappsDeployer.java:204)
at 
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:213)
at 
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:139)
at 
org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.deploy(TomcatJaggeryWebappsDeployer.java:109)
at 
org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:140)
at 
org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:90)
at 
org.jaggeryjs.jaggery.deployer.JaggeryDeployer.deploy(JaggeryDeployer.java:59)
at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)
at 
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464)
at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at 
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at 
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
at 
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at 
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at 

[Dev] (no subject)

2014-03-07 Thread harsha jayamanna
-- 
Harsha Jayamanna
University of Colombo School of Computing
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2014-02-20 Thread Udara Liyanage
Please use a proper subject so it easy for readers.

Touched, not typed. Erroneous words are a feature, not a typo.
On Feb 19, 2014 3:06 PM, Mihil Ranathunga mi...@wso2.com wrote:

 Hi all,

 I'm trying to create rest resources in wso2dss. I get following error when
 i try to put resource parameters in the resource path

 https://gist.github.com/mihilranathunga/9088513

 *my query*

query id=GetDeviceByID useConfig=WSO2_HWDREPO_SERVICE
   sqlselect * from device where device_id=:device_id and :emp_id in
 (select employee_id from assignment where
 assignment.device_id=:device_id)/sql
   result element=BaseElement rowName=Element
  element column=device_id name=device_id xsdType=integer/
  element column=make name=make xsdType=string/
  element column=model name=model xsdType=string/
  element column=rating name=rating xsdType=integer/

 ...
   /result
   param name=device_id sqlType=INTEGER/
   param name=emp_id sqlType=STRING/
/query

 *resource*

  resource method=GET path=user/{emp_id}/devices/{device_id}
   descriptionGet device details by providing id  /description
   call-query href=GetDeviceByID
  with-param name=device_id query-param=device_id/
  with-param name=emp_id query-param=emp_id/
   /call-query

 But it works when i put path=user/devices/{device_id}

 serviceUrl/user/mi...@wso2.com/devices/210  is not working(browser)
 ServiceUrl/user/devices/210?emp_id=mi...@wso2.com is working in the
 browser when path is set to user/devices/{device_id}

 Any ideas?

 Thanks,
 Mihil

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


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


[Dev] (no subject)

2013-12-09 Thread Lali Devamanthri
Hi Harshana,
Build pack for Datamapper have been install in fresh eclipse and tested. It
gave following errors in log. Though I have add relevant .jars and exported
in *eclipse.library plugins project, this errors occur. Do I have missed
anything ?


j*ava.lang.NoClassDefFoundError: Could not initialize class
org.apache.avro.generic.GenericData*
at
org.apache.avro.generic.GenericDatumReader.init(GenericDatumReader.java:49)
 at
dataMapper.diagram.tree.generator.TreeFromAvro.generateInputTree(TreeFromAvro.java:33)
at
dataMapper.diagram.edit.parts.InputEditPart.activate(InputEditPart.java:99)
 at
org.eclipse.gef.editparts.AbstractEditPart.activate(AbstractEditPart.java:160)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.activate(AbstractGraphicalEditPart.java:195)
 at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$0(GraphicalEditPart.java:1)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.activate(GraphicalEditPart.java:205)
 at
org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:215)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
 at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
...



*java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonNode* at
org.apache.avro.generic.GenericData.clinit(GenericData.java:901) at
org.apache.avro.generic.GenericDatumReader.init(GenericDatumReader.java:49)
at
dataMapper.diagram.tree.generator.TreeFromAvro.generateInputTree(TreeFromAvro.java:33)
at
dataMapper.diagram.edit.parts.InputEditPart.activate(InputEditPart.java:99)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:215)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
...

java.lang.NullPointerException
at
org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.DecoratorService$ProviderDescriptor.provides(DecoratorService.java:72)
 at
org.eclipse.gmf.runtime.common.core.service.Service.safeProvides(Service.java:859)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy.getUncachedProviders(ExecutionStrategy.java:254)
 at
org.eclipse.gmf.runtime.common.core.service.Service.getProviders(Service.java:537)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy$4.execute(ExecutionStrategy.java:178)
 at
org.eclipse.gmf.runtime.common.core.service.Service.execute(Service.java:651)
at
org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.DecoratorService.createDecorators(DecoratorService.java:121)
 ...



java.lang.ClassNotFoundException:
org.eclipse.gmf.examples.runtime.diagram.decorator.provider.ReviewDecoratorProvider
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
...
-- 
*Lali Sudaththa Devamanthri*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 895 4922
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2013-11-13 Thread Vanjikumaran Sivajothy
Hi all,

Currently i am in the process of setting up a WSO2 MB cluster based on [1].
Some time I am getting OOM in internal Cassandra server. Therefore i found
there is another document that explain about [2]
Tuning the external  Cassandra server. Nevertheless, [1] uses the Internal
Cassandra server.

I was unable to find any document for tuning Internal Cassandra server. If
there is any document of knowledge please share with me.

Thank you in advance :)



[1]
http://docs.wso2.org/display/CLUSTER420/Default+Cassandra+and+Zookeeper+Servers
[2]http://docs.wso2.org/display/MB210/Cassandra+Tuned+Up+Configurations
-- 
Sivajothy Vanjikumaran
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/ http://wso2.com/*
*Mobile:(+94)777219209*
*Mobile USA:**(+1)918 813 2403*
[image: Facebook] https://www.facebook.com/vanjikumaran [image:
Twitter]https://twitter.com/vanjikumaran [image:
LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293
[image:
Blogger] http://vanjikumaran.blogspot.com/ [image:
SlideShare]http://www.slideshare.net/vanjikumaran
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2013-10-21 Thread Chamara Ariyarathne
This issue is not seem to be fixed.
https://wso2.org/jira/browse/CARBON-14488

Occurred in BAM.
https://wso2.org/jira/browse/BAM-1352

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-10-21 Thread Manoj Kumara
Hi,

I think this is due to not adding the lib directory inside kernel patch0001
to the product distribution. Once the product teams correctly applied all
the elements on patch0001 this should be fixed.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Mon, Oct 21, 2013 at 8:17 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 This issue is not seem to be fixed.
 https://wso2.org/jira/browse/CARBON-14488

 Occurred in BAM.
 https://wso2.org/jira/browse/BAM-1352

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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


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


Re: [Dev] (no subject)

2013-10-21 Thread Gokul Balakrishnan
Hi Chamara,

We had missed adding the lib directory from patch0001 to the BAM
distribution pack. I've already fixed this yesterday with r19, and the
fix should be available in the latest packs.

Thanks,
Gokul.


On 21 October 2013 23:11, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 I think this is due to not adding the lib directory inside kernel
 patch0001 to the product distribution. Once the product teams correctly
 applied all the elements on patch0001 this should be fixed.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Mon, Oct 21, 2013 at 8:17 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 This issue is not seem to be fixed.
 https://wso2.org/jira/browse/CARBON-14488

 Occurred in BAM.
  https://wso2.org/jira/browse/BAM-1352

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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



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




-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc.; http://wso2.com
Tel: 0094 11 214 5345  |  Fax: 0094 11 214 5300

Twitter:  http://twitter.com/gokulbs
Mobile: 0094 77 593 5789
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2013-07-01 Thread Sameera Jayasoma
Hi Azeez,

Pulasthi got the following error while he was running the tests after the
Caching changes.

*Caused by: java.lang.IllegalStateException: No CachingProviders found in
classpath.*
*
*
After some digging we found out that the following system properties have
been set in the caching test cases.

System.getProperties().put(caching.provider.impl, new
CachingProviderImpl());
System.getProperties().put(annotation.provider.impl, new
AnnotationProviderImpl());

Where should we initialize these properties in the code base?

Thanks,
Sameera.

-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Hold on. The System properties are only for tests. In the Carbon runtime,
these providers are obtained as OSGi services.

In CarbonCoreActivator you will find the following entries;
context.registerService(AnnotationProvider.class, new
AnnotationProviderImpl(), null);
context.registerService(CachingProvider.class, new
CachingProviderImpl(), null);

Perhaps, the CachingServiceComponent set methods are not getting called.
Can you check?


On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after the
 Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found in
 classpath.*
 *
 *
 After some digging we found out that the following system properties have
 been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

I got this error when running registry core tests, so will have to add the
two lines in the tests right?

Regards,
Pulasthi


On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon runtime,
 these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after the
 Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties have
 been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Yes, tests that use the cache will require these System props.


On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add the
 two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon runtime,
 these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Also get an update of javax.cache.wso2. I have added code which retries to
init if the providers a missing.


On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

Ran into a problem when adding the following code into the registry core
tests,

System.getProperties().put(caching.provider.impl, new
CachingProviderImpl());
System.getProperties().put(annotation.provider.impl, new
AnnotationProviderImpl());

Since
org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
is in the carbon.core have to add carbon core as an dependency  for the
registry core, but this will create an cyclic dependency since registry
core is already an dependency of carbon.core. how should i proceed?.

Regards,
Pulasthi



On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries to
 init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Move registry integration tests out of the registry bundle. Introduce a
registry-integration-tests module.

Azeez


On Mon, Jul 1, 2013 at 8:09 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 Ran into a problem when adding the following code into the registry core
 tests,

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Since
 org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
 and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
 is in the carbon.core have to add carbon core as an dependency  for the
 registry core, but this will create an cyclic dependency since registry
 core is already an dependency of carbon.core. how should i proceed?.

 Regards,
 Pulasthi



 On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries
 to init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: 

Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

Thanks will move the tests to a separate module

Regards,
Pulasthi


On Mon, Jul 1, 2013 at 8:13 PM, Afkham Azeez az...@wso2.com wrote:

 Move registry integration tests out of the registry bundle. Introduce a
 registry-integration-tests module.

 Azeez


 On Mon, Jul 1, 2013 at 8:09 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 Ran into a problem when adding the following code into the registry core
 tests,

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Since
 org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
 and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
 is in the carbon.core have to add carbon core as an dependency  for the
 registry core, but this will create an cyclic dependency since registry
 core is already an dependency of carbon.core. how should i proceed?.

 Regards,
 Pulasthi



 On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries
 to init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests
 after the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 

Re: [Dev] (no subject)

2013-06-13 Thread Randika Ratnayake
HI ,
Here is an update for the UI automation of the AppFactory

covered User Stories

1.  Log-in to App Factory
2.  App Factory User Home details verification of the created application
3.  Create an Application
4.  Edit an Application
5.  Basic application overview details verification
6.  view application team verification
7.  Add member to Team.
8.  Repository Management.(this include branching the Application )
9.  Governing an application (Promoting in life Cycle Stages)
10. Complete Application Overview Verification.

Uncovered User Stories
1. User registration - this is a email verification process and this has to
be done manually.
2. view update user profile - this feature is not yet implemented
3. edit an Application - only the description could be edited
4. Delete an Application - application deletion feature is not yet
implemented
5. configure data source resources - not yet implemented.



To be covered
1. update team
2. configure database resources
3. configure data source resources
4. configure API resources
5. configure property resources
6. Application development
7. Build Application/deploy application
8. test application

there are few user stories  which should be verified manually (Obtain
server logs,manage issues) working on a way to work on those areas.l


regards

Randika









On Mon, Jun 3, 2013 at 2:27 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 If that's the case - then OK !

 A new version of the user stories has been posted to the WIP wireframe..
  email thread.

 Thank you,
 Shiro


 On Mon, Jun 3, 2013 at 2:20 PM, Randika Ratnayake rand...@wso2.comwrote:

 hi Shiro,

 Development of this selenium tests are completely based on UI based
 functionality testing.  one purpose of doing this is getting adhere to
  rapid UI change in our end.  as you mentioned there would be a rework due
 to the UI changes, but will continue the UI automation in the Staging and
 tying to work out a mechanism to adhere to the UI changes
 Regards


 On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent
 on the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



  On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

  hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




-- 
Randika Ratnayake,
Mobile : +94773-440677 rand...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Shiroshica Kulatilake
Hi Randika,

I have a few questions;

1. Will you be doing this based on the current UI's on staging ?
2. Would you be recording user movements ?
3. Would there be a functionality only test set which is not dependent on
the UIs ?

If the goal is to do this for the AF GA release there might be a bit of
rework once the new front ends come. These are supposed to be released for
QA incrementally (please see AF GA Release email thread).

Letting you know before so that you can plan accordingly.

Thank you,
Shiro



On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.com wrote:

 hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Randika Ratnayake
hi Shiro,

Development of this selenium tests are completely based on UI based
functionality testing.  one purpose of doing this is getting adhere to
 rapid UI change in our end.  as you mentioned there would be a rework due
to the UI changes, but will continue the UI automation in the Staging and
tying to work out a mechanism to adhere to the UI changes
Regards


On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent on
 the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



 On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

 hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




-- 
Randika Ratnayake,
Mobile : +94773-440677 rand...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Shiroshica Kulatilake
Hi Randika,

If that's the case - then OK !

A new version of the user stories has been posted to the WIP wireframe.. 
email thread.

Thank you,
Shiro


On Mon, Jun 3, 2013 at 2:20 PM, Randika Ratnayake rand...@wso2.com wrote:

 hi Shiro,

 Development of this selenium tests are completely based on UI based
 functionality testing.  one purpose of doing this is getting adhere to
  rapid UI change in our end.  as you mentioned there would be a rework due
 to the UI changes, but will continue the UI automation in the Staging and
 tying to work out a mechanism to adhere to the UI changes
 Regards


 On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent on
 the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



  On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

  hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com




-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2012-05-22 Thread Noel Marquez Batista
Hi all.

I’m trying to consume an axis2 web service. In the AS, when I go to the trying, 
it gives me the error

soapenv:Fault xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

   faultcodesoapenv:Server/faultcode

   faultstringorg.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be 
cast to akademosws.ObtenerEstudianteDadoIdExpedienteDocument/faultstring

   detail/

/soapenv:Fault

 

I develop a Java client to test the service, and give me the same error:

org.apache.axis2.AxisFault: 
org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to 
akademosws.ObtenerEstudianteDadoIdExpedienteDocument

at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)

at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)

at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at 
org.example.www.akademosservice.AkademosServiceStub.obtenerEstudianteDadoIdExpedienteWS(AkademosServiceStub.java:860)

at org.example.www.akademosservice.cliente.main(cliente.java:24)



-- 
The only easy day was yesterday.

10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2012-05-22 Thread Sameera Jayasoma
Do you have a separate DOM implementation in your classpath. Looks like it
conflicts with XML beans.

Thanks,
Sameera.

On Tue, May 22, 2012 at 3:19 PM, Noel Marquez Batista nmarq...@uci.cuwrote:

 Hi all.

 I’m trying to consume an axis2 web service. In the AS, when I go to the
 trying, it gives me the error

 soapenv:Fault xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

   faultcodesoapenv:Server/faultcode

   faultstringorg.apache.xmlbeans.impl.values.XmlComplexContentImpl
 cannot be cast to
 akademosws.ObtenerEstudianteDadoIdExpedienteDocument/faultstring

   detail/

 /soapenv:Fault



 I develop a Java client to test the service, and give me the same error:

 org.apache.axis2.AxisFault:
 org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to
 akademosws.ObtenerEstudianteDadoIdExpedienteDocument

at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)

at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)

at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at
 org.example.www.akademosservice.AkademosServiceStub.obtenerEstudianteDadoIdExpedienteWS(AkademosServiceStub.java:860)

at org.example.www.akademosservice.cliente.main(cliente.java:24)



 --
 The only easy day was yesterday.

 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
 INFORMATICAS...
 CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

 http://www.uci.cu
 http://www.facebook.com/universidad.uci
 http://www.flickr.com/photos/universidad_uci
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Carbon-dev] (no subject)

2012-02-20 Thread Thilina Buddhika
On a side note, I think we have some classes inside Carbon core which are
not really a part of Carbon core functionality, for example the cache entry
implementations like IdentityCacheEntry. With Tomcat OSGification, I guess
we can move these classes to corresponding components and allow them to
evolve independent of the core.

Thanks,
Thilina

On Tue, Feb 21, 2012 at 10:38 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Devs,

 There is a Cassandra log4j appender in Carbon.Utils bundle[1]. Due to this
 logger, following  dependencies has been added to the Carbon kernel.

 Cassandra
 Hectore-core
 libthrift.

 IMHO, these are unnecessary dependencies to Carbon kernel. We need to move
 this Cassandra appender to  the components level.

 There are some other cases where we can get rid of unnecessary
 dependencies from Carbon kernel, These are initial steps towards minimizing
 Carbon kenel.

 Thanks,
 Sameera.

 [1]
 https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.utils/pom.xml

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




-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] (no subject)

2011-11-29 Thread Afkham Azeez
If this static HTML is placed in a .html file  you try to click the tabs,
still it does not work right? You will need to have some Javascript which
will hide the previous tab  show the new tab.

On Wed, Nov 30, 2011 at 3:35 AM, Ramon Rivero Torres rrive...@uci.cuwrote:

 Hello again:

 I wrote earlier asking for some help on the manipulation of XML to develop
 a bundle with interface that I am implementing. Now I have another problem
 and I share it here in case someone can help me. This time it is a problem
 with the bundle's interface. I want to use the component tabs of jquery,
 but when I use it, I can't navigate through the tabs, when I click on the
 second and third tab does not display its contents, I can only see the
 default shown. The code I use for this is as follows:

 ** **

 div id=tabs class=ui-tabs-nav

 ** **

 ul

li class=ui-tabs-selecteda
 href=#tabs-1Strategy 1/a/li

li class=a href=#tabs-2Strategy
 2/a/li

li class=a href=#tabs-3Strategy
 3/a/li

 /ul

 ** **

 div id=tabs-1 class=ui-tabs-panel

 !--contents of the first tab-- 

 /div

 ** **

 div id=tabs-2 class=ui-tabs-panel ui-tabs-hide  

 !--contents of the second tab--

 /div

 ** **

 div id=tabs-3 class=ui-tabs-panel ui-tabs-hide

 !--contents of the third tab--

 /div

 ** **

 /div

 ** **

 I need to know why I can´t see the contents of the tabs-2 and tabs-3.
 Attached is a picture with the bundle's interface. Thanks in advance. R.**
 **

   http://www.antiterroristas.cu/


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




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*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] (no subject)

2011-11-29 Thread Chanaka Jayasena
On Wed, Nov 30, 2011 at 6:44 AM, Afkham Azeez az...@wso2.com wrote:

 If this static HTML is placed in a .html file  you try to click the tabs,
 still it does not work right? You will need to have some Javascript which
 will hide the previous tab  show the new tab.


Yes. You have to do the initial event registering using the methods
provided by this jquery library. You can refer to the following links for
more details.
http://jqueryui.com/demos/tabs/
http://jqueryui.com/demos/tabs/default.html

thanks,
Chanaka


 On Wed, Nov 30, 2011 at 3:35 AM, Ramon Rivero Torres rrive...@uci.cuwrote:

 Hello again:

 I wrote earlier asking for some help on the manipulation of XML to
 develop a bundle with interface that I am implementing. Now I have another
 problem and I share it here in case someone can help me. This time it is a
 problem with the bundle's interface. I want to use the component tabs of
 jquery, but when I use it, I can't navigate through the tabs, when I click
 on the second and third tab does not display its contents, I can only see
 the default shown. The code I use for this is as follows:

 ** **

 div id=tabs class=ui-tabs-nav

 ** **

 ul

li class=ui-tabs-selecteda
 href=#tabs-1Strategy 1/a/li

li class=a href=#tabs-2Strategy
 2/a/li

li class=a href=#tabs-3Strategy
 3/a/li

 /ul

 ** **

 div id=tabs-1 class=ui-tabs-panel

 !--contents of the first tab-- 

 /div

 ** **

 div id=tabs-2 class=ui-tabs-panel ui-tabs-hide  ***
 *

 !--contents of the second tab--

 /div

 ** **

 div id=tabs-3 class=ui-tabs-panel ui-tabs-hide

 !--contents of the third tab--

 /div

 ** **

 /div

 ** **

 I need to know why I can´t see the contents of the tabs-2 and tabs-3.
 Attached is a picture with the bundle's interface. Thanks in advance. R.*
 ***

   http://www.antiterroristas.cu/


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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*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


[Carbon-dev] (no subject)

2010-10-26 Thread Javier López del Castillo Caymares

Hello everybody:

I have installed Data Service Hosting Feature 3.0.1 to
wso2esb-3.0.1. It
works fine but one problem; I apply security to a data service
(Scenarios 1, Username Token) and get this error when I try the
service:


Fault: DS Fault Message: Error in setting user roles.Nested
Exception:-java.lang.NullPointerException [detail]

soapenv:Detail
   axis2ns2:DataServiceFaultDS Fault Message: Error in
setting
   user roles.Nested
Exception:-java.lang.NullPointerException/axis2ns2:DataServiceFault
/soapenv:Detail


If I apply the same scenarios to a proxy service everything work
fine,
the problem is only with the data services.

is there anyone who can help???

best regards
jlcc


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


[wsas-java-dev] (no subject)

2009-01-31 Thread Supun Kamburugamuva


___
Wsas-java-dev mailing list
Wsas-java-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev