Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Sherene Mahanama
Thanks Dilini and Tharindu. I indicated the JDBC specific properties and
updated the page now.

On Mon, Apr 25, 2016 at 11:04 AM, Tharindu Edirisinghe 
wrote:

> *UserNameSearchFilter* and *UserNameListFilter* are LDAP specific
> properties and not needed for JDBC userstores.
>
> If you enable “*EnableEmailUserName*” in carbon.xml file regexp would be
> govern by "UsernameWithEmailJavaScriptRegEx" property not the
> “UsernameJavaRegEx”.. Therefore, you need to configure new property called
> UsernameWithEmailJavaScriptRegEx  as following.
>
> [a-zA-Z0-9@
> ._-|//]{3,30}$
>
> On Mon, Apr 25, 2016 at 10:16 AM, Dilini Gunatilake 
> wrote:
>
>> Hi Farasath,
>>
>> Those config parameters are not added in the JDBCUserStoreManager by
>> default. But, you can follow the same doc you referred and add them
>> manually. The required parameters are as follows.
>>
>> mail
>> > name="UserNameSearchFilter">((objectClass=identityPerson)(mail=?))
>> > name="UserNameListFilter">((objectClass=identityPerson)(mail=*))
>> > name="UsernameJavaRegEx">^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$
>>
>> Regards,
>> Dilini
>>
>> On Mon, Apr 25, 2016 at 9:21 AM, Tharindu Edirisinghe > > wrote:
>>
>>> Hi Farasath,
>>>
>>> Have you looked at [1] ? You should be able to get it to working with
>>> the instructions in that.
>>>
>>> [1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/
>>>
>>> Regards,
>>> TharinduE
>>>
>>> On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
>>> wrote:
>>>
 Have you try adding the property to the configuration?

 Thanks & Regards
 Danushka Fernando
 Senior Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
 wrote:

> I was able to set email as the username for an LDAP-based user store
> following [1]. Although [1] suggests it's the same for a JDBC-based user
> store I couldn't find the same config parameters in the user-mgt.xml for 
> an
> external JDBC user store.
>
> Can someone pointout how to achieve the $subject?
>
>
> [1]
> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
>
>
> Farasath Ahamed
> Software Engineer,
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> Email: farasa...@wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
>
> ___
> 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


>>>
>>>
>>> --
>>>
>>> Tharindu Edirisinghe
>>> Software Engineer | WSO2 Inc
>>> Platform Security Team
>>> Blog : tharindue.blogspot.com
>>> mobile : +94 775181586
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Dilini GunatilakeSoftware Engineer - QA Team*
>> Mobile : +94 (0) 771 162518
>> dili...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Platform Security Team
> Blog : tharindue.blogspot.com
> mobile : +94 775181586
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sherene Mahanama
Associate Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 777 <%28%2B94%29%20773131798>*994805*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Lasantha Samarakoon

2016-04-24 Thread Sinthuja Ragendran
Hi all,

It's my pleasure to welcome Lasantha Samarakoon as a WSO2 Committer.
LasanthaS was a key member in dashboard server team, and he has contributed
in developing several features for the DS 2.0.0 release. In recognition of
his contributions, ownership shown towards the tasks and responsibilities
assigned to him and commitment, he has been voted as WSO2 committer.

LasanthaS, welcome aboard and keep up the good work!

Thanks,
Sinthuja.

-- 
*Sinthuja Rajendran*
Associate Technical Lead
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][Automation] How to configure testcases to be run on a standalone server

2016-04-24 Thread Abimaran Kugathasan
Hi Devs,

How can we configure testcases to be run on the standalone ESB?

I don't need to start a ESB through automation framework, but, want to
configure the automation framework to run the testcases on a standalone ESB.

How can we point the hostname/port for the standalone ESB through
automation framework?

-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820


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


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Tharindu Edirisinghe
*UserNameSearchFilter* and *UserNameListFilter* are LDAP specific
properties and not needed for JDBC userstores.

If you enable “*EnableEmailUserName*” in carbon.xml file regexp would be
govern by "UsernameWithEmailJavaScriptRegEx" property not the
“UsernameJavaRegEx”.. Therefore, you need to configure new property called
UsernameWithEmailJavaScriptRegEx  as following.

[a-zA-Z0-9@
._-|//]{3,30}$

On Mon, Apr 25, 2016 at 10:16 AM, Dilini Gunatilake 
wrote:

> Hi Farasath,
>
> Those config parameters are not added in the JDBCUserStoreManager by
> default. But, you can follow the same doc you referred and add them
> manually. The required parameters are as follows.
>
> mail
>  name="UserNameSearchFilter">((objectClass=identityPerson)(mail=?))
>  name="UserNameListFilter">((objectClass=identityPerson)(mail=*))
>  name="UsernameJavaRegEx">^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$
>
> Regards,
> Dilini
>
> On Mon, Apr 25, 2016 at 9:21 AM, Tharindu Edirisinghe 
> wrote:
>
>> Hi Farasath,
>>
>> Have you looked at [1] ? You should be able to get it to working with the
>> instructions in that.
>>
>> [1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/
>>
>> Regards,
>> TharinduE
>>
>> On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
>> wrote:
>>
>>> Have you try adding the property to the configuration?
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Senior Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>> On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
>>> wrote:
>>>
 I was able to set email as the username for an LDAP-based user store
 following [1]. Although [1] suggests it's the same for a JDBC-based user
 store I couldn't find the same config parameters in the user-mgt.xml for an
 external JDBC user store.

 Can someone pointout how to achieve the $subject?


 [1]
 https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username


 Farasath Ahamed
 Software Engineer,
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 Email: farasa...@wso2.com
 Mobile: +94777603866
 Blog: blog.farazath.com
 Twitter: @farazath619 

 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Platform Security Team
>> Blog : tharindue.blogspot.com
>> mobile : +94 775181586
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Dilini GunatilakeSoftware Engineer - QA Team*
> Mobile : +94 (0) 771 162518
> dili...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Platform Security Team
Blog : tharindue.blogspot.com
mobile : +94 775181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Dilini Gunatilake
Hi Sherene,

UserDNPattern property is not required to be configured for a JDBC user
store. It is only needed for a LDAP to speed up the search operations.

Also, no need to add the expression I have given in the documentation. Keep
the default. Users can change this expression according to their
requirement.

Regards,
Dilini

On Mon, Apr 25, 2016 at 10:39 AM, Sherene Mahanama  wrote:

> I added a note on this page [1] mentioning that these properties need to
> be added manually for the JDBCUserStoreManager.
>
> What about this property though? Is it no longer needed?
>
>- 
>
> And the value for this property is different from the other types for the
> JDBCUserStoreManager right?
>
>- ^[_A-
>Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+
>)*(\.[A-Za-z]{2,})$
>
> [1] -
> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
> Thanks, Sherene
>
> On Mon, Apr 25, 2016 at 10:16 AM, Dilini Gunatilake 
> wrote:
>
>> Hi Farasath,
>>
>> Those config parameters are not added in the JDBCUserStoreManager by
>> default. But, you can follow the same doc you referred and add them
>> manually. The required parameters are as follows.
>>
>> mail
>> > name="UserNameSearchFilter">((objectClass=identityPerson)(mail=?))
>> > name="UserNameListFilter">((objectClass=identityPerson)(mail=*))
>> > name="UsernameJavaRegEx">^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$
>>
>> Regards,
>> Dilini
>>
>> On Mon, Apr 25, 2016 at 9:21 AM, Tharindu Edirisinghe > > wrote:
>>
>>> Hi Farasath,
>>>
>>> Have you looked at [1] ? You should be able to get it to working with
>>> the instructions in that.
>>>
>>> [1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/
>>>
>>> Regards,
>>> TharinduE
>>>
>>> On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
>>> wrote:
>>>
 Have you try adding the property to the configuration?

 Thanks & Regards
 Danushka Fernando
 Senior Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
 wrote:

> I was able to set email as the username for an LDAP-based user store
> following [1]. Although [1] suggests it's the same for a JDBC-based user
> store I couldn't find the same config parameters in the user-mgt.xml for 
> an
> external JDBC user store.
>
> Can someone pointout how to achieve the $subject?
>
>
> [1]
> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
>
>
> Farasath Ahamed
> Software Engineer,
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> Email: farasa...@wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
>
> ___
> 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


>>>
>>>
>>> --
>>>
>>> Tharindu Edirisinghe
>>> Software Engineer | WSO2 Inc
>>> Platform Security Team
>>> Blog : tharindue.blogspot.com
>>> mobile : +94 775181586
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Dilini GunatilakeSoftware Engineer - QA Team*
>> Mobile : +94 (0) 771 162518
>> dili...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sherene Mahanama
> Associate Technical Writer
>
> WSO2 (pvt.) Ltd.
> Colombo, Sri Lanka
> (+94) 777 <%28%2B94%29%20773131798>*994805*
>



-- 

*Dilini GunatilakeSoftware Engineer - QA Team*
Mobile : +94 (0) 771 162518
dili...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Sherene Mahanama
I added a note on this page [1] mentioning that these properties need to be
added manually for the JDBCUserStoreManager.

What about this property though? Is it no longer needed?

   - 

And the value for this property is different from the other types for the
JDBCUserStoreManager right?

   - ^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)
   *@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$

[1] -
https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
Thanks, Sherene

On Mon, Apr 25, 2016 at 10:16 AM, Dilini Gunatilake 
wrote:

> Hi Farasath,
>
> Those config parameters are not added in the JDBCUserStoreManager by
> default. But, you can follow the same doc you referred and add them
> manually. The required parameters are as follows.
>
> mail
>  name="UserNameSearchFilter">((objectClass=identityPerson)(mail=?))
>  name="UserNameListFilter">((objectClass=identityPerson)(mail=*))
>  name="UsernameJavaRegEx">^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$
>
> Regards,
> Dilini
>
> On Mon, Apr 25, 2016 at 9:21 AM, Tharindu Edirisinghe 
> wrote:
>
>> Hi Farasath,
>>
>> Have you looked at [1] ? You should be able to get it to working with the
>> instructions in that.
>>
>> [1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/
>>
>> Regards,
>> TharinduE
>>
>> On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
>> wrote:
>>
>>> Have you try adding the property to the configuration?
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Senior Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>> On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
>>> wrote:
>>>
 I was able to set email as the username for an LDAP-based user store
 following [1]. Although [1] suggests it's the same for a JDBC-based user
 store I couldn't find the same config parameters in the user-mgt.xml for an
 external JDBC user store.

 Can someone pointout how to achieve the $subject?


 [1]
 https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username


 Farasath Ahamed
 Software Engineer,
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 Email: farasa...@wso2.com
 Mobile: +94777603866
 Blog: blog.farazath.com
 Twitter: @farazath619 

 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Platform Security Team
>> Blog : tharindue.blogspot.com
>> mobile : +94 775181586
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Dilini GunatilakeSoftware Engineer - QA Team*
> Mobile : +94 (0) 771 162518
> dili...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sherene Mahanama
Associate Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 777 <%28%2B94%29%20773131798>*994805*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Dilini Gunatilake
Hi Farasath,

Those config parameters are not added in the JDBCUserStoreManager by
default. But, you can follow the same doc you referred and add them
manually. The required parameters are as follows.

mail
((objectClass=identityPerson)(mail=?))
((objectClass=identityPerson)(mail=*))
^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$

Regards,
Dilini

On Mon, Apr 25, 2016 at 9:21 AM, Tharindu Edirisinghe 
wrote:

> Hi Farasath,
>
> Have you looked at [1] ? You should be able to get it to working with the
> instructions in that.
>
> [1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/
>
> Regards,
> TharinduE
>
> On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
> wrote:
>
>> Have you try adding the property to the configuration?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
>> wrote:
>>
>>> I was able to set email as the username for an LDAP-based user store
>>> following [1]. Although [1] suggests it's the same for a JDBC-based user
>>> store I couldn't find the same config parameters in the user-mgt.xml for an
>>> external JDBC user store.
>>>
>>> Can someone pointout how to achieve the $subject?
>>>
>>>
>>> [1]
>>> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
>>>
>>>
>>> Farasath Ahamed
>>> Software Engineer,
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>> Email: farasa...@wso2.com
>>> Mobile: +94777603866
>>> Blog: blog.farazath.com
>>> Twitter: @farazath619 
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Platform Security Team
> Blog : tharindue.blogspot.com
> mobile : +94 775181586
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Dilini GunatilakeSoftware Engineer - QA Team*
Mobile : +94 (0) 771 162518
dili...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Tharindu Edirisinghe
Hi Farasath,

Have you looked at [1] ? You should be able to get it to working with the
instructions in that.

[1] http://xacmlinfo.org/2014/10/07/email-username-with-identity-server/

Regards,
TharinduE

On Mon, Apr 25, 2016 at 7:05 AM, Danushka Fernando 
wrote:

> Have you try adding the property to the configuration?
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
> wrote:
>
>> I was able to set email as the username for an LDAP-based user store
>> following [1]. Although [1] suggests it's the same for a JDBC-based user
>> store I couldn't find the same config parameters in the user-mgt.xml for an
>> external JDBC user store.
>>
>> Can someone pointout how to achieve the $subject?
>>
>>
>> [1]
>> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
>>
>>
>> Farasath Ahamed
>> Software Engineer,
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>> Email: farasa...@wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 
>>
>> ___
>> 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
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Platform Security Team
Blog : tharindue.blogspot.com
mobile : +94 775181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest release tag in wso2-axis2 git repository is incorrect

2016-04-24 Thread Madhawa Gunasekara
Hi Sajith,

the latest wso2-axis2 release is v1.6.1-wso2v17 [1] and DSS 3.5.0 uses
v1.6.1-wso2v15 [2]. we have to change the latest release as v1.6.1-wso2v17
in the  wso2-axis2 github repo.

[1] https://github.com/wso2/wso2-axis2/releases/tag/v1.6.1-wso2v17
[2] https://github.com/wso2/wso2-axis2/releases/tag/v1.6.1-wso2v15

Thanks,
Madhawa

On Mon, Apr 25, 2016 at 3:51 AM, Sajith Kariyawasam  wrote:

> Hi,
>
> In wso2-axis2 repo [1], the tag which is marked as "latest" seems
> incorrect.
>
> At the moment its v1.6.1-wso2v12 shown as the latest, but DSS 3.5.0
> has v1.6.1-wso2v15
>
> [1] https://github.com/wso2/wso2-axis2/releases
>
> Thanks,
> Sajith
>



-- 
*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] Working With VFS Sender in ESB

2016-04-24 Thread Yashothara Shanmugarajah
Hi,

As the summary of my results of file connector (file move), herewith I have
attached two graphs which is specifying heap memory usage when streaming in
default VFS sender in ESB and using File connector.

Best Regards,
Yashothara.S

Software Engineer
WSO2


On Mon, Apr 25, 2016 at 6:23 AM, Malaka Silva  wrote:

> Yashothara the idea should be if this (VFS sender) is currently not
> supported with file connector, incorporate the functionality to the
> connector.
>
> On Sun, Apr 24, 2016 at 6:04 PM, Yashothara Shanmugarajah <
> yashoth...@wso2.com> wrote:
>
>> This was default vfs sender. But I have used file connector as the sender
>> and I got snapshots for that. I will update the graph for file connector
>> soon.
>>
>> Thank you.
>>
>> Best Regards,
>> Yashothara.S
>>
>> Software Engineer
>> WSO2
>>
>>
>> On Sun, Apr 24, 2016 at 8:03 AM, Malaka Silva  wrote:
>>
>>> Did you use fileconnector as the sender? or default vfs sender?
>>>
>>> On Fri, Apr 22, 2016 at 1:43 PM, Yashothara Shanmugarajah <
>>> yashoth...@wso2.com> wrote:
>>>
 Hi,

 As the summary of my results herewith I have attached two graphs which
 is specifying heap memory usage when streaming and not streaming.

 Best Regards,
 Yashothara.S

 Software Engineer
 WSO2


 On Tue, Apr 19, 2016 at 12:16 PM, Yashothara Shanmugarajah <
 yashoth...@wso2.com> wrote:

> Hi all,
>
> I am testing VFS sender in ESB using different set of files with
> different sizes (10MB to 5 GB which include zip file and txt files) by
> putting streaming as true and false. When streaming is false and normal
> configuration (*-Xms256m -Xmx512m -XX:MaxPermSize=256m)* for ESB heap
> memory allocation until 250MB file was worked fine. After that it gave out
> of memory issue. Then after changing the configuration to heap memory
> allocation (*-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m*) until 1 GB
> zip file it worked fine. But 1 GB txt file got out of memory issue.
>
> But when streaming is true until 5 GB it worked fine. I checked all
> these scenarios with jconsole and got snapshot in that period. When
> streaming is true i got 500MB heap memory usage for 5 GB data. But around 
> 1
> GB memory space is used when I test 1 Gb file without Streaming.
>
> Herewith I have attached snapshots of jconsole.
>
> Thanks.
>
> Best Regards,
> Yashothara.S
>
> Software Engineer
> WSO2
>
>

>>>
>>>
>>> --
>>>
>>> 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/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>
>
> --
>
> 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/
> 
> https://store.wso2.com/store/
>
> 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] [AS] Help to build product-as

2016-04-24 Thread Megala Uthayakumar
Hi,

Thank you. I was able to build both master and v3.5.0. Earlier it was my
fault, I forgot to export the MAVEN_OPTS after setting it.

Thanks

On Thu, Apr 21, 2016 at 8:48 PM, Rasika Perera  wrote:

> Hi Megala,
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
>> (default-compile) on project appserver-utils: Fatal error compiling:
>> invalid target release: 1.8 -> [Help 1]
>
> You need to compile with JDK1.8 for AS v6.0.0 master branch. Please refer
> [1].
>
> [INFO] WSO2 AppServer Distribution having apache ldap server feature
>> installed FAILURE [  3.839 s]
>> Exception in thread "main"
>> Exception: java.lang.OutOfMemoryError thrown from the
>> UncaughtExceptionHandler in thread "main"
>
> Try export MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=128m'[2].
>
> [1] https://github.com/wso2/product-as/blob/master/pom.xml#L500
> [2] https://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
>
> On Thu, Apr 21, 2016 at 7:45 PM, Megala Uthayakumar 
> wrote:
>
>> Hi,
>>
>> I am still getting the same errors. As per [1], I set MAVEN_OPTS="-Xms768m
>> -Xmx3072m -XX:MaxPermSize=1200m" . Still I am getting the same errors.
>>
>> [1] https://docs.wso2.com/display/AS530/Get+Involved
>>
>> Thanks
>>
>> On Thu, Apr 21, 2016 at 7:29 PM, Mushthaq Rumy  wrote:
>>
>>> Hi,
>>>
>>> Have you set the  MAVEN_OPTS="-Xmx128m -XX:MaxPermSize=128m"? If not set
>>> it and try to build it.
>>>
>>> Thanks & Regards,
>>>
>>> On Thu, Apr 21, 2016 at 7:18 PM, Megala Uthayakumar 
>>> wrote:
>>>

 Hi All,

 I am trying to build the product-as from the source. When tried to
 build v5.3.0, I got the following error and build failed.

 *[INFO] WSO2 AppServer Distribution having apache ldap server feature
 installed FAILURE [  3.839 s]*

 *Exception in thread "main" *
 *Exception: java.lang.OutOfMemoryError thrown from the
 UncaughtExceptionHandler in thread "main"*

 After that I tried to build from the master branch, but got following
 error,
 *[INFO] WSO2 Application Server - Module - Utils ... FAILURE [
  1.542 s]*

 *[ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
 (default-compile) on project appserver-utils: Fatal error compiling:
 invalid target release: 1.8 -> [Help 1]*

 I am using oracle JDK 1.7.0_80 and my maven version is 3.3.9

 Could someone point out what is the cause for these errors?

 Thank you.

 Regards,
 Megala

 --
 Megala Uthayakumar

 Software Engineer
 Mobile : 0779967122

 ___
 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.
>>>
>>
>>
>>
>> --
>> Megala Uthayakumar
>>
>> Software Engineer
>> Mobile : 0779967122
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: rasi...@wso2.com
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Megala Uthayakumar

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


Re: [Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Danushka Fernando
Have you try adding the property to the configuration?

Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Apr 25, 2016 at 12:02 AM, Farasath Ahamed 
wrote:

> I was able to set email as the username for an LDAP-based user store
> following [1]. Although [1] suggests it's the same for a JDBC-based user
> store I couldn't find the same config parameters in the user-mgt.xml for an
> external JDBC user store.
>
> Can someone pointout how to achieve the $subject?
>
>
> [1]
> https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username
>
>
> Farasath Ahamed
> Software Engineer,
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> Email: farasa...@wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
>
> ___
> 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] Working With VFS Sender in ESB

2016-04-24 Thread Malaka Silva
Yashothara the idea should be if this (VFS sender) is currently not
supported with file connector, incorporate the functionality to the
connector.

On Sun, Apr 24, 2016 at 6:04 PM, Yashothara Shanmugarajah <
yashoth...@wso2.com> wrote:

> This was default vfs sender. But I have used file connector as the sender
> and I got snapshots for that. I will update the graph for file connector
> soon.
>
> Thank you.
>
> Best Regards,
> Yashothara.S
>
> Software Engineer
> WSO2
>
>
> On Sun, Apr 24, 2016 at 8:03 AM, Malaka Silva  wrote:
>
>> Did you use fileconnector as the sender? or default vfs sender?
>>
>> On Fri, Apr 22, 2016 at 1:43 PM, Yashothara Shanmugarajah <
>> yashoth...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> As the summary of my results herewith I have attached two graphs which
>>> is specifying heap memory usage when streaming and not streaming.
>>>
>>> Best Regards,
>>> Yashothara.S
>>>
>>> Software Engineer
>>> WSO2
>>>
>>>
>>> On Tue, Apr 19, 2016 at 12:16 PM, Yashothara Shanmugarajah <
>>> yashoth...@wso2.com> wrote:
>>>
 Hi all,

 I am testing VFS sender in ESB using different set of files with
 different sizes (10MB to 5 GB which include zip file and txt files) by
 putting streaming as true and false. When streaming is false and normal
 configuration (*-Xms256m -Xmx512m -XX:MaxPermSize=256m)* for ESB heap
 memory allocation until 250MB file was worked fine. After that it gave out
 of memory issue. Then after changing the configuration to heap memory
 allocation (*-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m*) until 1 GB
 zip file it worked fine. But 1 GB txt file got out of memory issue.

 But when streaming is true until 5 GB it worked fine. I checked all
 these scenarios with jconsole and got snapshot in that period. When
 streaming is true i got 500MB heap memory usage for 5 GB data. But around 1
 GB memory space is used when I test 1 Gb file without Streaming.

 Herewith I have attached snapshots of jconsole.

 Thanks.

 Best Regards,
 Yashothara.S

 Software Engineer
 WSO2


>>>
>>
>>
>> --
>>
>> 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/
>> 
>> https://store.wso2.com/store/
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>


-- 

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/

https://store.wso2.com/store/

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


[Dev] Latest release tag in wso2-axis2 git repository is incorrect

2016-04-24 Thread Sajith Kariyawasam
Hi,

In wso2-axis2 repo [1], the tag which is marked as "latest" seems incorrect.

At the moment its v1.6.1-wso2v12 shown as the latest, but DSS 3.5.0
has v1.6.1-wso2v15

[1] https://github.com/wso2/wso2-axis2/releases

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


[Dev] [IS] Using email as username for a JDBC-based user store

2016-04-24 Thread Farasath Ahamed
I was able to set email as the username for an LDAP-based user store
following [1]. Although [1] suggests it's the same for a JDBC-based user
store I couldn't find the same config parameters in the user-mgt.xml for an
external JDBC user store.

Can someone pointout how to achieve the $subject?


[1] https://docs.wso2.com/display/IS510/Using+Email+Address+as+the+Username


Farasath Ahamed
Software Engineer,
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


Email: farasa...@wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Creating a Custom Workflow Implementation

2016-04-24 Thread Harsha Thirimanna
Hi Chamila,
Yes, we can implement this using workflow framework.
You can use current multi step template and have to implement several
classes as follows.

First you have to implement AbstractWorkflow because you are going to have
new implementation. But still it has two another interfaces
 TemplateInitializer for initialization task and WorkflowExecutor for
actual run-time execution.
In your case, you can send email within this WorkflowExecutor->execute
method.

You have to register your new implementation as we have done it in current
BPS implementation.

For the callback side, you can register rest endpoint from your new
implementation component and get the call from Email. Then you can call the
callback endpoint as webservice or java call.

thanks



*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770 *
*twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Sun, Apr 24, 2016 at 10:41 PM, Chamila Wijayarathna 
wrote:

> Hi all,
>
> Currently IS only support Workflow Implementation which used WSO2 BPS. I
> want to implement a usecase using IS workflow feature where when a user
> register, an email goes to that user's email and only when he clicked a
> link there user account get created. This is somewhat similar to ask
> password feature, but I am interested in exploring how to achieve this
> using workflow.
>
> It seems like I need to do this by extending *AbstractWorkflow* class,
> but still I'm not sure what methods I need to implement and what I need to
> do there. Can someone point me on how to do this?
>
> Thank You!
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Creating a Custom Workflow Implementation

2016-04-24 Thread Chamila Wijayarathna
Hi all,

Currently IS only support Workflow Implementation which used WSO2 BPS. I
want to implement a usecase using IS workflow feature where when a user
register, an email goes to that user's email and only when he clicked a
link there user account get created. This is somewhat similar to ask
password feature, but I am interested in exploring how to achieve this
using workflow.

It seems like I need to do this by extending *AbstractWorkflow* class, but
still I'm not sure what methods I need to implement and what I need to do
there. Can someone point me on how to do this?

Thank You!

-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Working With VFS Sender in ESB

2016-04-24 Thread Yashothara Shanmugarajah
This was default vfs sender. But I have used file connector as the sender
and I got snapshots for that. I will update the graph for file connector
soon.

Thank you.

Best Regards,
Yashothara.S

Software Engineer
WSO2


On Sun, Apr 24, 2016 at 8:03 AM, Malaka Silva  wrote:

> Did you use fileconnector as the sender? or default vfs sender?
>
> On Fri, Apr 22, 2016 at 1:43 PM, Yashothara Shanmugarajah <
> yashoth...@wso2.com> wrote:
>
>> Hi,
>>
>> As the summary of my results herewith I have attached two graphs which is
>> specifying heap memory usage when streaming and not streaming.
>>
>> Best Regards,
>> Yashothara.S
>>
>> Software Engineer
>> WSO2
>>
>>
>> On Tue, Apr 19, 2016 at 12:16 PM, Yashothara Shanmugarajah <
>> yashoth...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> I am testing VFS sender in ESB using different set of files with
>>> different sizes (10MB to 5 GB which include zip file and txt files) by
>>> putting streaming as true and false. When streaming is false and normal
>>> configuration (*-Xms256m -Xmx512m -XX:MaxPermSize=256m)* for ESB heap
>>> memory allocation until 250MB file was worked fine. After that it gave out
>>> of memory issue. Then after changing the configuration to heap memory
>>> allocation (*-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m*) until 1 GB zip
>>> file it worked fine. But 1 GB txt file got out of memory issue.
>>>
>>> But when streaming is true until 5 GB it worked fine. I checked all
>>> these scenarios with jconsole and got snapshot in that period. When
>>> streaming is true i got 500MB heap memory usage for 5 GB data. But around 1
>>> GB memory space is used when I test 1 Gb file without Streaming.
>>>
>>> Herewith I have attached snapshots of jconsole.
>>>
>>> Thanks.
>>>
>>> Best Regards,
>>> Yashothara.S
>>>
>>> Software Engineer
>>> WSO2
>>>
>>>
>>
>
>
> --
>
> 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/
> 
> https://store.wso2.com/store/
>
> 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


[Dev] [Kubernetes] [MembershipScheme] Constructing API Server URL Using Kubernetes Env Variables

2016-04-24 Thread Imesh Gunaratne
Hi All,

As you may already know WSO2 K8S membership scheme talks to K8S API Server
to find the container IPs of Carbon servers in the same Carbon cluster.
Until now we fetched the K8S API Server URL either from axis2.xml file or
using an environment variable.

I just updated the K8S membership scheme to construct this using below
environment variables generated by K8S:

KUBERNETES_SERVICE_HOST
KUBERNETES_SERVICE_PORT_HTTPS

[1]
https://github.com/wso2/kubernetes-artifacts/commit/a8ba688109aed575d1ea2b96abc1bab268377155

Thanks

-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.io TW: @imesh
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev