Re: [Dev] Tomcat Session Replication Using Caching

2014-10-02 Thread Afkham Azeez
On Thu, Oct 2, 2014 at 9:22 AM, Srinath Perera srin...@wso2.com wrote:

 I am not sure from notes what we decided.

 Cannot we just used hazelcast session replication? does above design you
 mentioned built on top of Hazelcast?


Yes, the plan is to use what Hazelcast provides. Otherwise, we will anyway
have to solve all the problems the Hz implementation has solved.



 --Srinath

 On Wed, Oct 1, 2014 at 2:18 PM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Hi All,

 Based on the Architecture review of  Tomcat session replication using
 caching , following aspects were discussed.
 Participants

-  Azeez, Sameera , Aruna, Jayanga, Gayashan, SupunM, Niranjan and
Myself

 Proposed solution. - key-val: (CarbonSessionCacheKey, CarbonSessionCache)

- Initial implementation was based on javax.caching api's. I've
created CarbonSessionCache and CarbonSessionCacheKey to maintain
HttpSession in the Hazelcast distributed map. Session will be
intercepted by using a Tomcat Valve.
- *Verdict* on the proposed solution. - Cache map Serialization and
Deserialization is very expensive operation due to heavy traffic. 
 Therefore
it is not efficient to replicate the whole session object in the cache 
 map.

 Counter Proposed solution

- Having a Hazelcast map per session object. In that way if an
attribute in the session changes the whole entry should not have to be
replicated, only the changed attribute.
- Have a per-session cache - ( session_id ).
- Issue in this approach as follows
   - How can we acquire the session object from the map ?

 *Final verdict *on the feature implementation

- Instead of using the caching APIs, This needs to fix in
Hazelcast level and do it in the optimal way. [1]
- HazelcastWM
http://docs.hazelcast.org/docs/1.9.4/manual/html/ch08.html [2],
Bring in the filter code level in to the tomcat valve instead

 -Pubudu
 [1] http://hazelcast.com/use-cases/web-session-clustering/
 [2] http://docs.hazelcast.org/docs/1.9.4/manual/html/ch08.html

 On Wed, Oct 1, 2014 at 10:51 AM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Hi Srinath

 Hazelcast WM allows us to cluster user http sessions automatically.
 Followings are required for enabling Hazelcast Session Clustering
 http://hazelcast.com/use-cases/web-session-clustering/ [2][3]

- Target application or web server should support Java 1.5+
- Target application or web server should support Servlet 2.4+ spec
- Session objects that needs to be clustered have to be Serializable

 Purpose of web session clustering is to replicate web session state
 across a distributed application servers. Benefits, allow us to scale out
  but also avoid any single point of failure and allow us to dynamically
 handle node failure within the application tier. performance of this
 web session clustering is high according to VP Hazelcast
 https://www.youtube.com/watch?v=8a0LrlOIXq0. Using Hazelcast session
 replication can be achieved in two different ways. Observations as follows.

- *Hazelcast Enterprise* has native web session clustering build in
to Apache Tomcat.
- *Opensource Hazelcast* has provide a web session clustering as an
external filter, basically Hazelcast filter has to be placed before all 
 of
other filters and that will enable us to provide the web session 
 clustering
in opensource. In this use case it doesn't required changes to 
 application
itself.

 [1] https://redmine.wso2.com/issues/2816
 [2] http://hazelcast.com/use-cases/web-session-clustering/
 [3]
 http://hazelcast.org/docs/latest/manual/html/httpsessionclustering.html
 [4] https://www.youtube.com/watch?v=8a0LrlOIXq0

 More info $subject - Web Session Clustering / Session Replication using
 Hazelcast

 -Pubudu


 On Wed, Oct 1, 2014 at 10:41 AM, Srinath Perera srin...@wso2.com
 wrote:

 We need to use Hazelcast

 When implemented we need to test this with multilple nodes (at least 4)
 and in high load conditions before it is done done.

 --Srinath

 On Wed, Oct 1, 2014 at 8:52 AM, Dinesh J Weerakkody dine...@wso2.com
 wrote:

 Hi,

 I came across this project [1] and might be useful. It is based on
 memcached library.

 [1] http://code.google.com/p/memcached-session-manager/

 On Tue, Sep 30, 2014 at 8:01 PM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Hi All,

 I am working on an improvement for Carbon to enable tomcat session
 replication support using caching .Our previous implementation was
 based on a Tomcat Valve ( CarbonTomcatSessionReplicationValve.java).And
 it was used to replicate the session and adding it to cluster
 message.

 Http Session replication in carbon works like this (its quite similar
 to how the same work in a standalone tomcat).

 1. Not every webbapp session will be replicated. You need to set a
 context property (distributable) for the webapp you need.
 2. Once enabled, and when the session is modified on a node, that
 modification is sent to other 

Re: [Dev] Issues in CEP Getting Started guide

2014-10-02 Thread Dilini Muthumala
Sure, Suho.

Hi Praneesha,
I've updated the Jira with the necessary change to be made. Please update
the doc.

Thank you,
Dilini

On Thu, Oct 2, 2014 at 11:16 AM, Sriskandarajah Suhothayan s...@wso2.com
wrote:

 When done, do update the stackoverflow Qn as well

 Suho

 On Thu, Oct 2, 2014 at 11:13 AM, Dilini Muthumala dil...@wso2.com wrote:

 Hi Suho,

 We're working on adding the data insertion step.

 Thanks,
 Dilini

 On Thu, Oct 2, 2014 at 9:28 AM, Sriskandarajah Suhothayan s...@wso2.com
 wrote:

 Hi Praneesha

 Can you looking into $Subject please[1,2]

 Regards
 Suho

 [1]
 http://stackoverflow.com/questions/26140268/sql-syntax-error-while-trying-wso2-cep-getting-started-sample
 [2]https://wso2.org/jira/browse/DOCUMENTATION-1156


 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




-- 
*Dilini Muthumala*
Software Engineer,
WSO2 Inc.

*E-mail :* dil...@wso2.com
*Mobile: *+94713 400 029
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to separate org.wso2.emm.feature into sub features ?

2014-10-02 Thread Dilshan Edirisuriya
Hi Dinusha,

What you are saying is correct according to my understanding. EMM feature
should not have such entries if its not embedding such apps. Even if it
does it is wrong since those apps not bound to emm context and it should
get installed from that product specific features. But you could add the
emm configuration files such as emm-config.xml into the emm feature. I
think Chan/Harshan will look into this.

Regards,

Dilshan

On Wed, Oct 1, 2014 at 10:56 PM, Dinusha Senanayaka dinu...@wso2.com
wrote:

 Hi Dulitha/Harshan,

 AFAIK, p2-inf should use to copy artifacts that are included feature
 itself to feature install location. But in your case, jaggery apps are not
 inside feature and but there is a entry in p2-inf. That's why feature
 installation getting failed. You could remove the p2-inf entries and copy
 store/publisher apps using bin.xml in distribution, if store/publisher not
 keep inside feature.

 Regards,
 Dinusha.

 On Thu, Oct 2, 2014 at 11:12 AM, Harshan Liyanage hars...@wso2.com
 wrote:

 Hi,

 For the cloud EMM version we have removed APIM features from EMM pack.We
 have done a lot of refactoring to that pack. So If you can have a look at
 EMM-Cloud pack, that would be much better. As Chan has mentioned we do a
 copy-rename operation to keep API Store, API publisher along with ES.

 Thanks,

 Best Regards,

 Lakshitha Harshan
 Software Engineer
 Mobile: *+94724423048*
 Email: hars...@wso2.com
 Blog : http://harshanliyanage.blogspot.com/
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 On Thu, Oct 2, 2014 at 11:07 AM, Chan duli...@wso2.com wrote:

 Hi Dinusha,
 The .p2-inf is used as a workaround solution to keep API Publisher and
 API Store along with ES Publisher and ES Store. I believe we have to do
 some refactoring if our feature needs to be installed to another server due
 to this. I am adding @Harshan to the loop too.

 Cheers~

 On Thu, Oct 2, 2014 at 8:02 AM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Dilshan,

 There is an entry in p2-inf of emm.feature to copy jaggery apps [1]. If
 you are not including jaggery apps though feature, can we remove this ?
 This anyway fails in p2-profile feature installation because those jaggery
 apps are not zipped inside feature.

 [1].
 https://github.com/wso2/product-emm/blob/master/modules/features/org.wso2.emm.feature/resources/p2.inf

 Regards,
 Dinusha.

 On Thu, Oct 2, 2014 at 4:50 AM, Dilshan Edirisuriya dils...@wso2.com
 wrote:

 Hi Dinusha,

 Yes we can incooperate these. However this feature will only
 concentrate on embedding few mobile components related to Android and iOS
 backend portion. Unlike API manager EMM does not add Jaggery apps from
 feature level. Majority of the code resides in the Jaggery app. If those
 needs to be reused I assume we have to separate out the Jaggery modules
 instead and reuse it in AppManager rather than spliting the EMM feature
 into few. +1 for adding emm related configuration into the feature.

 Regards,

 Dilshan

 On Wed, Oct 1, 2014 at 11:44 AM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi EMM Team,

 Currently, EMM has only a aggregated feature [1] which contains UI
 (Jaggery) and all backend modules. Since we are trying to integrate EMM
 functionalities into App Manager, can we divide this into feature
 categories and have several features? . So that we could include only the
 necessary bundles into App Manager. Also we need to include all EMM 
 related
 configuration files to be copy from feature instead of keeping them in
 product level.

 [1].
 https://github.com/wso2/product-emm/blob/master/modules/features/org.wso2.emm.feature/pom.xml


 Regards,
 Dinusha.

 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --
 Dilshan Edirisuriya
 Senior Software Engineer - WSO2
 Mob: + 94 777878905
 http://wso2.com/




 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*





 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905

Re: [Dev] Issues in CEP Getting Started guide

2014-10-02 Thread Praneesha Chandrasiri
I have added the information as step 3 under the topic Step 2: Creating
and setting up a MySql database: in CEP 3.1.0 docs in [1].


Also added the information in CEP 4.0.0 docs and resolved the JIRA.

Thanks everyone!

[1]
https://docs.wso2.com/display/CEP310/Getting+Started+with+CEP#GettingStartedwithCEP-Step2:CreatingandsettingupaMySqldatabase

On Thu, Oct 2, 2014 at 11:51 AM, Dilini Muthumala dil...@wso2.com wrote:

 Sure, Suho.

 Hi Praneesha,
 I've updated the Jira with the necessary change to be made. Please update
 the doc.

 Thank you,
 Dilini

 On Thu, Oct 2, 2014 at 11:16 AM, Sriskandarajah Suhothayan s...@wso2.com
 wrote:

 When done, do update the stackoverflow Qn as well

 Suho

 On Thu, Oct 2, 2014 at 11:13 AM, Dilini Muthumala dil...@wso2.com
 wrote:

 Hi Suho,

 We're working on adding the data insertion step.

 Thanks,
 Dilini

 On Thu, Oct 2, 2014 at 9:28 AM, Sriskandarajah Suhothayan s...@wso2.com
  wrote:

 Hi Praneesha

 Can you looking into $Subject please[1,2]

 Regards
 Suho

 [1]
 http://stackoverflow.com/questions/26140268/sql-syntax-error-while-trying-wso2-cep-getting-started-sample
 [2]https://wso2.org/jira/browse/DOCUMENTATION-1156


 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan 
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




-- 
Thanks  Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: pranee...@wso2.com pranee...@wso2.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issues in CEP Getting Started guide

2014-10-02 Thread Lasantha Fernando
Hi Dilini, Praneesha,

Can't we populate the db table by running the pizza publisher client in
samples after the flow is completed? It would be nicer to let the event
come through the whole flow within the CEP rather than directly inserting
the resulting event to the DB table IMHO... :-).

WDYT?

Thanks,
Lasantha

On 2 October 2014 12:12, Praneesha Chandrasiri pranee...@wso2.com wrote:

 I have added the information as step 3 under the topic Step 2: Creating
 and setting up a MySql database: in CEP 3.1.0 docs in [1].


 Also added the information in CEP 4.0.0 docs and resolved the JIRA.

 Thanks everyone!

 [1]
 https://docs.wso2.com/display/CEP310/Getting+Started+with+CEP#GettingStartedwithCEP-Step2:CreatingandsettingupaMySqldatabase

 On Thu, Oct 2, 2014 at 11:51 AM, Dilini Muthumala dil...@wso2.com wrote:

 Sure, Suho.

 Hi Praneesha,
 I've updated the Jira with the necessary change to be made. Please update
 the doc.

 Thank you,
 Dilini

 On Thu, Oct 2, 2014 at 11:16 AM, Sriskandarajah Suhothayan s...@wso2.com
  wrote:

 When done, do update the stackoverflow Qn as well

 Suho

 On Thu, Oct 2, 2014 at 11:13 AM, Dilini Muthumala dil...@wso2.com
 wrote:

 Hi Suho,

 We're working on adding the data insertion step.

 Thanks,
 Dilini

 On Thu, Oct 2, 2014 at 9:28 AM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:

 Hi Praneesha

 Can you looking into $Subject please[1,2]

 Regards
 Suho

 [1]
 http://stackoverflow.com/questions/26140268/sql-syntax-error-while-trying-wso2-cep-getting-started-sample
 [2]https://wso2.org/jira/browse/DOCUMENTATION-1156


 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan 
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




 --
 Thanks  Best Regards,
 *Praneesha Chandrasiri*
 *Technical Writer*
 *WSO2 Inc. *
 *Mobile: +(94) 718156888 %2B%2894%29%20718156888*
 *E-mail: pranee...@wso2.com pranee...@wso2.com*


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




-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Anuruddha Premalal
Congratulations Samith !!

On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
 wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2 Committer.
 Samith has contributed immensely to WSO2 App Factory and has shown 
 great
 commitment. In recognition of his contribution, he has been voted as a 
 WSO2
 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Exception when running performance test in Siddhi 3.0

2014-10-02 Thread Sriskandarajah Suhothayan
Hi
please have a look


SimpleFilterSingleQuery:
 [java] Error creating zip file for
jar:/Users/suho/wso2/src/dev/siddhi/modules/siddhi-samples/performance-samples/src/main/resources/log4j.properties
 [java] java.util.zip.ZipException: error in opening zip file
 [java] at java.util.zip.ZipFile.open(Native Method)
 [java] at java.util.zip.ZipFile.init(ZipFile.java:128)
 [java] at java.util.zip.ZipFile.init(ZipFile.java:145)
 [java] at
org.wso2.siddhi.core.util.SiddhiExtensionLoader.getContentFromJarFile(SiddhiExtensionLoader.java:107)
 [java] at
org.wso2.siddhi.core.util.SiddhiExtensionLoader.getResources(SiddhiExtensionLoader.java:68)
 [java] at
org.wso2.siddhi.core.util.SiddhiExtensionLoader.loadSiddhiExtensions(SiddhiExtensionLoader.java:46)
 [java] at
org.wso2.siddhi.core.config.SiddhiContext.init(SiddhiContext.java:40)
 [java] at
org.wso2.siddhi.core.SiddhiManager.init(SiddhiManager.java:37)
 [java] at
org.wso2.siddhi.performance.SimpleFilterSingleQueryPerformance.main(Unknown
Source)
 [java] Throughput = 3171582.6197272437 Event/sec
 [java] Throughput = 3797949.1074819597 Event/sec
 [java] Throughput = 3856536.829926726 Event/sec

Suho

-- 

*S. Suhothayan*
Technical Lead  Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* http://wso2.com/*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan
http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Buddhima Wijeweera
Congratz Samith!!!

On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal anurud...@wso2.com
wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe gayas...@wso2.com
  wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
 wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2 Committer.
 Samith has contributed immensely to WSO2 App Factory and has shown 
 great
 commitment. In recognition of his contribution, he has been voted as 
 a WSO2
 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Email: buddh...@wso2.com
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Harsha Kumara
Congratz Samith!

On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
 wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App Factory
 and has shown great commitment. In recognition of his contribution, 
 he has
 been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Dunith Dhanushka
Congrats Samith!

On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
 wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App Factory
 and has shown great commitment. In recognition of his contribution, 
 he has
 been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




-- 
Regards,

Dunith Dhanushka,
Senior Software Engineer - BAM,
WSO2 Inc,

Mobile - +94 71 8615744
Blog - dunithd.wordpress.com http://blog.dunith.com
Twitter - @dunithd http://twitter.com/dunithd
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Shashika Karunatilaka
Congrats Samith...!

On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
 wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com
  wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of his 
 contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




-- 

Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Niranda Perera
Congrats Samith!

On Thu, Oct 2, 2014 at 2:03 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Congrats Samith...!

 On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake vijit...@wso2.com
  wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake kas...@wso2.com
  wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith 
 lasi...@wso2.com wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com
  wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of his 
 contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

 

Re: [Dev] API manager - Error while getting Subscriber

2014-10-02 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Udara and Dinesh,

I think I solved the problem.. problem was with my oracle ojdbc connector I 
think. What I did was changed the odbc5 to odbc6 and cleared all generated 
files in repository/components/dropins.
Thank you very much for your instant replies.
Now all server components working but when starting Publisher it shows a 
error(but anyway server is up and running) regarding 
“CarbonDeploymentSchedulerTask Error while running deployment scheduler” check 
below for full error . also I search in the internet about this and it says I 
need to add some patch to solve this problem. Guys do you have any idea about 
that.

ERROR - CarbonDeploymentSchedulerTask Error while running 
deployment scheduler..
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$EntryIterator.next(HashMap.java:834)
at java.util.HashMap$EntryIterator.next(HashMap.java:832)
at 
org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(Re  
  positoryListener.java:270)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor  
  yListener.java:253)
at 
org.apache.axis2.deployment.RepositoryListener.startListener(Repositor  
  yListener.java:371)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc  
  hedulerTask.java:59)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.  
  java:67)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisD  
  eployment(CarbonDeploymentSchedulerTask.java:79)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(Carb  
  onDeploymentSchedulerTask.java:124)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439  
  )
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:  
  317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a  
  ccess$101(ScheduledThreadPoolExecutor.java:98)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  unPeriodic(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  un(ScheduledThreadPoolExecutor.java:204)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu  
  tor.java:895)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.  
  java:918)
at java.lang.Thread.run(Thread.java:662)

Regards,
Akila

From: Dinesh J Weerakkody [mailto:dine...@wso2.com]
Sent: Thursday, October 02, 2014 8:31 AM
To: Udara Rathnayake
Cc: Akila Nimantha [IT/EKO/LOITS]; dev@wso2.org
Subject: Re: [Dev] API manager - Error while getting Subscriber

Hi Akila,
If you go down to your error log you will be able to see a database connection 
issue

Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
When I go through your database configuration I saw a typo in connection URL

jdbc:oracle:chin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

and it should be
jdbc:oracle:thin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

I hope this will help you..
Thanks.




On Thu, Oct 2, 2014 at 1:45 AM, Udara Rathnayake 
uda...@wso2.commailto:uda...@wso2.com wrote:
Hi Akila,
Are you getting the same error when you login to store app continuously?

On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

I am trying to deploy api manager in cluster pattern with targeting oracle db. 
I just followed https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager 
and changed to oracle db from mysql. now all four components are up and running 
but in Store node, when I trying to login, in front end it shows nothing. But 
the log gives me following error,(please check attached log.txt for more..)

TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.scriptengine.engine.RhinoEngine} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.scriptengine.engine.RhinoEngine}
TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: 
org.mozilla.javascript.WrappedException: Wrapped 

[Dev] Java API Design Best Practices in WSO2?

2014-10-02 Thread Roshan Deniyage
Hi devs,
   Is there a best practice or a guide line for java level api design in
wso2 products? My view is, we need to have a best practices at least in
public method definition in service classes (in all the places is better).
I could't find a pattern for input parameter validation, exception
handling etc in the code base.

If anyone has a guideline or clue please share.


Thanks,

Roshan Deniyage
Associate Technical Lead
WSO2, Inc: http://wso2.com

Mobile:  +94 777636406
Twitter:  *https://twitter.com/roshku https://twitter.com/roshku*
LinkedIn :  https://www.linkedin.com/in/roshandeniyage
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Setting a soap header to jaggery ws request object

2014-10-02 Thread Danushka Fernando
Hi Ruchira
I logged the value of options[SOAPHeaders] in client side [1]. Still I
cannot get these headers to server side. Am I doing something wrong here.

[1] TID: [0] [Carbon] [2014-10-02 17:04:39,448]  INFO
{modules/resources/databases/add/add.jag} -  *stringify(options['SOAPHeaders'])
: [tns:UserName xmlns:tns='http://mutualssl.carbon.wso2.org
http://mutualssl.carbon.wso2.org'd...@dan001.com
d...@dan001.com/tns:UserName]* {modules/resources/databases/add/add.jag}


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

