This webapp is appearing in the webapp list of AS at the moment. How about
deploying this in a folder like repo/deployment/server/stratos?

Any objections?

AmilaM.

On Tue, Jun 26, 2012 at 10:31 AM, Muhammed Shariq <[email protected]> wrote:

>
>
> On Mon, Jun 25, 2012 at 11:22 PM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>> Hi Shariq,
>>
>> On Sun, Mar 18, 2012 at 1:18 PM, Muhammed Shariq <[email protected]> wrote:
>>
>>> Hi folks,
>>>
>>> From the last Stratos release we introduced a landing page as a simple
>>> html based webapp to in order to display service specific information,
>>> screen casts etc. Ideally we needed to be able to update this webapp with
>>> minimal to no downtime.
>>>
>>> Previously this webapp was located in the distributions lib/home
>>> directory with a special deployer in org.wso2.carbon.server package. This
>>> deployer has been removed with the tomacat OSGification efforts. After a
>>> quick discussion with Azeez and Pradeep I have added a separate landing
>>> page deployer as a stratos component. Also we decided to move the webapp
>>> into special dir named STRATOS_HOME (should be STRATOS_ROOT as per Pradeed,
>>> not updated yet) in /repository/deployment/server/webapps directory.
>>>
>>
>> AS now supports exploded webapp deployment by default. Because of this,
>> the STRATOS_ROOT directory is getting deployed as a separate webapp. So we
>> need to move this from /repository/deployment/server/webapps to another
>> place. Since there is a separate deployer for this landingPage webapp, we
>> can easily come up with the new repo location. But I can't find a proper
>> place for this in repo/deployment other than webapps directory.
>>
>
> Initially this webapp was at lib/home directory but we moved it to webapps
> during the tomcat osgification effort. IIRC we discussed which is the
> suitable place to moved the webapp and ultimately concluded to move it to
> webapps dir, so if we could come up with a new location for this webapp I
> am ok to go ahead with it. On the other hand, this double deployment
> happens only in AS because of the webapp deployer right ? Isn't it possible
> to skip the STRATOS_HOME webapp in the webapp deployer ?!
>
>>
>> Thanks,
>> Kishanthan.
>>
>>>
>>> With this change in place we can simply edit the webapp without having
>>> to restart the servers, meaning we don't need to do a scheduled maintenance
>>> round to update the landing pages. Also since its under
>>> repository/deployment dir, the deployment synchronizer will handle the
>>> updating nodes in the cluster.
>>>
>>> I have already made necessary changes to all the service bin.xml files
>>> and also added the component to the build. Let me know if you encounter any
>>> issues ...
>>>
>>> --
>>> Thanks,
>>> Shariq.
>>> Phone: +94 777 202 225
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Software Engineer,
>> Development Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>>
>
>
> --
> Thanks,
> Shariq.
> Phone: +94 777 202 225
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud & Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to