[Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Nuwan Bandara
Hi All,

Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara has
made some great contributions to UES, Store  Jaggery during the last few
months and in recognition of his commitment and contributions he has been
voted as a committer.

Udara, welcome aboard and keep up the good work.

Best Regards,
Nuwan

-- 
*Thanks  Regards,

Nuwan Bandara
Technical Lead; **WSO2 Inc. *
*lean . enterprise . middleware |  http://wso2.com *
*blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629
*
http://www.nuwanbando.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Chanika Geeganage
Congratz Supun !!!


On Mon, Jul 22, 2013 at 6:27 PM, Sumedha Kodithuwakku sumed...@wso2.comwrote:

 Congratz  Pulasthi...!!!


 On Mon, Jul 22, 2013 at 6:04 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Congratulation Pulasthi...!!!




 On Sun, Jul 21, 2013 at 4:54 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


 ___
 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




-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com

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


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Chamath Bogahawatta
Congratulations udara


On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara has
 made some great contributions to UES, Store  Jaggery during the last few
 months and in recognition of his commitment and contributions he has been
 voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




-- 


_-_-_-_-_-_-_-_-_-_

Thanks  Regards,
Chamath.
*+94 71 532 0009*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Susankha Nirmala
congratz Supun.


On Tue, Jul 23, 2013 at 11:36 AM, Chanika Geeganage chan...@wso2.comwrote:

 Congratz Supun !!!


 On Mon, Jul 22, 2013 at 6:27 PM, Sumedha Kodithuwakku 
 sumed...@wso2.comwrote:

 Congratz  Pulasthi...!!!


 On Mon, Jul 22, 2013 at 6:04 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Congratulation Pulasthi...!!!




 On Sun, Jul 21, 2013 at 4:54 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


 ___
 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




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Mobile: +94773522586

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




-- 
Susankha Nirmala
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
Mobile : +94 77 593 2146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Manula Chathurika Thantriwatte
Congrats Udara !!!.


On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara has
 made some great contributions to UES, Store  Jaggery during the last few
 months and in recognition of his commitment and contributions he has been
 voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




-- 
*Manula Chathurika Thantriwatte*
Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 2492511
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Code Review - AppFactory User Management and Build and Re... @ Tue Jul 23, 2013 4pm - 5pm (asan...@wso2.com)

2013-07-23 Thread Asanka Dissanayake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130723T103000Z
DTEND:20130723T113000Z
DTSTAMP:20130723T062145Z
ORGANIZER;CN=Asanka Dissanayake:mailto:asan...@wso2.com
UID:1bf62k3bilg2l6461hhd9j7...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shamika Ariyawansa;X-NUM-GUESTS=0:mailto:sham...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Bandara;X-NUM-GUESTS=0:mailto:nu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Punnadi Gunarathna;X-NUM-GUESTS=0:mailto:punn...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Asanka Dissanayake;X-NUM-GUESTS=0:mailto:asan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Madhuka Udantha;X-NUM-GUESTS=0:mailto:madh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manisha Gayathri;X-NUM-GUESTS=0:mailto:mani...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chathura Kulasinghe;X-NUM-GUESTS=0:mailto:chathu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danushka Fernando;X-NUM-GUESTS=0:mailto:danush...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Gayan Dhanushka;X-NUM-GUESTS=0:mailto:gay...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shiroshica Kulatilake;X-NUM-GUESTS=0:mailto:sh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20130723T061451Z
DESCRIPTION:Please find the crucible link on [1] for AppFactory code review
  \n[1]http://wso2.org/crucible/cru/WAF003-5\nView your event at http://www.
 google.com/calendar/event?action=VIEWeid=MWJmNjJrM2JpbGcybDY0NjFoaGQ5ajc2Z
 2MgZGV2QHdzbzIub3Jntok=MTYjYXNhbmthZEB3c28yLmNvbTAzM2QyZjBjMTUxZmQ0MWY2MGV
 kNGQzMDdjMTA4NzdhNWMzZDlkNDMctz=Asia/Colombohl=en.
LAST-MODIFIED:20130723T062145Z
LOCATION:LK #58 5th Floor - Meeting room (map)
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - AppFactory User Management and Build and Repo Pages
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Chamath Gunawardana
Congratz Supun !!


On Tue, Jul 23, 2013 at 11:50 AM, Susankha Nirmala susan...@wso2.comwrote:

 congratz Supun.


 On Tue, Jul 23, 2013 at 11:36 AM, Chanika Geeganage chan...@wso2.comwrote:

 Congratz Supun !!!


 On Mon, Jul 22, 2013 at 6:27 PM, Sumedha Kodithuwakku 
 sumed...@wso2.comwrote:

 Congratz  Pulasthi...!!!


 On Mon, Jul 22, 2013 at 6:04 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Congratulation Pulasthi...!!!




 On Sun, Jul 21, 2013 at 4:54 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2
 Committer. Pulasthi has made some great contributions to our platform
 during the last few months and in recognition of his commitment and
 contributions he has been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


 ___
 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




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Mobile: +94773522586

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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




-- 
Best Regards,
Chamath Gunawardana
Technical Lead; WSO2 Inc.
Mobile : +94776322240
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-23 Thread Isuru Perera
Hi all,

Thanks Miyuru and Ramith for the information.

This is fixed in ESB 4.7.0 with ESBJAVA-2029 [1].

The change is to add a parameter as follows. (I couldn't find about this in
ESB Docs!)

parameter name=SSLProtocol.../parameter

I still have a doubt whether this can be used to achieve StackOverflow
user's requirement as there is no place to specify ciphers parameter.

Appreciate any guidance on this.

Thanks!

[1] https://wso2.org/jira/browse/ESBJAVA-2029


On Tue, Jul 23, 2013 at 9:10 AM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 This is regarding StackOverflow question [1].

 Basically the user needs to configure sslProtocol + other parameters as
 defined in Tomcat connector [2].

 I gave a quick answer by looking at the docs. I informed that those
 parameters can be specified in HTTPS Servlet Transport since it is based on
 the Tomcat connector.

 Please let me know how to achieve similar SSL configuration in NHTTP or
 PassThrough transport.

 Thanks!

 [1]
 http://stackoverflow.com/questions/17752636/wso2-esb-4-0-3-how-to-specify-sslprotocol-parameter-for-transport-listner-http
 [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/




-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Asela Pathberiya
Thanks for reporting... This is a mistake...  AFAIK, this is already
fixed... If not,  will check and remove them.

Thanks,
Asela.
On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 While debugging an issue I found that following code segment returns the
 following two values.
 Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?


 UserRealm realm = userRegistry.getUserRealm();
 UserStoreManager reader = realm.getUserStoreManager();
 String[] roles = reader.getRoleListOfUser(userRegistry.getUserName
 ());

 This roles list contains following values,

 1) Internal/everyone
 2) *PRIMARY/admin__DN__false~-1234*
 *
 *
 Thanks
 Ajith


 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350





-- 
Thanks  Regards,
Asela

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


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Shani Ranasinghe
Cngtrs Supun


*Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab


On Tue, Jul 23, 2013 at 11:54 AM, Chamath Gunawardana chama...@wso2.comwrote:

 Congratz Supun !!


 On Tue, Jul 23, 2013 at 11:50 AM, Susankha Nirmala susan...@wso2.comwrote:

 congratz Supun.


 On Tue, Jul 23, 2013 at 11:36 AM, Chanika Geeganage chan...@wso2.comwrote:

 Congratz Supun !!!


 On Mon, Jul 22, 2013 at 6:27 PM, Sumedha Kodithuwakku sumed...@wso2.com
  wrote:

 Congratz  Pulasthi...!!!


 On Mon, Jul 22, 2013 at 6:04 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Congratulation Pulasthi...!!!




 On Sun, Jul 21, 2013 at 4:54 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2
 Committer. Pulasthi has made some great contributions to our platform
 during the last few months and in recognition of his commitment and
 contributions he has been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


 ___
 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




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Mobile: +94773522586

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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

 ___
 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] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Shani Ranasinghe
Congrats Udara!!!

*Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab


On Tue, Jul 23, 2013 at 11:55 AM, Chamath Gunawardana chama...@wso2.comwrote:

 Congratz Udara !!


 On Tue, Jul 23, 2013 at 11:51 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congrats Udara !!!.


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




 --
 *Manula Chathurika Thantriwatte*
 Software Engineer
 WSO2 Inc. ; http://wso2.com

 lean . enterprise . middleware

 phone : +94 77 2492511

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




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

 ___
 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] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Gokul Balakrishnan
Congrats Supun!

On 21 July 2013 16:54, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/gokulbs
Mobile: +94775935789
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Asanka Sanjeewa
Congrats Udara.

Regards,
AsankaS


On Tue, Jul 23, 2013 at 12:31 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats Udara!!!

 *Shani Ranasinghe*

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

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab


 On Tue, Jul 23, 2013 at 11:55 AM, Chamath Gunawardana 
 chama...@wso2.comwrote:

 Congratz Udara !!


 On Tue, Jul 23, 2013 at 11:51 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congrats Udara !!!.


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

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




 --
 *Manula Chathurika Thantriwatte*
 Software Engineer
 WSO2 Inc. ; http://wso2.com

 lean . enterprise . middleware

 phone : +94 77 2492511

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




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

 ___
 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




-- 
*Asanka Sanjeewa*
Senior Software Engineer
Mobile: +94772532924
WSO2 Inc. http://wso2.com/
Blog: http://asanka-tech-blog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Asanka Sanjeewa
Congrats Supun.

Regards,
AsankaS.


On Tue, Jul 23, 2013 at 12:36 PM, Gokul Balakrishnan go...@wso2.com wrote:

 Congrats Supun!

 On 21 July 2013 16:54, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Asanka Sanjeewa*
Senior Software Engineer
Mobile: +94772532924
WSO2 Inc. http://wso2.com/
Blog: http://asanka-tech-blog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Shall we remove _ (underscore) suffix component from kernel trunk

2013-07-23 Thread Shameera Rathnayaka
Hi Devs,

Kernel trunk has 9 components with underscore suffix with it and those have
nothing to do with kernel build.This will be a problem when cut the 4.2.0
branch. Shall we remove these components from kernel trunk?

@Prabath, have you copied these implementations to a scratch area. If not
please do it.

T
hanks,
Shameera.

-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com shame...@wso2.com , shameera AT
apache.orgshame...@apache.org
*
*phone:  +9471 922 1454*
*
*
*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Susinda Perera
Congrats Udara ... !!

On Tue, Jul 23, 2013 at 12:43 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Congrats Udara.

 Regards,
 AsankaS


 On Tue, Jul 23, 2013 at 12:31 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats Udara!!!

 *Shani Ranasinghe*

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

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab


 On Tue, Jul 23, 2013 at 11:55 AM, Chamath Gunawardana 
 chama...@wso2.comwrote:

 Congratz Udara !!


 On Tue, Jul 23, 2013 at 11:51 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congrats Udara !!!.


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

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




 --
 *Manula Chathurika Thantriwatte*
 Software Engineer
 WSO2 Inc. ; http://wso2.com

 lean . enterprise . middleware

 phone : +94 77 2492511

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




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

 ___
 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




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

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


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Susinda Perera
Congrats

On Tue, Jul 23, 2013 at 12:44 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Congrats Supun.

 Regards,
 AsankaS.


 On Tue, Jul 23, 2013 at 12:36 PM, Gokul Balakrishnan go...@wso2.comwrote:

 Congrats Supun!

 On 21 July 2013 16:54, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

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


Re: [Dev] Shall we remove _ (underscore) suffix component from kernel trunk

2013-07-23 Thread Pradeep Fernando
Hi Shameera,

Please create a tag of current kernel trunk in the scratch area (so that
prabath can continue work..) and remove the components with '_' from the
trunk.

--Pradeep


On Tue, Jul 23, 2013 at 12:45 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Devs,

 Kernel trunk has 9 components with underscore suffix with it and those
 have nothing to do with kernel build.This will be a problem when cut the
 4.2.0 branch. Shall we remove these components from kernel trunk?

 @Prabath, have you copied these implementations to a scratch area. If not
 please do it.

 T
 hanks,
 Shameera.

 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-23 Thread Ramith Jayasinghe
So now whats the purpose of HttpsProtocols which is also configured in
axis2.xml (for esb) ?


On Tue, Jul 23, 2013 at 12:14 PM, Isuru Perera isu...@wso2.com wrote:

 Hi all,

 Thanks Miyuru and Ramith for the information.

 This is fixed in ESB 4.7.0 with ESBJAVA-2029 [1].

 The change is to add a parameter as follows. (I couldn't find about this
 in ESB Docs!)

 parameter name=SSLProtocol.../parameter

 I still have a doubt whether this can be used to achieve StackOverflow
 user's requirement as there is no place to specify ciphers parameter.

 Appreciate any guidance on this.

 Thanks!

 [1] https://wso2.org/jira/browse/ESBJAVA-2029


 On Tue, Jul 23, 2013 at 9:10 AM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 This is regarding StackOverflow question [1].

 Basically the user needs to configure sslProtocol + other parameters as
 defined in Tomcat connector [2].

 I gave a quick answer by looking at the docs. I informed that those
 parameters can be specified in HTTPS Servlet Transport since it is based on
 the Tomcat connector.

 Please let me know how to achieve similar SSL configuration in NHTTP or
 PassThrough transport.

 Thanks!

 [1]
 http://stackoverflow.com/questions/17752636/wso2-esb-4-0-3-how-to-specify-sslprotocol-parameter-for-transport-listner-http
 [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Madhuka Udantha
Congratzz Udara ... !!


On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara has
 made some great contributions to UES, Store  Jaggery during the last few
 months and in recognition of his commitment and contributions he has been
 voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Rajeeva Uthayasangar
Congratz.




On Tue, Jul 23, 2013 at 12:57 PM, Madhuka Udantha madh...@wso2.com wrote:

 Congratzz Udara ... !!


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/

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




-- 
*Rajeeva Uthayasangar*
Software Engineer
WSO2, Inc.:http://wso2.com*
*


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


Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Rajeeva Uthayasangar
Congratz.


On Tue, Jul 23, 2013 at 12:46 PM, Susinda Perera susi...@wso2.com wrote:

 Congrats


 On Tue, Jul 23, 2013 at 12:44 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congrats Supun.

 Regards,
 AsankaS.


 On Tue, Jul 23, 2013 at 12:36 PM, Gokul Balakrishnan go...@wso2.comwrote:

 Congrats Supun!

 On 21 July 2013 16:54, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2 Committer. Pulasthi
 has made some great contributions to our platform during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/

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




-- 
*Rajeeva Uthayasangar*
Software Engineer
WSO2, Inc.:http://wso2.com*
*


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


Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Pradeep Fernando
Hi Piyum,

Please figure out the correct relative path and change the p2.inf file.

--Pradeep


On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.com wrote:

 Seems the value of  {$installFolder} relative to the product root has been
 changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.com wrote:

 Hi,

 modules directory which comes with jaggery.server.feature is missing in
 the root.  It is copied to root/repository/ directory when installing the
 feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is active in
 test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 Caused by: 

Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Ajith Vitharana
On Tue, Jul 23, 2013 at 12:30 PM, Asela Pathberiya as...@wso2.com wrote:


 Thanks for reporting... This is a mistake...  AFAIK, this is already
 fixed... If not,  will check and remove them.


Thanks for the info. This is a latest build.

-Ajith.



 Thanks,
 Asela.

 On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 While debugging an issue I found that following code segment returns the
 following two values.
 Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?


 UserRealm realm = userRegistry.getUserRealm();
 UserStoreManager reader = realm.getUserStoreManager();
 String[] roles = reader.getRoleListOfUser(userRegistry.
 getUserName());

 This roles list contains following values,

 1) Internal/everyone
 2) *PRIMARY/admin__DN__false~-1234*
 *
 *
 Thanks
 Ajith


 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350





 --
 Thanks  Regards,
 Asela

 Mobile : +94 777 625 933




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Tanya Madurapperuma
Congratz !!!


On Tue, Jul 23, 2013 at 1:05 PM, Rajeeva Uthayasangar raje...@wso2.comwrote:

 Congratz.




 On Tue, Jul 23, 2013 at 12:57 PM, Madhuka Udantha madh...@wso2.comwrote:

 Congratzz Udara ... !!


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/

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




 --
 *Rajeeva Uthayasangar*
 Software Engineer
 WSO2, Inc.:http://wso2.com*
 *


 Mobile: +94777298873


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




-- 
Tanya Madurapperuma

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94718184439
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-23 Thread Kasun Gajasinghe
Hi Pulasthi,

Did you get a chance to look in to the latter issue?

Thanks,
KasunG


On Sat, Jul 20, 2013 at 2:45 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Pulasthi,

 On Fri, Jul 19, 2013 at 10:25 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Shameera

 This seems to be due to a missing tenant Domain information in the thread
 from what i can understand from the error log.


 Yes that was the issue with caching, and i fixed that. As I have explained
 in my previous reply, now only two test failures are there and one is due
 to Configuration registry not found. It would be great if you can check
 that.

 Thanks,
 Shameera.





 On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Hi,

 Caching issues have been fixed with revision 178732, Now test failure
 count is 1 and it is registry related issue. As i found following code
 segment return configRegistry value as null, this will cause to throw an
 AxisFault. Any idea how to fix this?


 configRegistry =
 (Registry)
 PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
 TransportPM

 getRegistry(RegistryType.SYSTEM_CONFIGURATION)

 if (configRegistry == null) {
 throw new AxisFault(Configuration Registry is not
 available);
 }

 Thanks,
 Shameera.


 On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Asela, Shameera,

 Yes, and this issue is fixed.. But still the service-mgt and module-mgt
 tests fail which is related to caching+registry. We should take a full
 update and build to make sure that issue is really there.

 org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
 add the root collection to the coreRegistry.
 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:226)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:205)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
 at
 org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.init(InMemoryEmbeddedRegistryService.java:61)
 at
 org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
 at
 org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
 at junit.framework.TestCase.runBare(TestCase.java:128)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:120)
 at junit.framework.TestSuite.runTest(TestSuite.java:230)
 at junit.framework.TestSuite.run(TestSuite.java:225)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
 at
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
 Caused by: java.lang.NullPointerException
 at
 

Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Nuwan Bandara
@Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.com wrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.com wrote:

 Hi,

 modules directory which comes with jaggery.server.feature is missing
 in the root.  It is copied to root/repository/ directory when installing
 the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is active
 in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-23 Thread Pulasthi Supun
Hi Kasun

Working on a support issue right now. will take look in a little while.

Regards
Pulasthi.


On Tue, Jul 23, 2013 at 1:37 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Pulasthi,

 Did you get a chance to look in to the latter issue?

 Thanks,
 KasunG


 On Sat, Jul 20, 2013 at 2:45 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Pulasthi,

 On Fri, Jul 19, 2013 at 10:25 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Shameera

 This seems to be due to a missing tenant Domain information in the
 thread from what i can understand from the error log.


 Yes that was the issue with caching, and i fixed that. As I have
 explained in my previous reply, now only two test failures are there and
 one is due to Configuration registry not found. It would be great if you
 can check that.

 Thanks,
 Shameera.





 On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Hi,

 Caching issues have been fixed with revision 178732, Now test failure
 count is 1 and it is registry related issue. As i found following code
 segment return configRegistry value as null, this will cause to throw an
 AxisFault. Any idea how to fix this?


 configRegistry =
 (Registry)
 PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
 TransportPM

 getRegistry(RegistryType.SYSTEM_CONFIGURATION)

 if (configRegistry == null) {
 throw new AxisFault(Configuration Registry is not
 available);
 }

 Thanks,
 Shameera.


 On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Asela, Shameera,

 Yes, and this issue is fixed.. But still the service-mgt and
 module-mgt tests fail which is related to caching+registry. We should take
 a full update and build to make sure that issue is really there.

 org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
 add the root collection to the coreRegistry.
 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:226)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:205)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
 at
 org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.init(InMemoryEmbeddedRegistryService.java:61)
 at
 org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
 at
 org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
 at junit.framework.TestCase.runBare(TestCase.java:128)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:120)
 at junit.framework.TestSuite.runTest(TestSuite.java:230)
 at junit.framework.TestSuite.run(TestSuite.java:225)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 

Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Praveena Sarathchandra
Congratulations Udara!


On Tue, Jul 23, 2013 at 11:50 AM, Chamath Bogahawatta cham...@wso2.comwrote:

 Congratulations udara


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




 --


 _-_-_-_-_-_-_-_-_-_

 Thanks  Regards,
 Chamath.
 *+94 71 532 0009*

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




-- 
Best regards,
*
*
*Praveena Sarathchandra,*

Software Engineer,
WSO2, Inc.
lean . enterprise . middleware

praveena.me | +94718732203
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Response Caching/ throttling still in developer testing phase.

2013-07-23 Thread Pradeep Fernando
Hi,

you can proceed with testing. Testing should include (but not limited to)
below scenarios,

standalone (super tenant) with caching and throttling
multiple tenants in a single node
clustered super tenant mode
clustered tenant mode.

throttling should be tested for service and operation level.



@Krishantha,
@AS team

do we have auto tests for caching and throttling ?

--Pradeep




On Tue, Jul 23, 2013 at 10:29 AM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Noted.

 - Evanthika


 On Tue, Jul 23, 2013 at 10:00 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 Please note the $subject. I'm still working on them.

 --Pradeep





-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Madhuka Udantha
Hi,

We will migrate to jaggery into 4.2.0 (in-progress)  and it will fix
the relative
path issue in p2.inf file.


On Tue, Jul 23, 2013 at 1:41 PM, Nuwan Bandara nu...@wso2.com wrote:

 @Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


 On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.com wrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.com wrote:

 Hi,

 modules directory which comes with jaggery.server.feature is missing
 in the root.  It is copied to root/repository/ directory when installing
 the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is active
 in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 

Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Piyum Fernando
On Tue, Jul 23, 2013 at 2:24 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 We will migrate to jaggery into 4.2.0 (in-progress)  and it will fix the 
 relative
 path issue in p2.inf file.


+1.



 On Tue, Jul 23, 2013 at 1:41 PM, Nuwan Bandara nu...@wso2.com wrote:

 @Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


 On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.com wrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.comwrote:

 Hi,

 modules directory which comes with jaggery.server.feature is missing
 in the root.  It is copied to root/repository/ directory when installing
 the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is active
 in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 

[Dev] inconsistent access denied responses for super.tenant/tenant use cases while throttling

2013-07-23 Thread Pradeep Fernando
Hi devs,

I noticed the $subject. Please note the additional exception tag during
tenant access throttling. Is this a bug or by design ?

thanks,
--Pradeep

Below response is for super tenant access throttling..

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Body
  soapenv:Fault
 soapenv:Code
soapenv:Valuesoapenv:Receiver/soapenv:Value
 /soapenv:Code
 soapenv:Reason
soapenv:Text xml:lang=en-USAccess deny for a caller with IP
192.168.131.1  : Reason : You cannot access this service since you have
exceeded the allocated quota./soapenv:Text
 /soapenv:Reason
 soapenv:Detail/
  /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope


Below is for tenant access throttling...


soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Body
  soapenv:Fault
 soapenv:Code
soapenv:Valuesoapenv:Receiver/soapenv:Value
 /soapenv:Code
 soapenv:Reason
soapenv:Text xml:lang=en-USAccess deny for a caller with IP
192.168.131.1  : Reason : You cannot access this service since you have
exceeded the allocated quota./soapenv:Text
 /soapenv:Reason
 soapenv:Detail
Exceptionorg.apache.axis2.AxisFault:  Access deny for a
caller with IP 192.168.131.1  : Reason : You cannot access this service
since you have exceeded the allocated quota.
at
org.wso2.throttle.module.handler.ThrottleHandler.process(ThrottleHandler.java:317)
at
org.wso2.throttle.module.handler.ThrottleHandler.invoke(ThrottleHandler.java:540)
at
org.wso2.throttle.module.handler.ServiceLevelThrottleHandler.invoke(ServiceLevelThrottleHandler.java:37)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.doSOAP(MultitenantMessageReceiver.java:262)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:210)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:80)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
at
org.wso2.carbon.mashup.jsservices.custom.ui.CustomUIServletFilter.doFilter(CustomUIServletFilter.java:233)
at
org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at

Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Kasun Gajasinghe
Thanks Madhuka. Please do a test on the use of caching in Jaggery as well,
if any.

KasunG


On Tue, Jul 23, 2013 at 2:24 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 We will migrate to jaggery into 4.2.0 (in-progress)  and it will fix the 
 relative
 path issue in p2.inf file.


 On Tue, Jul 23, 2013 at 1:41 PM, Nuwan Bandara nu...@wso2.com wrote:

 @Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


 On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.com wrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.comwrote:

 Hi,

 modules directory which comes with jaggery.server.feature is missing
 in the root.  It is copied to root/repository/ directory when installing
 the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is active
 in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 

[Dev] Updated Invitation: Code Review - AppFactory User Management and Build and Re... @ Tue Jul 23, 2013 4pm - 5pm (asan...@wso2.com)

2013-07-23 Thread Asanka Dissanayake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130723T103000Z
DTEND:20130723T113000Z
DTSTAMP:20130723T101954Z
ORGANIZER;CN=Asanka Dissanayake:mailto:asan...@wso2.com
UID:1bf62k3bilg2l6461hhd9j7...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shamika Ariyawansa;X-NUM-GUESTS=0:mailto:sham...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Nuwan Bandara;X-NUM-GUESTS=0:mailto:nu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Punnadi Gunarathna;X-NUM-GUESTS=0:mailto:punn...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Asanka Dissanayake;X-NUM-GUESTS=0:mailto:asan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Madhuka Udantha;X-NUM-GUESTS=0:mailto:madh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manisha Gayathri;X-NUM-GUESTS=0:mailto:mani...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Chathura Kulasinghe;X-NUM-GUESTS=0:mailto:chathu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danushka Fernando;X-NUM-GUESTS=0:mailto:danush...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Gayan Dhanushka;X-NUM-GUESTS=0:mailto:gay...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Shiroshica Kulatilake;X-NUM-GUESTS=0:mailto:sh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK #58 4th Floor Meeting room;X-NUM-GUESTS=0:mailto:wso2.com_39313938
 30333235383...@resource.calendar.google.com
CREATED:20130723T061451Z
DESCRIPTION:Please find the crucible link on [1] for AppFactory code review
  \n[1]http://wso2.org/crucible/cru/WAF003-5\nView your event at http://www.
 google.com/calendar/event?action=VIEWeid=MWJmNjJrM2JpbGcybDY0NjFoaGQ5ajc2Z
 2MgZGV2QHdzbzIub3Jntok=MTYjYXNhbmthZEB3c28yLmNvbTAzM2QyZjBjMTUxZmQ0MWY2MGV
 kNGQzMDdjMTA4NzdhNWMzZDlkNDMctz=Asia/Colombohl=en.
LAST-MODIFIED:20130723T101953Z
LOCATION:LK #58 4th Floor Meeting room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - AppFactory User Management and Build and Repo Pages
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Dev] Updated Invitation: Code Review - AppFactory User Management and Build and Re... @ Tue Jul 23, 2013 4pm - 5:30pm (asan...@wso2.com)

2013-07-23 Thread Asanka Dissanayake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130723T103000Z
DTEND:20130723T12Z
DTSTAMP:20130723T103332Z
ORGANIZER;CN=asan...@wso2.com:mailto:asan...@wso2.com
UID:1bf62k3bilg2l6461hhd9j7...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shamika Ariyawansa;X-NUM-GUESTS=0:mailto:sham...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Nuwan Bandara;X-NUM-GUESTS=0:mailto:nu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Punnadi Gunarathna;X-NUM-GUESTS=0:mailto:punn...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Asanka Dissanayake;X-NUM-GUESTS=0:mailto:asan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Madhuka Udantha;X-NUM-GUESTS=0:mailto:madh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manisha Gayathri;X-NUM-GUESTS=0:mailto:mani...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Chathura Kulasinghe;X-NUM-GUESTS=0:mailto:chathu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danushka Fernando;X-NUM-GUESTS=0:mailto:danush...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Gayan Dhanushka;X-NUM-GUESTS=0:mailto:gay...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Shiroshica Kulatilake;X-NUM-GUESTS=0:mailto:sh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;C
 N=LK #58 4th Floor Meeting room;X-NUM-GUESTS=0:mailto:wso2.com_393139383033
 3235383...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Janaka Ranabahu;X-NUM-GUESTS=0:mailto:jan...@wso2.com
CREATED:20130723T061451Z
DESCRIPTION:Please find the crucible link on [1] for AppFactory code review
  \n[1]http://wso2.org/crucible/cru/WAF003-5\nView your event at http://www.
 google.com/calendar/event?action=VIEWeid=MWJmNjJrM2JpbGcybDY0NjFoaGQ5ajc2Z
 2MgZGV2QHdzbzIub3Jntok=MTYjYXNhbmthZEB3c28yLmNvbTAzM2QyZjBjMTUxZmQ0MWY2MGV
 kNGQzMDdjMTA4NzdhNWMzZDlkNDMctz=Asia/Colombohl=en.
LAST-MODIFIED:20130723T103332Z
LOCATION:LK #58 4th Floor Meeting room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - AppFactory User Management and Build and Repo Pages
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Dev] Is there a setup guide for App-factory?

2013-07-23 Thread Lahiru Sandaruwan
Hi,

$subject?
There is SO question on this and i see downloadable zip at [2].

[1]
http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
[2] http://wso2.com/cloud/app-factory

Thanks.
http://wso2.com/cloud/app-factory--
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahi...@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Status of webapp stat publishing for aPaaS

2013-07-23 Thread Shariq Muhammed
Hi,

I've refactored the existing bam.webapp.stat.publisher component to publish
to ST streamDef based on the enable.metering property in carbon.xml. Also
added 2 new properties to capture the request and response sizes and
publish those to BAM as well.

From my test so far with regard to the tomcat patch in RequestInfo class
and the statistics valve, it seems we can get the request and response
message size as follows;

Request size - request.getCoyoteRequest().getContentLengthLong();
Response size - response.getBytesWritten(true) // for some reason
passing *false
*always returns 0

I tried to validate the approach via the tomcat user's list, but got some
hostile responses cz they thought I was doing something useless :). They
suggest logging this info to the access log file (which is also done via a
valve) and use a tool to analyze it which won't work for us.

TODO
- Need a config file to save the username/password used by the data
publisher, is bam.xml the right place to have it ?
- Update the hive scripts
- Do some perf test to check if the valve introduces any perf issues, I
feel we might be able to do some improvements to the valve as well, will
check on that too ..




On Tue, Jul 23, 2013 at 12:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 What is the $Subject?

 Regards,
 AmilaM.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




-- 
Thanks,
Shariq.
Phone: +94 777 202 225
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Governance Registy 4.6.0 latest build

2013-07-23 Thread Shelan Perera
Hi,

Please find the latest build based on r178835 [1]. Please use this for any
developer testing requirements until we get packs from builder machine.

Thanks

[1] h
ttps://svn.wso2.org/repos/wso2/scratch/WSO2Greg-4.6.0/july-23/wso2greg-4.6.0-SNAPSHOT.zip

*Shelan Perera*

Senior Software Engineer
**
Integration Technology Group
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Blog* :   blog.shelan.org
*Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

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


Re: [Dev] Is there a setup guide for App-factory?

2013-07-23 Thread Ashansa Perera
Hi,
The downloadable zip at [2] is the appfactory build, but for AF to function
needs all the other required products + the tools we use. You won't be able
to unzip the AF zip and work as like other products since AF is a solution
rather than a product we built by using other product + tools .

The plan was to have the AF + stratos with the puppet scripts to setup the
environment.
AFAIR Ramith was working on puppet scripts.



On Tue, Jul 23, 2013 at 4:53 PM, Lahiru Sandaruwan lahi...@wso2.com wrote:

 Hi,

 $subject?
 There is SO question on this and i see downloadable zip at [2].

 [1]
 http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
 [2] http://wso2.com/cloud/app-factory

 Thanks.
  http://wso2.com/cloud/app-factory--
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




-- 
Thanks  Regards,

Ashansa Perera
Software Engineer
WSO2, Inc
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to deploy secured web apps with AS current trunk

2013-07-23 Thread Pradeep Fernando
Hi Amila,

For my Information, what are these pre-fixes ?


On Tue, Jul 23, 2013 at 4:00 PM, Amila Suriarachchi am...@wso2.com wrote:

 hi,

 With AS 5.1.0 the attached web app works when we create a role with the
 name manager and assign to a user. But with the new model it seems to be
 not working due to some prefixes added to the role names.

 please have a look.

 thanks,
 Amila.

 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805

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




-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Status of webapp stat publishing for aPaaS

2013-07-23 Thread Amila Maha Arachchi
Thanks Shariq.

If the bam.xml only shipped with AS? Seems like we'll have to use it for
this purpose. Make sure to use secure vault for this.

Lets make sure the analyzed stats are ready by end of this week, so the AF
team can start working on presentation layer.


On Tue, Jul 23, 2013 at 5:02 PM, Shariq Muhammed sha...@wso2.com wrote:

 Hi,

 I've refactored the existing bam.webapp.stat.publisher component to
 publish to ST streamDef based on the enable.metering property in
 carbon.xml. Also added 2 new properties to capture the request and response
 sizes and publish those to BAM as well.

 From my test so far with regard to the tomcat patch in RequestInfo class
 and the statistics valve, it seems we can get the request and response
 message size as follows;

 Request size - request.getCoyoteRequest().getContentLengthLong();
 Response size - response.getBytesWritten(true) // for some reason passing
 *false *always returns 0

 I tried to validate the approach via the tomcat user's list, but got some
 hostile responses cz they thought I was doing something useless :). They
 suggest logging this info to the access log file (which is also done via a
 valve) and use a tool to analyze it which won't work for us.

 TODO
 - Need a config file to save the username/password used by the data
 publisher, is bam.xml the right place to have it ?
 - Update the hive scripts
 - Do some perf test to check if the valve introduces any perf issues, I
 feel we might be able to do some improvements to the valve as well, will
 check on that too ..




 On Tue, Jul 23, 2013 at 12:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 What is the $Subject?

 Regards,
 AmilaM.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225




-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

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


Re: [Dev] How to deploy secured web apps with AS current trunk

2013-07-23 Thread Amila Suriarachchi
On Tue, Jul 23, 2013 at 5:29 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi Amila,

 For my Information, what are these pre-fixes ?


Just create a role. Then you will see :)

Basically if it is an internal role, role is named as internal/myrole or in
a user store PRIMARY/myrole.

thanks,
Amila.



 On Tue, Jul 23, 2013 at 4:00 PM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 With AS 5.1.0 the attached web app works when we create a role with the
 name manager and assign to a user. But with the new model it seems to be
 not working due to some prefixes added to the role names.

 please have a look.

 thanks,
 Amila.

 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805

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




 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662




-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

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


Re: [Dev] Response Caching/ throttling still in developer testing phase.

2013-07-23 Thread Krishantha Samaraweera
On Tue, Jul 23, 2013 at 2:12 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 you can proceed with testing. Testing should include (but not limited to)
 below scenarios,

 standalone (super tenant) with caching and throttling
 multiple tenants in a single node
 clustered super tenant mode
 clustered tenant mode.

 throttling should be tested for service and operation level.



 @Krishantha,
 @AS team


No tests for caching.

ThrottlingTestCase covers some scenairos.

Thanks,
Krishantha.



 do we have auto tests for caching and throttling ?

 --Pradeep




 On Tue, Jul 23, 2013 at 10:29 AM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Noted.

 - Evanthika


 On Tue, Jul 23, 2013 at 10:00 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 Please note the $subject. I'm still working on them.

 --Pradeep





 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662

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


Re: [Dev] Is there a setup guide for App-factory?

2013-07-23 Thread Ramith Jayasinghe
Yea. I'm still testing/cleaning the scripts.
we will provide that as a down-loadable artifact once done.


On Tue, Jul 23, 2013 at 5:26 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,
 The downloadable zip at [2] is the appfactory build, but for AF to
 function needs all the other required products + the tools we use. You
 won't be able to unzip the AF zip and work as like other products since AF
 is a solution rather than a product we built by using other product + tools
 .

 The plan was to have the AF + stratos with the puppet scripts to setup the
 environment.
 AFAIR Ramith was working on puppet scripts.



 On Tue, Jul 23, 2013 at 4:53 PM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject?
 There is SO question on this and i see downloadable zip at [2].

 [1]
 http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
 [2] http://wso2.com/cloud/app-factory

 Thanks.
  http://wso2.com/cloud/app-factory--
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




 --
 Thanks  Regards,

 Ashansa Perera
 Software Engineer
 WSO2, Inc




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to deploy secured web apps with AS current trunk

2013-07-23 Thread Amila Suriarachchi
I build a pack from the current trunk and now it adds userstore name twice.
eg. PRIMARY/PRIMARY/myrole

thanks,
Amila.


On Tue, Jul 23, 2013 at 5:48 PM, Amila Suriarachchi am...@wso2.com wrote:




 On Tue, Jul 23, 2013 at 5:29 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Amila,

 For my Information, what are these pre-fixes ?


 Just create a role. Then you will see :)

 Basically if it is an internal role, role is named as internal/myrole or
 in a user store PRIMARY/myrole.

 thanks,
 Amila.



 On Tue, Jul 23, 2013 at 4:00 PM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 With AS 5.1.0 the attached web app works when we create a role with the
 name manager and assign to a user. But with the new model it seems to be
 not working due to some prefixes added to the role names.

 please have a look.

 thanks,
 Amila.

 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805

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




 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805




-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

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


Re: [Dev] Is there a setup guide for App-factory?

2013-07-23 Thread Manisha Gayathri
Or else for the moment if that person needs to set up for a general testing
purpose, can't we instruct him the way that we normally follow to set up AF
in our local machines even though it is a cumbersome way? (i.e. using the
resources folder and running the set-up.sh against that)

On Tue, Jul 23, 2013 at 6:11 PM, Ramith Jayasinghe ram...@wso2.com wrote:

 Yea. I'm still testing/cleaning the scripts.
 we will provide that as a down-loadable artifact once done.



 On Tue, Jul 23, 2013 at 5:26 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,
 The downloadable zip at [2] is the appfactory build, but for AF to
 function needs all the other required products + the tools we use. You
 won't be able to unzip the AF zip and work as like other products since AF
 is a solution rather than a product we built by using other product + tools
 .

 The plan was to have the AF + stratos with the puppet scripts to setup
 the environment.
 AFAIR Ramith was working on puppet scripts.



 On Tue, Jul 23, 2013 at 4:53 PM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject?
 There is SO question on this and i see downloadable zip at [2].

 [1]
 http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
 [2] http://wso2.com/cloud/app-factory

 Thanks.
  http://wso2.com/cloud/app-factory--
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




 --
 Thanks  Regards,

 Ashansa Perera
 Software Engineer
 WSO2, Inc




 --
 Ramith Jayasinghe
 Technical Lead

 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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




-- 
~Regards
*Manisha Eleperuma*
Software Engineer, Solutions TG
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:  http://manisha-eleperuma.blogspot.com/*
*mobile:  +94 71 8279777*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a setup guide for App-factory?

2013-07-23 Thread Harsha Thirimanna
Hi Manisha,
As you said If we give both, then we have to support both deployment
structure continually. I think we should maintain the puppet deployment
only, Isn't it ?


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* http://www.apache.org/**
email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770**
twitter: **http://twitter.com/ http://twitter.com/afkham_azeez**
harshathirimann
linked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//
www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
*
*
*Lean . Enterprise . Middleware*
*
*


On Tue, Jul 23, 2013 at 9:12 AM, Manisha Gayathri mani...@wso2.com wrote:

 Or else for the moment if that person needs to set up for a general
 testing purpose, can't we instruct him the way that we normally follow to
 set up AF in our local machines even though it is a cumbersome way? (i.e.
 using the resources folder and running the set-up.sh against that)

 On Tue, Jul 23, 2013 at 6:11 PM, Ramith Jayasinghe ram...@wso2.comwrote:

 Yea. I'm still testing/cleaning the scripts.
 we will provide that as a down-loadable artifact once done.



 On Tue, Jul 23, 2013 at 5:26 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,
 The downloadable zip at [2] is the appfactory build, but for AF to
 function needs all the other required products + the tools we use. You
 won't be able to unzip the AF zip and work as like other products since AF
 is a solution rather than a product we built by using other product + tools
 .

 The plan was to have the AF + stratos with the puppet scripts to setup
 the environment.
 AFAIR Ramith was working on puppet scripts.



 On Tue, Jul 23, 2013 at 4:53 PM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject?
 There is SO question on this and i see downloadable zip at [2].

 [1]
 http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
 [2] http://wso2.com/cloud/app-factory

 Thanks.
  http://wso2.com/cloud/app-factory--
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




 --
 Thanks  Regards,

 Ashansa Perera
 Software Engineer
 WSO2, Inc




 --
 Ramith Jayasinghe
 Technical Lead

 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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




 --
 ~Regards
 *Manisha Eleperuma*
 Software Engineer, Solutions TG
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/*
 *mobile:  +94 71 8279777*
 *
 *

 ___
 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] Is there a setup guide for App-factory?

2013-07-23 Thread Manisha Gayathri
On Tue, Jul 23, 2013 at 9:26 PM, Harsha Thirimanna hars...@wso2.com wrote:

 Hi Manisha,
 As you said If we give both, then we have to support both deployment
 structure continually. I think we should maintain the puppet deployment
 only, Isn't it ?


In that case, you are right Harsha. We will wait some more time until the
puppet scripts are out!

Thanks
Manisha



 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * http://www.apache.org/**
 email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770**
 twitter: **http://twitter.com/ http://twitter.com/afkham_azeez**
 harshathirimann
 linked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//
 www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
 *
 *
 *Lean . Enterprise . Middleware*
 *
 *


 On Tue, Jul 23, 2013 at 9:12 AM, Manisha Gayathri mani...@wso2.comwrote:

 Or else for the moment if that person needs to set up for a general
 testing purpose, can't we instruct him the way that we normally follow to
 set up AF in our local machines even though it is a cumbersome way? (i.e.
 using the resources folder and running the set-up.sh against that)

 On Tue, Jul 23, 2013 at 6:11 PM, Ramith Jayasinghe ram...@wso2.comwrote:

 Yea. I'm still testing/cleaning the scripts.
 we will provide that as a down-loadable artifact once done.



 On Tue, Jul 23, 2013 at 5:26 PM, Ashansa Perera asha...@wso2.comwrote:

 Hi,
 The downloadable zip at [2] is the appfactory build, but for AF to
 function needs all the other required products + the tools we use. You
 won't be able to unzip the AF zip and work as like other products since AF
 is a solution rather than a product we built by using other product + tools
 .

 The plan was to have the AF + stratos with the puppet scripts to setup
 the environment.
 AFAIR Ramith was working on puppet scripts.



 On Tue, Jul 23, 2013 at 4:53 PM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject?
 There is SO question on this and i see downloadable zip at [2].

 [1]
 http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory
 [2] http://wso2.com/cloud/app-factory

 Thanks.
  http://wso2.com/cloud/app-factory--
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




 --
 Thanks  Regards,

 Ashansa Perera
 Software Engineer
 WSO2, Inc




 --
 Ramith Jayasinghe
 Technical Lead

 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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




 --
 ~Regards
 *Manisha Eleperuma*
 Software Engineer, Solutions TG
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/*
 *mobile:  +94 71 8279777*
 *
 *

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





-- 
~Regards
*Manisha Eleperuma*
Software Engineer, Solutions TG
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:  http://manisha-eleperuma.blogspot.com/*
*mobile:  +94 71 8279777*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue when Integrating WSO2 BAM with API Manager

2013-07-23 Thread Hasitha Hiranya
Hi Sinthuja,

I have checked the META_KS keyspace.

I see the event definitions there.
org_wso2_apimgt_statistics_request-1.0.0-f8a23a9c-bc45-4625-b594-882104e3f51b

{streamId:org_wso2_apimgt_statistics_request-1.0.0-f8a23a9c-bc45-4625-b594-882104e3f51b,name:org_wso2_apimgt_statistics_request,version:1.0.0,nickName:API
Manager Request Data,description:Request
Data,metaData:[{name:clientType,type:STRING}],payloadData:[{name:consumerKey,type:STRING},{name:context,type:STRING},{name:api_version,type:STRING},{name:api,type:STRING},{name:resource,type:STRING},{name:method,type:STRING},{name:version,type:STRING},{name:request,type:INT},{name:requestTime,type:LONG},{name:userId,type:STRING},{name:hostName,type:STRING}]}

And there are definitions for org_wso2_apimgt_statistics_response and
org_wso2_apimgt_statistics_fault  as well.

Why bam cannot find them?

I removed the stream definitions responsible and restarted BAM server. Then
restarted API manager as well.
But still problem exists.

I think Stream definitions were recreated.

Thanks.


On Thu, Jul 18, 2013 at 12:15 PM, Sinthuja Ragendran sinth...@wso2.comwrote:




 On Thu, Jul 18, 2013 at 4:54 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Hasitha,

 This error could occur if the event data sent by WSO2 APIManager doesn't
 match with the related payload defined in thestream definition of the hive
 script deployedwith BAM toolbox.
  Since you have mentioned this is a RC pack.did the BAM integration works
 successfully for this pack earlier..?Then this could be due to a
 customization done to hive script or to publisher code.


 And also, if the agent sends the events for the stream definition which is
 not defined, then also you may be getting this exception. First the stream
 should be defined, this can be confirmed by connecting the Cassandra
 META_KS keyspace, and check the available stream definitions. Are you using
 one BAM receiver here? or many receivers? Did you try check restart the BAM
 server?

 Thanks,
 Sinthuja.


 Thanks;


 On Wed, Jul 17, 2013 at 2:50 PM, Hasitha Hiranya hasit...@wso2.comwrote:


 Hi all,

 I am trying to integrate WSO2 BAM 2.1.0 with WSO2 API Manager 1.4.0 RC .
 When trying to invoke an API it publishes data to BAM without issues.

 But when event is received by BAM it complains that it is wrongly
 formatted.
 Following are the logs.

 TID: [0] [BAM] [2013-07-17 19:28:17,208] ERROR
 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Wrongly
 formatted event sent for carbon.super
 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker}
 org.wso2.carbon.databridge.core.exception.EventConversionException:
 Error when converting
 org.wso2.apimgt.statistics.response-1.0.0-d89b9192-23f7-456e-861f-f7a638880632
 of event bundle with events 1
 at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:117)
  at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:87)
 at
 org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:72)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 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:722)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.databridge.core.StreamTypeHolder.getDataType(StreamTypeHolder.java:55)
 at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:109)
  ... 8 more


 I believe API manager data publishing cannot be customized by
 configurations without code changes. So how does it become wrongly
 formatted suddenly? Can it be wrongly formatted according to what stats
 collected?

 Thanks.
 --
 *Hasitha Abeykoon*
 Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com* *
 *
 *

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




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 *Sinthuja Rajendran*

 Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

 Blog: http://sinthu-rajan.blogspot.com/
 Mobile: +94774273955





-- 
*Hasitha Abeykoon*
Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com* *
*
*
___

Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Ajith Vitharana
Hi Asela/Prabath,

This is not fixed yet. Lots of features and tests are broken due to this
issue. :(.

Thanks
Ajith.



On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 While debugging an issue I found that following code segment returns the
 following two values.
 Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?


 UserRealm realm = userRegistry.getUserRealm();
 UserStoreManager reader = realm.getUserStoreManager();
 String[] roles = reader.getRoleListOfUser(userRegistry.getUserName
 ());

 This roles list contains following values,

 1) Internal/everyone
 2) *PRIMARY/admin__DN__false~-1234*
 *
 *
 Thanks
 Ajith


 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350





-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why are we using JSP Scriplets?

2013-07-23 Thread Venura Kahawala
Hi,

Most of the UI components which are written using JSP have bunch of
scriptlets, which is a not a recommended way of implementing UI using JSP
as per my knowledge.
If we use custom tags, anybody looking at the page can understand what the
page is doing very easily as well as we can easily debug a logic since it
is written in pure java.

I'm not aware whether there are any specific reasons behind using
Scriplets, but personally I think custom tags are much cleaner, and
reusable.

Please share your thoughts.

Regards,
Venura

-- 
Senior Software Engineer

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


Re: [Dev] Unexpected values in roles list.

2013-07-23 Thread Venura Kahawala
Hi,

This not fixed yet, will be fixing ASAP.

Regards,
Venura


On Wed, Jul 24, 2013 at 9:09 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Asela/Prabath,

 This is not fixed yet. Lots of features and tests are broken due to this
 issue. :(.

 Thanks
 Ajith.



 On Tue, Jul 23, 2013 at 12:19 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 While debugging an issue I found that following code segment returns the
 following two values.
 Someone please explain the meaning of *PRIMARY/admin__DN__false~-1234* ?


 UserRealm realm = userRegistry.getUserRealm();
 UserStoreManager reader = realm.getUserStoreManager();
 String[] roles = reader.getRoleListOfUser(userRegistry.
 getUserName());

 This roles list contains following values,

 1) Internal/everyone
 2) *PRIMARY/admin__DN__false~-1234*
 *
 *
 Thanks
 Ajith


 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350





 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


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




-- 
Senior Software Engineer

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


Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Nuwan Bandara
Madhuka, Whats the status. Can we get this done today.

Regards,
/Nuwan


On Tue, Jul 23, 2013 at 2:54 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Thanks Madhuka. Please do a test on the use of caching in Jaggery as well,
 if any.

 KasunG


 On Tue, Jul 23, 2013 at 2:24 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 We will migrate to jaggery into 4.2.0 (in-progress)  and it will fix the 
 relative
 path issue in p2.inf file.


 On Tue, Jul 23, 2013 at 1:41 PM, Nuwan Bandara nu...@wso2.com wrote:

 @Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


 On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.comwrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.comwrote:

 Hi,

 modules directory which comes with jaggery.server.feature is
 missing in the root.  It is copied to root/repository/ directory when
 installing the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the problem
 here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is
 active in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe 
 ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot 
 be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot 
 be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 

Re: [Dev] WSO2 Committers += Pulasthi Supun

2013-07-23 Thread Jasintha Dasanayake
Congratz.

/Jasintha


On Tue, Jul 23, 2013 at 1:06 PM, Rajeeva Uthayasangar raje...@wso2.comwrote:

 Congratz.


 On Tue, Jul 23, 2013 at 12:46 PM, Susinda Perera susi...@wso2.com wrote:

 Congrats


 On Tue, Jul 23, 2013 at 12:44 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congrats Supun.

 Regards,
 AsankaS.


 On Tue, Jul 23, 2013 at 12:36 PM, Gokul Balakrishnan go...@wso2.comwrote:

 Congrats Supun!

 On 21 July 2013 16:54, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Pulasthi Supun as a WSO2
 Committer. Pulasthi has made some great contributions to our platform
 during the last few months and in recognition of his commitment and
 contributions he has been voted as a committer.

 Pulasthi, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware

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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/

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




 --
 *Rajeeva Uthayasangar*
 Software Engineer
 WSO2, Inc.:http://wso2.com*
 *


 Mobile: +94777298873


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




-- 
*Jasintha Dasanayake
**Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware*
*
*
*mobile :- 077 291 6596*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Jasintha Dasanayake
Congratulations

/Jasintha


On Tue, Jul 23, 2013 at 1:58 PM, Praveena Sarathchandra
pravee...@wso2.comwrote:

 Congratulations Udara!


 On Tue, Jul 23, 2013 at 11:50 AM, Chamath Bogahawatta cham...@wso2.comwrote:

 Congratulations udara


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




 --


 _-_-_-_-_-_-_-_-_-_

 Thanks  Regards,
 Chamath.
 *+94 71 532 0009*

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




 --
 Best regards,
 *
 *
 *Praveena Sarathchandra,*

 Software Engineer,
 WSO2, Inc.
 lean . enterprise . middleware

 praveena.me | +94718732203


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




-- 
*Jasintha Dasanayake
**Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware*
*
*
*mobile :- 077 291 6596*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Make tenant domain names case insensitive

2013-07-23 Thread Supun Malinga
Hi All,

How do we $subject ?

thanks,
-- 
Supun Malinga,

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


[Dev] Updated Invitation: Code Review - AS @ Fri Jul 26, 2013 2:30pm - 3:30pm (dimut...@wso2.com)

2013-07-23 Thread Dimuthu De Lanerolle
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130726T09Z
DTEND:20130726T10Z
DTSTAMP:20130724T045643Z
ORGANIZER;CN=dimut...@wso2.com:mailto:dimut...@wso2.com
UID:1o3lkc595j7invtulerihj4...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dharshana Warusavitharana;X-NUM-GUESTS=0:mailto:dharsha...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK #58 5th Floor - Meeting room;X-NUM-GUESTS=0:mailto:wso2.com_323831
 3439343838343...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Randika Ratnayake;X-NUM-GUESTS=0:mailto:rand...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Wimalasekara;X-NUM-GUESTS=0:mailto:nuw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Dimuthu De Lanerolle;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
CREATED:20130718T114002Z
DESCRIPTION:Please find the crucible link on [1] for AS code review \n[1] h
 ttp://wso2.org/crucible/project/PROD002\nView your event at http://www.goog
 le.com/calendar/event?action=VIEWeid=MW8zbGtjNTk1ajdpbnZ0dWxlcmloajQ4dmsgZ
 GV2QHdzbzIub3Jntok=MTcjZGltdXRodWRAd3NvMi5jb21iNDYzNDdkOTljMWIyOWNkYTgxNTQ
 3YjIzNmRiZWJmZDVkNGMwMDkxctz=Asia/Colombohl=en.
LAST-MODIFIED:20130724T045643Z
LOCATION:LK #58 5th Floor - Meeting room
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:Code Review - AS 
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Ushani Balasooriya
Congrats Udara


On Wed, Jul 24, 2013 at 10:09 AM, Jasintha Dasanayake jasin...@wso2.comwrote:

 Congratulations

 /Jasintha


 On Tue, Jul 23, 2013 at 1:58 PM, Praveena Sarathchandra 
 pravee...@wso2.com wrote:

 Congratulations Udara!


 On Tue, Jul 23, 2013 at 11:50 AM, Chamath Bogahawatta 
 cham...@wso2.comwrote:

 Congratulations udara


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

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




 --


 _-_-_-_-_-_-_-_-_-_

 Thanks  Regards,
 Chamath.
 *+94 71 532 0009*

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




 --
 Best regards,
 *
 *
 *Praveena Sarathchandra,*

 Software Engineer,
 WSO2, Inc.
 lean . enterprise . middleware

 praveena.me | +94718732203


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




 --
 *Jasintha Dasanayake
 **
 Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware
 *
 *
 *
 *mobile :- 077 291 6596*

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




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


Re: [Dev] How to deploy secured web apps with AS current trunk

2013-07-23 Thread Asela Pathberiya
Yes there are some issues in user core now...  We are fixing them..
 basically when there is no multiple user store, PRIMARY prefix will not
be there...

Thanks,
Asela.


On Tue, Jul 23, 2013 at 6:40 PM, Amila Suriarachchi am...@wso2.com wrote:

 I build a pack from the current trunk and now it adds userstore name
 twice. eg. PRIMARY/PRIMARY/myrole

 thanks,
 Amila.


 On Tue, Jul 23, 2013 at 5:48 PM, Amila Suriarachchi am...@wso2.comwrote:




 On Tue, Jul 23, 2013 at 5:29 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Amila,

 For my Information, what are these pre-fixes ?


 Just create a role. Then you will see :)

 Basically if it is an internal role, role is named as internal/myrole or
 in a user store PRIMARY/myrole.

 thanks,
 Amila.



  On Tue, Jul 23, 2013 at 4:00 PM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 With AS 5.1.0 the attached web app works when we create a role with the
 name manager and assign to a user. But with the new model it seems to be
 not working due to some prefixes added to the role names.

 please have a look.

 thanks,
 Amila.

 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805

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




 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805




-- 
Thanks  Regards,
Asela

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


Re: [Dev] Jaggery test failure in AS

2013-07-23 Thread Madhuka Udantha
On Wed, Jul 24, 2013 at 9:56 AM, Nuwan Bandara nu...@wso2.com wrote:

 Madhuka, Whats the status. Can we get this done today.

yap, there will some code changes as well.


 Regards,
 /Nuwan


 On Tue, Jul 23, 2013 at 2:54 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Thanks Madhuka. Please do a test on the use of caching in Jaggery as
 well, if any.

 KasunG


 On Tue, Jul 23, 2013 at 2:24 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi,

 We will migrate to jaggery into 4.2.0 (in-progress)  and it will fix the 
 relative
 path issue in p2.inf file.


 On Tue, Jul 23, 2013 at 1:41 PM, Nuwan Bandara nu...@wso2.com wrote:

 @Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0


 On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi Piyum,

 Please figure out the correct relative path and change the p2.inf
 file.

 --Pradeep


 On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando pi...@wso2.comwrote:

 Seems the value of  {$installFolder} relative to the product root has
 been changed with new changes in trunk.

 @Pradeep please have a look.

 Thanks.


 On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando pi...@wso2.comwrote:

 Hi,

 modules directory which comes with jaggery.server.feature is
 missing in the root.  It is copied to root/repository/ directory when
 installing the feature as per the copy command defined in p2.inf .

 But AS bin.xml assumes it is in the root. I think this is the
 problem here.
 Are we missing a mid step here? or can we change the p2.inf to copy
 modules to the root?

 Thanks.



 On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha 
 madh...@wso2.comwrote:

 Hi, Geeth

 You have to check in here jaggery\modules\ws\  and
 also check  org.jaggeryjs.hostobjects.ws.WSStubHostObject is
 active in test pack

 [Tested in git, It works fine.]



 On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe 
 ge...@wso2.comwrote:

 Hi

 I am getting following error while running test on Jaggery.
 Server complains about import of ws

 var ws = require('ws');

 How to fix this ?


 [2013-07-18 12:33:19,993] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot 
 be
 found with the specified name : ws
 [2013-07-18 12:33:19,995] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module 
 cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 [2013-07-18 12:33:19,996] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module 
 cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module 
 cannot be
 found with the specified name : ws (/testapp//wsstub.jag#2)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 

Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Asanka Vithanage
Congratzz Udara ... !!!


On Wed, Jul 24, 2013 at 10:31 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Congrats Udara


 On Wed, Jul 24, 2013 at 10:09 AM, Jasintha Dasanayake 
 jasin...@wso2.comwrote:

 Congratulations

 /Jasintha


 On Tue, Jul 23, 2013 at 1:58 PM, Praveena Sarathchandra 
 pravee...@wso2.com wrote:

 Congratulations Udara!


 On Tue, Jul 23, 2013 at 11:50 AM, Chamath Bogahawatta 
 cham...@wso2.comwrote:

 Congratulations udara


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

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




 --


 _-_-_-_-_-_-_-_-_-_

 Thanks  Regards,
 Chamath.
 *+94 71 532 0009*

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




 --
 Best regards,
 *
 *
 *Praveena Sarathchandra,*

 Software Engineer,
 WSO2, Inc.
 lean . enterprise . middleware

 praveena.me | +94718732203


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




 --
 *Jasintha Dasanayake
 **
 Software Engineer
 WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 *
 *
 *
 *mobile :- 077 291 6596*

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Running multiple g-reg instances

2013-07-23 Thread Lasith Chandrasekara
Hi,

I tried to run multiple instances of g-reg by changing the offset. But
getting following Address already in usein APIKeyMgtServiceComponent.

Apimgt team will look into this.


[2013-07-24 10:37:45,723] ERROR
{org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent} -  Error
in initializing thrift transport
org.apache.thrift.transport.TTransportException: Could not bind to port
10397
at
org.apache.thrift.transport.TSSLTransportFactory.createServer(TSSLTransportFactory.java:117)
at
org.apache.thrift.transport.TSSLTransportFactory.getServerSocket(TSSLTransportFactory.java:103)
at
org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.startThriftService(APIKeyMgtServiceComponent.java:197)
at
org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.activate(APIKeyMgtServiceComponent.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.identity.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-23 Thread Isuru Perera
Hi,

On Tue, Jul 23, 2013 at 12:54 PM, Ramith Jayasinghe ram...@wso2.com wrote:

 So now whats the purpose of HttpsProtocols which is also configured in
 axis2.xml (for esb) ?

Could someone from ESB team please give an answer for this?



 On Tue, Jul 23, 2013 at 12:14 PM, Isuru Perera isu...@wso2.com wrote:

 Hi all,

 Thanks Miyuru and Ramith for the information.

 This is fixed in ESB 4.7.0 with ESBJAVA-2029 [1].

 The change is to add a parameter as follows. (I couldn't find about this
 in ESB Docs!)

 parameter name=SSLProtocol.../parameter

 I still have a doubt whether this can be used to achieve StackOverflow
 user's requirement as there is no place to specify ciphers parameter.

 Appreciate any guidance on this.

 Thanks!

 [1] https://wso2.org/jira/browse/ESBJAVA-2029


 On Tue, Jul 23, 2013 at 9:10 AM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 This is regarding StackOverflow question [1].

 Basically the user needs to configure sslProtocol + other parameters as
 defined in Tomcat connector [2].

 I gave a quick answer by looking at the docs. I informed that those
 parameters can be specified in HTTPS Servlet Transport since it is based on
 the Tomcat connector.

 Please let me know how to achieve similar SSL configuration in NHTTP or
 PassThrough transport.

 Thanks!

 [1]
 http://stackoverflow.com/questions/17752636/wso2-esb-4-0-3-how-to-specify-sslprotocol-parameter-for-transport-listner-http
 [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running multiple g-reg instances

2013-07-23 Thread Sumedha Rubasinghe
This is due to API Management feature starting up a Thrift server 
multiple instances of G-Reg causing a port conflict.
As discussed before on the thread API Manager PortOffset issue, we are
not supporting port offset for internal servers.

However, after a discussion we realized Thrift server is not used in
embedded API Management scenario of G-Reg. Starting of Thrift server can be
controlled using api-management.xml . Sanjeewa will fix the G-Reg build to
not to start it.


On Wed, Jul 24, 2013 at 10:53 AM, Lasith Chandrasekara las...@wso2.comwrote:

 Hi,

 I tried to run multiple instances of g-reg by changing the offset. But
 getting following Address already in usein APIKeyMgtServiceComponent.

 Apimgt team will look into this.


 [2013-07-24 10:37:45,723] ERROR
 {org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent} -  Error
 in initializing thrift transport
 org.apache.thrift.transport.TTransportException: Could not bind to port
 10397
 at
 org.apache.thrift.transport.TSSLTransportFactory.createServer(TSSLTransportFactory.java:117)
 at
 org.apache.thrift.transport.TSSLTransportFactory.getServerSocket(TSSLTransportFactory.java:103)
 at
 org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.startThriftService(APIKeyMgtServiceComponent.java:197)
 at
 org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.activate(APIKeyMgtServiceComponent.java:75)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.identity.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at