On Wed, Oct 1, 2014 at 8:00 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi Ruchira
 Thanks for response. WIll try that.

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

 On Wed, Oct 1, 2014 at 7:17 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi Danushka,

 It seems there is an issue in the sample code provided under docs. As
 mentioned in the description, you need specify it as SOAPHeaders
 property, not HTTPHeaders property.

 /Ruchira

 On Wed, Oct 1, 2014 at 6:12 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all
 I was trying to do $subject as mentioned in [1].
 According to [1]


- SOAPHeaders - Used to specify custom SOAP headers to be send along
with the SOAP message. This should be an array of elements. You can 
 specify
a header as an XML object or just as an object in the following 
 structure.
valueObject could be either a String or an XML object

options[HTTPHeaders] = [
 MyHeader1 xmlns=http://example.com;headerValue/MyHeader1,
 ...
 {qName : new QName(http://example.com;, MyHeader2), value : 
 valueObject},
 ...
];


 So I wrote following code.

 var mutualAuthHeader = {qName : new
 QName(MUTUALSSL_HEADER_USERNAME_URL, UserName, tns), value : username};
 httpHeaders.push(mutualAuthHeader);
 options[HTTPHeaders] = httpHeaders;


 But when I call the service it fails with following error.

 TID: [0] [Carbon] [2014-10-01 18:03:39,059] ERROR
 {org.jaggeryjs.modules.ws.WSRequestHostObject} -  Invalid declaration for
 HTTPHeaders property {org.jaggeryjs.modules.ws.WSRequestHostObject}


 Any ideas? Am I doing something wrong or don't jaggery support this
 feature. We are using the version 0.9.0.ALPHA4_wso2v6.


 [1] http://jaggeryjs.org/documentation.jag?api=ws

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




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*



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


[Dev] Successfully built docker image pushing to glance takes multiple attempts

2014-10-02 Thread Suhan Dharmasuriya
Hi,

Apache Stratos - Python cartridge fast track training project.

I have created a docker image by Dockerfile automated build and tagged the
image from root repository. Now I'm trying to push the image to glance.

When I try to push the docker image to glance, I have to attempt several
times to completely push the image.
Each time a random sub image is failing and in the next attempt the said
sub image is uploaded and another fails down the sequence.

stratos@Dev-PC:/media/sf_Documents/python-cartridge$ docker images
REPOSITORYTAG IMAGE ID
   CREATED VIRTUAL SIZE
python-cartridge  latest  175f2036520b
   21 minutes ago  1.017 GB
192.168.57.30:5042/python-cartridge   latest  175f2036520b
   21 minutes ago  1.017 GB
192.168.57.30:5042/tomcat-cartridge   latest  a25a79ecc37f
   3 weeks ago 463.4 MB
tomcat-cartridge  latest  a25a79ecc37f
   3 weeks ago 463.4 MB
192.168.57.30:5042/mysql-cartridgelatest  ab1dac84c735
   3 weeks ago 802 MB
mysql-cartridge   latest  ab1dac84c735
   3 weeks ago 802 MB
192.168.57.30:5042/php-cartridge  latest  809d2a1ebaf0
   3 weeks ago 668.3 MB
php-cartridge latest  809d2a1ebaf0
   3 weeks ago 668.3 MB
docker-registry   latest  a158e64ae76a
   5 weeks ago 596.2 MB
10.0.2.15:5042/docker-busybox latest  2eb418e07fd5
   5 weeks ago 4.964 MB
docker-busyboxlatest  2eb418e07fd5
   5 weeks ago 4.964 MB
ubuntu12.04   822a01ae9a15
   7 weeks ago 108.1 MB
stratos@Dev-PC:/media/sf_Documents/python-cartridge$ docker push
192.168.57.30:5042/python-cartridge
The push refers to a repository [192.168.57.30:5042/python-cartridge] (len:
1)
Sending image list
Pushing repository 192.168.57.30:5042/python-cartridge (1 tags)
511136ea3c5a: Image already pushed, skipping
93c381d2c255: Image already pushed, skipping
a5208e800234: Image already pushed, skipping
9fccf650672f: Image already pushed, skipping
1186c90e2e28: Image already pushed, skipping
f6a1afb93adb: Image already pushed, skipping
822a01ae9a15: Image already pushed, skipping
58289e4edf48: Image successfully pushed
14038705f31b: Image successfully pushed
4964a7873791: Image successfully pushed
3383f5683202: Image successfully pushed
879f1e46757d: Image successfully pushed
2f481f76bdf4: Image successfully pushed
1d20646d583a: Image successfully pushed
80398cfadbf5: Image successfully pushed
23140aec711d: Image successfully pushed
b9c205cf9b1e: Image successfully pushed
fbdd77ab1c21: Image successfully pushed
62327691f5fe: Image successfully pushed
6f9dc220429b: Image successfully pushed
902641b82a20: Image successfully pushed
7056dc8a0f43: Image successfully pushed
0a68c498151e: Image successfully pushed
041aa28f35db: Image successfully pushed
80c098f255e8: Image successfully pushed
688df381ae85: Image successfully pushed
0252eb0dd868: Image successfully pushed
393377611c14: Image successfully pushed
*19abf97b8fdf: Pushing *
2014/10/02 13:56:28 HTTP code 500 while uploading metadata: invalid
character '' looking for beginning of value
stratos@Dev-PC:/media/sf_Documents/python-cartridge$ docker push
192.168.57.30:5042/python-cartridge
The push refers to a repository [192.168.57.30:5042/python-cartridge] (len:
1)
Sending image list
Pushing repository 192.168.57.30:5042/python-cartridge (1 tags)
511136ea3c5a: Image already pushed, skipping
93c381d2c255: Image already pushed, skipping
a5208e800234: Image already pushed, skipping
9fccf650672f: Image already pushed, skipping
1186c90e2e28: Image already pushed, skipping
f6a1afb93adb: Image already pushed, skipping
822a01ae9a15: Image already pushed, skipping
58289e4edf48: Image already pushed, skipping
14038705f31b: Image already pushed, skipping
4964a7873791: Image already pushed, skipping
3383f5683202: Image already pushed, skipping
879f1e46757d: Image already pushed, skipping
2f481f76bdf4: Image already pushed, skipping
1d20646d583a: Image already pushed, skipping
80398cfadbf5: Image already pushed, skipping
23140aec711d: Image already pushed, skipping
b9c205cf9b1e: Image already pushed, skipping
fbdd77ab1c21: Image already pushed, skipping
62327691f5fe: Image already pushed, skipping
6f9dc220429b: Image already pushed, skipping
902641b82a20: Image already pushed, skipping
7056dc8a0f43: Image already pushed, skipping
0a68c498151e: Image already pushed, skipping
041aa28f35db: Image already pushed, skipping
80c098f255e8: Image already pushed, skipping
688df381ae85: Image already pushed, skipping
0252eb0dd868: Image already pushed, skipping
393377611c14: Image already pushed, skipping
*19abf97b8fdf: Image successfully pushed *
c6d90da0dc39: 

[Dev] Starting ESB with -Dsetup with mysql NDB cluster

2014-10-02 Thread Nuwan Silva
When starting the ESB with -Dsetup for a Mysql NDB cluster does the
mysql_cluster.sql get executed or do we have to execute the
mysql_cluster.sql manually for the database?

Regards,
NuwanS.
-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +94779804543

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


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Tharindu Edirisinghe
Congratulations Samith !!!

On Thu, Oct 2, 2014 at 4:19 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Samith !!

 On Thu, Oct 2, 2014 at 2:29 PM, Niranda Perera nira...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 2:03 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Congrats Samith...!

 On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya suh...@wso2.com
  wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake 
 kas...@wso2.com wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena 
 ros...@wso2.com wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith 
 lasi...@wso2.com wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva 
 kas...@wso2.com wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of his 
 contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Regards,

 Dunith Dhanushka,
 

Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Abimaran Kugathasan
Congrats Samith!

On Thu, Oct 2, 2014 at 6:04 PM, Tharindu Edirisinghe tharin...@wso2.com
wrote:

 Congratulations Samith !!!

 On Thu, Oct 2, 2014 at 4:19 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Samith !!

 On Thu, Oct 2, 2014 at 2:29 PM, Niranda Perera nira...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 2:03 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Samith...!

 On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera buddh...@wso2.com
  wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake 
 kas...@wso2.com wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena 
 ros...@wso2.com wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith 
 lasi...@wso2.com wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva 
 kas...@wso2.com wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of his 
 contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing 

[Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-02 Thread Godwin Amila Shrimal
Hi,

We did Cloud Tenant Deletion as the training project. Out of all patches
there are three patches related to Carbon core as mentioned below.

1. *javax.cache *

We added a method to *CacheManagerFactoryImpl *class which delete the
global cache for a specific tenant.

public void removeTenant(String tenantDomain) {   globalCacheManagerMap
.remove(tenantDomain);

}
2. *org.wso2.carbon.user.api*

Added a method to *TenantManager *interface which allow only delete the
tenantmanager cache other than persistent storage.

public void deleteTenant(int tenantId, boolean removeFromPersistentStorage)
throws UserStoreException;

2. *org.wso2.carbon.user.core*

Implemented above deleteTenant method in JDBCTenantManager.


Please give a feedback on this how we can add this to next carbon release.


Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES] Pull Request Fix Store:Sorting/Searching, Publisher: LC action invoke endpoint

2014-10-02 Thread Ayesha Dissanayaka
Please merge pull request [01].
Fix:
 STORE-522
 STORE-521
 STORE-504

[01] https://github.com/wso2-dev/product-es/pull/22

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com ayshsa...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Pull Request Fix Store:Sorting/Searching, Publisher: LC action invoke endpoint

2014-10-02 Thread Sameera Medagammaddegedara
Merged

On Thu, Oct 2, 2014 at 8:16 PM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Please merge pull request [01].
 Fix:
  STORE-522
  STORE-521
  STORE-504

 [01] https://github.com/wso2-dev/product-es/pull/22

 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com




-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Pull request for ES asset publisher client

2014-10-02 Thread Manoj Gunawardena
Hi All,

Please merge the pull request to wso2-dev on ES. This contains the README
file for client

[1] https://github.com/wso2-dev/product-es/pull/23
https://github.com/wso2-dev/product-es/pull/17


Thanks

-- 
Manoj Gunawardena
Tech Lead
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
Mobile : +94 77 2291643
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Amalka Subasinghe
Finally I resolved all the issues as follows

1. create database named 'db001' - create db : db001_wso2_com, dbuser :
db001_x, template : appkey_admin@development
2. drop database - remove the database only
3. create the database again naming 'db001' - create the db:
db001_wso2_com, dbuser : db00155_x, template : appkey_admin@development

Here, new user will be created with the name db001NN_x (NN will be a
random number in between 0-100)

now a new template will not be created for each database creation.
first time when we create the template system will create the admin
template as 'appkey_admin@development', and then for the second database
same 'appkey_admin@development' template will be attached.

Now database and dbuser name allows to enter only 5 characters


On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Red error message comes when we try to create the database. since it's
 already deleted we can use the same name, but the problem here is we can't
 create the dbuser with the same name. in that case, giving message name has
 already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct user
 to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit? Will
 database creation fail? Or is there code to handle it gracefully? How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it admin@Development?
 Other than that, if this prevents all these multiple identical permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts when
 databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser: 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting with
 'db001'; this time ..it's 1. So system will create the new user as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the same
 name (after dropping) it will append the number of users (name staring 
 with
 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database and
 dbuser names. So I had to limit the character length of database and 
 dbuser
 to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as follows*

 When we create new database each time it creates a new template. My
 idea is to keep one default template 'default@Development' with all
 the permission and attach that to the each database.

 - When user creates a new database, if the 'default@Development'
 template exist; it will assign to the database, else system creates 
 default
 template 'default@Development' and assign.
 - If user want to give a different permission list, he/she has to
 create a custom template and assign to the database

 Please share your thoughts on this

 Thanks
 Amalka

 On Tue, Sep 30, 2014 at 11:54 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Thanks Amalka!

 You have reproduced the issue correctly.

 Here's what I think would work:

 * This default mode that automatically associates a user account
 should always do so. Product behavior needs to be consistent.

 As far as I understand, the current behavior happens because of the
 account name clash and we have some sort of code that tries to generate 
 the
 account, gets the clash and then neither generates the account nor
 associates the existing one (what does it do with the password? just
 ignores the new password?)

 Quick and easy fix, if you do not have time for more changes:
 1. Fix this particular handling code, and in the event of name clash,
 add a number to the name to make it unique - so behavior is consistent.

 Suggested other/better/longer-term possible changes to make 

[Dev] GReg LifeCycle - Enable transition related button after any checklist item selected

2014-10-02 Thread Manoj Kumara
Hi All,

In registry lifecycles we can use forEvent=Promote as, below to enable
Promote once all the check boxes are checked.

datamodel
data name=checkItems
 item name=Task 1 forEvent=Promote/item
 item name=Task 2 forEvent=Promote/item
 item name=Task 3 forEvent=Promote/item
/data
/datamodel

I have a requirement that need to enable Promote when 'any of check boxes'
is selected. Is there a option to do this.

[1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample


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


Re: [Dev] [APPFAC] .NET support

2014-10-02 Thread Kasun De Silva
Hi,

Created a jira and attached the fix.

Please find the link below.
https://wso2.org/jira/browse/APPFAC-2532


Thanks,
Kasun

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Thu, Oct 2, 2014 at 9:48 AM, Kasun De Silva kas...@wso2.com wrote:

 Hi Dimuthu,

 Thanks for the response, I was worried about
 repoProvider.createRepository() method, but of course the isAlreadySubscribed
 give a wrong result. I will check it and fix it, then the problem will
 solve.

 Thanks,
 Kasun

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 9:38 AM, Kasun De Silva kas...@wso2.com wrote:

 Hi Manula,

 The repo is already there, I have checked and that is not the issue.

 Thanks,
 kasun

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260





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


Re: [Dev] GReg LifeCycle - Enable transition related button after any checklist item selected

2014-10-02 Thread Subash Chaturanga
Hi Manoj,
No you can't. Because the in the check item configuration,  the forEvent
value indicates that the particualr check item is required for it. In your
case Task1,2,3 all specified each checkitem is  required for the transition
Promote. Hence unless all 3 checked, it will not appear. To achieve your
requirement, you can remove forEvent attribute in each item.

On Thu, Oct 2, 2014 at 8:34 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi All,

 In registry lifecycles we can use forEvent=Promote as, below to enable
 Promote once all the check boxes are checked.

 datamodel
 data name=checkItems
  item name=Task 1 forEvent=Promote/item
  item name=Task 2 forEvent=Promote/item
  item name=Task 3 forEvent=Promote/item
 /data
 /datamodel

 I have a requirement that need to enable Promote when 'any of check boxes'
 is selected. Is there a option to do this.

 [1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample


 Thanks,
 Manoj




-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg LifeCycle - Enable transition related button after any checklist item selected

2014-10-02 Thread Manoj Kumara
Hi Subash,

Thanks for the prompt response, what I'm trying to achieve is enable the
transition button after any checklist item selected. If we remove forEvnent
attribute in each item 'Transition Button' will be enable by default.

Is it possible to enable  'Transition Button' only after any one of Task 1,
2, 3 is selected.

Thanks,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Thu, Oct 2, 2014 at 11:22 AM, Subash Chaturanga sub...@wso2.com wrote:

 Hi Manoj,
 No you can't. Because the in the check item configuration,  the forEvent
 value indicates that the particualr check item is required for it. In your
 case Task1,2,3 all specified each checkitem is  required for the transition
 Promote. Hence unless all 3 checked, it will not appear. To achieve your
 requirement, you can remove forEvent attribute in each item.

 On Thu, Oct 2, 2014 at 8:34 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi All,

 In registry lifecycles we can use forEvent=Promote as, below to enable
 Promote once all the check boxes are checked.

 datamodel
 data name=checkItems
  item name=Task 1 forEvent=Promote/item
  item name=Task 2 forEvent=Promote/item
  item name=Task 3 forEvent=Promote/item
 /data
 /datamodel

 I have a requirement that need to enable Promote when 'any of check
 boxes' is selected. Is there a option to do this.

 [1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample


 Thanks,
 Manoj




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware

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


Re: [Dev] [IS] Samples are not packed with IS

2014-10-02 Thread Harsha Thirimanna
Is there any reason ?

harshat@mobile
On Sep 30, 2014 9:35 AM, Harsha Thirimanna hars...@wso2.com wrote:

 Hi ,

 Why we not include all the IS samples[1] with IS pack ?
 ​
 [1]
 http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples
 ​

 *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  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*


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


Re: [Dev] [IS] Samples are not packed with IS

2014-10-02 Thread Prabath Siriwardena
Most of them are web apps and need to be deployed in an application
server..

Thanks  regards,
-Prabath

On Thu, Oct 2, 2014 at 9:19 PM, Harsha Thirimanna hars...@wso2.com wrote:

 Is there any reason ?

 harshat@mobile
 On Sep 30, 2014 9:35 AM, Harsha Thirimanna hars...@wso2.com wrote:

 Hi ,

 Why we not include all the IS samples[1] with IS pack ?
 ​
 [1]
 http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples
 ​

 *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  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*




-- 
Thanks  Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +94 71 809 6732

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Gimantha Bandara
Congratulations Samith!!

On Thu, Oct 2, 2014 at 6:23 PM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 6:04 PM, Tharindu Edirisinghe tharin...@wso2.com
 wrote:

 Congratulations Samith !!!

 On Thu, Oct 2, 2014 at 4:19 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Samith !!

 On Thu, Oct 2, 2014 at 2:29 PM, Niranda Perera nira...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 2:03 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Samith...!

 On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera 
 buddh...@wso2.com wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake 
 kas...@wso2.com wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena 
 ros...@wso2.com wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith 
 lasi...@wso2.com wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva 
 kas...@wso2.com wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of his 
 contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: 

Re: [Dev] GReg LifeCycle - Enable transition related button after any checklist item selected

2014-10-02 Thread Janaka Ranabahu
Hi Manoj,

Like Subash mentioned earlier, there is no way to give optional check-list
items for a transition. We do not support that.

Thanks,
Janaka

On Thu, Oct 2, 2014 at 9:12 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Subash,

 Thanks for the prompt response, what I'm trying to achieve is enable the
 transition button after any checklist item selected. If we remove forEvnent
 attribute in each item 'Transition Button' will be enable by default.

 Is it possible to enable  'Transition Button' only after any one of Task
 1, 2, 3 is selected.

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Thu, Oct 2, 2014 at 11:22 AM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi Manoj,
 No you can't. Because the in the check item configuration,  the forEvent
 value indicates that the particualr check item is required for it. In your
 case Task1,2,3 all specified each checkitem is  required for the transition
 Promote. Hence unless all 3 checked, it will not appear. To achieve your
 requirement, you can remove forEvent attribute in each item.

 On Thu, Oct 2, 2014 at 8:34 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi All,

 In registry lifecycles we can use forEvent=Promote as, below to enable
 Promote once all the check boxes are checked.

 datamodel
 data name=checkItems
  item name=Task 1 forEvent=Promote/item
  item name=Task 2 forEvent=Promote/item
  item name=Task 3 forEvent=Promote/item
 /data
 /datamodel

 I have a requirement that need to enable Promote when 'any of check
 boxes' is selected. Is there a option to do this.

 [1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample


 Thanks,
 Manoj




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware



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




-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861*

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


Re: [Dev] [IS] Samples are not packed with IS

2014-10-02 Thread Harsha Thirimanna
ok , thanks Prabath.

We can explain detail about this sample in documentation too.


*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  , +94 *
*774617784twitter: **http://twitter.com/ http://twitter.com/afkham_azeez*
*harshathirimannlinked-in: **http:
http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

*Lean . Enterprise . Middleware*


On Thu, Oct 2, 2014 at 8:51 AM, Prabath Siriwardena prab...@wso2.com
wrote:

 Most of them are web apps and need to be deployed in an application
 server..

 Thanks  regards,
 -Prabath

 On Thu, Oct 2, 2014 at 9:19 PM, Harsha Thirimanna hars...@wso2.com
 wrote:

 Is there any reason ?

 harshat@mobile
 On Sep 30, 2014 9:35 AM, Harsha Thirimanna hars...@wso2.com wrote:

 Hi ,

 Why we not include all the IS samples[1] with IS pack ?
 ​
 [1]
 http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples
 ​

 *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  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*




 --
 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://blog.api-security.org

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


Re: [Dev] GReg LifeCycle - Enable transition related button after any checklist item selected

2014-10-02 Thread Manoj Kumara
Thanks Subash, Janaka for the response.


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Thu, Oct 2, 2014 at 12:03 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi Manoj,

 Like Subash mentioned earlier, there is no way to give optional check-list
 items for a transition. We do not support that.

 Thanks,
 Janaka

 On Thu, Oct 2, 2014 at 9:12 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Subash,

 Thanks for the prompt response, what I'm trying to achieve is enable the
 transition button after any checklist item selected. If we remove forEvnent
 attribute in each item 'Transition Button' will be enable by default.

 Is it possible to enable  'Transition Button' only after any one of Task
 1, 2, 3 is selected.

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Thu, Oct 2, 2014 at 11:22 AM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi Manoj,
 No you can't. Because the in the check item configuration,  the forEvent
 value indicates that the particualr check item is required for it. In your
 case Task1,2,3 all specified each checkitem is  required for the transition
 Promote. Hence unless all 3 checked, it will not appear. To achieve your
 requirement, you can remove forEvent attribute in each item.

 On Thu, Oct 2, 2014 at 8:34 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi All,

 In registry lifecycles we can use forEvent=Promote as, below to
 enable Promote once all the check boxes are checked.

 datamodel
 data name=checkItems
  item name=Task 1 forEvent=Promote/item
  item name=Task 2 forEvent=Promote/item
  item name=Task 3 forEvent=Promote/item
 /data
 /datamodel

 I have a requirement that need to enable Promote when 'any of check
 boxes' is selected. Is there a option to do this.

 [1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample


 Thanks,
 Manoj




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware



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




 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861
 %2B94%20718370861*

 Lean . Enterprise . Middleware

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


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Dmitry Sotnikov
Thanks Amalka!

Question on the templates: what is going to be the difference between
appkey1_admin@development and appkey2_admin@development?

If no difference, why do we need multiple identical permission templates?
Why not just call it admin@development or even simply Admin?

Dmitry

On Thu, Oct 2, 2014 at 8:02 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Finally I resolved all the issues as follows

 1. create database named 'db001' - create db : db001_wso2_com, dbuser :
 db001_x, template : appkey_admin@development
 2. drop database - remove the database only
 3. create the database again naming 'db001' - create the db:
 db001_wso2_com, dbuser : db00155_x, template : appkey_admin@development

 Here, new user will be created with the name db001NN_x (NN will be a
 random number in between 0-100)

 now a new template will not be created for each database creation.
 first time when we create the template system will create the admin
 template as 'appkey_admin@development', and then for the second database
 same 'appkey_admin@development' template will be attached.

 Now database and dbuser name allows to enter only 5 characters


 On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Red error message comes when we try to create the database. since it's
 already deleted we can use the same name, but the problem here is we can't
 create the dbuser with the same name. in that case, giving message name has
 already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct
 user to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit? Will
 database creation fail? Or is there code to handle it gracefully? How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it admin@Development?
 Other than that, if this prevents all these multiple identical permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts when
 databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser: 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the
 system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting with
 'db001'; this time ..it's 1. So system will create the new user as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the same
 name (after dropping) it will append the number of users (name staring 
 with
 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database and
 dbuser names. So I had to limit the character length of database and 
 dbuser
 to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as follows*

 When we create new database each time it creates a new template. My
 idea is to keep one default template 'default@Development' with all
 the permission and attach that to the each database.

 - When user creates a new database, if the 'default@Development'
 template exist; it will assign to the database, else system creates 
 default
 template 'default@Development' and assign.
 - If user want to give a different permission list, he/she has to
 create a custom template and assign to the database

 Please share your thoughts on this

 Thanks
 Amalka

 On Tue, Sep 30, 2014 at 11:54 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Thanks Amalka!

 You have reproduced the issue correctly.

 Here's what I think would work:

 * This default mode that automatically associates a user account
 should always do so. Product behavior needs to be consistent.

 As far as I understand, the current behavior happens because of the
 account name clash and we have some sort of code that tries to generate 
 the
 account, gets the clash and then neither generates the 

Re: [Dev] Setting a soap header to jaggery ws request object

2014-10-02 Thread Ruchira Wageesha
Hi Danushka,

Can you please execute following code and check whether the outgoing
message has proper headers. I tested this locally and hope this will help
you. Please note that I have set the header XML as a string value[1].

/Ruchira

%

function invokeGetVersion() {
var log = new Log();
var ws = require('ws');

var version = new ws.WSRequest();
var options = new Array();
options.useSOAP = 1.2;
options.useWSA = 1.0;
options.action = urn:getVersion;
options[SOAPHeaders] = ['MyHeader1 xmlns=http://example.com
headerValue/MyHeader1'];
var payload = Enlighten xmlns=http://clearforest.com/
licenseIDstring/licenseID/Enlighten;
var result;

try {
version.open(options, http://localhost:8080/;, false);
version.send(payload);
result = version.responseE4X;
} catch (e) {
log.error(e.toString());
return e.toString();
}
return result;
}

invokeGetVersion();

%

[1] https://github.com/wso2/jaggery/issues/103

On Thu, Oct 2, 2014 at 5:15 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi Ruchira
 I logged the value of options[SOAPHeaders] in client side [1]. Still I
 cannot get these headers to server side. Am I doing something wrong here.

 [1] TID: [0] [Carbon] [2014-10-02 17:04:39,448]  INFO
 {modules/resources/databases/add/add.jag} -  
 *stringify(options['SOAPHeaders'])
 : [tns:UserName xmlns:tns='http://mutualssl.carbon.wso2.org
 http://mutualssl.carbon.wso2.org'd...@dan001.com
 d...@dan001.com/tns:UserName]*
 {modules/resources/databases/add/add.jag}


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

 On Wed, Oct 1, 2014 at 8:00 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Ruchira
 Thanks for response. WIll try that.

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

 On Wed, Oct 1, 2014 at 7:17 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi Danushka,

 It seems there is an issue in the sample code provided under docs. As
 mentioned in the description, you need specify it as SOAPHeaders
 property, not HTTPHeaders property.

 /Ruchira

 On Wed, Oct 1, 2014 at 6:12 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all
 I was trying to do $subject as mentioned in [1].
 According to [1]


- SOAPHeaders - Used to specify custom SOAP headers to be send
along with the SOAP message. This should be an array of elements. You 
 can
specify a header as an XML object or just as an object in the following
structure. valueObject could be either a String or an XML object

options[HTTPHeaders] = [
MyHeader1 xmlns=http://example.com;headerValue/MyHeader1,
...
{qName : new QName(http://example.com;, MyHeader2), value : 
 valueObject},
...
];


 So I wrote following code.

 var mutualAuthHeader = {qName : new
 QName(MUTUALSSL_HEADER_USERNAME_URL, UserName, tns), value : username};
 httpHeaders.push(mutualAuthHeader);
 options[HTTPHeaders] = httpHeaders;


 But when I call the service it fails with following error.

 TID: [0] [Carbon] [2014-10-01 18:03:39,059] ERROR
 {org.jaggeryjs.modules.ws.WSRequestHostObject} -  Invalid declaration for
 HTTPHeaders property {org.jaggeryjs.modules.ws.WSRequestHostObject}


 Any ideas? Am I doing something wrong or don't jaggery support this
 feature. We are using the version 0.9.0.ALPHA4_wso2v6.


 [1] http://jaggeryjs.org/documentation.jag?api=ws

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




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*






-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

*email: ruch...@wso2.com ruch...@wso2.com,   blog:
ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Setting a soap header to jaggery ws request object

2014-10-02 Thread Dimuthu Leelarathne
Hi Danushka,

Wherever it is possible, we have to use HTTP headers, it makes more sense.
What is the use case you are trying to do?

thanks,
dimuhu


On Wed, Oct 1, 2014 at 6:12 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi all
 I was trying to do $subject as mentioned in [1].
 According to [1]


- SOAPHeaders - Used to specify custom SOAP headers to be send along
with the SOAP message. This should be an array of elements. You can specify
a header as an XML object or just as an object in the following structure.
valueObject could be either a String or an XML object

options[HTTPHeaders] = [
   MyHeader1 xmlns=http://example.com;headerValue/MyHeader1,
   ...
   {qName : new QName(http://example.com;, MyHeader2), value : 
 valueObject},
   ...
];


 So I wrote following code.

 var mutualAuthHeader = {qName : new
 QName(MUTUALSSL_HEADER_USERNAME_URL, UserName, tns), value : username};
 httpHeaders.push(mutualAuthHeader);
 options[HTTPHeaders] = httpHeaders;


 But when I call the service it fails with following error.

 TID: [0] [Carbon] [2014-10-01 18:03:39,059] ERROR
 {org.jaggeryjs.modules.ws.WSRequestHostObject} -  Invalid declaration for
 HTTPHeaders property {org.jaggeryjs.modules.ws.WSRequestHostObject}


 Any ideas? Am I doing something wrong or don't jaggery support this
 feature. We are using the version 0.9.0.ALPHA4_wso2v6.


 [1] http://jaggeryjs.org/documentation.jag?api=ws

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




-- 
Dimuthu Leelarathne
Architect  Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Manula Chathurika Thantriwatte
Congratulations !!!

On Thu, Oct 2, 2014 at 9:25 PM, Gimantha Bandara giman...@wso2.com wrote:

 Congratulations Samith!!

 On Thu, Oct 2, 2014 at 6:23 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 6:04 PM, Tharindu Edirisinghe tharin...@wso2.com
 wrote:

 Congratulations Samith !!!

 On Thu, Oct 2, 2014 at 4:19 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Samith !!

 On Thu, Oct 2, 2014 at 2:29 PM, Niranda Perera nira...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 2:03 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Samith...!

 On Thu, Oct 2, 2014 at 2:00 PM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 1:47 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratz Samith!

 On Thu, Oct 2, 2014 at 1:41 PM, Buddhima Wijeweera 
 buddh...@wso2.com wrote:

 Congratz Samith!!!

 On Thu, Oct 2, 2014 at 1:09 PM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Congratulations Samith !!

 On Thu, Oct 2, 2014 at 11:28 AM, Suhan Dharmasuriya 
 suh...@wso2.com wrote:

 Congrats Samith!

 On Thu, Oct 2, 2014 at 11:27 AM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:25 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Samith!!!

 On Thu, Oct 2, 2014 at 11:24 AM, Kasun Dissanayake 
 kas...@wso2.com wrote:

 Congradzz Samith

 On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena 
 ros...@wso2.com wrote:

 Congratulations!!

 On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith 
 lasi...@wso2.com wrote:

 Congratz Samith ...!!!

 On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva 
 kas...@wso2.com wrote:

 Congratz Samith 

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2
 Committer. Samith has contributed immensely to WSO2 App
 Factory and has shown great commitment. In recognition of 
 his contribution,
 he has been voted as a WSO2 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Committers += Samith Dassanayake

2014-10-02 Thread Rajith Vitharana
Congratulations... :)

On Wed, Oct 1, 2014 at 10:09 PM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi all,

 Its my pleasure to welcome Samith Dassanayake  as a WSO2 Committer.
 Samith has contributed immensely to WSO2 App Factory and has shown great
 commitment. In recognition of his contribution, he has been voted as a WSO2
 Committer.

 Samith, welcome aboard!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




-- 
Rajith Vitharana

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


Re: [Dev] Why do we have MySQL output event adaptor rather common RDBMS output adaptor?

2014-10-02 Thread Mohanadarshan Vivekanandalingam
On Thu, Oct 2, 2014 at 11:27 AM, Sinthuja Ragendran sinth...@wso2.com
wrote:

 Hi,

 In CEP, we have MySQL input adaptor [1] to write the event streams to
 MySQL. But why this is specific to MySQL, and why not have something as
 common RDBMS?

 If I want to push my events to H2, or MSSQL, then what should I do? Is it
 extensible?



There is no any technical reason behind this. AFAIK we had a requirement to
develop a mysql adaptor at that time.. At the moment it is not extensible
but it should work if syntax are same with mysql (I think h2 might work but
MSSQL will not).. Yes, I am also believe it will be better if we can make
generic RDBMS adaptor.. Will definitely consider this in future release..
We are also welcome if anyone can contribute.. :)

Thanks,
Mohan




 [1] https://docs.wso2.com/display/CEP310/Output+MySQL+Event+Adaptor

 Thanks,
 Sinthuja.

 --
 *Sinthuja Rajendran*
 Senior Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

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





-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Cloud Tenant deletion-Carbon core patches

2014-10-02 Thread Amila Maha Arachchi
Sameera,

We need this to be committed to 4.3.0 Kernel so that any product release
which goes with 4.3.0 can support tenant deletion. Godwin et al can send
pull requests. If you need lets have a chat about this before that.

Regards,
Amila.

On Thu, Oct 2, 2014 at 7:23 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Hi,

 We did Cloud Tenant Deletion as the training project. Out of all patches
 there are three patches related to Carbon core as mentioned below.

 1. *javax.cache *

 We added a method to *CacheManagerFactoryImpl *class which delete the
 global cache for a specific tenant.

 public void removeTenant(String tenantDomain) {   globalCacheManagerMap
 .remove(tenantDomain);

 }
 2. *org.wso2.carbon.user.api*

 Added a method to *TenantManager *interface which allow only delete the
 tenantmanager cache other than persistent storage.

 public void deleteTenant(int tenantId, boolean
 removeFromPersistentStorage)throws UserStoreException;

 2. *org.wso2.carbon.user.core*

 Implemented above deleteTenant method in JDBCTenantManager.


 Please give a feedback on this how we can add this to next carbon release.


 Thanks
 Godwin

 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




-- 
*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] Pull requests for the following issues

2014-10-02 Thread Prabath Abeysekera
Aruna,

On Wed, Sep 10, 2014 at 6:17 PM, Aruna Karunarathna ar...@wso2.com wrote:

 Hi all,

 Please send the pull requests for the following issues.

 https://wso2.org/jira/browse/CARBON-14891
 https://wso2.org/jira/browse/CARBON-14880
 https://wso2.org/jira/browse/CARBON-14850
 https://wso2.org/jira/browse/CARBON-14718


This is done. Please review and merge the pull request [1].

[1] https://github.com/wso2-dev/carbon-commons/pull/19

Cheers,
Prabath



 https://wso2.org/jira/browse/CARBON-14894

 Regards,
 Aruna

 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





-- 
Prabath Abeysekara
Associate Technical Lead, Data TG.
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Profiling MB2 M1

2014-10-02 Thread Srinath Perera
Hi Sajini,

Were you able to run the bench mark with concurrency 10?
How much throughput you got?
Can we do profiling session?

--Srinath

-- 

Srinath Perera, Ph.D.
   http://people.apache.org/~hemapani/
   http://srinathsview.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deploying disruptor-3.2.1.wso2v1 (LMAX Disruptor) to WSO2 Nexus repo

2014-10-02 Thread Sriskandarajah Suhothayan
Hi Maheshika,

Can you perform the $Subject please?
I've pushed the changes to the wso2/orbit repository[1].

Thanks
Suho


[1]https://github.com/wso2/orbit/blob/master/disruptor/3.2.1.wso2v1/

-- 

*S. Suhothayan*
Technical Lead  Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* http://wso2.com/*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan
http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Amalka Subasinghe
Hi Dimtry,

According to the current implementation we can query the templates based on
application key and the environment

Thanks
Amalka


On Thu, Oct 2, 2014 at 10:05 PM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Thanks Amalka!

 Question on the templates: what is going to be the difference between
 appkey1_admin@development and appkey2_admin@development?

 If no difference, why do we need multiple identical permission templates?
 Why not just call it admin@development or even simply Admin?

 Dmitry

 On Thu, Oct 2, 2014 at 8:02 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Finally I resolved all the issues as follows

 1. create database named 'db001' - create db : db001_wso2_com, dbuser :
 db001_x, template : appkey_admin@development
 2. drop database - remove the database only
 3. create the database again naming 'db001' - create the db:
 db001_wso2_com, dbuser : db00155_x, template : appkey_admin@development

 Here, new user will be created with the name db001NN_x (NN will be a
 random number in between 0-100)

 now a new template will not be created for each database creation.
 first time when we create the template system will create the admin
 template as 'appkey_admin@development', and then for the second database
 same 'appkey_admin@development' template will be attached.

 Now database and dbuser name allows to enter only 5 characters


 On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Red error message comes when we try to create the database. since it's
 already deleted we can use the same name, but the problem here is we can't
 create the dbuser with the same name. in that case, giving message name has
 already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct
 user to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit? Will
 database creation fail? Or is there code to handle it gracefully? How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it admin@Development?
 Other than that, if this prevents all these multiple identical permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts
 when databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser: 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the
 system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting with
 'db001'; this time ..it's 1. So system will create the new user as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the same
 name (after dropping) it will append the number of users (name staring 
 with
 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database
 and dbuser names. So I had to limit the character length of database and
 dbuser to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as follows*

 When we create new database each time it creates a new template. My
 idea is to keep one default template 'default@Development' with all
 the permission and attach that to the each database.

 - When user creates a new database, if the 'default@Development'
 template exist; it will assign to the database, else system creates 
 default
 template 'default@Development' and assign.
 - If user want to give a different permission list, he/she has to
 create a custom template and assign to the database

 Please share your thoughts on this

 Thanks
 Amalka

 On Tue, Sep 30, 2014 at 11:54 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Thanks Amalka!

 You have reproduced the issue correctly.

 Here's what I think would work:

 * This default mode that automatically associates a user account
 should always do so. Product behavior needs to 

[Dev] (ESBJAVA-3064) ESB proxy service does not start if target is unavailable

2014-10-02 Thread Isuru Perera
Hi ESB Team,

I think it's not right to resolve these kind of issues as Not a bug!

More details are available in the JIRA comments.

Please provide an acceptable solution to the issue.

Thanks!

Best Regards,

-- Forwarded message --
From: Boguslaw Szczepanowski (JIRA) j...@wso2.org
Date: Tue, Mar 25, 2014 at 5:21 PM
Subject: [Carbon-jira] [jira] (ESBJAVA-3064) ESB proxy service does not
start if target is unavailable
To: carbon-j...@wso2.org


   Boguslaw Szczepanowski
https://wso2.org/jira/secure/ViewProfile.jspa?name=boguslaw.szczepanowski%40ingbank.pl
created [image: Bug] ESBJAVA-3064
https://wso2.org/jira/browse/ESBJAVA-3064
 *ESB proxy service does not start if target is unavailable*
https://wso2.org/jira/browse/ESBJAVA-3064
   *Issue Type:*  [image: Bug] Bug   *Affects Versions:*  4.8.1
*Assignee:*  Kasun Indrasiri
https://wso2.org/jira/secure/ViewProfile.jspa?name=kasun%40wso2.com
*Created:*  25/Mar/14 5:20 PM   *Description:*  I have a simple Proxy
Service deployed on WSO2 ESB. The service is defined as follow:

?xml version=1.0 encoding=UTF-8?
proxy xmlns=http://ws.apache.org/ns/synapse;
   name=HelloWorld
   transports=https http
   startOnLoad=false
   trace=enable
   statistics=enable
   description/
   target
  endpoint
 wsdl service=HelloWorld
   port=HelloWorldImplPort
   uri=http://myhostname:9001/HelloWorldInternal?wsdl;
suspendOnFailure
   errorCodes101508,101505,101503,101504/errorCodes
   initialDuration1000/initialDuration
   progressionFactor1.1/progressionFactor
   maximumDuration3/maximumDuration
/suspendOnFailure
 /wsdl
  /endpoint
  outSequence
 log level=full/
 send/
  /outSequence
   /target
   publishWSDL uri=http://myhostname:9001/HelloWorldInternal?wsdl/
/proxy


When I start WSO2 ESB when the target service is down, I get the following
error in ESB logs:

[2014-02-20 14:25:05,168] INFO - ProxyService Building Axis service for
Proxy service : HelloWorld
[2014-02-20 14:25:06,176] ERROR - ProxyService Error reading from wsdl URI
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)

at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.http.HttpClient.lt;initgt;(HttpClient.java:213)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:316)
at sun.net.
www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
at sun.net.
www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.
www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
at sun.net.
www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
at
org.apache.synapse.config.SynapseConfigUtils.getOMElementFromURL(SynapseConfigUtils.java:312)

at
org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:284)

at
org.apache.synapse.Axis2SynapseController.deployProxyServices(Axis2SynapseController.java:709)

at
org.apache.synapse.Axis2SynapseController.createSynapseEnvironment(Axis2SynapseController.java:388)

at org.apache.synapse.ServerManager.start(ServerManager.java:181)
at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:424)

at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:182)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
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)

[Dev] Please merge the pull request for BPS-574

2014-10-02 Thread Firzhan Naqash
please merge the following pull requests [1] [2]  for the jira task [3]

[1] https://github.com/wso2-dev/carbon-business-process/pull/7

[2] https://github.com/wso2/orbit/pull/25

[3] https://wso2.org/jira/browse/BPS-574


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


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Dmitry Sotnikov
I see. But the template name still needs to be unique across the whole
tenant? Or only for the app key?

If the uniqueness scope is App, why append the app key to the name?

Dmitry
On Oct 2, 2014 7:36 PM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi Dimtry,

 According to the current implementation we can query the templates based
 on application key and the environment

 Thanks
 Amalka


 On Thu, Oct 2, 2014 at 10:05 PM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Thanks Amalka!

 Question on the templates: what is going to be the difference between
 appkey1_admin@development and appkey2_admin@development?

 If no difference, why do we need multiple identical permission templates?
 Why not just call it admin@development or even simply Admin?

 Dmitry

 On Thu, Oct 2, 2014 at 8:02 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Finally I resolved all the issues as follows

 1. create database named 'db001' - create db : db001_wso2_com, dbuser :
 db001_x, template : appkey_admin@development
 2. drop database - remove the database only
 3. create the database again naming 'db001' - create the db:
 db001_wso2_com, dbuser : db00155_x, template : appkey_admin@development

 Here, new user will be created with the name db001NN_x (NN will be a
 random number in between 0-100)

 now a new template will not be created for each database creation.
 first time when we create the template system will create the admin
 template as 'appkey_admin@development', and then for the second
 database same 'appkey_admin@development' template will be attached.

 Now database and dbuser name allows to enter only 5 characters


 On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Red error message comes when we try to create the database. since it's
 already deleted we can use the same name, but the problem here is we can't
 create the dbuser with the same name. in that case, giving message name has
 already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct
 user to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit?
 Will database creation fail? Or is there code to handle it gracefully? 
 How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it 
 admin@Development?
 Other than that, if this prevents all these multiple identical 
 permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts
 when databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser:
 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the
 system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting with
 'db001'; this time ..it's 1. So system will create the new user as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the same
 name (after dropping) it will append the number of users (name staring 
 with
 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database
 and dbuser names. So I had to limit the character length of database 
 and
 dbuser to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as follows*

 When we create new database each time it creates a new template. My
 idea is to keep one default template 'default@Development' with
 all the permission and attach that to the each database.

 - When user creates a new database, if the 'default@Development'
 template exist; it will assign to the database, else system creates 
 default
 template 'default@Development' and assign.
 - If user want to give a different permission list, he/she has to
 create a custom template and assign to the database

 Please share your thoughts on this

 Thanks
 Amalka

 On Tue, Sep 30, 

[Dev] [APPFAC] .NET Support IIS hot deployment

2014-10-02 Thread Kasun De Silva
Hi All,

I'm working on .NET support in AF, currently .NET web app creates and
builds successfully. MSBuild gives the deployment artifact as a ZIP file.
When deploying the app windows cartridge get spawned in ec2 and cartridge
agent clones the deployment artifact to the IIS instance. But it still
stays as a zip file. It copies to the wwwroot directory but It does not
get deployed inside IIS.  does anyone knows why is this happening and how
the hot deployment works in IIS?

Thanks,
Kasun

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deploying disruptor-3.2.1.wso2v1 (LMAX Disruptor) to WSO2 Nexus repo

2014-10-02 Thread Maheshika Goonetilleke
HI Suho

The deployment was a success. Apologies for the delay.

On Fri, Oct 3, 2014 at 7:59 AM, Sriskandarajah Suhothayan s...@wso2.com
wrote:

 Hi Maheshika,

 Can you perform the $Subject please?
 I've pushed the changes to the wso2/orbit repository[1].

 Thanks
 Suho


 [1]https://github.com/wso2/orbit/blob/master/disruptor/3.2.1.wso2v1/

 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




-- 

Thanks  Best Regards,

Maheshika Goonetilleke
Engineering Process Coordinator

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


Re: [Dev] Deploying disruptor-3.2.1.wso2v1 (LMAX Disruptor) to WSO2 Nexus repo

2014-10-02 Thread Sriskandarajah Suhothayan
Thanks

Suho

On Fri, Oct 3, 2014 at 10:00 AM, Maheshika Goonetilleke mahesh...@wso2.com
wrote:

 HI Suho

 The deployment was a success. Apologies for the delay.

 On Fri, Oct 3, 2014 at 7:59 AM, Sriskandarajah Suhothayan s...@wso2.com
 wrote:

 Hi Maheshika,

 Can you perform the $Subject please?
 I've pushed the changes to the wso2/orbit repository[1].

 Thanks
 Suho


 [1]https://github.com/wso2/orbit/blob/master/disruptor/3.2.1.wso2v1/

 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --

 Thanks  Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator

 *WSO2 Inc*
 *email   : mahesh...@wso2.com mahesh...@wso2.com*
 *mobile : +94 773 596707 %2B94%20773%20596707*
 *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware







-- 

*S. Suhothayan*
Technical Lead  Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* http://wso2.com/*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan
http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPFAC] .NET Support IIS hot deployment

2014-10-02 Thread Manula Chathurika Thantriwatte
Hi Kasun,

Following link [1] might be helpful to you.

[1]
http://stackoverflow.com/questions/12780720/how-to-deploy-package-zip-into-specific-site-under-iis-using-msdeploy

On Fri, Oct 3, 2014 at 9:56 AM, Kasun De Silva kas...@wso2.com wrote:

 Hi All,

 I'm working on .NET support in AF, currently .NET web app creates and
 builds successfully. MSBuild gives the deployment artifact as a ZIP file.
 When deploying the app windows cartridge get spawned in ec2 and cartridge
 agent clones the deployment artifact to the IIS instance. But it still
 stays as a zip file. It copies to the wwwroot directory but It does not
 get deployed inside IIS.  does anyone knows why is this happening and how
 the hot deployment works in IIS?

 Thanks,
 Kasun

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


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




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

email : manu...@wso2.com / man...@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Carbon component writing pom xml error

2014-10-02 Thread Chamin Nalinda
Hi All,

When I try to write the carbon component, I get the following error in my
org.wso2.carbon.process.order/pom.xml

The error line is in red color

*Error Message*

Project build error: Non-parseable POM
/home/coolck/Carbon/myWS/process-order/process-order-components/org.wso2.carbon.process.order/pom.xml:
start tag unexpected character \ua0 (position: START_DOCUMENT seen
...ing=UTF-8?\nproject xmlns=http://maven.apache.org/POM/4.0.0\n\ua0...
@3:2)

--- *Start org.wso2.carbon.process.order/pom.xml *
-

?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
parent
artifactIdprocess-order-components/artifactId
groupIdorg.wso2.carbon/groupId
version4.2.0/version
/parent
modelVersion4.0.0/modelVersion

artifactIdorg.wso2.carbon.process.order/artifactId

packagingbundle/packaging
nameWSO2 Carbon - Process Order Server Component/name

build
plugins
plugin
groupIdorg.apache.felix/groupId
artifactIdmaven-bundle-plugin/artifactId
extensionstrue/extensions
configuration
instructions

Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName
Bundle-Name${pom.artifactId}/Bundle-Name

Export-Packageorg.wso2.carbon.process.order.*/Export-Package
/instructions
/configuration
/plugin
/plugins
/build
/project


--- *End org.wso2.carbon.process.order/pom.xml*
-




-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Dimuthu Leelarathne
Hi Dmitry,

This is because underlying platform isolation is for tenant. App level
isolation is something AF impose on top of it. I believe it is not worth
the effort to redo the AF layer to special case templates, when we consider
other high priority items.

thanks,
dimuthu


On Fri, Oct 3, 2014 at 9:35 AM, Dmitry Sotnikov dmi...@wso2.com wrote:

 I see. But the template name still needs to be unique across the whole
 tenant? Or only for the app key?

 If the uniqueness scope is App, why append the app key to the name?

 Dmitry
 On Oct 2, 2014 7:36 PM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi Dimtry,

 According to the current implementation we can query the templates based
 on application key and the environment

 Thanks
 Amalka


 On Thu, Oct 2, 2014 at 10:05 PM, Dmitry Sotnikov dmi...@wso2.com wrote:

 Thanks Amalka!

 Question on the templates: what is going to be the difference between
 appkey1_admin@development and appkey2_admin@development?

 If no difference, why do we need multiple identical permission
 templates? Why not just call it admin@development or even simply Admin?

 Dmitry

 On Thu, Oct 2, 2014 at 8:02 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Finally I resolved all the issues as follows

 1. create database named 'db001' - create db : db001_wso2_com, dbuser
 : db001_x, template : appkey_admin@development
 2. drop database - remove the database only
 3. create the database again naming 'db001' - create the db:
 db001_wso2_com, dbuser : db00155_x, template : appkey_admin@development

 Here, new user will be created with the name db001NN_x (NN will be
 a random number in between 0-100)

 now a new template will not be created for each database creation.
 first time when we create the template system will create the admin
 template as 'appkey_admin@development', and then for the second
 database same 'appkey_admin@development' template will be attached.

 Now database and dbuser name allows to enter only 5 characters


 On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Red error message comes when we try to create the database. since it's
 already deleted we can use the same name, but the problem here is we can't
 create the dbuser with the same name. in that case, giving message name 
 has
 already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct
 user to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit?
 Will database creation fail? Or is there code to handle it gracefully? 
 How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it 
 admin@Development?
 Other than that, if this prevents all these multiple identical 
 permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts
 when databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser:
 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the
 system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting with
 'db001'; this time ..it's 1. So system will create the new user as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the same
 name (after dropping) it will append the number of users (name 
 staring with
 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database
 and dbuser names. So I had to limit the character length of database 
 and
 dbuser to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as follows*

 When we create new database each time it creates a new template.
 My idea is to keep one default template 'default@Development'
 with all the permission and attach that to the each database.

 - When user creates a new 

Re: [Dev] [APPFAC] .NET Support IIS hot deployment

2014-10-02 Thread Kasun De Silva
Thanks Manula

Regards


*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Fri, Oct 3, 2014 at 10:16 AM, Manula Chathurika Thantriwatte 
manu...@wso2.com wrote:

 Hi Kasun,

 Following link [1] might be helpful to you.

 [1]
 http://stackoverflow.com/questions/12780720/how-to-deploy-package-zip-into-specific-site-under-iis-using-msdeploy

 On Fri, Oct 3, 2014 at 9:56 AM, Kasun De Silva kas...@wso2.com wrote:

 Hi All,

 I'm working on .NET support in AF, currently .NET web app creates and
 builds successfully. MSBuild gives the deployment artifact as a ZIP file.
 When deploying the app windows cartridge get spawned in ec2 and cartridge
 agent clones the deployment artifact to the IIS instance. But it still
 stays as a zip file. It copies to the wwwroot directory but It does not
 get deployed inside IIS.  does anyone knows why is this happening and how
 the hot deployment works in IIS?

 Thanks,
 Kasun

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


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




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

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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


[Dev] [DEV] WSDL error when writing the carbon component

2014-10-02 Thread Nishali Wijesinghe
Hi All,

When I try to write a carbon component, the WSDL file which generates from
the server component is as follows.

wsdl:definitions targetNamespace=http://mgt.order.carbon.wso2.org;
   wsdl:documentationOrderProcessor/wsdl:documentation
 wsdl:types
   xs:schema attributeFormDefault=qualified
elementFormDefault=qualified targetNamespace=
http://mgt.order.carbon.wso2.org;
 xs:import namespace=http://data.mgt.order.carbon.wso2.org/xsd/
   xs:element name=getOrder

But when I try to do a maven build from the service stub, I get the
following error.

[INFO] Executing tasks
 [java] Retrieving document at 'src/main/resources/OrderProcessor.wsdl'.
 [java] [Fatal Error] OrderProcessor.wsdl:1:70: The prefix wsdl for
element wsdl:definitions is not bound.
 [java] Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL


I appreciate you help in in this matter.

Thank you,
Regards,
Nishali

--
Nishali Wijesinghe
Intern - Engineering
WSO2, Inc.
lean.enterprise.middleware.
Tel: +94716913495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon component writing pom xml error

2014-10-02 Thread Tharindu Edirisinghe
Hi Chamin,

Try adding below to the pom file.


  properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
  /properties


Seems it's a character encoding issue.




On Fri, Oct 3, 2014 at 10:17 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi All,

 When I try to write the carbon component, I get the following error in my
 org.wso2.carbon.process.order/pom.xml

 The error line is in red color

 *Error Message*

 Project build error: Non-parseable POM
 /home/coolck/Carbon/myWS/process-order/process-order-components/org.wso2.carbon.process.order/pom.xml:
 start tag unexpected character \ua0 (position: START_DOCUMENT seen
 ...ing=UTF-8?\nproject xmlns=http://maven.apache.org/POM/4.0.0\n\ua0...
 @3:2)

 --- *Start org.wso2.carbon.process.order/pom.xml *
 -

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 parent
 artifactIdprocess-order-components/artifactId
 groupIdorg.wso2.carbon/groupId
 version4.2.0/version
 /parent
 modelVersion4.0.0/modelVersion

 artifactIdorg.wso2.carbon.process.order/artifactId

 packagingbundle/packaging
 nameWSO2 Carbon - Process Order Server Component/name

 build
 plugins
 plugin
 groupIdorg.apache.felix/groupId
 artifactIdmaven-bundle-plugin/artifactId
 extensionstrue/extensions
 configuration
 instructions

 Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName
 Bundle-Name${pom.artifactId}/Bundle-Name

 Export-Packageorg.wso2.carbon.process.order.*/Export-Package
 /instructions
 /configuration
 /plugin
 /plugins
 /build
 /project


 --- *End org.wso2.carbon.process.order/pom.xml*
 -




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com


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




-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
mobile : +94 775 181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixing (APPFAC-2521) Second database gets no user assigned + invalid permission templates

2014-10-02 Thread Dmitry Sotnikov
I agree. Not a high priority. This is just a nice to have. I was suggesting
this without any understanding of implementation costs.

Dmitry

On Thu, Oct 2, 2014 at 9:51 PM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi Dmitry,

 This is because underlying platform isolation is for tenant. App level
 isolation is something AF impose on top of it. I believe it is not worth
 the effort to redo the AF layer to special case templates, when we consider
 other high priority items.

 thanks,
 dimuthu


 On Fri, Oct 3, 2014 at 9:35 AM, Dmitry Sotnikov dmi...@wso2.com wrote:

 I see. But the template name still needs to be unique across the whole
 tenant? Or only for the app key?

 If the uniqueness scope is App, why append the app key to the name?

 Dmitry
 On Oct 2, 2014 7:36 PM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi Dimtry,

 According to the current implementation we can query the templates based
 on application key and the environment

 Thanks
 Amalka


 On Thu, Oct 2, 2014 at 10:05 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Thanks Amalka!

 Question on the templates: what is going to be the difference between
 appkey1_admin@development and appkey2_admin@development?

 If no difference, why do we need multiple identical permission
 templates? Why not just call it admin@development or even simply Admin?

 Dmitry

 On Thu, Oct 2, 2014 at 8:02 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Finally I resolved all the issues as follows

 1. create database named 'db001' - create db : db001_wso2_com, dbuser
 : db001_x, template : appkey_admin@development
 2. drop database - remove the database only
 3. create the database again naming 'db001' - create the db:
 db001_wso2_com, dbuser : db00155_x, template : 
 appkey_admin@development

 Here, new user will be created with the name db001NN_x (NN will be
 a random number in between 0-100)

 now a new template will not be created for each database creation.
 first time when we create the template system will create the admin
 template as 'appkey_admin@development', and then for the second
 database same 'appkey_admin@development' template will be attached.

 Now database and dbuser name allows to enter only 5 characters


 On Thu, Oct 2, 2014 at 10:47 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Red error message comes when we try to create the database. since
 it's already deleted we can use the same name, but the problem here is we
 can't create the dbuser with the same name. in that case, giving message
 name has already taken will not be matching

 On Thu, Oct 2, 2014 at 10:39 AM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Dimuthu, thanks!

 Amalka, can we instead of the scary red error message, just instruct
 user to pick another name because this one has already been taken?

 Dmitry

 On Wed, Oct 1, 2014 at 8:46 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi Dmitry,

 Please see my comments inline.

 On Wed, Oct 1, 2014 at 9:49 PM, Dmitry Sotnikov dmi...@wso2.com
 wrote:

 Amalka,

 Thanks! For your #1, what will happen when you get to the limit?
 Will database creation fail? Or is there code to handle it 
 gracefully? How?

 For #2, default@Development sounds pretty meaningless. Is that
 all-powerful all-permission templates? Why not call it 
 admin@Development?
 Other than that, if this prevents all these multiple identical 
 permission
 templates from being created with each database - this would be a good
 thing!

 Ideally, in the future we also delete the temporary user accounts
 when databases are deleted or find another way to prevent the current
 proliferation of the temp accounts...


 Proliferation of user accounts - This is not possible due to a
 limitation in SS API. There is no way to identify whether a user is
 attached to more than one database, hence we cannot delete them upon
 database deletion. I have already created a JIRA for SS guys.

 thanks,
 dimuthu



 Dmitry

 On Wed, Oct 1, 2014 at 7:09 AM, Amalka Subasinghe ama...@wso2.com
  wrote:

 Hi All,

 *I fixed the add new database function as follows: (Issue 1)*

 1. add new database first time 'db001'
 System will create database: 'db001_wso2_com', dbuser:
 'db001_x'.

 2. drop the database 'db001'
 System will drop only the database; dbuser will be remain in the
 system

 3. add new database with the same name 'db001'
 System will get the number of users who has the name starting
 with 'db001'; this time ..it's 1. So system will create the new user 
 as
 'db0011_x'. (appending 1 at the end of the database name)

 like wise every time when we create the new database with the
 same name (after dropping) it will append the number of users (name 
 staring
 with 'db001') exist in the system, for the dbuser name.
 Please note, storage server allows only 7 characters for database
 and dbuser names. So I had to limit the character length of database 
 and
 dbuser to 5. Remaining 2 characters are for appending the number.


 *Planning to fix the Issue 2 as 

Re: [Dev] Why do we have MySQL output event adaptor rather common RDBMS output adaptor?

2014-10-02 Thread Sinthuja Ragendran
Hi,

On Thu, Oct 2, 2014 at 10:54 PM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:



 On Thu, Oct 2, 2014 at 11:27 AM, Sinthuja Ragendran sinth...@wso2.com
 wrote:

 Hi,

 In CEP, we have MySQL input adaptor [1] to write the event streams to
 MySQL. But why this is specific to MySQL, and why not have something as
 common RDBMS?

 If I want to push my events to H2, or MSSQL, then what should I do? Is it
 extensible?



 There is no any technical reason behind this. AFAIK we had a requirement
 to develop a mysql adaptor at that time.. At the moment it is not
 extensible but it should work if syntax are same with mysql (I think h2
 might work but MSSQL will not).. Yes, I am also believe it will be better
 if we can make generic RDBMS adaptor.. Will definitely consider this in
 future release..  We are also welcome if anyone can contribute.. :)


Thanks for the information! It will be a good feature if we improve this as
there will be users who want to just dump the events into RDBMS.  I have
created the public jira [1] to track this.

[1] https://wso2.org/jira/browse/CEP-965

Thanks,
Sinthuja.


 Thanks,
 Mohan




 [1] https://docs.wso2.com/display/CEP310/Output+MySQL+Event+Adaptor

 Thanks,
 Sinthuja.

 --
 *Sinthuja Rajendran*
 Senior Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

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





 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
*Sinthuja Rajendran*
Senior Software Engineer http://wso2.com/
WSO2, Inc.:http://wso2.com

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


Re: [Dev] Profiling MB2 M1

2014-10-02 Thread Sajini De Silva
Hi Srinath,

Yesterday I did some load tests and came across some issues when running MB
in multi threaded environment. We fixed some issues yesterday and now I'm
doing the load tests again.

I have a saved profile session taken while running the system anyway. We
can do the profiling session today. Will update the throughput once
performance tests are completed.

Thank you,
Sajini.

On Fri, Oct 3, 2014 at 7:57 AM, Srinath Perera srin...@wso2.com wrote:

 Hi Sajini,

 Were you able to run the bench mark with concurrency 10?
 How much throughput you got?
 Can we do profiling session?

 --Srinath

 --
 
 Srinath Perera, Ph.D.
http://people.apache.org/~hemapani/
http://srinathsview.blogspot.com/




-- 
Sajini De SIlva
Software Engineer; WSO2 Inc.; http://wso2.com ,
Email: saj...@wso2.com
Blog: http://sajinid.blogspot.com/
Git hub profile: https://github.com/sajinidesilva

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


Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-02 Thread Supun Muthutantrige
Hii Nishali,

Just check your wsdl again. It seems there is a problem in saving it. Try
to save it from the browser as a wsdl file instead of copying and then
saving in a different file.

Regards


*Supun Rasitha Muthutantrige*




*supunrWSO2 Inc: http://wso2.com http://wso2.com
lean.enterprise.middleware*
*Mobile: 0758374608*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev