Re: [Carbon-dev] Orbit, Carbon and Graphite - New Face of Carbon SVN Repository.
Great job guys :). This will help tremendously as we go forward with Carbon becoming more and more of a stable platform! Sanjiva. On Mon, Feb 13, 2012 at 12:25 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Devs, We have now completed the SVN restructure effort. Please checkout orbit[1], carbon[2] and graphite[3] svn repositories. Carefully go through the following instructions before building. 1) Take fresh checkouts of the orbit[1], carbon[2] and graphite[3] svn repositories. Avoid using the existing local carbon checkout, if any. 2) Backup your .m2 repository and start the build with a fresh one. This step is optional. 3) Build orbit[1] project. 4) Build carbon[2] project. 5) Build graphite[3] project. Apart from some test failures, build is stable now. I would like to thank Pradeep, Dileepa and Chethiya for their help to get this done during the past two days. Thanks, Sameera. [1] https://svn.wso2.org/repos/wso2/trunk/orbit/ [2] https://svn.wso2.org/repos/wso2/trunk/carbon/ [3] https://svn.wso2.org/repos/wso2/trunk/graphite/ -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Orbit, Carbon and Graphite - New Face of Carbon SVN Repository.
Hmmm is there a future step we need to take to make each of the repos into separate projects? That is: /repos/wso2/{orbit,carbon,graphite}/{trunk,branches,tags} I guess without that we still have to branch etc. all together. I guess this change is the one which is a lot more dramatic in terms of impact to support etc.. Sanjiva. On Mon, Feb 13, 2012 at 5:00 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Great job guys :). This will help tremendously as we go forward with Carbon becoming more and more of a stable platform! Sanjiva. On Mon, Feb 13, 2012 at 12:25 AM, Sameera Jayasoma same...@wso2.comwrote: Hi Devs, We have now completed the SVN restructure effort. Please checkout orbit[1], carbon[2] and graphite[3] svn repositories. Carefully go through the following instructions before building. 1) Take fresh checkouts of the orbit[1], carbon[2] and graphite[3] svn repositories. Avoid using the existing local carbon checkout, if any. 2) Backup your .m2 repository and start the build with a fresh one. This step is optional. 3) Build orbit[1] project. 4) Build carbon[2] project. 5) Build graphite[3] project. Apart from some test failures, build is stable now. I would like to thank Pradeep, Dileepa and Chethiya for their help to get this done during the past two days. Thanks, Sameera. [1] https://svn.wso2.org/repos/wso2/trunk/orbit/ [2] https://svn.wso2.org/repos/wso2/trunk/carbon/ [3] https://svn.wso2.org/repos/wso2/trunk/graphite/ -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] [Proposal] Restructuring the SVN repository of Carbon
+1 for going ahead (without opinion on timing) and to Amila's suggestion of making the orbit stuff another TLP. I'm +1 for graphite per Senaka for X. Sanjiva. On Mon, Feb 6, 2012 at 4:03 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi all, +1. When installing other features to different products, it should mention the carbon core version. Currently, the carbon core is the intersection of products, so there is no problem at all. But if we go ahead with minimizing carbon-core it can be tricky to handle. Just had an offline chat with Sameera, and according to him P2 handles it nicely. thanks, dimuthu On Mon, Feb 6, 2012 at 8:24 AM, Sumedha Rubasinghe sume...@wso2.comwrote: +1 for the idea. B4 doing the actual change, how about running through different scenarios (like Amila mentioned) - like how we did for branching approach. Figuring out problems later would be costly in terms of time. /sumedha On Sat, Feb 4, 2012 at 5:14 PM, Sameera Jayasoma same...@wso2.comwrote: *Objective*: Make Carbon core a top level project in WSO2 trunk. At the moment complete Carbon platform code lies under https://svn.wso2.org/repos/wso2/trunk/carbon/. This structure has its own problems. *Motivations*: 1) Carbon core can be treated as a separate product which has its own dependencies, orbit and Carbon core can be released independently of other Carbon components, products. 2) To ensure that the Carbon based products can depend on a stable, well tested and released version of Carbon instead of the Carbon trunk. 3) This will also ensure the stability of the Carbon based products, because they are no longer depend on the Carbon trunk which might undergo drastic changes time to time. *Execution*: Here is my proposal. 1) We need to create two top level directories for Carbon and for components, features and Carbon based products. Sample structure is shown below. carbon |--dependencies |--orbits |--core (core set of bundles.) |--features (Carbon core features) |--product (Carbon product) X (TODO we need to come up with a name. How about silicon. Dr. Sanjiva once mentioned this name. :) ) |--dependencies |--orbits |--components |--features |--products 2) In order to change the existing svn structure to a structure like above, we need to hold all the commits, say for two to three days and restructure the SVN, test properly and release for commits. Please feel free to comment. Thanks, Sameera. -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- /sumedha +94 773017743 ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] [Proposal] Restructuring the SVN repository of Carbon
Totally absolutely -1 :). If you want to take each FEATURE and make it into a TLP I'm totally +1, however not a product. That would go against our recent attempts at (re-)organizing around technology areas. A product for us is simply a pre-packed and tested set of features and I want to go in the opposite direction: Automate product creation to the point where everything from docs to testing is automated. Then the manual work goes towards features and products are simply distribution vehicles. Sanjiva. On Mon, Feb 6, 2012 at 9:37 PM, Tharindu Mathew thari...@wso2.com wrote: As per Amila's suggestion, we can also start moving products also similar to carbon... have their own trunk and branch... IMO, products should own which feature version they want to depend on. They should only move to a new feature if they need a fix/ improvement in the new version. This would mean that Carbon and Feature versions are independent. On Mon, Feb 6, 2012 at 9:25 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 for going ahead (without opinion on timing) and to Amila's suggestion of making the orbit stuff another TLP. I'm +1 for graphite per Senaka for X. Sanjiva. On Mon, Feb 6, 2012 at 4:03 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi all, +1. When installing other features to different products, it should mention the carbon core version. Currently, the carbon core is the intersection of products, so there is no problem at all. But if we go ahead with minimizing carbon-core it can be tricky to handle. Just had an offline chat with Sameera, and according to him P2 handles it nicely. thanks, dimuthu On Mon, Feb 6, 2012 at 8:24 AM, Sumedha Rubasinghe sume...@wso2.comwrote: +1 for the idea. B4 doing the actual change, how about running through different scenarios (like Amila mentioned) - like how we did for branching approach. Figuring out problems later would be costly in terms of time. /sumedha On Sat, Feb 4, 2012 at 5:14 PM, Sameera Jayasoma same...@wso2.comwrote: *Objective*: Make Carbon core a top level project in WSO2 trunk. At the moment complete Carbon platform code lies under https://svn.wso2.org/repos/wso2/trunk/carbon/. This structure has its own problems. *Motivations*: 1) Carbon core can be treated as a separate product which has its own dependencies, orbit and Carbon core can be released independently of other Carbon components, products. 2) To ensure that the Carbon based products can depend on a stable, well tested and released version of Carbon instead of the Carbon trunk. 3) This will also ensure the stability of the Carbon based products, because they are no longer depend on the Carbon trunk which might undergo drastic changes time to time. *Execution*: Here is my proposal. 1) We need to create two top level directories for Carbon and for components, features and Carbon based products. Sample structure is shown below. carbon |--dependencies |--orbits |--core (core set of bundles.) |--features (Carbon core features) |--product (Carbon product) X (TODO we need to come up with a name. How about silicon. Dr. Sanjiva once mentioned this name. :) ) |--dependencies |--orbits |--components |--features |--products 2) In order to change the existing svn structure to a structure like above, we need to hold all the commits, say for two to three days and restructure the SVN, test properly and release for commits. Please feel free to comment. Thanks, Sameera. -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- /sumedha +94 773017743 ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo
Re: [Carbon-dev] [ANN] Jaggery Milestone-2 Released !
Carbon probably :( ... Once we refactor Carbon to have a true core this should go down significantly. Carbon base should become Equinox + Tomcat + a few bundles .. Sanjiva. On Tue, Jan 31, 2012 at 8:54 PM, Samisa Abeysinghe sam...@wso2.com wrote: Downloading to try it out. But why is this 102MB? On Tue, Jan 31, 2012 at 7:29 PM, Nuwan Bandara nu...@wso2.com wrote: *Introducing Jaggery* Jaggery is a framework to write webapps and HTTP-focused web services for all aspects of the application: front-end, communication, Server-side logic and persistence in pure Javascript. One of the intents of this framework is to reduce the gap between writing web apps and web services. This Framework uses Mozilla Rhino to process Javascript at the server and also contains a powerful caching layer with the support of Rhino compiled scripts; so its as fast as the JVM. As few key features, Jaggery has native JSON support and also E4X support for XML manipulation. M2 can be downloaded at http://dist.wso2.org/products/jaggery/dl/jaggery-1.0.0-SNAPSHOT_M2.zip *Say Hello to Jaggery* html body h1 % var name = 'Jaggery'; print(Hello + name); % /h1 /body /html *Setting up Jaggery* 1. Extract jaggery-1.0.0-SNAPSHOT_M2.zip 2. This will generate a bin directory with execution scripts. 3. Run sh bin/wso2server.sh (bin/wso2server.bat) command to start the server. 4. Upon successful startup, {http://localhost:9763/docs} should take you to the documentation Jaggery App. *Key Features* - Compose server side scripts purely in javascript (.JSS) - Script caching support - Command line tool for easy development - Try-it tool for web based script validation - Includes support for, - HTTP request/response and session - JSON send/receive - Server side XMLHttpRequest - Web Service invocation - File I/O - Email - Atom - Read/write feed - Relational database - WSO2 Registry/Repository - Open Social gadgets For more information and samples you can refer to Jaggery docs at ( http://{yourip}:9763/docs/documentation.jsshttp://localhost:9763/docs/documentation.jss ) which are shipped with the distribution Thanks, *Jaggery Development Team* Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Bad API in registry.core HandlerManager
No ack .. Azeez maybe you should create an issue .. that way it doesn't get lost! On Thu, Jan 26, 2012 at 5:38 PM, Afkham Azeez az...@wso2.com wrote: This class in in really bad shape. It has about 20 maps each correspond to a method, and in the addHandler methods check for the method doing a String comparison add to the relevant map! Really bad OO design. I guess introducing another class which has the Map method will greatly reduce the LOC in this class. On Thu, Jan 26, 2012 at 5:31 PM, Afkham Azeez az...@wso2.com wrote: See attached screenshot. This type of code should be properly refactored to use enums. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Microsft excel adapters
Don't we have a feature in DS to support this? We have it for Google docs .. On Tue, Jan 17, 2012 at 10:06 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Tue, Jan 17, 2012 at 2:20 PM, gnanaguru.sattanat...@wipro.com wrote: Hi ** ** I am in a scenario where I need to extract and push data from Excel Sheets. I preferred wso2 for this. In what way WSO2 ESB supports this. You have any specific adapter for this? You can use VFS transport with a custom message builder to read Excel sheets. Thanks, Hiranya ** ** Please help out. ** ** ** ** Regards Guru * Please do not print this email unless it is absolutely necessary. * The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] AppDev Deployment Model and Gadget Server Redesign
/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Ruchira Wageesha Software Engineer - WSO2 Inc. www.wso2.com Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com Mobile: +94775493444 Lean . Enterprise . Middleware ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] What is the right place to add AppDev Code
+1 for going ahead with Watalappan :). I can see a nice sweet logo out of it too. On Thu, Nov 24, 2011 at 9:53 AM, Nuwan Bandara nu...@wso2.com wrote: Hi All, We are planing to formally create milestone releases for AppDev work. In-order to do that we need to finalize on few things. 1. Whats the ideal place we need to put the AppDev code. - IMO we can have the code in components, mainly because its developed as a library or a framework to create JS Apps. We should make it a P2 feature, where users/developers can install, and have the AppDev runtime in their own Carbon Server 2. We need to have a proper name for it. (or formalize the current one aka Watalappan) 3. We need to have this in trunk, but will be releasing against branched dependencies (?), mainly because there wont be a release happening soon enough from the trunk. In-order to move forward we need to finalize on these items, at the moment this code is in the scratch area. -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Status of JavaScript Appdev Project
Excellent progress Ruchira. We need to have a discussion on tooling .. can you please grab me for 5-10 mins today? Lets come up with a plan to build a plan :). On the JSS model below, what happens to any code that's in the file outside of any function definitions? Also, should we consider placing JS files that execute on the server like this in a separate location rather than use a different extension? That's the model with servlets - and its useful and necessary when the server side code starts importing other stuff to use. We could simply use WEB-INF too as that special directory .. Sanjiva. On Thu, Nov 3, 2011 at 2:29 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi, I have added all existing hostobjects(except global System HO) of WSO2 Mashup Server to the Appdev environment. Several hostobjects such as WSRequest, was modified to act independently of carbon environment. XHR hostobject was also added which allows you to call sync/async HTTP calls using httpcore-nio. For the *.jss stuff, JSON support was also implemented. In a *.jss, we can implement doGet, doPost etc. methods which corresponds to relevant HTTP methods. So, when an HTTP request comes to a *.jss file, then request will be dispatched to the relavant JavaScript method in the *.jss file. There, you have access to the *request*, *response* and *session* objects. If the request content type is json, then we can get content as a JSON by accessing *request.content* property. Further, you can get any parameters posted with the request by calling *request.getParameter()*method. When we returning from a *.jss, you can either return directly a JSON object which will be serialized and send to the client as a JSON content. If you want, you can set custom headers to the response object and put content using *response.write()* method. A sample *.jss content can be found at the bottom. Further, a new Rhino engine was created which allows to keep different top level scopes for different envirenments. i.e. now we can allow to plug, any product specific, tenant specific Hostobjects without affecting others. Later this will be integrated into javax.script API. In order to allow database calls, php-mysql api was proposed. But, it doesn't seem like it utilizes Object Orientation which can be effectively used in JavaScript in order to make it easier for the developer. php-mysql api has a functional programming model. Also, we need to allow users to do async database calls. i.e. register a function which will get executed once the database return the result set. So, it would be better to have an API as in XHR. I will send a separate mail with a proposed mysql api covering above requirements. Following is the current request, response, session object APIs which corresponds to relavant Java methods. *session object API* readonly property number created readonly property number lastAccessed readonly property isNew property maxInactive void put(string key, object value) object get(string key) void invalidate() *request object API* readonly property object content //this will return string content or json content depending on the content type readonly property string method readonly property string protocol readonly property string queryString readonly property string contentType readonly property number contentLength string getHeader(string name) string getParameter(string name) *response object API* property string content property string contentType property number status void addHeader(string name, string value) void getHeader(string name) void write(object content) // JSON objects will be serialized to strings void sendError(number code, string message) void sendRedirect(string url) *A Sample *.jss content* function *doGet*(request, response, session) { response.write(html); response.write(h2 + request.getHeader(User-Agent) + /h2); response.write(h2 + request.getParameter(lang) + /h2); response.write(/html); } function *doPost*(request, response, session) { var obj = { name : ruchira, age : 27, address : { number : 16, city : ahangama } }; //if the request was JSON, then content property will return that JSON object //obj = request.content; session.put(myObj, obj); var o = session.get(myObj); return o; } regards, Ruchira -- Ruchira Wageesha Software Engineer - WSO2 Inc. www.wso2.com Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com Mobile: +94775493444 Lean . Enterprise . Middleware ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http
Re: [Carbon-dev] [Architecture] Status of JavaScript Appdev Project
On Fri, Nov 4, 2011 at 8:31 AM, Ruchira Wageesha ruch...@wso2.com wrote: On the JSS model below, what happens to any code that's in the file outside of any function definitions? Any code or function which are outside of doGet, doPost...etc methods will be executed on global scope and can be accessed within doGet(), doPost()... methods. i.e. The *.jss file is first loaded into Rhino engine, which adds all toplevel variables/functions into the top level scope. Then, relevant doXXX() function will be executed where we can access those toplevel variables/functions. OK so any code outside these functions will get run at the point the code is loaded. Do we give any guarantees about that - for example, how often do we load that code? Under what conditions do we unload etc.? Maybe for starters we should say that there must not be any code outside of these functions and if you put anything there and it does something that your problem/luck and that we do not guarantee how that will hold up in the future. Further, request, response, and session objects are passed as args to the doXXX() function, so won't be available to the outside of the function. Yes. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Hector tests are failing on 3.2.0 branch
Hector is a Java API for talking to a Cassandra cluster using Thrift. On Fri, Oct 21, 2011 at 5:24 PM, Samisa Abeysinghe sam...@wso2.com wrote: What is hector, and who put it in svn? Please make sure that the tests are passing. Results : Tests in error: Tests run: 58, Failures: 0, Errors: 13, Skipped: 1 [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. Please refer to E:\svn\carbon_320\dependencies\hector\0.7.0-23-wso2v1\core\target\surefire-reports for the individual test results. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 219 minutes 6 seconds [INFO] Finished at: Fri Oct 21 16:42:37 IST 2011 [INFO] Final Memory: 740M/1498M [INFO] Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Revamping Message Routing Mediators in ESB
. (Most of the pointed listed here, were discussed during last code-review of Group-D.) [1] http://wso2.org/project/esb/java/4.0.0/docs/mediator_guide.html Thanks, -- Kasun Indrasiri Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Making Shindig apart of Carbon Core UI
On Mon, Sep 19, 2011 at 2:47 PM, Nuwan Bandara nu...@wso2.com wrote: I think the problems are really clear and crystal. The biggest is the devlopment effort. Then I get this question of why does it need to go though a server side component at all for many cases, where the browser can do it completely and cleanly with JS. And with the second point, again comes the ease of development, all that you want is to Google, and there is enough support around on how to write with JQuery. So what does it give me as added advantage to use Shinding here and why is it better? Gadget repo? Gadget communication? Gadget security? I get your point :) but I believe a person who is willing to google a bit and find some nice jquery plugins/mechanisms wont find any difference in writing a gadget. It is no deference in writing a webpage with javascript and writing a gadget. you can simply ignor all the features that a gadget offer and simply write the web page as a gadget. So IMO a gadget is something that gives more than some web content. It is dynamic, portable, and give other benefits as you specified. So I see no defferent in using a different dashboard solution for other products when you can do the same thing with an equal effort. +1 - there's no work difference between writing a gadget and a writing a pure JS UI bit: The gadget code can simply do exactly that. The advantage is that the gadget is reusable (by design), is a standard, can be part of a repo of gadgets to be shared in other places etc. etc.. The main reason we're not seeing those benefits right now is because our gadgets are not cool enough :). Too much flash will do that to you. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Multi tenanting background tasks
Guys do this type of discussion on architecture@ please. On Sat, Sep 24, 2011 at 12:37 PM, Tharindu Mathew thari...@wso2.com wrote: On Sat, Sep 24, 2011 at 12:06 PM, Prabath Abeysekera praba...@wso2.comwrote: Hi Tharindu, On Fri, Sep 23, 2011 at 3:56 PM, Tharindu Mathew thari...@wso2.comwrote: Hi everyone, I believe many products have this requirement. How can we do $subject? I was thinking of storing task related configurations in the tenant's registry. The task engine then executes the task only allowing access to resources that the specific tenant has access to. WDYT? I believe, you're referring to the schedule tasks component (pardon me if it's not). So here, If I'm not mistaken, this suggestion can be split into two main parts namely, 1. Multitenanting tasks (This is already available AFAIK) How is this achieved? Can you explain? 2. Storing tasks related configurations in the registry. Delving into the second point, which is persisting task configurations in the registry, we too have this requirement for DSS and for the moment we accomplish this by handling it in DSS side (which might not be the best suited solution). A better solution would be to handle it in scheduled-tasks component itself. So, +1 for a better way to persist task configurations. IMO, we should refactor the carbon tasks. But that aside, storing task configurations in a multi tenanted manner, is a platform requirement. +1 for this. I will also use the same workaround for now. -- Regards, Tharindu blog: http://mackiemathew.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Regards, -- Prabath Abeysekara Software Engineer WSO2 Inc. Email: praba...@wso2.com harsha...@wso2.com Mobile: +94774171471 http://harshana05.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Regards, Tharindu blog: http://mackiemathew.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Providing the option of having the Carbon-UI in HTTP mode
+1. What is the challenge in achieving this? Basically I don't understand the problem! Also, I remember a discussion a long time ago about how products like GS and BAM were different because they have a user view that must be exposed all the time. The product console is only of interest for admins. Its fine for the admin console to require HTTPS access but totally not fine for the user view to require HTTPS. We used to have an anonymous mode for the user view too IIRC - does does that work?? Sanjiva. On Fri, Sep 23, 2011 at 11:25 AM, Nuwan Bandara nu...@wso2.com wrote: Hi All, $Subject is a critical requirement for the Gadget Server. Still we don't have a proper mechanism of providing the UI in HTTP mode. For any other server product this feature might not be a high priority requirement, but for a presentation product like GS, users are willing to have an HTTP mode as well (option to switch between HTTP and HTTPS). However IMO we should keep our BE to FE communication in HTTPS and like to come up with a mechanisms to provide Client to FE communication via HTTP. GS team would like to work on this feature, with the help of security/carbon-core team, and would like to make this available in our next major relase. Suggestion and comments welcome. -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Making Shindig apart of Carbon Core UI
___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Architecture] Making Shindig apart of Carbon Core UI
/ ___ -- Regards, Tharindu blog: http://mackiemathew.com/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] equinox 3.7 migration effort.
Very cool indeed :)! On Mon, Sep 5, 2011 at 7:33 PM, Sameera Jayasoma same...@wso2.com wrote: Excellent!!! These is one of the features that most of our user have requested. Btw, please provide an update on this task. Thanks, Sameera. On Thu, Sep 1, 2011 at 6:14 PM, Pradeep Fernando prad...@wso2.com wrote: Hi devs, I have completed the $subject. Here is the summary of what I have done. 1. wrote new p2-plugin goals to materialize products. 2. removed the p2-agent requirement of carbon-p2-plugin using tycho director runtimes. 3. removed p2-agent from carbon build system 4. bundled equinox bundles as a feature in carbon-core, so that future equinox migrations only involves updating pom.xml in the feature. this migration will allow us to, 1. make use of new p2-api s. 2. make use of new features such as OSGI remote services 3. make product specific p2-profiles which will enable things like bundle pooling. In the coming days I'm going to commit the changes to carbon-trunk build. apart from carbon-core, features will get changes in their p2.inf file. Products might get affected due to the migration (minimal). Lets sort them out, case by case basis. thanks, --Pradeep ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] HTTP and Proxy Authenticators for Carbon
Senaka please send these types of mails to architecture@ or at least cross-post. Thanks, Sanjiva. On Tue, Sep 6, 2011 at 1:16 AM, Senaka Fernando sen...@wso2.com wrote: FYI, We have added $subject to Carbon, and the corresponding configuration (in carbon.xml) is as follows: Security ... Authenticators !-- configuration for a single authenticator -- Authenticator !-- the pattern that would match a subset of URLs for which this authenticator would be used -- Pattern.*/Pattern !-- the type of this authenticator. Allowed values are: 1. server 2. proxy -- Typeserver/Type !-- the username used to log in to server/proxy -- Usernamename/Username !-- the password used to log in to server/proxy -- Passwordpassword/Password /Authenticator Authenticator !-- the pattern that would match a subset of URLs for which this authenticator would be used -- Pattern.*/Pattern !-- the type of this authenticator. Allowed values are: 1. server 2. proxy -- Typeproxy/Type !-- the username used to log in to server/proxy -- Usernamename/Username !-- the password used to log in to server/proxy -- Passwordpassword/Password /Authenticator /Authenticators /Security This allows you to define multiple authenticators to log into multiple servers/proxies that require authentication. This is also useful for situations where Carbon is running behind a proxy (ex:- installing from P2 repo behind proxy, accessing WSDL file from server that requires authentication, importing documents from sharepoint secured by NTLM authentication into the registry). Thanks, Senaka. -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Make WSO2 LoadBalancer into a proper product
On Sun, Aug 7, 2011 at 8:55 PM, Afkham Azeez az...@wso2.com wrote: On Sun, Aug 7, 2011 at 6:38 PM, Rajika Kumarasiri raj...@wso2.comwrote: Not really. There parsers which convert DSL into Java code. What we need is to write a parser which is capable of LB config rules - Java. :) yeah, theory again :) Yeah it's theory and what people do in practice too - http://camel.apache.org/. Can you please explain how this magically plugs into Carbon and makes all the changes all the configuration etc. with your generated Java code without any changes to Carbon, and how it happens simply by writing a parser? Can you do a quick PoC and show how this is done? Rajika the approach should be not about generating Java code but rather to build a SynapseConfig object and other runtime artifacts such as AxisService objects, Transport definitions etc. out of a new DSL. The first challenge is to DESIGN a good DSL. *That* is the hardest part; implementation (as Azeez notes) may require code changes (I'll bet in the form of some custom mediators) but honestly the hard part is creating the right language. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Make WSO2 LoadBalancer into a proper product
This is more than just about docs .. its also about looking at creating a higher level config language which is natural for LB type users. That can compile (at runtime) into a Synapse config and run with Synapse but the user must be able to live in the LB land. Pradeeban take a look at nginx config as an example. Also puppet. There's a bunch to look at .. Sanjiva. On Sun, Aug 7, 2011 at 12:49 AM, Kathiravelu Pradeeban pradee...@wso2.comwrote: On Sun, Aug 7, 2011 at 12:44 AM, Afkham Azeez az...@wso2.com wrote: Folks, We should start making this into a proper product. What we need is some documentation, and some sample LB configurations, which demonstrate how to setup the LB for different types of scenarios. +1. Any volunteers to take ownership of this product? I will work on these. Thank you. Regards, Pradeeban. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] Setting a custom HTTP header for LBs to broadcast the messages
The only way we can do this using a standard approach is to use a cookie that we set that we look for to indicate stuff. I'm still unclear exactly when we'd want this or how we know when we want this. If we know it then the cookie technique will work. (If cookies are off then lots of stuff won't work anyway.) Sanjiva. On Sat, Jul 30, 2011 at 11:39 AM, Afkham Azeez az...@wso2.com wrote: On Sat, Jul 30, 2011 at 10:28 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Azeez who is spsed to send this header? If its the client then its a bad idea IMO .. non-standard. Yes, that was what I was thinking. But since HTTP does not have such a notion, and internally, this may be needed, I was just thinking of having something to be used internally by us for special messages. Also, any extension headers should be written as X-Broadcast ... minor detail! Sanjiva. On Sun, Jul 17, 2011 at 2:46 PM, Afkham Azeez az...@wso2.com wrote: Folks, It doesn't look like the HTTP spec has such a notion. However, there are some cases where the LB has to send a request to all worker nodes. To indicate that such an HTTP request has to be broadcast, I'm planning on using a custom HTTP header such as Broadcast: true. Is there a better way of doing this? The checking of this header will happen in the LB ServiceDynamicLoadbalanceEndpoint. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Stratos-dev mailing list stratos-...@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Setting a custom HTTP header for LBs to broadcast the messages
Azeez who is spsed to send this header? If its the client then its a bad idea IMO .. non-standard. Also, any extension headers should be written as X-Broadcast ... minor detail! Sanjiva. On Sun, Jul 17, 2011 at 2:46 PM, Afkham Azeez az...@wso2.com wrote: Folks, It doesn't look like the HTTP spec has such a notion. However, there are some cases where the LB has to send a request to all worker nodes. To indicate that such an HTTP request has to be broadcast, I'm planning on using a custom HTTP header such as Broadcast: true. Is there a better way of doing this? The checking of this header will happen in the LB ServiceDynamicLoadbalanceEndpoint. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Code freeze on Monday morning
On Fri, Jul 8, 2011 at 6:50 PM, Hiranya Jayathilaka hira...@wso2.comwrote: Still under development - Cassandra security (DimuthuL) - NIO transport issues (Hiranya) @ Hiranya can we get this done by Monday? I believe you are referring to 'not using the NIO transport'. The only issue I came across with the servlet transport was that the aggregate mediator doesn't work. The mediator is written assuming the non-blocking behavior and it is not a trivial task to rewrite it to work with the blocking transport :( I think we can mention that as a known issue for this release? +1. I actually would prefer if all of clone/iterate/aggregate were disabled for Stratos - their threading behavior is quite dangerous. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] LB sometimes send malformed XML messages to the backends
But it is still solved with your fix (wait a bit) right? Yes binary relay is designed to not store anything :). Sanjiva. On Mon, Jun 27, 2011 at 11:30 AM, Afkham Azeez az...@wso2.com wrote: As per Supun, this is because BinaryRelay consumes the message stream, so there is no way to automatically failover when binary relay is used. On Sun, Jun 26, 2011 at 2:06 AM, Afkham Azeez az...@wso2.com wrote: The root cause of this issue is as follows. As soon as a new worker node joins, and its HTTP/S ports become available, the LB tries to send messages to that node. However, that node need a few more seconds to warm up, hence a few initial requests fail. The failover mechanism kicks in and tries to resends the message to another instance. However, an error occurs when it tries to retrieve the original request envelope, and ends up sending an empty message to the worker node, which shows up as a malformed XML error when the StAX parser tries to parse the message. One measure I have implemented is allowing some warm up time for newly added worker nodes which solved this problem for the moment. However, the failover logic is still broken and needs to be fixed. On Sun, Jun 12, 2011 at 9:21 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: Not very likely dude :) .. its been in HEAVY use in eBay for a long time now. There has to be some other combination of events that triggers this. Sanjiva. On Sun, Jun 12, 2011 at 4:25 PM, Sameera Jayasoma same...@wso2.comwrote: Binary relay impl might be failing to handle messages in high concurrency. Thanks, Sameera On Fri, Jun 10, 2011 at 3:34 PM, Afkham Azeez az...@wso2.com wrote: Folks, Please note $subject. This happens rarely. We are using binary relay in the LB. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] securing of admin services (was: Fwd: [esb-java-user] How to subscribe/unsubscribe to a topic using WS call in WSO2ESB 4.0.0)
and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Esb-java-user mailing list esb-java-u...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user ___ Esb-java-user mailing list esb-java-u...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Stratos service aware dynamic LB
On Sun, Jun 26, 2011 at 11:45 AM, Afkham Azeez az...@wso2.com wrote: It also will be important to see how many worker nodes a single LB can provide sufficient thruput for .. in eBay of course they have a hardware LB at the highest level. I guess in the new model we can simply add more LBs and once we do tenant partitioning we can do what Salesforce does and essentially run multiple Stratos systems for the different partitions. Yes, we can have a hierarchy of LBs with the new model. The average memory footprint is even smaller when we run the LB without failover. The hierarchy model will not scale because then the high level ones have to handle the sum of all messages from the lower level ones. However simply having many and having the client pick one at random will work. Second, once we have tenant partitioning implemented, we can give tenants different names ... this is what salesforce does for example (our server is na9.salesforce.com) and they use that to do updates / downtime etc. at different times. That address of course can resolve to multiple IPs which then load balance those set of tenants. Anyway, we just need lots of users now to test all this stuff out :). Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Stratos service aware dynamic LB
; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] Stratos service aware dynamic LB
* ___ Stratos-dev mailing list stratos-...@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] Stratos service aware dynamic LB
Cool .. that'll eliminate the LB being an SPOF as well. Sanjiva. On Fri, Jun 24, 2011 at 8:46 PM, Afkham Azeez az...@wso2.com wrote: Chamith came up with the excellent idea of having a set of service-aware LBs, and then doing DNS round robin amongst those LBs. On Fri, Jun 24, 2011 at 8:17 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 .. looks good! Sanjiva. On Thu, Jun 23, 2011 at 3:39 PM, Afkham Azeez az...@wso2.com wrote: Oops, I have made a mistake; the http protocol should not be part of this configuration; modified configuration shown below; endpoint serviceAwareDynamicLoadBalanceEndpoint failover=true algorithm=org.apache.synapse.endpoints.algorithms.RoundRobin membershipHandler class=org.apache.synapse.core.axis2.ServiceAwareLoadBalanceMembershipHandler services service domainas.cloud.wso2.com/domain groupwso2as.domain/group /service service domainesb.cloud.wso2.com/domain groupwso2esb.domain/group /service service domaingovernance.cloud.wso2.com /domain groupwso2governance.domain/group /service service domaings.cloud.wso2.com/domain groupwso2gs.domain/group /service /services /membershipHandler /serviceAwareDynamicLoadBalanceEndpoint /endpoint On Thu, Jun 23, 2011 at 3:36 PM, Afkham Azeez az...@wso2.com wrote: This is how the endpoint configuration in the synapse.xml will look like; endpoint serviceAwareDynamicLoadBalanceEndpoint failover=true algorithm=org.apache.synapse.endpoints.algorithms.RoundRobin membershipHandler class=org.apache.synapse.core.axis2.ServiceAwareLoadBalanceMembershipHandler services service urlhttp://as.cloud.wso2.com/url domainwso2as.domain/domain /service service urlhttp://esb.cloud.wso2.com/url domainwso2esb.domain/domain /service service urlhttp://governance.cloud.wso2.com /url domainwso2governance.domain/domain /service service urlhttp://gs.cloud.wso2.com/url domainwso2gs.domain/domain /service /services /membershipHandler /serviceAwareDynamicLoadBalanceEndpoint /endpoint On Thu, Jun 23, 2011 at 2:20 PM, Afkham Azeez az...@wso2.com wrote: Folks, I'm thinking of getting $subject implemented since otherwise we will have to have a large number of LBs for our services. The plan is to write a new ServiceAwareDynamicLoadBalanceEndpoint, which will do LB based on the service. Axis2 already has support for handling multiple cluster domains, so we will have to write a new Axis2LoadBalanceMembershipHandler which is service aware. The autoscaling would also need to be modified, but autoscaling is actually a separate aspect, and we can even run the autoscaler separately if we are going for the CPU load average based one. Thoughts please. Thanks Azeez -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http
Re: [Carbon-dev] Usability Improvements - Forms
+1 .. more consistency the better for everyone! Sanjiva. On Wed, Jun 22, 2011 at 10:39 AM, Chanaka Jayasena chan...@wso2.com wrote: Hi all, We are planning to improve the forms generally considering usability aspects in all products. 1 . Look and feeling of the forms. We have differences in the layout and look and feeling of forms in different UI components. Since this is taking away overall consistency in our user interfaces, we need to define standards and stick to those in all our UI components. 2. Validation I think we can improve client side validation by following some of the best practices listed on the following article. http://www.smashingmagazine.com/2009/07/07/web-form-validation-best-practices-and-tutorials/ In-fact we have a validation framework built in to our UI core, which implement some of these concepts. But it's only used for the proxy service UI component. Plan is to extend this to all the other components as well. 3. Autocomplete We are using autocomplete feature in registry search UI component. I think it will be good if we can reuse this on other components as well, when ever suitable. 4. Inline help and tips. Place a helpful icon right next to each field which are not self explaining. 5. Default text for text boxes. I prepared several screen shots with Amal using two different UI components to present these ideas. But we are not clear about when to start these improvements. thanks, Chanaka ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Access Logs to be available with WSO2 Load Balancer / WSO2 ESB [Carbon - 3.2.1]
Excellent .. now this means we can use the ton of available http log stats tools against these files. Sanjiva. On Wed, Jun 22, 2011 at 5:22 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote: Hi, We have implemented httpd style logs (that is identical to the access logs by Tomcat Access Log Valve and httpd) for synapse, as we have discussed a few months ago over this list. This eliminates httpd sitting in front of WSO2 Load Balancer - STRATOS-828https://wso2.org/jira/browse/STRATOS-828. Tomcat's AccessLogValve code segments were used with thanks, in this implementation. As discussed with Azeez offline, I will branch wso2's synapse branch (2.1.0-wso2v3) and commit the changes along with the changes to the relevant 3.2.1 components/products to use. I will also create an rfe and attach the patch to the Synapse Jira. To enable access logging, you will have to uncomment (or place) log4j.logger.org.apache.synapse.transport.nhttp.access=DEBUG from the log4j.properties of Load Balancer or ESB product. I have done considerable testing for performance and compatibility, and will keep improving too, if Chamith comes up with further requirements for his log analyzer tools. 10.100.0.15:9443 - - [22/Jun/2011:16:57:14 +0530] GET /carbon/statistics/index.jsp?region=region4item=statistics_menu HTTP/1.1 302 - https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4item=flows_menu; Synapse-HttpComponents-NIO 10.100.0.15:8243 - - [22/Jun/2011:16:57:14 +0530] GET /carbon/statistics/index.jsp?region=region4item=statistics_menu HTTP/1.1 302 - https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4item=flows_menu; Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 10.100.0.15:9443 - - [22/Jun/2011:16:57:14 +0530] GET /carbon/admin/login.jsp HTTP/1.1 200 - https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4item=flows_menu; Synapse-HttpComponents-NIO 10.100.0.15:8243 - - [22/Jun/2011:16:57:14 +0530] GET /carbon/admin/login.jsp HTTP/1.1 200 - https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4item=flows_menu; Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] POST /carbon/admin/login_action.jsp HTTP/1.1 302 - https://10.100.0.15:8243/carbon/admin/login.jsp; Synapse-HttpComponents-NIO 10.100.0.15:8243 - - [22/Jun/2011:16:57:28 +0530] POST /carbon/admin/login_action.jsp HTTP/1.1 302 - https://10.100.0.15:8243/carbon/admin/login.jsp; Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] GET /carbon/statistics/index.jsp?region=region4item=statistics_menuloginStatus=true HTTP/1.1 200 - https://10.100.0.15:8243/carbon/admin/login.jsp; Synapse-HttpComponents-NIO 10.100.0.15:8243 - - [22/Jun/2011:16:57:29 +0530] GET /carbon/statistics/index.jsp?region=region4item=statistics_menuloginStatus=true HTTP/1.1 200 - https://10.100.0.15:8243/carbon/admin/login.jsp; Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] GET /carbon/admin/jsp/registry_styles_ajaxprocessor.jsp HTTP/1.1 200 - https://10.100.0.15:8243/carbon/statistics/index.jsp?region=region4item=statistics_menuloginStatus=true; Synapse-HttpComponents-NIO 10.100.0.15:8243 - - [22/Jun/2011:16:57:29 +0530] GET /carbon/admin/jsp/registry_styles_ajaxprocessor.jsp HTTP/1.1 200 - https://10.100.0.15:8243/carbon/statistics/index.jsp?region=region4item=statistics_menuloginStatus=true; Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17 Thank you. Regards, Pradeeban. -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Introducing a new light weight event component for 3.2.1/ trunk
Folks I'm confused. WHY are we writing a new eventing impl?? If we did that because we have an old / broken model in BAM servers for how they subscribe to servers to monitor then that should not be propagated widely as a common service to all. If we need this as a stop-gap for BAM then lets keep it inside BAM. If we have one in-memory broker already then that's enough. We don't need two. Sanjiva. On Tue, Jun 21, 2011 at 8:46 AM, Amila Suriarachchi am...@wso2.com wrote: On 6/19/11, Tharindu Mathew thari...@wso2.com wrote: I have made some improvements for the service stats publisher for 3.2.1 and one of these is creating a light weight eventing impl that does not use qpid. I was in the impression that BAM publishers going to remove event component and directly publish messages to BAM message receivers. Anyway we will add an immemory one so that you can use it. thanks, Amila. Since, it is decided to also fix the mediation stats publisher for 3.2.1, it is required to make this impl into a component. I will be creating a new component called lightweightevent,( or lwevent) and reusing this for all necessary components. This will go into trunk as well. Please shout if there are any concerns. -- Regards, Tharindu ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Ability to map a custom context to Stratos applications.
Hi Shameera, I assume you are talking about foo.stratosapps.com map to appserver.stratoslive.wso2.com/t/tenant.com/app13 right? We also need to allow users to define their own name and not just have it at foo. stratosapps.com. Can you expand more on how this works and what exactly you are storing where? The most scalable place to store the data persistently is in Cassandra. For the runtime representation its better to use the distributed cache so that all nodes have the data handy when you need it on any node. Thanks, Sanjiva. On Fri, Jun 17, 2011 at 10:34 AM, Shameera Rathnayaka shame...@wso2.comwrote: Im implementing a feature to map a custom context to Stratos applications, which is when a user hosts a service in private cloud, we provide a better user-friendly url to that service, based on the username and the service name, without exposing the actual long url. At anytime user should be able to call that service using that user-friendly url. So far i have written a carbontomcatvalve to forward http servlet request and response to the real service mapping user-friendly url with actual url(which is known as service EndPoint) stored in a static HashTable, I'm implementing this feature for WSAS and then it will be extended to all other Stratos applications. Now i want to store the real endpoints with the user-friendly url which is needed to be mapped with the context in future and i want some help for this. Where is the best place to do that ? Currently im going through service-mgt component source code *Best Regards ~Shameera~* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Main Contributors to Increased Distribution Size of Carbon 3.2.0 products {was: Re: DS pack is HUGE [was Carbon 3.2.0 RC9 for Testing}
sume...@wso2.com wrote: On Fri, Jun 10, 2011 at 4:16 AM, Prabath Siriwardena prab...@wso2.com wrote: Location : http://10.100.1.43/~carbon/releases/carbon/3.2.0/rc9/ P2 Repo : http://10.100.1.43/~carbon/releases/carbon/3.2.0/rc9/p2-repo/ Public Location : http://builder.wso2.org/~carbon/releases/carbon/3.2.0/rc9/[Please give some time to complete copying] It seems copying to public location is still underway. /sumedha Revision : 107602 -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] LB sometimes send malformed XML messages to the backends
Not very likely dude :) .. its been in HEAVY use in eBay for a long time now. There has to be some other combination of events that triggers this. Sanjiva. On Sun, Jun 12, 2011 at 4:25 PM, Sameera Jayasoma same...@wso2.com wrote: Binary relay impl might be failing to handle messages in high concurrency. Thanks, Sameera On Fri, Jun 10, 2011 at 3:34 PM, Afkham Azeez az...@wso2.com wrote: Folks, Please note $subject. This happens rarely. We are using binary relay in the LB. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon Studio 1.0.11 plan
___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Qpid errors on ESB RC4
On Fri, Jun 3, 2011 at 10:51 AM, Amila Suriarachchi am...@wso2.com wrote: On Fri, Jun 3, 2011 at 10:36 AM, Prabath Siriwardena prab...@wso2.comwrote: In this case I had both IS and ESB running with default ports - In one machine how that is possible? I guess the problem is your ESB qpid has not started due to bind exception and at runtime it has connected to IS qpid server which uses a different access key. This is a serious usability issue. We need to re-think the approach of using a JMS broker for any type of event distribution :-(. In the meantime, can you write a KB item for OT on How to run multiple Carbon 3.2.0 based products on a single machine please? Maybe there are other issues to sort out too but lets start documenting it so people won't get hit by an obscure error. BTW should the startup fail if this port can't be acquired?? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Removing event feature from most products
On Sun, Jun 5, 2011 at 5:11 PM, Tharindu Mathew thari...@wso2.com wrote: That can be achieved by using a simple non-blocking Axis2 sender type thing - which I believe is what Hiranya wrote a while ago. The BAM server needs to be set up in a clustered manner with an LB etc. to handle the large number of messages it will receive when Stratos is running at full tilt (and have additional load balancing things like DNS round-robin). We can make that work easily. +1, for this model. The publisher that is used in Stratos is already done in a non blocking way. I feel it's better to go for the jdbc model. Tharindu what is the JDBC model?? We don't need persistence for these messages, so where does JDBC come into the picture? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Removing event feature from most products
different jms based delivary managers if there are differences with those brokers. thanks, Amila. Thanks, Senaka. We will lose some functionality of subscribing for topics and so forth, but with some testing we should be able to avoid leaks OOM errors. The lightweight code was a tremendous improvement for high load scenarios. But for very high loads even this was failing. We had some improvements suggested and integrated(?), based on high and low watermarks plus a persistent queue as well. IIRC, these improvements were never properly load tested and verified. Also, are we doing this for this release? This would involve quite a bit of work, IMO. -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Regards, Tharindu ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Can't send/receive JMS Object Messages to/from Qpid broker from Carbon Environment.
not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] please fix spelling mistake: Sunccessfully
http://www.google.com/search?sourceid=chromeie=UTF-8q=Sunccessfully#hl=enbiw=1440bih=758sa=Xei=3c_GTezIHserrAf50MmzBAved=0CBQQvgUoAAq=Sunccessfully+%2Bsite%3Awso2.orgnfpr=1bav=on.2,or.r_gc.r_pw.fp=263951646445c969 -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Remove multi-instance feature
Should we not be using it in Stratos? I've been thinking of trying that as an alternative to using VMs basically .. take a big machine and run a bunch of elastically scaling processes rather than VMs. If its broken of course then that needs to be fixed before such an experiment can be tried. At least it would be a useful research experiment to compare VMs vs. not. In our world we control all the VMs so the security disadvantages of processes is essentially gone IMO. Sanjiva. On Sun, May 8, 2011 at 11:33 AM, Afkham Azeez az...@wso2.com wrote: This is a feature that never gets tested, nobody seems to know how to use it, and it is badly broken. Nobody seems to be using it in the real world anyway. Shall we remove it? We can get rid of the confusing ports-config.xml file as well. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] jettison upgrade broke the orbit build
Folks if you make a change like this do a clean build. With nexus now that's a pretty fast thing to do. Sanjiva. On Wed, Apr 20, 2011 at 9:05 PM, Miyuru Wanninayaka miy...@wso2.com wrote: My bad, missed updating carbon orbit parent pom version when copying from graduated location. Fixed in r92113 On Wed, Apr 20, 2011 at 8:43 PM, Samisa Abeysinghe sam...@wso2.comwrote: Yes, with a fresh repo it does not build On Wed, Apr 20, 2011 at 8:39 PM, Miyuru Wanninayaka miy...@wso2.comwrote: Hi Samisa, Did you got any build error. I just completed an orbit build successfully. On Wed, Apr 20, 2011 at 8:24 PM, Samisa Abeysinghe sam...@wso2.comwrote: r91979 | miyuru | 2011-04-19 11:06:28 + (Tue, 19 Apr 2011) | 1 line un-graduated jettison orbit bundle and upgraded version to 1.1 Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Miyuru ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Miyuru ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Which product/services should distribute the CSG components by default?
IMO we should ship the CSG agent component in all service hosting products: ESB (for proxy services), AS, MS, BPS, DS, BRS. In the Stratos deployment, are we going to put CSG in the ESB instance? I thought it would be a separate Stratos service. I prefer that at least for the early stages until this becomes rock solid. Sanjiva. On Mon, Apr 18, 2011 at 8:32 AM, Rajika Kumarasiri raj...@wso2.com wrote: I need some input to decide which products/services should distribute the CSG components by default. CSG itself has two components. 1. CSG - This component will be inside ESB and responsible for deploying the proxy for back end service. 2. CSG agent. - This component is responsible for publishing a service to CSG and it can be used with any product where we have service-mgt component installed ( AS, BRS, DS etc.. etc..). Right now two p2 features are available if anyone is interested in the CSG functionality. It seem we only need to ship the CSG component with the ESB service by default and others interested parties can install the features. WDYT ? Rajika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why do we use exec in wso2server.sh?
Its good to use exec so that the parent shell process doesn't hang around. That's common practice for shell scripts which set up a bunch of stuff and run something else right at the end. But that should not be a problem as the process exit status should be that of the exec'ed command IIRC (new command is run in the same process). Here's a small test: $ cat /tmp/foo.sh #!/bin/sh exit 79 $ sh -c exec /tmp/foo.sh $ echo $? 79 Sanjiva. On Sat, Apr 16, 2011 at 4:13 AM, Afkham Azeez az...@wso2.com wrote: Instead of simply doing; java ... we do exec java Why have we used exec here? I'm trying to solve the restart issue using exit codes, and when exec is used, the process exit code cannot be captured. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why do we use exec in wso2server.sh?
No saying sh -c .. means you're creating a new shell and then exec'ng in there. In that case you might as well just say java .. (without the exec at all). Doesn't having exec java at the end give the return code of the java command to the calling shell? That's what's spsed to happen. Sanjiva. On Sat, Apr 16, 2011 at 9:53 AM, Afkham Azeez az...@wso2.com wrote: Thanks! sh -c exec java ... worked! Earlier the script only had exec java ... On Sat, Apr 16, 2011 at 7:15 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Its good to use exec so that the parent shell process doesn't hang around. That's common practice for shell scripts which set up a bunch of stuff and run something else right at the end. But that should not be a problem as the process exit status should be that of the exec'ed command IIRC (new command is run in the same process). Here's a small test: $ cat /tmp/foo.sh #!/bin/sh exit 79 $ sh -c exec /tmp/foo.sh $ echo $? 79 Sanjiva. On Sat, Apr 16, 2011 at 4:13 AM, Afkham Azeez az...@wso2.com wrote: Instead of simply doing; java ... we do exec java Why have we used exec here? I'm trying to solve the restart issue using exit codes, and when exec is used, the process exit code cannot be captured. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why do we use exec in wso2server.sh?
Ah ok now I understood what you want to do .. yep sounds good. Only change you could do is instead of saying sh -c 'exec java ...' you could simply say java Essentially you're creating a shell and immediately running one command so might as well run that command directly. Sanjiva. On Sat, Apr 16, 2011 at 10:53 AM, Afkham Azeez az...@wso2.com wrote: This is what I'm doing in the wso2server.sh. When I restart, I issue a System.exit(121) command. So the shel will spawn a new Java process once the current one exits. This can be done on Windows too with the ERRORLEVEL variable. So, we are relying on the original process which spawned the java process to spawn a new instance, instead of the dying java process spawning a new java process just before it dies. That solution is not working on certain Windows environments. The exit code based approach is guaranteed to work since we are handing back the control to the original shell that spawned the java process. Here is the relevant code segment in wso2server.sh START_EXIT_STATUS=121; status=$START_EXIT_STATUS; while [ $status = $START_EXIT_STATUS ] do sh -c exec $JAVACMD \ -Xbootclasspath/a:$CARBON_XBOOTCLASSPATH \ -Xms256m -Xmx512m -XX:MaxPermSize=128m \ $JAVA_OPTS \ -Dimpl.prefix=Carbon \ -Dcom.sun.management.jmxremote \ -classpath $CARBON_CLASSPATH \ -Djava.endorsed.dirs=$CARBON_HOME/lib/endorsed:$JAVA_HOME/jre/lib/endorsed:$JAVA_HOME/lib/endorsed \ -Djava.io.tmpdir=$CARBON_HOME/tmp \ -Dwso2.server.standalone=true \ -Dcarbon.registry.root=/ \ -Dcarbon.xbootclasspath=$CARBON_XBOOTCLASSPATH \ -Djava.command=$JAVACMD \ -Dcarbon.home=$CARBON_HOME \ -Dwso2.transports.xml=$CARBON_HOME/repository/conf/mgt-transports.xml \ -Djava.util.logging.config.file=$CARBON_HOME/lib/log4j.properties \ -Dcarbon.config.dir.path=$CARBON_HOME/repository/conf \ -Dcomponents.repo=$CARBON_HOME/repository/components/plugins \ -Dcom.atomikos.icatch.file=$CARBON_HOME/lib/transactions.properties \ -Dcom.atomikos.icatch.hide_init_file_path=true \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? done On Sat, Apr 16, 2011 at 10:41 AM, Afkham Azeez az...@wso2.com wrote: If you do; $ exec ./foo.sh You will simply see the following line; [Process completed] and the control does not return to the current shell. On Sat, Apr 16, 2011 at 10:21 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: No saying sh -c .. means you're creating a new shell and then exec'ng in there. In that case you might as well just say java .. (without the exec at all). Doesn't having exec java at the end give the return code of the java command to the calling shell? That's what's spsed to happen. Sanjiva. On Sat, Apr 16, 2011 at 9:53 AM, Afkham Azeez az...@wso2.com wrote: Thanks! sh -c exec java ... worked! Earlier the script only had exec java ... On Sat, Apr 16, 2011 at 7:15 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Its good to use exec so that the parent shell process doesn't hang around. That's common practice for shell scripts which set up a bunch of stuff and run something else right at the end. But that should not be a problem as the process exit status should be that of the exec'ed command IIRC (new command is run in the same process). Here's a small test: $ cat /tmp/foo.sh #!/bin/sh exit 79 $ sh -c exec /tmp/foo.sh $ echo $? 79 Sanjiva. On Sat, Apr 16, 2011 at 4:13 AM, Afkham Azeez az...@wso2.com wrote: Instead of simply doing; java ... we do exec java Why have we used exec here? I'm trying to solve the restart issue using exit codes, and when exec is used, the process exit code cannot be captured. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880| +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http
Re: [Carbon-dev] [Stratos-dev] Internationalization and Localization of WSO2 Products
). That way, you could add those files to ehe source code and have spanish for chile along with the english, chinese, Sinhala versions. What is the way that is implemented in Carbon products? Here we are reading the properties files, and getting the relevant strings for the keys. The change that you propose is doable. I have created a jira (CARBON-9183) to track this. Thanks for your effort in localizing WSO2 Carbon, and thanks a lot for your suggestion. I will have a look more. Thank you. Regards, Pradeeban. Guillaume Devianne On Fri, Mar 25, 2011 at 12:56 AM, Kathiravelu Pradeeban pradee...@wso2.com wrote: Hi, I have been experimenting with WSO2 Stratos Manager for a howto on localizing wso2 carbon based products. For that, I had to localize the Resources.properties and JSResources.properties files in locations like when coming to localize the source, even before building. But obviously what users choose is to localize the product binaries. So I had to localize the .properties files in ui bundle jars in repository/components/plugins. For example, attached is the Resouces.properties in org.wso2.stratos.tenant.mgt.ui-1.0.0.jar (/org.wso2.stratos.tenant.mgt.ui-1.0.0/org/wso2/stratos/tenant/mgt/ui/i18n) localized to Spanish (Pls tolerate my poor Spanish knowledge. This is just experimental). After localizing the relevant .properties files (basically changing the value string from English to Spanish, in the key=string pair in the relevant files), I restarted Stratos Manager. The localized interface was shown in Spanish. But there were some issues in displaying the Unicode characters. They weren't displayed properly (Pls find the attached image) . Pls note, we were able to experimentally localize WSO2 Appserver (and some other products too may be) to unicode only languages before successfully. So either I must be missing something or some issue from the internationalization of the interface of Stratos Manager (Unicode rendering issues from the UI). Senaka mentioned he had to fix a few ui issues to make the WSO2 GReg to globalize properly. Senaka, could you pls provide us the steps to fix this, so that we can learn that from you. Thank you. Regards, Pradeeban. -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ ___ Stratos-dev mailing list stratos-...@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Senaka Fernando Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Notes from MB status meeting
+1! On Wed, Mar 30, 2011 at 6:49 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Wed, Mar 30, 2011 at 1:48 PM, Rajika Kumarasiri raj...@wso2.comwrote: On Tue, Mar 29, 2011 at 4:57 PM, Rajika Kumarasiri raj...@wso2.comwrote: On Tue, Mar 22, 2011 at 5:33 PM, Rajika Kumarasiri raj...@wso2.comwrote: 9) TLS: this is needed by CSG. For MB its obviously important, but if we can't fix it by 1.0 then we will go ahead anyway and fix in a 1.01 or 1.1 shortly after. Action: Rajika to look at it. I fixed some UI issues in CSG in last couple of days.I'll look into this now. I have fixed this now. FYI. Qpid uses the excellent TCP/IP framework based on NIO Apache Mina[0] underling for all TCP/IP operations. When comes to SSL, Qpid has registered an invalid order of the SSL processor which causes this problem. By fixing the order of the SSL filter the issue was fixed. You can find more information here[1]. Good detective work. I hope it is working now! Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] why do we do mvn install instead of mvn package
Let me rephrase that .. can we not have a target that installs the dependencies into the local repo but not the final products? Sanjiva. On Sun, Mar 27, 2011 at 9:03 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: The install command triggers the deployment into the local repo- is that a necessary step? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Deployment for some wild applications in AppServer
Xue-Feng, it should work by unzipping into the app server directory but if you are asking whether the app server console can support such apps that's difficult. Not impossible (we'd have to keep track of a lot of stuff) but difficult. Also given that such apps can modify/replace server.xml even really the idea of a shared app server deploying such apps makes little sense. For example, if it has 85 wars then there's a good chance there will be name conflicts. It seems to me that Sakai should effectively ship with its own app server as that's what the deployment requires. If their answer is we can run on any app server then effectively they're asking for a specific instance of the server for themselves .. and that is of course supported by AS as well. Sanjiva. On Sat, Mar 26, 2011 at 3:50 PM, Afkham Azeez az...@wso2.com wrote: Deploying any webapp on the AppServer shouldn't been an issue. There is a possibility that data sources defined in the web.xml do not work; which is something we are looking at. On a side note, why does this single application consist of 85 wars? Isn't there a design issue there? On Wed, Mar 23, 2011 at 7:12 PM, Xue-Feng Yang just4l...@yahoo.comwrote: Forgot to mention that in directory webapp there are 85 wars. Thanks, Xue-Feng -- *From:* Xue-Feng Yang just4l...@yahoo.com *To:* carbon-dev@wso2.org *Sent:* Wed, March 23, 2011 9:35:00 AM *Subject:* [Carbon-dev] Deployment for some wild applications in AppServer Hi, I know all of you are busy recently and no time to response my early questions. However, I have more questions now and would like to leave here as is. In some cases, the applications are more complicated than the demos in WSO2 AppServer. I don't know if there are easy ways to deploy them. Here is such an example. Sakai is a LMS and 2011 GSOC. In the attached figure, you can see the directory structure of the application, which supposes to unzip in $CATALINA_HOME. In components directory, there are 60 components so that I couldn't show them in one figure. There are also some other files such as sakai.properties, which have to be manually copied to a directory. Is there any approach rule I can follow for such applications? Or simply I can't deploy it to WSO2 AppServer w/o Tomcat. Another question is: is there a future plan for setting application parameters, such as startup Java parameters, in management console? Thanks, Xue-Feng ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Complex Event Processing Server 1.0.0 - Beta- RC1
What is a Beta - RC1?? Its either a beta (meaning feature complete and no known L1s) or an RC1 (meaning ready to ship if this build holds up). Which is it?? It can't be both! Sanjiva. On Wed, Mar 23, 2011 at 7:38 PM, Shammi Jayasinghe sha...@wso2.com wrote: Hi , Please find the RC 1 of WSO2 Complex Event Processing Server 1.0.0- Beta in the location[1]. [1]. http://people.wso2.com/~shammi/ Thanks Shammi -- Best Regards,* Shammi Jayasinghe* Senior Software Engineer; WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why are LoginStatisticsAdmin FileDownloadService exposed via HTTP
Azeez lets take both of these services off. Looks like neither is being used?? +1 for the new test! Sanjiva. On Tue, Mar 22, 2011 at 11:55 AM, Afkham Azeez az...@wso2.com wrote: Now I have added a security test that will fail if any admin service has been exposed via non-HTTPS transports. On Tue, Mar 22, 2011 at 11:49 AM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, On Tue, Mar 22, 2011 at 10:34 AM, Afkham Azeez az...@wso2.com wrote: Hmm no answer!!! DimuthuL, you have added LoginStatisticsAdmin on 6/2/2009 928AM with this log: Exposing a login stat service. This is a hack, as discussed by the team. I tried my best to limit the adverse effects done by this bad hack. HTTP has been explicitly enabled for this service. What is this service? What is the risk of having this service, what are these adverse effects you are talking about and why did you explicitly expose it via HTTP? IIRC, I added this for BAM people. It is a read-only service. It doesn't let anyone write/modify server data. However it exposes login stats. I should have kept a close eye on it and removed HTTP before release. What should be the next steps? Thanks, Dimuthu FileDownloadService has been added on 12/18/08 1115PM by Keith with this log: Adding a fileDownload Service so that we have a mechanism of accessing files via fileDownload when running in a seperate FE BE env HTTP has been explicitly enabled for this service as well. On Mon, Mar 21, 2011 at 12:12 PM, Afkham Azeez az...@wso2.com wrote: Is there a particular reason why these services are exposed via HTTP HTTPS? All other admin services are exposed only via HTTPS. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Notes From Data Services UI Review - Round 2
mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Status of TryIt
Sounds excellent :) .. thanks Ruchira! Sanjiva. On Mon, Mar 21, 2011 at 1:00 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi, New Tryit code was added to the trunk. This version supports recursive schema imports/includes and jaxws services. Supports for the recursive WSDL imports will be added later which is supported up to one level at the moment. You need to update/build org.wso2.carbon.ui core wsdl2form(component) tryit(component) tryit(feature) product JavaScript stubs generated by ?stub and Stub generator tool was also modified a lot to comply with complex inputs and services with any valid NCName character in service/operation names. Further, now you can directly pass either a string payload or a Badgerfish JSON payload into the JS stub. You can also get the sample payload of Badgerfish JSON for a particular operation by simply calling a relavant method in the JS stub. BTW, we need to test it properly with the help of QA team and UI team to verify the functionalities and cross-browser compatibilities. Thanks, Ruchira ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build
/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com http://wso2.org Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Twitter: http://twitter.com/harshana05 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build
BTW its not clear to me why we are executing both create-h2-database and create-derby-db. On Sun, Mar 20, 2011 at 2:15 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: Is the trunk supposed to build correctly with a clean m2 and online build with tests? It doesn't for me: [INFO] [antrun:run {execution: create-h2-database}] [INFO] Executing tasks [echo] ### Create H2 Database ## [sql] Executing file: /Users/sanjiva/Projects/carbon/dependencies/ode/dao-jpa-ojpa-derby/target/h2.sql [sql] 55 of 55 SQL statements executed successfully [echo] # END [INFO] Executed tasks [INFO] [sql:execute {execution: create-derby-db}] [INFO] [ERROR] FATAL ERROR [INFO] Exception in thread main And it seems to be stuck here. Sanjiva. On Sun, Mar 20, 2011 at 9:22 AM, Harshana Martin harsh...@wso2.comwrote: On Sun, Mar 20, 2011 at 8:37 AM, Denis Weerasiri de...@wso2.com wrote: On Sun, Mar 20, 2011 at 8:19 AM, Hasini Gunasinghe has...@wso2.comwrote: On Sun, Mar 20, 2011 at 8:04 AM, Denis Weerasiri de...@wso2.comwrote: On Sun, Mar 20, 2011 at 7:57 AM, Afkham Azeez az...@wso2.com wrote: On Sun, Mar 20, 2011 at 7:39 AM, Samisa Abeysinghe sam...@wso2.comwrote: In general, the build is still very unstable :( We are yet to see the continuous build running on the builder succeed. That is a bad sign. Because, if the build is right, then the continuous build got to pass. Somehow, I managed to build everything with a clean repo. Now the only issue seems to be some products being dependent on test jars. Everything else seems to be under control. Hi Denis, +1, But IS is still has a issue with incremental building. So it need to clean the project, before mvn install. Does this happen even after the fix we did yesterday as discussed in a previous thread on build failure? According to the mails from builder and our previous discussion, the build that was triggered before the fix has been failed, but the last build has passed the IS build. Did the IS build pass in last build, just because clean was run before mvn install? Shall we modify the p2-profile-gen poms to run an Ant Task there to clean targets? Thanks and Regards, Harshana Yp. Thanks, Hasini. On Fri, Mar 18, 2011 at 4:21 PM, Indika Kumara ind...@wso2.comwrote: Sorry... Delayed the changes until someone verify ..Fixed ... ~ Indika On Fri, Mar 18, 2011 at 4:13 PM, Samisa Abeysinghe sam...@wso2.com wrote: Now it is in Casendra I still have trouble with this :( [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program ant (in directory D:\svn\carbon\dependencies\cass andra): CreateProcess error=2, The system cannot find the file specified [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 22 minutes 50 seconds [INFO] Finished at: Fri Mar 18 10:03:02 IST 2011 [INFO] Final Memory: 615M/867M [INFO] D:\svn\carbon\dependenciesecho %ANT_HOME% E:\apache-ant-1.8.1 On Fri, Mar 18, 2011 at 12:31 AM, Danushka Menikkumbura danus...@wso2.com wrote: This is now fixed using a java task. Tested on Linux and Windows. You need to have the env variable ANT_HOME set in order to get this to work. Thanks, Danushka On Thu, Mar 17, 2011 at 1:20 PM, Danushka Menikkumbura danus...@wso2.com wrote: The fix suggested by Shankar did not work for Qpid due to some environment variable issue. That is why it uses exec task. Please use ant.bat in place of ant until I find a fix. Thanks, Danushka On Thu, Mar 17, 2011 at 1:08 PM, Samisa Abeysinghe sam...@wso2.com wrote: On Thu, Mar 17, 2011 at 11:22 AM, Indika Kumara ind...@wso2.com wrote: Shankar, thanks you very much . It worked perfectly. if some one in Linux can verify the build, we can commit it. Can someone fix this please. I am stuck at qpid even with tests skipped on Windows. :( Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Thanks, Samisa... Samisa Abeysinghe VP Engineering
[Carbon-dev] dependencies/cassandra not building
Is this POM using ant properly? Yes I have ant on my machine (MacOSX). (I tried to build this dir manually because the entire build failed here.) $ mvn install -Dmaven.test.skip=true [INFO] Scanning for projects... [INFO] [INFO] Building Apache Cassandra [INFO]task-segment: [install] [INFO] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Verifying parent modules... [INFO] Verifying resources... [INFO] Resources directory does not exist : /Users/sanjiva/Projects/carbon/dependencies/cassandra/src/main/resources [INFO] Verifying sources... [INFO] No sources to check ... [INFO] [antrun:run {execution: compile}] [INFO] Executing tasks main: [java] Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher [java] Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [java] Java Result: 1 [java] Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher [java] Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [java] Java Result: 1 [INFO] Executed tasks [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [install:install {execution: default-install}] [INFO] Installing /Users/sanjiva/Projects/carbon/dependencies/cassandra/pom.xml to /Users/sanjiva/.m2/repository/org/apache/cassandra/apache-cassandra/0.7.0-wso2v1/apache-cassandra-0.7.0-wso2v1.pom [INFO] [install:install-file {execution: install-cassandra jar}] [INFO] Installing /Users/sanjiva/Projects/carbon/dependencies/cassandra/build/apache-cassandra-0.7.0.jar to /Users/sanjiva/.m2/repository/org/apache/cassandra/apache-cassandra/0.7.0-wso2v1/apache-cassandra-0.7.0-wso2v1.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error installing artifact 'org.apache.cassandra:apache-cassandra:jar': Error installing artifact: File /Users/sanjiva/Projects/carbon/dependencies/cassandra/build/apache-cassandra-0.7.0.jar does not exist [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Sun Mar 20 15:21:30 IST 2011 [INFO] Final Memory: 18M/81M [INFO] -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Nexus integration to trunk
Can we get this done? If there's some scripts that need to be written I can help. Chamith says the internal Nexus repo is ready to go .. so switching should have a dramatic impact on build times inside the WSO2 network. Sanjiva. On Fri, Mar 18, 2011 at 10:56 AM, Pradeep Fernando prad...@wso2.com wrote: hi On Fri, Mar 18, 2011 at 9:57 AM, Afkham Azeez az...@wso2.com wrote: Can this be committed to the trunk without causing build errors? Pradeep, if everything seems fine, please commit these changes. right now, i cant tell weather this fix is valid for upto product level. since the dependencies that are built using nexus repo, gave some other issues when they were used in the component level, during the 3.1.0 fix. the plain is to build the thing up to products with the current fixes and commit. thanks, --pradeep ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] MB compilation error! NOT ACCEPTABLE!
Amila did you add a new Axis2 constant?? What is it for? Sanjiva. On Fri, Mar 18, 2011 at 2:31 PM, Amila Suriarachchi am...@wso2.com wrote: Did you get an axis2 update? thanks, Amila. On Fri, Mar 18, 2011 at 2:24 PM, Afkham Azeez az...@wso2.com wrote: [INFO] Executed tasks [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 57 source files to /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/dispatcher/SQSRestBasedHandler.java:[30,75] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/dispatcher/SQSActionBasedDispatcher.java:[36,75] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/module/AuthenticationHandler.java:[46,79] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants [INFO] 3 errors [INFO] - [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/dispatcher/SQSRestBasedHandler.java:[30,75] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/dispatcher/SQSActionBasedDispatcher.java:[36,75] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants /Users/azeez/projects/wso2/org/trunk/carbon/components/messagebox/org.wso2.carbon.messagebox.sqs/src/main/java/org/wso2/carbon/messagebox/sqs/internal/module/AuthenticationHandler.java:[46,79] cannot find symbol symbol : variable REQUEST_PARAMETER_MAP location: class org.apache.axis2.Constants [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 65 minutes 20 seconds [INFO] Finished at: Fri Mar 18 12:03:55 IST 2011 [INFO] Final Memory: 1226M/2615M [INFO] -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Having original service type in when published a service using CSG
Aso changing serviceType is wrong .. what if the CSG component is on DS? Then DS services will no longer be recognized as DS services! How will I edit the service after publishing it via CSG?? Sanjiva. On Fri, Mar 18, 2011 at 3:31 PM, Afkham Azeez az...@wso2.com wrote: The UI is distorted. Who adds this param? Anyway, I personally feel that adding a param named hasUIExtensions is ugly from a services PoV. This is purely a Carbon Mgt Console thing, and adding a hasUIExtension param, and then setting serviceType = hasUIExtension is pretty hacky and ugly. On Fri, Mar 18, 2011 at 12:48 PM, Rajika Kumarasiri raj...@wso2.comwrote: I got this working by introducing a parameter named hasUIExtensions which has the relevant context value. Now the original service informations are preserved. I have attached a screen shot. Rajika On Thu, Mar 17, 2011 at 10:55 AM, Rajika Kumarasiri raj...@wso2.comwrote: Following is the code fragment from service_info.jsp:480 in service-mg UI which provides the extension point for custom UI. String serviceType = service.getServiceType(); String serviceTypePath = / + serviceType + /; String extraConfig = .. + serviceTypePath + extra_config.jsp?serviceName=+serviceName; Set resourcePaths = config.getServletContext().getResourcePaths(serviceTypePath); So according to this new service should have the service type parameter to be set. CSG component set the services to be csg services. One possible answer would be to extend this logic to support another custom property. WDYT ? Rajika On Wed, Mar 16, 2011 at 5:29 PM, Rajika Kumarasiri raj...@wso2.comwrote: Currently when we install CSG Agent feature into AS, all the services will be marked as CSG services ( Service Type). See the attach screen shot. This was done in this way to make sure that we can extend the service-mgt UI to support publish to CSG operation. But it seems this is not good since we loose the original service type information. Is there a way where we can extend the service-mgt UI keeping the same original service type information ? Rajika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] include HL7 component in the default ESB build
Can we $subject? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] New feature: Selectively enable webapps to be deployed as SaaS
Azeez what does this mean in terms of access? Does this mean any basically that any user from any tenant can access? I think we may need a few levels of access: 1. by users from the tenant deploying the webapp 2. by users from any tenant 3. by random people on the net after they register at a Stratos-managed user store for my app (and this has to work with options like allow any open ID, allow any GoogleApps user etc.) 4. by random people on the net without access credentials (default for a Stratos webapp?) I believe the param below supports (2)? I assume (1) is easy but we need a param for that too right? What can we do to support (3)? I can see this is conceptually at a Carbon level but I'm not clear how that works .. we don't have self-registration by default in Carbon - so which of the above scenarios are supported in Carbon webapps? Sanjiva. On Tue, Mar 15, 2011 at 7:27 PM, Afkham Azeez az...@wso2.com wrote: To do this, you simply need to add the following line to the top of the target webapp's web.xml file context-param param-namecarbon.enable.saas/param-name param-valuetrue/param-value /context-param -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] LDAP integration to Carbon core
So in effect you're moving the SPOF from IS to the new LDAP instance :). OK that's fine (fewer pieces in that to fail so its better) but you didn't answer my second question .. is the standalone LDAP a Carbon server with just the LDAP component in it? Sanjiva. On Sun, Mar 13, 2011 at 8:59 AM, Prabath Siriwardana prab...@wso2.comwrote: On Sun, Mar 13, 2011 at 8:09 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Prabath why do we not want to use embedded LDAP for Stratos? Say, we have embedded LDAP - and assume it's running with IS [identity.cloud] [that is in the same JVM] - then we need all the other servers, connecting to this LDAP Say we have two AppServer nodes, two ESB nodes - all need to connect to the same LDAP - running under IS. We also need two IS instances at least [considering FO/LB].. Which LDAP should this second IS connect to..? It also has to connect to the Embedded LDAP of the 1st IS node. Then - we are creating a single point of failure at IS - node-1. IS Node -1 is down -- Embedded LDAP is down -- 2nd IS Node cannot function -although it's up. If we use a separate LDAP server - then we remove the single point of failure from IS and move it to the standalone LDAP server. To get rid of that, we can use LDAP clustering.. Please let me know if I am not clear... Thanks regards, -Prabath If its a separate LDAP is it still a Carbon server running just the LDAP component? If not why not? Sanjiva. On Sun, Mar 6, 2011 at 10:01 PM, Prabath Siriwardana prab...@wso2.comwrote: In the case of Stratos - we do not need to have the embedded LDAP - but it will be a separate LDAP server. We need to test the OU based tenant isolation we did with LDAP in Stratos.. Thanks regards, -Prabath On Sun, Mar 6, 2011 at 2:56 PM, Hasini Gunasinghe has...@wso2.comwrote: On Sun, Mar 6, 2011 at 1:06 PM, Afkham Azeez az...@wso2.com wrote: Have you tested this with Stratos? Not with a complete Stratos setup. How I tested this was: installing multi tenancy feature to IS using necessary stratos components built from stratos branch. Do we need to do any LDAP initialization when the tenant ConfigurationContext is created? Sorry, at the moment I do not have an idea what is tenant ConfiguratioContext. But, as I understood your question, if you use embedded-ldap server in carbon core, you do not have to initialize LDAP since it is started with carbon server. If you use an external LDAP, then you need to start up a LDAP server and point the user-mgt.xml to that. On Sun, Mar 6, 2011 at 11:45 AM, Hasini Gunasinghe has...@wso2.comwrote: On Sat, Mar 5, 2011 at 11:13 PM, Amila Jayasekara ami...@wso2.comwrote: Hi Azeez, Please find answers inline. Thanks AmilaJ On Fri, Mar 4, 2011 at 5:59 PM, Afkham Azeez az...@wso2.com wrote: Can somebody briefly explain what were the changes that were carried out to Carbon core to make this work? Where these ports can be defined The apacheds server code is wrapped as an OSGi bundle in orbit/apacheds component. org.wso2.carbon.ldap.server is the component which is responsible for managing LDAP server. It starts, stops LDAP server, in addition it also does partition management. Hi, This component starts before user core in carbon. Can I please know how have we specified that this component starts before user-core? The LDAP server specific configurations reside in a file called embedded-ldap.xml in repository/conf (In EmbeddedLDAP configuration segment). You can change parameters like, ports, connection passwords in this file. In addition to LDAP server specific configurations, it also has KDC specific configurations. ,what the following messages mean etc. Log messages starting with org.apache.directory.server.ldap.LdapServer are coming from apacheds implementation. LDAP server needs a schema to construct the initial LDAP tree structure. The default schema for the LDAP server is located at repository/data as a zip file (is-default-schema.zip). Thus when we start server for the first time apacheds component will extract this zip file and create a schema directory. In addition, when we start embedded LDAP for the first time it creates a default partition. The default partition name and other properties are read from the embedded-ldap.xml configuration file (DefaultPartition). The latter messages you see in the log are relevant to above actions. How MT ins handled I assume MT=Multi-tenancy. Hasini: Please explain how MT is handled with embedded-ldap. We have two ways that we can make LDAP user-store multi-tenanted. 1. Creating a new partition (i.e new directory tree) for each tenant. This is specific to embedded-apacheds because here we use their API. 2. Creating a new context ('ou' by default) under same directory tree, for each tenant. This is generic because here we use JNDI and hence, not coupled with any LDAP server implementation. We can use any
Re: [Carbon-dev] New feature: HTTPD style logs for HTTP access
Sorry I wasn't suggesting removing the rolling at all .. rather have the rolling be consistent with the other files. If they follow the scheme you said then that's fine. At least ESB I know rolls up logs based on sie so there are differences - would be great to unify. Sanjiva. On Sun, Mar 13, 2011 at 8:19 AM, Afkham Azeez az...@wso2.com wrote: On Sun, Mar 13, 2011 at 8:15 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: On Sun, Mar 13, 2011 at 8:04 AM, Afkham Azeez az...@wso2.com wrote: Something similar. It is called http_access_2011-03-13.log, with the date appended, and the file is rolled on daily basis. Can we call it access.log as that's the usual name? Also appending the date is unnecessary and may not be enough rolling ... a highly accessed server may have that file grow very very big within a day. We should use the same rolling scheme as other logs. We can call it access.log, no problem there. But should we get rid of the rolling? After a few weeks or months, that file can be extremely large, and will increase the possibility of file corruption (due to possible bugs). So it is safer to roll it on a daily basis. With our log4j log files, we do daily rolling. We are using the DailyRollingFileAppender. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: %2B94%2011%20763%209614%2B94%2011%20763%209614+94 11 763 9614; cell: %2B94%2077%20787%206880 %2B94%2077%20787%206880+94 77 787 6880 | %2B1%20650%20265%208311 %2B1%20650%20265%208311+1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] New feature: Start a test Carbon server instance and integration test your components
Very nice Azeez! This will help a lot towards improving test automation! Sanjiva. On Sun, Mar 13, 2011 at 7:25 AM, Afkham Azeez az...@wso2.com wrote: Folks, This is something I've been thinking about for sometime, and finally found some time this weekend to make this work. Now you can start any Carbon instance from your JUnit test code, and test your components. Your test case needs to extend org.wso2.carbon.integration.core.CarbonIntegrationTestCase [1] I have included a simple test which tests whether a Carbon core server starts up properly [2] For further details see the integration/core module [3] 1. https://wso2.org/repos/wso2/trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/CarbonIntegrationTestCase.java 2. https://wso2.org/repos/wso2/trunk/carbon/core/integration/core/src/test/java/org.wso2.carbon.integration.core/StartCarbonServerTest.java 3. https://wso2.org/repos/wso2/trunk/carbon/core/integration/core Please try this out and let me know if we can make any improvements or if there are any shortcomings. Also, henceforth, it is a component author's responsibility to write unit tests integration tests. Now, even admin services can be easily tested using this framework. Also, now it should be easy to write a test case when we create patches. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] New feature: HTTPD style logs for HTTP access
Gecko) Chrome/9.0.597.102 Safari/534.13 10.100.1.194 - - [07/Mar/2011:18:32:30 +0530] GET /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1 200 762 - Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13 10.100.1.194 - - [07/Mar/2011:18:32:30 +0530] GET /favicon.ico HTTP/1.1 405 1110 - Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13 10.100.1.194 - - [07/Mar/2011:18:32:32 +0530] GET /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1 200 762 - Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13 10.100.1.194 - - [07/Mar/2011:18:32:32 +0530] GET /favicon.ico HTTP/1.1 405 1110 - Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13 -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Supun Kamburugamuva Technical Lead Product Manager, WSO2 Inc.; http://wso2.com Member, Apache Software Foundation; http://www.apache.org WSO2 Inc.; http://wso2.org E-mail: su...@wso2.com; Mobile: +94 77 431 3585 Blog: http://supunk.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] LDAP integration to Carbon core
. In stratos-tenant-mgt component, tenant specific user-mgt.xml is stored in registry/JDBC database which is used to map the tenant to specific context. Common remarks regarding both the methods: 1. Hybrid approach is used where mapping between tenant and the user-mgt.xml, and other meta-data is stored in JDBC database. 2. Class names used for tenant manager at each scenario is not that clear. We may need to rename them. Thanks, Hasini. etc. Sorry, I wasn't following the entire conversation. [2011-03-05 07:24:03,001] INFO {org.wso2.carbon.ldap.server.DirectoryActivator} - Starting directory service on port 10389 [2011-03-05 07:24:03,022] INFO {org.apache.directory.server.ldap.LdapServer} - Added Extended Request Handler: 1.3.6.1.4.1.1466.20037 [2011-03-05 07:24:03,106] INFO {org.apache.directory.server.ldap.LdapServer} - Added Extended Request Handler: 1.3.6.1.4.1.18060.0.1.6 [2011-03-05 07:24:03,116] INFO {org.apache.directory.server.ldap.LdapServer} - Successful bind of an LDAP Service (10389) is completed. [2011-03-05 07:24:03,116] INFO {org.apache.directory.server.ldap.LdapServer} - Ldap service started. [2011-03-05 07:24:03,116] INFO {org.wso2.carbon.apacheds.impl.ApacheLDAPServer} - LDAP server started. [2011-03-05 07:24:03,139] INFO {org.wso2.carbon.apacheds.impl.ApacheDirectoryPartitionManager} - Partition directory - /Users/azeez/projects/wso2/org/trunk/carbon/products/appserver/modules/distribution/target/wso2appserver-4.1.0-SNAPSHOT/repository/data/org.wso2.carbon.directory/root already exists. [2011-03-05 07:24:03,140] INFO {org.wso2.carbon.apacheds.impl.ApacheDirectoryPartitionManager} - Partitionroot created from existing partition directory. -- Partitionroot or Partition Root [2011-03-05 07:24:03,211] INFO {org.wso2.carbon.apacheds.impl.ApacheDirectoryPartitionManager} - Partitionroot added to directory service. Do we have to show all these INFO messages? We can get rid of some of above log messages, if you think that they are redundant. We can suppress the INFO messages comming from apacheds implementation in log4j properties file. Also we can remove some log messages from the code. -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] New feature: HTTPD style logs for HTTP access
On Sun, Mar 13, 2011 at 8:04 AM, Afkham Azeez az...@wso2.com wrote: Something similar. It is called http_access_2011-03-13.log, with the date appended, and the file is rolled on daily basis. Can we call it access.log as that's the usual name? Also appending the date is unnecessary and may not be enough rolling ... a highly accessed server may have that file grow very very big within a day. We should use the same rolling scheme as other logs. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fw: Hello World Gadget doesn't work
:). Thanks everyone .. we appreciate both positive and negative feedback and are always looking to improve all aspects of what we do. Docs has definitely been a weak-point for us (not enough focus) and we are working to address that rapidly. The problem of developer blogs going out of date is also an issue but I'm not sure what to do about that other than trying to get everyone to clearly indicate what version a particular piece of information applies to. Sanjiva. On Fri, Mar 4, 2011 at 9:50 PM, Xue-Feng Yang just4l...@yahoo.com wrote: Good. We are not alone. -- *From:* Guillaume Devianne gdevia...@gmail.com *To:* carbon-dev@wso2.org *Cc:* Xue-Feng Yang just4l...@yahoo.com; Sanjiva Weerawarana sanj...@wso2.com *Sent:* Fri, March 4, 2011 10:08:50 PM *Subject:* Re: [Carbon-dev] Fw: Hello World Gadget doesn't work Xue-Feng, Brad, Sanjiva I am a wso2 advocate and add wso2 products wherever and whenever it fits. People trust what i say about it but they only trust *me* to implement it. Most people in the teams I have worked with have looked at wso2 products and, because they could not get through their scenario, they call me to implement or they discard it and use alternatives. (on top of this, i leave in a spanish speaking country and the understanding of english is not good in the IT world) I find that the only product that got real adoption from everyone (management, developers, operation teams) is the DataService Server. It adds value by organizing data access, speeding development of data connectors for specific projects, separating DBA concerns from developers concerns,... So the concept is easy to understand and the scenarios and samples are easy to follow and implement. I use to have the gui breaking my work so, I usually stay in the source when adding new ds. Other products are for experienced professionals that must embrace the full WSO2 SOA concept, digest it and promote it. Once that got to that point, they decide to get a proof of concept done and face what you describe. I must say that the wso2 products i use DO WELL what they are supposed to do but it is difficult to understand correctly how to make them do it. Cheers, Guillaume On Fri, Mar 4, 2011 at 10:53 AM, Xue-Feng Yang just4l...@yahoo.comwrote: Hi Sanjiva, Sorry for a late reply since I just found your message in Yahoo's trash. Two things I would like to emphasize: 1) Docs and samples are software artifacts, too. They, BOTH, should be constantly tested as products like other part of the software. 2) Docs and samples are the gate to wso2. They are the most important part for the products successful. On the other hand, I found only a few persons like Brad and myself in this list and user's list. We, both, were treated like college students sometimes. For sure, we are the students for wso2 products and come here for learning, but we are experienced in IT industry. I hope this list has more and more people like Brad and myself. Our mood likes waves, in particular in some hard time when try those samples followed by those docs. I would like to thank those people who always show and help. They kept me still stay here. Thanks, Xue-Feng -- *From:* Sanjiva Weerawarana sanj...@wso2.com *To:* carbon-dev@wso2.org *Sent:* Wed, March 2, 2011 7:57:57 PM *Subject:* Re: [Carbon-dev] Fw: Hello World Gadget doesn't work Brad Xue-Feng - we are going to fix these issues. Thank you for your patience and please keep reporting ANY issues you find. Thanks, Sanjiva. On Wed, Mar 2, 2011 at 5:12 PM, Brad Cox bradj...@gmail.com wrote: If it makes you feel any better, Xue-Feng, I have similar background ( http://bradjcox.blogspot.com) and had exactly the same results with WSO2 samples and documentation quality. I finally managed to cope by using WSAS as nothing more than a service launcher, but can't get anybody else on my team to trust WSO2. Its just too hard to get through the misdirection sent up from all those broken blogs and samples. On Tue, Mar 1, 2011 at 10:30 PM, Xue-Feng Yang just4l...@yahoo.comwrote: Thanks Samisa. So far there are too many samples not work in my evaluation process. And developers here just didn't believe me. Actually, I am IT professional many years, a professor, directors of some research, VP, CTO, CTA, CS. -- *From:* Samisa Abeysinghe sam...@wso2.com *To:* Xue-Feng Yang just4l...@yahoo.com *Cc:* carbon-dev@wso2.org *Sent:* Wed, March 2, 2011 11:17:20 AM *Subject:* Re: [Carbon-dev] Fw: Hello World Gadget doesn't work Yes, it does not work even with the app server up. :( This is a bug. On Wed, Mar 2, 2011 at 8:32 AM, Xue-Feng Yang just4l...@yahoo.comwrote: Of course, I have a hello service in appserver. -- *From:* Samisa Abeysinghe sam...@wso2.com *To:* carbon-dev@wso2.org *Cc:* Xue-Feng Yang
Re: [Carbon-dev] Sample Chad in appserver
Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Fw: Hello World Gadget doesn't work
is not defined 1. concat:1741https://192.168.1.103:9448/gadgets/concat?rewriteMime=text/javascriptgadget=http%3A%2F%2F192.168.1.103%3A9768%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2FserviceMon.xmlfp=-182800334refresh=864001=http%3A%2F%2Fnuwanbando.com%2Fgadgets%2Fwso2vis.js%3Fnocache%3D0Uncaught TypeError: Cannot read property 'nodeType' of undefined I would like to know how Require feature=wso2 / and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I couldn't find any doc on wso2 javascript for SOAP, or anything like wso2.js. Thanks, Xue-Feng -- *From:* Afkham Azeez az...@wso2.com *To:* Xue-Feng Yang just4l...@yahoo.com; Charitha Kankanamge chari...@wso2.com *Cc:* carbon-dev@wso2.org *Sent:* Tue, March 1, 2011 10:58:16 PM *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez az...@wso2.com wrote: On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang just4l...@yahoo.comwrote: Hi Afkham, 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample Chad in appserver) No one answered so far. Yeah, Chad sample is not working. We have made a big mistake in shipping with a broken sample. Sorry about that. I will look into this. Isuru/SupunM, Admin cannot login since there is a Javascript error. 1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4 1. WSRequest._processResultWSRequest.js:213http://10.215.152.149:9763/Chad/js/WSRequest.js 2. WSRequest._handleReadyStateWSRequest.js:279http://10.215.152.149:9763/Chad/js/WSRequest.js 3. (anonymous function) -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Nuwan Bandara Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Cell: 703-594-1883 Blog: http://bradjcox.blogspot.com Web: http://virtualschool.edu Manassas VA 20111 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Using Maven dependency exclusions
these externals will be removed from the trunk) - Modifying the Orbit versions of Axiom and WSS4J to 1.2.11-wso2v1 and 1.5.11-wso2v1 respectively to be consistent. (At the moment, they are 1.2.12-SNAPSHOT-wso2v1 and 1.5.12-SNAPSHOT-wso2v1) - Modifying the Synapse trunk to point to Axis2 1_6_x branch instead of the trunk until we branch it for the release. (As per Supun, we can't branch at the moment, since some active development is going in Synapse trunk) - Creating Carbon 3.2.0 branch and branching off form 'Transports' trunk and making it dependent on Axis 1_6_x Thanks, Thilina -- Thilina Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : %2B94%2077%2044%2088%20727 %2B94%2077%2044%2088%20727+94 77 44 88 727 blog : http://blog.thilinamb.com -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Isuru Suriarachchi Technical Lead Product Manager, WSO2 Application Server WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] A Single sign-on (SSO) Requirement
Cassandra must be a bundle of course. Whether its run in the same Carbon instance or running in another is a usual Carbon decision. Sanjiva. On Tue, Feb 22, 2011 at 3:41 PM, Amila Suriarachchi am...@wso2.com wrote: Have you deployed the Cassandra as an OSGI bundle or is it running in standalone server? The idea here is that both the carbon component who want to talk to the Cassandra and the Cassandra server should share a secret key. If both components are in the same jvm one component can publish it as an OSGI service and others can get the secret from there. The carbon component sends this secret key as the pass word. So at the authentication handler first it check whether the user has given the correct password. or not check for this secret key. thanks, Amila. On Tue, Feb 22, 2011 at 2:04 PM, Indika Kumara ind...@wso2.com wrote: Hi Srinath, I have to figure out how it works. I will ask it from Danushka. Thanks, Indika On Tue, Feb 22, 2011 at 2:31 PM, Srinath Perera srin...@wso2.com wrote: Hi Danushka, Can you point Indika to the code? Indika, can we solve the problem in the same manner? --Srinath On Tue, Feb 22, 2011 at 1:56 PM, Danushka Menikkumbura danus...@wso2.com wrote: In the case of Qpid its between back-end components. Qpid publishes a shared secret that internal components can produce while authenticating. Danushka On Tue, Feb 22, 2011 at 1:49 PM, Srinath Perera srin...@wso2.com wrote: Basically, we need a way for the fornt end to tell the backend Cassandra that user is already logged in. AFAIK, we are doing something similar to connect from message broker to backend Qpid. Danushka do we have that code done? We should be able to use the same logic here as well. Thanks Srinath On Tue, Feb 22, 2011 at 10:40 AM, Indika Kumara ind...@wso2.com wrote: Hi All, I have the following scenario where it is required SSO Connecting to the Cassandra from Carbon (e.g carbon component) as an already authenticated user. Here, a user has already sign-in to the Carbon, and need to connect to the Cassandra as an authenticated user. Is this possible currently? Highly appreciate any help. Thanks, Indika ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] Proposal - Merging Carbon Stratos projects
On Tue, Feb 22, 2011 at 11:04 AM, Isuru Suriarachchi is...@wso2.com wrote: If I wasn't clear enough, I'm in agreement with this idea. I also think this will reduce the number of points to update when we are making platform wide changes. But we need some way to selectively build the product or the cloud version of the product. +1. I also think that Azeez's suggestion can be easily implemented using separate maven profiles. Having modules like p2-profile-stratos and distribution-stratos won't create any problems. Those will be built only when the cloud profile of the product is built. And also AFAIK, there are very few stratos related components and features which takes very little time to get built compared to our platform. So those won't make much difference to the build. Only think is we have to manage maven profiles correctly to resolve complications. I'm +1 for the proposal but not for having profiles. That means people won't build the other part :). As you noted Isuru the number of components in Stratos is very small and hence the extra build time should be very little. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Adding users to a role immediately after creating it
Azeez while I agree your scenario is rational, it seems to me that the path of add all my users, define my roles is also reasonable. Since adding users is just a username (and I assume we allow the person to fill in more profile info separately), it is not impossible to make the UI work the way you proposed of course. Sanjiva. On Thu, Jan 27, 2011 at 10:44 AM, Afkham Azeez az...@wso2.com wrote: Yes, I was trying to demonstrate UT scenario, and wanted to define a new role and add a new user. So, I navigated to Add Role, added the role, and the role showed up. Next I wanted to add a user to a role while I was on that page, but there was no link to do that. So I had to click on the menu item, and add a user. This didn't look natural when I was doing the demo, and the audience realized that :( Azeez On Wed, Jan 26, 2011 at 6:40 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: I think what Azeez wants is to be able to *create new users* while defining a role. He can clarify best :). Sanjiva. On Thu, Jan 27, 2011 at 8:02 AM, Samisa Abeysinghe sam...@wso2.comwrote: Then what is the issue? It is not clear to me Samisa... On Thursday, January 27, 2011, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, On Thu, Jan 27, 2011 at 7:49 AM, Samisa Abeysinghe sam...@wso2.com wrote: How urgent is this? I suppose this means adding the user while creating the role. Or rather allowing the option of picking users from a list in role creation wizard. This not a bug, rather an improvement. Can we have that for 3.2.0? We already have this feature in role creation wizard. Thanks, Dimuthu Samisa... Thanks, Dimuthu Thanks -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list carbon-...@lists.wso2.org http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Ability to use Carbon p2 maven plugin in Apache Axis2 Project
On Sat, Jan 22, 2011 at 2:59 PM, Harshana Martin harsh...@wso2.com wrote: On Sat, Jan 22, 2011 at 2:44 PM, Samisa Abeysinghe sam...@wso2.comwrote: You should really ask this on Axis2 list. We do not have any issue. I assume axis2 would not either. But they have to decide, not us. Sure. I'll do that. I wanted to make sure that we don't have any issue with this before contacting Axis2 folks. All of our code (except customer specific stuff) is under Apache license and in Carbon or Stratos. We have no issue with anyone using our code for whatever purpose .. that's what the Apache license means :). Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Is there a way to get the 'tenantId' of a particular user by using a remote call ?
Thilina since this is internal Stratos code why can't we expose the tenant ID to it? Basically the getTenantID call should be callable by this code ... and if necessary the jars can be signed or whatever auth we need for that. Sanjiva. On Sat, Jan 22, 2011 at 6:48 PM, Indika Kumara ind...@wso2.com wrote: The Cassandra client API and inter-node communications are based on the Thrift API. It uses TCP and all other available Cassandra clients are built top on that API. With those clients, I can only give TCP port and host – cannot use a URL. As multiple tenants can have the users with the same name, either the tenant ID or tenant domain name should be used when log in to the system. 1) * **Using the tenant ID* This is only applicable if the application (a Cassandra client) knows the current tenant ID. For example, a data service in wso2-stratos. This is what I have done so far – parsing the ‘tenantID’ along with credentials when log-ining to the Cassandra. However, if the client does not know the ‘tenantID’, he cannot log-ins into the system. For example, a user having a web application that uses the Cassandra as the database (local), and later want to move to the Cassandra as a Service instead of the local Cassandra server. Then, the user has to use the tenant domain. *2) Using the tenant domain* There are mainly two ways to domain name 1) Provide it as the URL https://www.google.com/a/wso2.com/ServiceLogin?service And can logs into ‘indika’ and ‘my password’ This method cannot be used currently because of the aforementioned limitation in the Thrift API (TCP). 2) Provide as the part of user name https://www.google.com/accounts/ServiceLogin?service And it is needed to login as ‘ind...@wso2.com’ and ‘my password’ This is what I wanted do. Within the Cassandra, I want to call the IS server, and takes the tenant-id by giving the ‘tenant-domain or complete user name’. As we decided to use the ‘tenantID’ to differentiate the keyspaces having the same yet belongs to different tenants. I can use ‘tenant domain’ instead of ‘tenant ID’. What should be the proper solution? I highly appreciate your help. Thanks, Indika On Sat, Jan 22, 2011 at 5:34 PM, Amila Suriarachchi am...@wso2.comwrote: On Sat, Jan 22, 2011 at 12:15 PM, Indika Kumara ind...@wso2.com wrote: Hi All, $ subject ? The scenario is that a user (a typical Cassandra client application) log-ins to the Cassandra with his username( e.g. ind...@wso2.com) and password. Within the user authentication logic, the Cassandra calls an IS server for real authentication. All user + tenant registration information is in the IS server. I need to access the 'tenantID' of the user for further operations in the Cassandra. I noticed in the ' AuthenticationAdmin' that the 'tenantId' is located. Could I get that 'tenantId'? This is the scenario where the Cassandra is a separate server. If the user first logs into the Casendra there must be a way to give teneneID when login. One user name can ocurr in different tenants. thanks, Amila. Thanks, Indika ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Is there a way to get the 'tenantId' of a particular user by using a remote call ?
BTW this conversation should be on stratos-dev not carbon-dev :). Thilina the issue with making a remote call is that then we need to secure that call ... Sanjiva. On Sat, Jan 22, 2011 at 8:12 PM, Thilina Buddhika thili...@wso2.com wrote: So a solution might be a remote API to get the tenantId by passing the fully qualified username or the tenant domain. Thanks, Thilina On Sat, Jan 22, 2011 at 7:50 PM, Indika Kumara ind...@wso2.com wrote: There are two ways for deploying the Cassandra as a service - embedded and separate. It is like using an embedded database vs databse network server. For the embedded case, we have to start the Cassandra with in a carbon component accessing the server API of the Cassandra. For the separate server case, we have to connect to the Cassandra from its client API. In the latter case, the code does the authentication does not have access to the 'CarbonContext'. It is like to connecting to a remote multi tenant database from a local application. We decided to the latter case as the POC. Thanks, Indika On Sat, Jan 22, 2011 at 8:08 PM, Thilina Buddhika thili...@wso2.comwrote: As Paul mentioned tenantId is exposed through the CarbonContext. So if these Cassendra API calls are originated from Stratos, then it is possible to get the tenantId. I was mislead thinking that there should be a WS-API which exposes this tenantID, which is not available currently. Thanks, Thilina On Sat, Jan 22, 2011 at 6:52 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: Thilina since this is internal Stratos code why can't we expose the tenant ID to it? Basically the getTenantID call should be callable by this code ... and if necessary the jars can be signed or whatever auth we need for that. Sanjiva. On Sat, Jan 22, 2011 at 6:48 PM, Indika Kumara ind...@wso2.com wrote: The Cassandra client API and inter-node communications are based on the Thrift API. It uses TCP and all other available Cassandra clients are built top on that API. With those clients, I can only give TCP port and host – cannot use a URL. As multiple tenants can have the users with the same name, either the tenant ID or tenant domain name should be used when log in to the system. 1) * **Using the tenant ID* This is only applicable if the application (a Cassandra client) knows the current tenant ID. For example, a data service in wso2-stratos. This is what I have done so far – parsing the ‘tenantID’ along with credentials when log-ining to the Cassandra. However, if the client does not know the ‘tenantID’, he cannot log-ins into the system. For example, a user having a web application that uses the Cassandra as the database (local), and later want to move to the Cassandra as a Service instead of the local Cassandra server. Then, the user has to use the tenant domain. *2) Using the tenant domain* There are mainly two ways to domain name 1) Provide it as the URL https://www.google.com/a/wso2.com/ServiceLogin?service And can logs into ‘indika’ and ‘my password’ This method cannot be used currently because of the aforementioned limitation in the Thrift API (TCP). 2) Provide as the part of user name https://www.google.com/accounts/ServiceLogin?service And it is needed to login as ‘ind...@wso2.com’ and ‘my password’ This is what I wanted do. Within the Cassandra, I want to call the IS server, and takes the tenant-id by giving the ‘tenant-domain or complete user name’. As we decided to use the ‘tenantID’ to differentiate the keyspaces having the same yet belongs to different tenants. I can use ‘tenant domain’ instead of ‘tenant ID’. What should be the proper solution? I highly appreciate your help. Thanks, Indika On Sat, Jan 22, 2011 at 5:34 PM, Amila Suriarachchi am...@wso2.comwrote: On Sat, Jan 22, 2011 at 12:15 PM, Indika Kumara ind...@wso2.comwrote: Hi All, $ subject ? The scenario is that a user (a typical Cassandra client application) log-ins to the Cassandra with his username( e.g. ind...@wso2.com) and password. Within the user authentication logic, the Cassandra calls an IS server for real authentication. All user + tenant registration information is in the IS server. I need to access the 'tenantID' of the user for further operations in the Cassandra. I noticed in the ' AuthenticationAdmin' that the 'tenantId' is located. Could I get that 'tenantId'? This is the scenario where the Cassandra is a separate server. If the user first logs into the Casendra there must be a way to give teneneID when login. One user name can ocurr in different tenants. thanks, Amila. Thanks, Indika ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo
Re: [Carbon-dev] Could I get the all permission (or actions) allowed for a given user to a given resource
Dimuthu- how about s/getRoleLitsOfUser/getUserRoles/ ?? Seems more natural. Sanjiva. On Fri, Jan 21, 2011 at 10:24 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, Since this is a POC we can do this. First we can call -public String[] getRoleListOfUser(String userName) throws UserStoreException in UserStoreManager Then we can call the following function for all possible combinations. -public boolean isRoleAuthorized(String roleName, String resourceId, String action) throws UserStoreException; Thanks, Dimuthu On Fri, Jan 21, 2011 at 10:18 PM, Indika Kumara ind...@wso2.com wrote: Thanks Dimuthu.. BTW, what would be the best solution (may be a workaround) - get the roles associated with a given user and then the permissions for roles. Thanks, Indika On Fri, Jan 21, 2011 at 10:44 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, On Fri, Jan 21, 2011 at 10:12 PM, Indika Kumara ind...@wso2.com wrote: HI Dimuthu, My questions was different ... I needed to get all permissions associated with a given user for a given resource. Something like public Permission[] getAllowedPermissions(String username, String resourceParth) The Cassandra's authorization API requires that. Sorry misread your mail. Yes can be done. But user permissions are being deprecated. Thanks, Dimuthu Thanks, Indika On Fri, Jan 21, 2011 at 10:33 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, There is a method like this in AuthorizationManager. public String[] getExplicitlyDeniedUsersForResource(String resourceId, String action) throws UserStoreException; public String[] getExplicitlyAllowedUsersForResource(String resourceId, String action) throws UserStoreException; However these methods are deprecated since we plan to use role based permissions. thanks, dimuthu On Fri, Jan 21, 2011 at 9:44 PM, Indika Kumara ind...@wso2.comwrote: Hi All, Could I get the all permission (or actions) allowed for a given user to a given resource - something like getAllowedPermissions(String username, String resourceParth)? I cannot find a method in the 'AuthorizationManager'. Could someone help me on this matter? Thanks, Indika ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Could I get the all permission (or actions) allowed for a given user to a given resource
IMO these API calls still don't give what Indika is looking for - he's asking how can I find out what a person can do. This model allows you to find the list of roles a person is in and then ask whether that roles is authorized to do X, Y, Z. However what he's looking for is list of all X, Y and Zs. Sanjiva. On Fri, Jan 21, 2011 at 10:24 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, Since this is a POC we can do this. First we can call -public String[] getRoleListOfUser(String userName) throws UserStoreException in UserStoreManager Then we can call the following function for all possible combinations. -public boolean isRoleAuthorized(String roleName, String resourceId, String action) throws UserStoreException; Thanks, Dimuthu On Fri, Jan 21, 2011 at 10:18 PM, Indika Kumara ind...@wso2.com wrote: Thanks Dimuthu.. BTW, what would be the best solution (may be a workaround) - get the roles associated with a given user and then the permissions for roles. Thanks, Indika On Fri, Jan 21, 2011 at 10:44 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi, On Fri, Jan 21, 2011 at 10:12 PM, Indika Kumara ind...@wso2.com wrote: HI Dimuthu, My questions was different ... I needed to get all permissions associated with a given user for a given resource. Something like public Permission[] getAllowedPermissions(String username, String resourceParth) The Cassandra's authorization API requires that. Sorry misread your mail. Yes can be done. But user permissions are being deprecated. Thanks, Dimuthu Thanks, Indika On Fri, Jan 21, 2011 at 10:33 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi, There is a method like this in AuthorizationManager. public String[] getExplicitlyDeniedUsersForResource(String resourceId, String action) throws UserStoreException; public String[] getExplicitlyAllowedUsersForResource(String resourceId, String action) throws UserStoreException; However these methods are deprecated since we plan to use role based permissions. thanks, dimuthu On Fri, Jan 21, 2011 at 9:44 PM, Indika Kumara ind...@wso2.comwrote: Hi All, Could I get the all permission (or actions) allowed for a given user to a given resource - something like getAllowedPermissions(String username, String resourceParth)? I cannot find a method in the 'AuthorizationManager'. Could someone help me on this matter? Thanks, Indika ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Resurrect EJB services component?
+1 for bringing it out of retirement but unlike SanathJ lets make sure it makes the final team too :). Sanjiva. On Sun, Jan 16, 2011 at 1:13 PM, Afkham Azeez az...@wso2.com wrote: As per JIRA comments queries on dev@axis user@axis, it seems that people are indeed using EJB services. Is it a good idea to bring it out of its short retirement, like Sanath Jayasuriya? :) The EJB service deployment UI is in really bad shape, and it would have to be rewritten before it can be re-integrated into the AS. -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Strategy for developing new Carbon components
+1 but it feels weird to me to commit the code to the branch while its being worked on. Foo is not yet released so it should be in trunk and ideally that component should indicate the Carbon version dependency as 3.1.0 and that's it. When its released for 3.1.0 we need to branch it with a version number and so on but trunk should always be there it seems to me. Sanjiva. On Sun, Jan 16, 2011 at 8:09 PM, Afkham Azeez az...@wso2.com wrote: During a discussion over dinner with Paul others at the offsite planning meeting, we came up with a strategy for developing new Carbon components. New components should always be developed against a released Carbon core version, unless that is not possible. We need to treat Carbon, Axis2 etc. just like any other 3rd party jars such as log4j which we use. Let's look at an example. Say, you are developing a new component called Foo. The latest Carbon release in 3.1.0. So, your component code will go under, https://svn.wso2.org/repos/wso2/branches/carbon/3.1.0/components/foo/org.wso2.carbon.foo/1.0.0 https://svn.wso2.org/repos/wso2/branches/carbon/3.1.0/components/foo/org.wso2.carbon.foo.ui/1.0.0 Once you are done with the development of that component, you can separately release it, and update the P2 repo of Carbon 3.1.0. Once the release is done, you will have to port this code into the trunk. Thoughts welcome. Thanks -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Strategy for developing new Carbon components
What if we decide to release the first version of Foo as 0.9.0? Is there a way to have code in a branch but not have the component itself be versioned? Basically a trunk within the branch for that component :). Sanjiva. On Sun, Jan 16, 2011 at 10:21 PM, Afkham Azeez az...@wso2.com wrote: Code in the branch is live. At least some of it. This is where we will develop new version of existing components. So I don't see anything wrong with, the 1.0 version of a new component being there. Azeez On Sun, Jan 16, 2011 at 10:17 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: +1 but it feels weird to me to commit the code to the branch while its being worked on. Foo is not yet released so it should be in trunk and ideally that component should indicate the Carbon version dependency as 3.1.0 and that's it. When its released for 3.1.0 we need to branch it with a version number and so on but trunk should always be there it seems to me. Sanjiva. On Sun, Jan 16, 2011 at 8:09 PM, Afkham Azeez az...@wso2.com wrote: During a discussion over dinner with Paul others at the offsite planning meeting, we came up with a strategy for developing new Carbon components. New components should always be developed against a released Carbon core version, unless that is not possible. We need to treat Carbon, Axis2 etc. just like any other 3rd party jars such as log4j which we use. Let's look at an example. Say, you are developing a new component called Foo. The latest Carbon release in 3.1.0. So, your component code will go under, https://svn.wso2.org/repos/wso2/branches/carbon/3.1.0/components/foo/org.wso2.carbon.foo/1.0.0 https://svn.wso2.org/repos/wso2/branches/carbon/3.1.0/components/foo/org.wso2.carbon.foo.ui/1.0.0 Once you are done with the development of that component, you can separately release it, and update the P2 repo of Carbon 3.1.0. Once the release is done, you will have to port this code into the trunk. Thoughts welcome. Thanks -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com , * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Maximum file size to upload to G-Reg
and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Applying for an OID from IANA, to be used in a custom object class schema
+1 for going ahead. Please use external-relati...@wso2.com as the email address for the application so we can track it and manage it properly. Thanks for seeing this thru. Of course I know nothing about LDAP so maybe someone who does should review the technical merits :). Sanjiva. On Mon, Jan 3, 2011 at 4:42 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi all, There is a requirement of defining a custom object class schema with the required attributes which are not defined in ApacheDS-LDAP by default (issues: CARBON-8215 https://wso2.org/jira/browse/CARBON-8215, CARBON-8054 https://wso2.org/jira/browse/CARBON-8054) According to the specification [1] on defining LDAP attributes, object classes, we need to have an OID for that attribute/object class to be uniquely identified by the LDAP directory server. Although we can use a made up OID for experimental use, it is recommended to use a registered OID if we are going to ship it with a product. [2,3] There are several ways of obtaining an OID [4] among which one easy way of obtaining it is: from IANA. For that we need to fill and submit the application here [5]. Once we are assigned an OID, it will be displayed in the OID registry as [6]. Please let me know if there is any concerns/guidelines in applying for an OID in the above way. It is mentioned that it will be sent with in 30 days. And if we did not obtain it before the coming release, as a backup plan we can use an unregistered OID with a generated UUID appended as mentioned in [7, 8]. Please let me know if any of you are aware of any concern in going with the latter approach as well. [1]. http://www.ietf.org/rfc/rfc4512.txt [2]. http://directory.apache.org/apacheds/1.5/31-add-your-first-elements-to-the-schema.html#3.1.Addyourfirstelementstotheschema-WhichOIDsshouldyouuse%253F [3]. http://ldapwiki.willeke.com/wiki/HowToGetYourOwnLDAPOID [4]. http://www.oid-info.com/faq.htm#10 [5]. http://pen.iana.org/pen/PenApplication.page [6]. http://www.iana.org/assignments/enterprise-numbers [7]. http://www.oid-info.com/get/2.25 [8]. http://www.itu.int/ITU-T/asn1/uuid.html#registration Thanks, Hasini. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] 2 day Axis2 hachathon at WSO2
Awesome folks :). Thanks for the hard work! Sanjiva. On Wed, Dec 22, 2010 at 10:57 PM, Afkham Azeez az...@wso2.com wrote: This hackathon has been a great success. We were able to resolve about 180 issues in Axis2 Rampart. We would like to thank everybody who helped us motivated us to do this. We are also planning on a Rampart release. Azeez On Tue, Dec 21, 2010 at 2:51 PM, Afkham Azeez az...@wso2.com wrote: Hi folks, We are having a 2 day hackathon starting today. We will be going through the JIRAs also will be running FindBugs on the code base and making improvements. We will also add/fix the JavaDocs wherever applicable. Chanaka et. al. will be working on improving the Web site design as well. We will be available on the #axis2 IRC channel on FreeNode Everybody is invited to join in contribute. Thanks -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Can we fix this with Secure valut work we did?
Prabath I thought we were making a WSO2 commons project? And this is the new secure vault right? Sanjiva. On Wed, Dec 22, 2010 at 8:50 AM, Prabath Siriwardana prab...@wso2.comwrote: On Wed, Dec 22, 2010 at 7:49 AM, Srinath Perera srin...@wso2.com wrote: moving to carbon dev On Wed, Dec 22, 2010 at 7:45 AM, Samisa Abeysinghe sam...@wso2.com wrote: Why are we discussing this here? Should be either Axis2 list or worst case carbon list On Wed, Dec 22, 2010 at 7:37 AM, Hiranya Jayathilaka hira...@wso2.com wrote: We should be able to. Secure vault code is in a separate module in Synapse. I also remember a discussion where we were planning to move this code out of Synapse and make it a part of WS-Commons or something where it can be better shared across different projects? Yes - we have decided to make it a Commons project.. Thanks regards, -Prabath Thanks, Hiranya On Wed, Dec 22, 2010 at 7:34 AM, Srinath Perera srin...@wso2.com wrote: https://issues.apache.org/jira/browse/AXIS2-4725 -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Hudson builds
And do we need the shell script if we have Hudson? What happened to Bamboo?? Sanjiva. On Wed, Dec 22, 2010 at 6:29 AM, Samisa Abeysinghe sam...@wso2.com wrote: Shall we also setup and run $subject, in parallel to the shell script based continuous builds? Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Updated Invitation: Group A - Code Review @ Mon Dec 13 10am - 11:30am (carbon-dev@wso2.org)
/profiles/harshana05 -- *Afkham Azeez* Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*http://www.apache.org/ * email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why Apacheds and Qpid componets are kept as orbit bundles?
Then it does not belong in Carbon Orbit .. my understanding is that Orbit bundles are places where we OSGIfy some non-OSGified code rather than make changes? Sanjiva. On Mon, Dec 13, 2010 at 5:29 AM, Danushka Menikkumbura danus...@wso2.comwrote: The Qpid Orbit module incorporates certain essential changes that should go into Qpid in order for it to work with Carbon. Danushka On Sun, Dec 12, 2010 at 9:43 PM, Amila Suriarachchi am...@wso2.comwrote: hi, $subject thanks, Amila. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] DSS language changes (was: Re: Chunk-2 release readiness - on Carbon 3.1.0)
On Wed, Dec 8, 2010 at 1:58 PM, Anjana Fernando anj...@wso2.com wrote: Would be helpful if you mention what this is.. ;-) ... or else attach a screenshot of whiteboard for the benefit of all remote readers of the list. Yeah :), sorry, the discussed topic is what I've mentioned in the mail @architecture with the subject Improved Complex Type Results in DSS. Basically, this is to improve the result structure of data services so it can have nested elements/attributes, so the user can model the result in any format he likes. It would be even more helpful to document the proposal and result here :). Can you post the new syntax here and a link to the updated language spec which shows the change? How are we versioning that doc so people can know what is supported in what version of the product?? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] GroupE Code Review crucible project
Is this component ready for code review? I thought we were still in a design/impl phase! If the intent is to use this as a training/learning exercise then +1. Sanjiva. On Wed, Dec 8, 2010 at 7:35 PM, Udayanga Wickramasinghe udaya...@wso2.comwrote: please find $subject . code base is on Salesforce adapter for ESB. https://wso2.org/crucible/cru/COMPONENT-12 Regards, Udayanga ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Why have we added 3.1.1 version of Dashboard components?
On Wed, Dec 8, 2010 at 11:53 PM, Sameera Jayasoma same...@wso2.com wrote: On Wed, Dec 8, 2010 at 11:44 PM, Sameera Jayasoma same...@wso2.comwrote: IMV, we don't need to add 3.1.1 versions, since we haven't released 3.1.0. Please explain the rationale behind this change. Do you mean we can still repack chuck 1 product with latest GS changes? Nope. Now its too late for that. Btw, I wasn't aware of this change. If this is for the chunk2 release, then it is fine. My understanding was that both groups of products were running on EXACTLY the same Carbon version. If that is not true we will have problems with using Carbon's feature management across these products. In that case what is this talk of a 3.1.1?? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] JMS broker configuration in broker component
We're setting this same stuff up in the transport management component IIRC. Is this for the BrokerManager component? If so do we need all this info (sorry I'm not a JMS expert)? Sanjiva. On Thu, Dec 9, 2010 at 10:18 AM, Manjula Rathnayake manju...@wso2.comwrote: Hi all, I was working on JMS Broker configuration in Broker component. To make a connection to the broker, publish and subscribe to a topic, following parameters need to be provided. 1. JNDI factory initial: this is used to create initial context In Qpid broker: java.naming.factory.initial=org.apache.qpid.jndi.PropertiesFileInitialContextFactory In ActiveMQ broker: java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory 2. JNDI provider url name: this is used to set the JNDI provider url in property file to make the initial context, but it is different in Qpid and ActiveMQ brokers. so it was introduced as a property in broker configuration. In Qpid broker: connectionfactory.qpidConnectionfactory In ActiveMQ : java.naming.provider.url 3. JNDI provider url value: this is used to set the JNDI provider for initial context In Qpid broker: amqp://guest:gu...@clientid/test?brokerlist='tcp://localhost:5672' In ActiveMQ broker: tcp://hostname:61616 4. Connection factory lookup name: this is used to get connection factory to create a connection. In Qpid broker: qpidConnectionfactory In ActiveMQ broker: connectionFactory, queueConnectionFactory, topicConnectionFactory In addition to above parameters, to access JNDI stores we need authentication details if it is secured, 5. Principal: user name java.naming.security.principal = username 6. Credential: password java.naming.security.credentials = password And usually queues and topics are set in JNDI property file. Here we do not want to use default queues or topics, as we publish to topics, it is created. Qpid broker configuration: brokerManagerConfiguration brokerConfiguraton name=JMSServer type=jms property name=factoryInitialorg.apache.qpid.jndi.PropertiesFileInitialContextFactory/property property name=providerUrlNameconnectionfactory.qpidConnectionfactory/property property name=providerUrlValueamqp://guest:gu...@clientid /test?brokerlist='tcp://localhost:5672'/property property name=connectionFactoryLookupNameqpidConnectionfactory/property property name=principalusername/property property name=credentialspassword/property /brokerConfiguraton /brokerManagerConfiguration If there are any missing parameters that need to be included in broker configurations, please let me know. In broker manager admin console, we can configure brokers giving above parameter values, and to identify each topics we publish to topic together with broker name, eg; jms-broker/topicname Thank you. -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Chunk-2 release readiness - on Carbon 3.1.0
Are you waiting for something from me? I had no idea! Can you please give me a 2 min dump on exactly what it is and lets sort it out. Sanjiva. On Tue, Dec 7, 2010 at 9:51 AM, Anjana Fernando anj...@wso2.com wrote: Hi Prabath, There are a few pending tasks that we have to have a meeting and discuss with Dr.Sanjiva, it's an extension to the data services result format we have. Most of it is already implemented, just has to verify if we are going ahead with it or not, and if we are, there are some small UI changes to be done. As for the docs and all, the majority is completed, Amani was working on them in the last few days. Prabath was finishing up a new feature in DSS, adding a timer task functionality, we have to add some small UI functionality and update the docs for that. And there were some non-high priority jiras that can all be resolved in a few hours time. Regards, Anjana. On Tue, Dec 7, 2010 at 8:09 AM, Prabath Siriwardana prab...@wso2.com wrote: Thanks Nuwan for the update.. Asela/Anjana... how are we doing with the IS/DSS releases..? Are we in a position to code freeze for those by this Thursday...? Thanks regards, -Prabath On Mon, Dec 6, 2010 at 12:40 PM, Nuwan Bandara nu...@wso2.com wrote: Hi, We are still working on trunk, due to the fact that chunk 1 products are using dashboard in the branch and it is frozen to commit. once the chunck 1 products are released, we are planing to merge the changes to the branch again. At the moment I am working on .dar deployment which is broken in 3.0.1 release. Other than that all features planed for the release are completed and committed to the trunk. Lalaji is also working on product Docs and almost complete. Thanks Regards, /Nuwan On Mon, Dec 6, 2010 at 11:51 AM, Prabath Siriwardana prab...@wso2.com wrote: [resending with the correct subject] Hi Nuwan, Asela, Anjana, Can you please update the list on the status of GS, IS and DSS..? These products are planned to go as chunk-2 [earlier we had BPS too - but moved in to chunk-1 now.] We need to plan to code freeze on these products by Thursday... -- Thanks Regards, Prabath ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Nuwan Bandara WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks Regards, Prabath Siriwardena http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Turning off ESB configuration registry persistent
+1 Supun but it seems to me we need to involve the load balancer in order to achieve this. We have to sort this out for Stratos' load balancer anyway as its critical to allow one tenant to upgrade something (for possibly just a few users) instead of forcing a global update. Sanjiva. On Sun, Dec 5, 2010 at 6:20 PM, Supun Kamburugamuva su...@wso2.com wrote: I think we need a feature from registry based repo for doing this successfully in a real production scenario. In a production scenarion if there is a cluster of ESB's user don't want to take down all the ESB's or update all the ESB's at the same time. Usually when a change is made it is done in only one node. Then that node stays like that for few days to make sure that the change is ok. During this time the other nodes should act as previously. So for a production deployment we shouldn't do automatic repository syncs for all the nodes by default. User should be able to select when to sync with the registry repo. We can provide an UI for doing this. Here are the steps I think a user should follow to do a update in a cluster. 1. First user has to take the master node off the traffic and update the master node. 3. After he thinks that the configuration is ok, enable the registry sync in master node so that the registry is updated. 2. Now when user want to do the change for a another ESB he has to take that ESB out of traffic from load balancer and enable the registry sync. This will update the configuration of that node. Like wise user can do a successful configuration update without restarting any of the machines. Thanks, Supun.. On Sun, Dec 5, 2010 at 12:11 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Sat, Dec 4, 2010 at 10:41 PM, Senaka Fernando sen...@wso2.com wrote: On Sat, Dec 4, 2010 at 10:09 PM, Ruwan Linton ru...@wso2.com wrote: On 12/4/10 8:54 PM, Supun Kamburugamuva wrote: On Sat, Dec 4, 2010 at 5:45 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: On Sat, Dec 4, 2010 at 2:45 PM, Supun Kamburugamuva su...@wso2.comwrote: The registry based repo, when enabled syncs the axis2 repository periodically. Basically it syncs what ever files that are in the axis2 repository of a cluster of servers that are connected to a single configuration registry. It stores the files in to the registry and then sync the file from there. Now we have moved the synapse configuration to the axis2 repository as well. So when a synapse configuration file is modified the changes will be synched across the cluster. Because we have hot update these changes will immediately taken in to account without requiring a restart of the read-only nodes. Are we going to allow any node's config to be edited and have that sync across all nodes or do we still have a master node concept? I think we should allow only the master node to be changed. There are some part of the configuration that doesn't work without this mode. For example we store things like security policy information about a service in the registry. So in-order for these things to work user has to always change the master node. Why? I see Master-node as a concept that we've introduced to overcome some of the limitations we had in the past. If this model works, and if this is expected to scale, we should not have a concept of a master-node in this sense, as Ruwan points out. Somebody, needs to be the source of control, so in that sense we could have a master. +1 and +1 to disabling registry persistence for Synapse configuration. With the new model old registry persistence becomes obsolete really. Thanks, Hiranya Thanks, Senaka. Any explanation why those changes has to be on the master node, what is special about the master node apart from the fact that it controls the configuration? Ruwan Thanks, Supun.. I think we have some issues in Stratos because the registry repo is synced on a timer. IIRC we discussed changing that to use registry eventing to notify the subscribers and they'll pull the changes in. Have we implemented that? We need to avoid getting into a change loop as a result too .. but we've dealt with that at a customer setup a while ago. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Supun Kamburugamuva Technical Lead WSO2 Inc.; http://wso2.org E-mail: su...@wso2.com; Mobile: +94 77 431 3585 Blog: http://supunk.blogspot.com ___ Carbon-dev mailing listcarbon-...@wso2.orghttps://wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Ruwan Linton
Re: [Carbon-dev] Turning off ESB configuration registry persistent
On Sat, Dec 4, 2010 at 2:45 PM, Supun Kamburugamuva su...@wso2.com wrote: The registry based repo, when enabled syncs the axis2 repository periodically. Basically it syncs what ever files that are in the axis2 repository of a cluster of servers that are connected to a single configuration registry. It stores the files in to the registry and then sync the file from there. Now we have moved the synapse configuration to the axis2 repository as well. So when a synapse configuration file is modified the changes will be synched across the cluster. Because we have hot update these changes will immediately taken in to account without requiring a restart of the read-only nodes. Are we going to allow any node's config to be edited and have that sync across all nodes or do we still have a master node concept? I think we have some issues in Stratos because the registry repo is synced on a timer. IIRC we discussed changing that to use registry eventing to notify the subscribers and they'll pull the changes in. Have we implemented that? We need to avoid getting into a change loop as a result too .. but we've dealt with that at a customer setup a while ago. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman CEO; WSO2, Inc.; http://wso2.com/ email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev