+1 for the idea. Can we (or, are we going to) support the existing config files for one more release after 6.0. i.e. Code should look for this new file, if it is not there, it should work using the old config files. This way, existing apps will function smoothly in an AS 6.0 upgrade. I think I saw Kasun has said that old files are going to be deprecated which means my above assumption is right?
On Mon, Jul 13, 2015 at 12:05 PM, KasunG Gajasinghe <[email protected]> wrote: > > Our next release is AS 5.3.0. AS 6.0 is planned for Q4 this year. So, we > do not need this for DevS 3.8. > > Thanks. > > On Mon, Jul 13, 2015 at 9:49 AM, Jasintha Dasanayake <[email protected]> > wrote: > >> I am also +1 for having a dedicated config file for AS webApp , BTW may I >> know what is time frame for this (AS 6.0.0) , Do we need to add this >> support for upcoming DevS 3.8.0 ? >> >> Thanks and Regards >> /Jasintha >> >> On Fri, Jul 10, 2015 at 7:07 PM, Manuri Perera <[email protected]> wrote: >> >>> Hi, >>> >>> I have attached the current draft of the schema and a sample XML file >>> herewith. >>> The file name is yet to be decided. >>> >>> Thank you. >>> >>> wso2-web-1.0.xsd >>> <https://drive.google.com/a/wso2.com/file/d/0B4nvDnaOipEvdjRBbjZRU2hoYTA/view?usp=drive_web> >>> >>> wso2-web-sample.xml >>> <https://drive.google.com/a/wso2.com/file/d/0B4nvDnaOipEvSE1LY1VnTmdJMEE/view?usp=drive_web> >>> >>> >>> On Fri, Jul 10, 2015 at 10:45 AM, Kasun Gajasinghe <[email protected]> >>> wrote: >>> >>>> Hi Susinda, >>>> >>>> We are deprecating the webapp-classloading.xml in favor of this config. >>>> There are some new configurations as well that needs to be supported in >>>> devS side. >>>> >>>> The schema is not finalized yet. Manuri will share the current draft, >>>> and status. Note that this is targeted for AS 6.0. >>>> >>>> Thanks, >>>> KasunG >>>> >>>> On Jul 10, 2015, at 9:57 AM, Susinda Perera <[email protected]> wrote: >>>> >>>> >>>> >>>> On Thu, Jul 9, 2015 at 12:12 PM, KasunG Gajasinghe <[email protected]> >>>> wrote: >>>> >>>>> >>>>> Adding DevStudio folks so that they can track this change. >>>>> >>>> From DevStudio side what we have to give is the wso2as-web.xml file? >>>> Are we giving a empty xml file or do we decided any template? >>>> >>>> >>>>> On Mon, Jul 6, 2015 at 2:20 PM, Kishanthan Thangarajah < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Sameera, >>>>>> >>>>>> We need to show that this file is specific to web-applications >>>>>> deployed on AS and/or any other servers with webapp-mgt + CRE features >>>>>> right? >>>>>> >>>>>> So can we name it as "wso2-web.xml" ? This way it is generic across >>>>>> the platform. >>>>>> >>>>>> I agree with RuwanA on the fact that wso2as.xml will be a config file >>>>>> for the AS and will not give a sense that it is only used for >>>>>> web-applications. >>>>>> >>>>>> Examples >>>>>> http://geronimo.apache.org/GMOxDOC30/geronimo-webxml.html >>>>>> >>>>>> http://docs.oracle.com/cd/E26576_01/doc.312/e24929/dd-files.htm#GSDPG00078 >>>>>> https://docs.jboss.org/jbossweb/7.0.x/appdev/jbossweb.html >>>>>> >>>>>> Thanks, >>>>>> >>>>>> On Fri, Jul 3, 2015 at 3:36 PM, Sameera Jayasoma <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> +1 for this. >>>>>>> >>>>>>> How about wso2as.xml? >>>>>>> >>>>>>> Thanks, >>>>>>> Sameera. >>>>>>> >>>>>>> On Thu, Jul 2, 2015 at 7:14 PM, KasunG Gajasinghe <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> *Overview* >>>>>>>> >>>>>>>> Currently, there are several AS specific configuration options that >>>>>>>> are available for webapp developers when deploying webapps in AS. A >>>>>>>> set of >>>>>>>> identified configurations we have are as follows. >>>>>>>> >>>>>>>> 1. Configure the ClassLoader Runtime Environment and Classloading >>>>>>>> for web apps (such as Carbon/CXF/Tomcat/...) >>>>>>>> 2. Mark a JAX-RS webapp to be published as a Managed API for >>>>>>>> API-Everywhere story. >>>>>>>> 3. Enable Single Sign On support for webapps >>>>>>>> 4. Webapp SaaS configurations. >>>>>>>> 5. Enable WebApp Statistics publishing to DAS/BAM >>>>>>>> >>>>>>>> *Why?* >>>>>>>> >>>>>>>> Right now, we are using different mechanisms to configure these. >>>>>>>> Mostly, we ask webapp developers to put the configuration options as a >>>>>>>> context-param in the web.xml. We also have a custom AS specific >>>>>>>> configuration file called webapp-classloaading.xml to configure >>>>>>>> classloading runtimes. >>>>>>>> >>>>>>>> Using web.xml for this purpose is not a clean approach since >>>>>>>> web.xml it should only contain configurations that are portable across >>>>>>>> different application servers. For this purpose, Tomcat uses a custom >>>>>>>> context.xml to put Tomcat specific configurations. JBoss has >>>>>>>> jboss-web.xml. >>>>>>>> WebLogic has weblogic.xml, and so on.. >>>>>>>> >>>>>>>> *How?* >>>>>>>> >>>>>>>> The idea here is to generalize the current webapp-classloading.xml >>>>>>>> we already have into a configuration file where all the webapp related >>>>>>>> WSO2 >>>>>>>> AS configurations can be put. We could name this file as >>>>>>>> wso2as-web.xml or >>>>>>>> wso2as-application.xml. >>>>>>>> >>>>>>>> This is targeted for AS6 for immediate use with API-Everywhere >>>>>>>> feature. The implementation is fairly simple, and may be carried out >>>>>>>> as a >>>>>>>> fast-track training project. >>>>>>>> >>>>>>>> WDYT? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> KasunG >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. >>>>>>>> email: kasung AT spamfree wso2.com >>>>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe >>>>>>>> blog: http://kasunbg.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sameera Jayasoma, >>>>>>> Software Architect, >>>>>>> >>>>>>> WSO2, Inc. (http://wso2.com) >>>>>>> email: [email protected] >>>>>>> blog: http://blog.sameera.org >>>>>>> twitter: https://twitter.com/sameerajayasoma >>>>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections >>>>>>> Mobile: 0094776364456 >>>>>>> >>>>>>> Lean . Enterprise . Middleware >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Architecture mailing list >>>>>>> [email protected] >>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Kishanthan Thangarajah* >>>>>> Associate Technical Lead, >>>>>> Platform Technologies Team, >>>>>> WSO2, Inc. >>>>>> lean.enterprise.middleware >>>>>> >>>>>> Mobile - +94773426635 >>>>>> Blog - *http://kishanthan.wordpress.com >>>>>> <http://kishanthan.wordpress.com>* >>>>>> Twitter - *http://twitter.com/kishanthan >>>>>> <http://twitter.com/kishanthan>* >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. >>>>> email: kasung AT spamfree wso2.com >>>>> linked-in: http://lk.linkedin.com/in/gajasinghe >>>>> blog: http://kasunbg.org >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Architecture mailing list >>>>> [email protected] >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Susinda Perera* >>>> Software Engineer >>>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) >>>> Mobile:(+94)716049075 >>>> Blog: susinda.blogspot.com >>>> WSO2 Inc. http://wso2.com/ >>>> Tel : 94 11 214 5345 Fax :94 11 2145300 >>>> >>>> _______________________________________________ >>>> Architecture mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>> >>>> >>>> _______________________________________________ >>>> Architecture mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>> >>>> >>> >>> >>> -- >>> >>> *Manuri Amaya Perera* >>> >>> *Software Engineer* >>> >>> *WSO2 Inc.* >>> >>> *Mobile: +94718010490 <%2B94718010490>* >>> *Blog: http://manuriamayaperera.blogspot.com >>> <http://manuriamayaperera.blogspot.com>* >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> >> *Jasintha Dasanayake* >> >> *Senior Software EngineerWSO2 Inc. | http://wso2.com >> <http://wso2.com/>lean . enterprise . middleware* >> >> >> *mobile :- 0711368118 <0711368118>* >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > > *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. > email: kasung AT spamfree wso2.com > linked-in: http://lk.linkedin.com/in/gajasinghe > blog: http://kasunbg.org > > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- *Amila Maharachchi* Senior Technical Lead WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
